Esempio n. 1
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   Entry other = (Entry) obj;
   if (binaryData == null) {
     if (other.binaryData != null) return false;
   } else if (!binaryData.equals(other.binaryData)) return false;
   if (binaryDescription == null) {
     if (other.binaryDescription != null) return false;
   } else if (!binaryDescription.equals(other.binaryDescription)) return false;
   if (comments == null) {
     if (other.comments != null) return false;
   } else if (!comments.equals(other.comments)) return false;
   if (creationTime == null) {
     if (other.creationTime != null) return false;
   } else if (!creationTime.equals(other.creationTime)) return false;
   if (expirationTime == null) {
     if (other.expirationTime != null) return false;
   } else if (!expirationTime.equals(other.expirationTime)) return false;
   if (groupId == null) {
     if (other.groupId != null) return false;
   } else if (!groupId.equals(other.groupId)) return false;
   if (imageId == null) {
     if (other.imageId != null) return false;
   } else if (!imageId.equals(other.imageId)) return false;
   if (lastAccessTime == null) {
     if (other.lastAccessTime != null) return false;
   } else if (!lastAccessTime.equals(other.lastAccessTime)) return false;
   if (lastModificationTime == null) {
     if (other.lastModificationTime != null) return false;
   } else if (!lastModificationTime.equals(other.lastModificationTime)) return false;
   if (notes == null) {
     if (other.notes != null) return false;
   } else if (!notes.equals(other.notes)) return false;
   if (password == null) {
     if (other.password != null) return false;
   } else if (!password.equals(other.password)) return false;
   if (title == null) {
     if (other.title != null) return false;
   } else if (!title.equals(other.title)) return false;
   if (unknowns == null) {
     if (other.unknowns != null) return false;
   } else if (!unknowns.equals(other.unknowns)) return false;
   if (url == null) {
     if (other.url != null) return false;
   } else if (!url.equals(other.url)) return false;
   if (username == null) {
     if (other.username != null) return false;
   } else if (!username.equals(other.username)) return false;
   if (uuid == null) {
     if (other.uuid != null) return false;
   } else if (!uuid.equals(other.uuid)) return false;
   return true;
 }