@Override public int hashCode() { int result = getClass().hashCode(); if (getValue() != null) { result = 37 * result + getValue().hashCode(); } return result; }
/** * Returns the string representation of this instance, suitable for use in * output. This is a lowercase version of the name. */ @Override public String toString() { return name().toLowerCase(); }
@Override public int hashCode() { int result = getClass().hashCode(); if (getValue() != null) { result = 37 * result + getValue().hashCode(); } return result; } }
/** * Checks the value of the app:draft tag. * * @return true if the entry is a draft (false by default as per RFC5023) */ public boolean isDraft() { return hasDraft() && Draft.Value.YES.equals(getElementValue(Draft.KEY)); }
@Override public int hashCode() { int result = getClass().hashCode(); if (getValue() != null) { result = 37 * result + getValue().hashCode(); } return result; } }
/** * Returns the string representation of this instance, suitable for use in * output. This is a lowercase version of the name. */ @Override public String toString() { return name().toLowerCase(); }
/** * Returns the string representation of this instance, suitable for use in * output. This is a lowercase version of the name. */ @Override public String toString() { return name().toLowerCase(); }
/** * Checks the value of the app:draft tag. * * @return true if the entry is a draft (false by default as per RFC5023) */ public boolean isDraft() { return hasDraft() && Draft.Value.YES.equals(getElementValue(Draft.KEY)); }
/** * Checks the value of the app:draft tag. * * @return true if the entry is a draft (false by default as per RFC5023) */ public boolean isDraft() { return hasDraft() && Draft.Value.YES.equals(getElementValue(Draft.KEY)); }