@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(), getUniqueProperties()); }
EntityProxy extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUniqueProperties()); } }
EntityProxy extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUniqueProperties()); } EntityProxy();  EntityProxy(EntityProxy   template);  EntityProxy(EntitySummary   template); }
EntityProxy extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUniqueProperties()); } EntityProxy();  EntityProxy(EntityProxy   template);  EntityProxy(EntitySummary   template); InstanceProperties getUniqueProperties(); void setUniqueProperties(InstanceProperties uniqueAttributes); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
EntityProxy extends EntitySummary { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUniqueProperties()); } EntityProxy();  EntityProxy(EntityProxy   template);  EntityProxy(EntitySummary   template); InstanceProperties getUniqueProperties(); void setUniqueProperties(InstanceProperties uniqueAttributes); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }