@Test public void testHashCode() { assertEquals(entityVersion.hashCode(), entity.hashCode() * version.hashCode()); }
public int hashCode() { return (entity == null ? 1 : entity.hashCode()) * (version == null ? 1 : version.hashCode()); }
EntityVersion implements Serializable { public int hashCode() { return (entity == null ? 1 : entity.hashCode()) * (version == null ? 1 : version.hashCode()); } }
EntityVersion implements Serializable { public int hashCode() { return (entity == null ? 1 : entity.hashCode()) * (version == null ? 1 : version.hashCode()); } EntityVersion();  EntityVersion(String entity, String version); }
EntityVersion implements Serializable { public int hashCode() { return (entity == null ? 1 : entity.hashCode()) * (version == null ? 1 : version.hashCode()); } EntityVersion();  EntityVersion(String entity, String version); String getEntity(); void setEntity(String entity); String getVersion(); void setVersion(String v); boolean equals(Object o); boolean equalsVersion(EntityVersion o); int hashCode(); String toString(); }
EntityVersion implements Serializable { public int hashCode() { return (entity == null ? 1 : entity.hashCode()) * (version == null ? 1 : version.hashCode()); } EntityVersion();  EntityVersion(String entity, String version); String getEntity(); void setEntity(String entity); String getVersion(); void setVersion(String v); boolean equals(Object o); boolean equalsVersion(EntityVersion o); int hashCode(); String toString();  }