Пример #1
0
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (obj != null && obj.getClass() == this.getClass()) {
     AbstractLink<?> other = (AbstractLink<?>) obj;
     return JodaBeanUtils.equal(getObjectId(), other.getObjectId())
         && JodaBeanUtils.equal(getExternalId(), other.getExternalId());
   }
   return false;
 }
Пример #2
0
 @Override
 protected void propertySet(String propertyName, Object newValue, boolean quiet) {
   super.propertySet(propertyName, newValue, quiet);
 }