@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); UserIdentityOutboundEvent testObject = getTestObject(); assertTrue(testObject.hashCode() != 0); UserIdentityOutboundEvent differentObject = getTestObject(); differentObject.setEventVersionId(3773L); assertFalse(testObject.hashCode() == differentObject.hashCode()); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), getUserIdentity()); }
UserIdentityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUserIdentity()); } }
UserIdentityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUserIdentity()); } UserIdentityOutboundEvent();  UserIdentityOutboundEvent(UserIdentityOutboundEvent template); }
UserIdentityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUserIdentity()); } UserIdentityOutboundEvent();  UserIdentityOutboundEvent(UserIdentityOutboundEvent template); UserIdentity getUserIdentity(); void setUserIdentity(UserIdentity userIdentity); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
UserIdentityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUserIdentity()); } UserIdentityOutboundEvent();  UserIdentityOutboundEvent(UserIdentityOutboundEvent template); UserIdentity getUserIdentity(); void setUserIdentity(UserIdentity userIdentity); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }