@Override
 public int hashCode() {
   int result = id != null ? id.hashCode() : 0;
   result = 31 * result + (type != null ? type.hashCode() : 0);
   result = 31 * result + (properties != null ? properties.hashCode() : 0);
   return result;
 }
Example #2
0
 /** {@inheritDoc} */
 @Override
 public int hashCode() {
   return id.hashCode();
 }