コード例 #1
0
ファイル: AwardPersonUnit.java プロジェクト: mavetx/kc
 @Override
 public boolean equals(Object obj) {
   if (this == obj) {
     return true;
   }
   if (obj == null) {
     return false;
   }
   if (!(obj instanceof AwardPersonUnit)) {
     return false;
   }
   AwardPersonUnit other = (AwardPersonUnit) obj;
   if (awardPerson == null) {
     if (other.awardPerson != null) {
       return false;
     }
   } else if (!awardPerson.equals(other.awardPerson)) {
     return false;
   }
   if (unit == null) {
     if (other.unit != null) {
       return false;
     }
   } else if (!unit.equals(other.unit)) {
     return false;
   }
   return true;
 }