@Override public int hashCode() { int result = getClass().hashCode(); if (getName() != null) { result = 37 * result + getName().hashCode(); } if (getRealm() != null) { result = 37 * result + getRealm().hashCode(); } if (getValue() != null) { result = 37 * result + getValue().hashCode(); } return result; } }
/** * Returns whether it has the limit on who may see and modify this extended * property. * * @return whether it has the limit on who may see and modify this extended * property */ public boolean hasRealm() { return getRealm() != null; }
/** * Returns whether it has the name of the property expressed as a URI. * * @return whether it has the name of the property expressed as a URI */ public boolean hasName() { return getName() != null; }
/** * Returns whether it has the property value. * * @return whether it has the property value */ public boolean hasValue() { return getValue() != null; }
@Override public int hashCode() { int result = getClass().hashCode(); if (getName() != null) { result = 37 * result + getName().hashCode(); } if (getRealm() != null) { result = 37 * result + getRealm().hashCode(); } if (getValue() != null) { result = 37 * result + getValue().hashCode(); } return result; } }
@Override public int hashCode() { int result = getClass().hashCode(); if (getName() != null) { result = 37 * result + getName().hashCode(); } if (getRealm() != null) { result = 37 * result + getRealm().hashCode(); } if (getValue() != null) { result = 37 * result + getValue().hashCode(); } return result; }