@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); AssetOwnerEvent testObject = getTestObject(); assertTrue(testObject.hashCode() != 0); AssetOwnerEvent differentObject = getTestObject(); differentObject.setAsset(null); assertFalse(testObject.hashCode() == differentObject.hashCode()); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), getEventType(), getOriginalAsset(), getAsset()); }
AssetOwnerEvent extends AssetOwnerEventHeader { @Override public int hashCode() { return Objects.hash(super.hashCode(), getEventType(), getOriginalAsset(), getAsset()); } }
AssetOwnerEvent extends AssetOwnerEventHeader { @Override public int hashCode() { return Objects.hash(super.hashCode(), getEventType(), getOriginalAsset(), getAsset()); } AssetOwnerEvent();  AssetOwnerEvent(AssetOwnerEvent template); }
AssetOwnerEvent extends AssetOwnerEventHeader { @Override public int hashCode() { return Objects.hash(super.hashCode(), getEventType(), getOriginalAsset(), getAsset()); } AssetOwnerEvent();  AssetOwnerEvent(AssetOwnerEvent template); AssetOwnerEventType getEventType(); void setEventType(AssetOwnerEventType eventType); Asset getOriginalAsset(); void setOriginalAsset(Asset originalAsset); Asset getAsset(); void setAsset(Asset asset); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
AssetOwnerEvent extends AssetOwnerEventHeader { @Override public int hashCode() { return Objects.hash(super.hashCode(), getEventType(), getOriginalAsset(), getAsset()); } AssetOwnerEvent();  AssetOwnerEvent(AssetOwnerEvent template); AssetOwnerEventType getEventType(); void setEventType(AssetOwnerEventType eventType); Asset getOriginalAsset(); void setOriginalAsset(Asset originalAsset); Asset getAsset(); void setAsset(Asset asset); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }