List of usage examples for org.apache.commons.lang3.builder EqualsBuilder reflectionEquals
public static boolean reflectionEquals(final Object lhs, final Object rhs, final boolean testTransients, final Class<?> reflectUpToClass, final String... excludeFields)
This method uses reflection to determine if the two Object
s are equal.
It uses AccessibleObject.setAccessible
to gain access to private fields.
From source file:gov.ca.cwds.cals.persistence.model.calsns.dictionaries.LicenseStatusType.java
@Override public boolean equals(Object o) { return EqualsBuilder.reflectionEquals(this, o, "isActive", "cwsId", "lisId"); }
From source file:com.mirth.connect.model.CodeTemplate.java
@Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj, false, null, "DEFAULT_CODE"); }
From source file:org.segrada.model.User.java
@Override public boolean equals(Object that) { return that != null && this.getClass() == that.getClass() && EqualsBuilder.reflectionEquals(this, that, "created", "modified", "lastLogin"); }