/** * Returns the scope entry. * * @return scope entry */ public ScopeEntry getScope() { return getExtension(ScopeEntry.class); }
/** * Returns the link that provides the URI of the feed for the access control * list for the entry. * * @return Link that provides the URI of the feed for the access control list * for the entry or {@code null} for none. */ public Link getAccessControlListLink() { return getLink(AclNamespace.LINK_REL_ACCESS_CONTROL_LIST, Link.Type.ATOM); }
/** * Returns whether it has the scope entry. * * @return whether it has the scope entry */ public boolean hasScope() { return hasExtension(ScopeEntry.class); }
/** * Sets the scope entry. * * @param scope scope entry or <code>null</code> to reset */ public void setScope(ScopeEntry scope) { if (scope == null) { removeExtension(ScopeEntry.class); } else { setExtension(scope); } }
/** * Sets the scope entry. * * @param scope scope entry or <code>null</code> to reset */ public void setScope(ScopeEntry scope) { if (scope == null) { removeExtension(ScopeEntry.class); } else { setExtension(scope); } }
/** * Returns the link that provides the URI of the feed for the access control * list for the entry. * * @return Link that provides the URI of the feed for the access control list * for the entry or {@code null} for none. */ public Link getAccessControlListLink() { return getLink(AclNamespace.LINK_REL_ACCESS_CONTROL_LIST, Link.Type.ATOM); }
/** * Returns whether it has the scope entry. * * @return whether it has the scope entry */ public boolean hasScope() { return hasExtension(ScopeEntry.class); }
/** * Returns the scope entry. * * @return scope entry */ public ScopeEntry getScope() { return getExtension(ScopeEntry.class); }