@Test public void testHash() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); InstanceHeader testObject = getTestObject(); InstanceHeader anotherObject = getTestObject(); anotherObject.setCreatedBy("DifferentAuthor"); assertFalse(testObject.hashCode() == anotherObject.hashCode()); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), entityProperties); }
EntityDetail extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), entityProperties); } }
EntityDetail extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), entityProperties); } EntityDetail();  EntityDetail(EntityDetail   templateElement); }
EntityDetail extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), entityProperties); } EntityDetail();  EntityDetail(EntityDetail   templateElement); InstanceProperties getProperties(); void setProperties(InstanceProperties  newProperties); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
EntityDetail extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), entityProperties); } EntityDetail();  EntityDetail(EntityDetail   templateElement); InstanceProperties getProperties(); void setProperties(InstanceProperties  newProperties); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }