public boolean equals()

in cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/LibraryDrive.java [351:370]


   public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;

      LibraryDrive that = (LibraryDrive) o;

      if (isFavorite != that.isFavorite) return false;
      if (isPaid != that.isPaid) return false;
      if (arch != null ? !arch.equals(that.arch) : that.arch != null) return false;
      if (category != null ? !category.equals(that.category) : that.category != null) return false;
      if (description != null ? !description.equals(that.description) : that.description != null) return false;
      if (imageType != null ? !imageType.equals(that.imageType) : that.imageType != null) return false;
      if (installNotes != null ? !installNotes.equals(that.installNotes) : that.installNotes != null) return false;
      if (os != null ? !os.equals(that.os) : that.os != null) return false;
      if (url != null ? !url.equals(that.url) : that.url != null) return false;
      if (version != null ? !version.equals(that.version) : that.version != null) return false;

      return true;
   }