예제 #1
0
파일: FileType.java 프로젝트: liangguang/HM
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof FileType)) return false;
   FileType other = (FileType) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       true
           && ((this.fileId == null && other.getFileId() == null)
               || (this.fileId != null && this.fileId.equals(other.getFileId())))
           && ((this.fileType == null && other.getFileType() == null)
               || (this.fileType != null && this.fileType.equals(other.getFileType())))
           && this.fileSize == other.getFileSize()
           && ((this.sourceURI == null && other.getSourceURI() == null)
               || (this.sourceURI != null && this.sourceURI.equals(other.getSourceURI())))
           && ((this.createTime == null && other.getCreateTime() == null)
               || (this.createTime != null && this.createTime.equals(other.getCreateTime())))
           && ((this.editTime == null && other.getEditTime() == null)
               || (this.editTime != null && this.editTime.equals(other.getEditTime())))
           && ((this.fileDistributeList == null && other.getFileDistributeList() == null)
               || (this.fileDistributeList != null
                   && java.util.Arrays.equals(
                       this.fileDistributeList, other.getFileDistributeList())));
   __equalsCalc = null;
   return _equals;
 }