Code example for Type

Methods: isEqual

0
 
	@Override 
	public boolean equals(Object other) { 
		EntityKey otherKey = (EntityKey) other;
		return otherKey.rootEntityName.equals(this.rootEntityName) &&
				identifierType.isEqual(otherKey.identifier, this.identifier, factory) &&
				EqualsHelper.equals( tenantId, otherKey.tenantId );
	} 
 
	@Override 
	public int hashCode() { 
		return hashCode;
	} 
 
	@Override 
	public String toString() {
		return "EntityKey" +  
			MessageHelper.infoString( factory.getEntityPersister( entityName ), identifier, factory );
	} 
 
Contextual code suggestions in your IDE  Get Codota for Java