@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } OrgJobDescription other = (OrgJobDescription) obj; return eq(getValue(), other.getValue()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } Agent other = (Agent) obj; return eq(getValue(), other.getValue()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } OrgSymbol other = (OrgSymbol) obj; return eq(getValue(), other.getValue()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } LastViewed other = (LastViewed) obj; return eq(getValue(), other.getValue()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } QuotaBytesUsed other = (QuotaBytesUsed) obj; return eq(getValue(), other.getValue()); }
/** * Returns the entry URI. * * @return entry URI */ public String getHref() { return getAttributeValue(HREF); }
/** * Constructs a new instance with the given value. * * @param value value. */ public Subregion(String value) { this(); setValue(value); }
/** * Constructs a new instance with the given value. * * @param value address string. */ public PostalAddress(String value) { this(); setValue(value); }
/** * Constructs a new instance with the given value. * * @param value value. */ public Country(String value) { this(); setValue(value); }
/** * Constructs a new instance with the given value. * * @param value value. */ public FullName(String value) { this(); setValue(value); }
/** * Returns the hint at the number of entries in the feed. * * @return hint at the number of entries in the feed */ public Integer getCountHint() { return getAttributeValue(COUNT_HINT); }
/** * Returns whether it has the whether the contained feed is read-only. * * @return whether it has the whether the contained feed is read-only */ public boolean hasReadOnly() { return getReadOnly() != null; }
/** * Returns whether it has the feed relation type. * * @return whether it has the feed relation type */ public boolean hasRel() { return getRel() != null; }
/** * Returns whether it has the nested entry. * * @return whether it has the nested entry */ public boolean hasEntry() { return super.hasElement(RecurrenceExceptionEntry.KEY); }
/** * Sets the nested entry. * * @param entry nested entry or <code>null</code> to reset */ public void setEntry(Entry entry) { setElement(Entry.KEY, entry); }
/** * Returns whether it has the entry URI. * * @return whether it has the entry URI */ public boolean hasHref() { return getHref() != null; }
/** * Constructs a new instance with the given value. * * @param value value. */ public CustomProperty(String value) { this(); setValue(value); }
/** * Returns the whether the contained entry is read-only. * * @return whether the contained entry is read-only */ public Boolean getReadOnly() { return getAttributeValue(READ_ONLY); }
@Override public String toString() { return "{EntryLink href=" + getAttributeValue(HREF) + " readOnly=" + getAttributeValue(READ_ONLY) + " rel=" + getAttributeValue(REL) + "}"; }