boolean present_grantorPrincipalType = true && (isSetGrantorPrincipalType());
builder.append(present_grantorPrincipalType);
if (present_grantorPrincipalType)
builder.append(grantorPrincipalType.getValue());
return builder.toHashCode();
}
public int compareTo(RolePrincipalGrant other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());