List of usage examples for org.apache.commons.lang3.builder HashCodeBuilder reflectionHashCode
public static <T> int reflectionHashCode(final int initialNonZeroOddNumber, final int multiplierNonZeroOddNumber, final T object, final boolean testTransients, final Class<? super T> reflectUpToClass, final String... excludeFields)
Uses reflection to build a valid hash code from the fields of object .
From source file:gov.ca.cwds.data.legacy.cms.entity.BasePlacementHome.java
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this, "otherChildrenInPlacementHomes", "otherAdultsInPlacementHomes", "placementFacilityTypeHistory", "placementHomeNotes", "placementHomeProfiles"); }
From source file:org.segrada.model.Location.java
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this, "distance", "created", "modified", "creator", "modifier"); }
From source file:org.segrada.model.RelationType.java
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this, "tags", "created", "modified", "creator", "modifier"); }