public boolean equals()

in cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/Item.java [138:163]


   public boolean equals(Object obj) {
      if (this == obj)
         return true;
      if (obj == null)
         return false;
      if (getClass() != obj.getClass())
         return false;
      Item other = (Item) obj;
      if (name == null) {
         if (other.name != null)
            return false;
      } else if (!name.equals(other.name))
         return false;
      if (uuid == null) {
         if (other.uuid != null)
            return false;
      } else if (!uuid.equals(other.uuid))
         return false;
      if (resourceUri == null) {
         if (other.resourceUri != null)
            return false;
      } else if (!resourceUri.equals(other.resourceUri))
         return false;

      return true;
   }