Exemple #1
0
 @Override
 public boolean equals(Object obj) {
   if (obj == null) {
     return false;
   } else if (!(obj instanceof HLocaleMemberPk)) {
     return false;
   } else {
     final HLocaleMemberPk other = (HLocaleMemberPk) obj;
     return new EqualsBuilder()
         .append(this.person.getId(), other.getPerson().getId())
         .append(this.supportedLanguage.getId(), other.getSupportedLanguage().getId())
         .isEquals();
   }
 }
Exemple #2
0
 @Transient
 public HPerson getPerson() {
   return id.getPerson();
 }