/** * Returns the feed URI. * * @return feed URI */ public String getHref() { return getAttributeValue(HREF); }
/** * Returns whether it has the hint at the number of entries in the feed. * * @return whether it has the hint at the number of entries in the feed */ public boolean hasCountHint() { return getCountHint() != null; }
/** * Returns the nested feed. * * @return nested feed */ public Feed getFeed() { return getElement(Feed.KEY); }
/** * Sets the feed relation type. * * @param rel feed relation type or <code>null</code> to reset */ public void setRel(String rel) { setAttributeValue(REL, rel); }
/** * Sets the nested feed. * * @param feed nested feed or <code>null</code> to reset */ public void setFeed(Feed feed) { setElement(Feed.KEY, feed); }
/** * 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 feed URI. * * @return whether it has the feed URI */ public boolean hasHref() { return getHref() != null; }
/** * Returns whether it has the nested feed. * * @return whether it has the nested feed */ public boolean hasFeed() { return hasElement(Feed.KEY); }
/** * 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; }
/** * Sets the hint at the number of entries in the feed. * * @param countHint hint at the number of entries in the feed or * <code>null</code> to reset */ public void setCountHint(Integer countHint) { setAttributeValue(COUNT_HINT, countHint); }
/** * Sets the nested feed. * * @param feed nested feed or <code>null</code> to reset */ public void setFeed(Feed feed) { setElement(Feed.KEY, feed); }
/** * 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 feed URI. * * @return whether it has the feed URI */ public boolean hasHref() { return getHref() != null; }
/** * Returns whether it has the nested feed. * * @return whether it has the nested feed */ public boolean hasFeed() { return hasElement(Feed.KEY); }
/** * 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 the feed relation type. * * @return feed relation type */ public String getRel() { return getAttributeValue(REL); }
/** * Sets the feed relation type. * * @param rel feed relation type or <code>null</code> to reset */ public void setRel(String rel) { setAttributeValue(REL, rel); }
/** * Sets the nested feed. * * @param feed nested feed or <code>null</code> to reset */ public void setFeed(Feed feed) { setElement(Feed.KEY, feed); }
/** * 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 hint at the number of entries in the feed. * * @return whether it has the hint at the number of entries in the feed */ public boolean hasCountHint() { return getCountHint() != null; }