/** * Sets the batch operation. * * @param batchOperation batch operation or <code>null</code> to reset */ public void setBatchOperation(BatchOperation batchOperation) { if (batchOperation == null) { removeExtension(BatchOperation.class); } else { setExtension(batchOperation); } }
/** * Returns whether it has the postal address. * * @return whether it has the postal address */ public boolean hasPostalAddress() { return hasExtension(PostalAddress.class); }
/** * Returns the batch identifier. * * @return batch identifier */ public BatchId getBatchId() { return getExtension(BatchId.class); }
/** * Sets the nested feed link. * * @param feedLink nested feed link or <code>null</code> to reset */ public void setFeedLink(FeedLink feedLink) { if (feedLink == null) { removeExtension(FeedLink.class); } else { setExtension(feedLink); } }
/** * Returns whether it has the custom properties. * * @return whether it has the custom properties */ public boolean hasCustomProperties() { return hasRepeatingExtension(CustomProperty.class); }
/** * Returns the resource id. * * @return resource id */ public ResourceId getResourceId() { return getExtension(ResourceId.class); }
/** * Returns whether it has the nested feed link. * * @return whether it has the nested feed link */ public boolean hasFeedLink() { return hasExtension(FeedLink.class); }
/** * Returns the link that provides the URI of the full feed (without any query * parameters). * * @return Link that provides the URI of the full feed (without any query * parameters) or {@code null} for none. */ public Link getAtomFeedLink() { return getLink(Link.Rel.FEED, Link.Type.ATOM); }
/** * Returns the link that provides the URI of the full feed (without any query * parameters). * * @return Link that provides the URI of the full feed (without any query * parameters) or {@code null} for none. */ public Link getAtomFeedLink() { return getLink(Link.Rel.FEED, Link.Type.ATOM); }
/** * Returns the link that provides the URI of the full feed (without any query * parameters). * * @return Link that provides the URI of the full feed (without any query * parameters) or {@code null} for none. */ public Link getAtomFeedLink() { return getLink(Link.Rel.FEED, Link.Type.ATOM); }
/** * Sets the resource id. * * @param resourceId resource id or <code>null</code> to reset */ public void setResourceId(ResourceId resourceId) { if (resourceId == null) { removeExtension(ResourceId.class); } else { setExtension(resourceId); } }
/** * Returns whether it has the postal address. * * @return whether it has the postal address */ public boolean hasPostalAddress() { return hasExtension(PostalAddress.class); }
/** * Returns the batch operation. * * @return batch operation */ public BatchOperation getBatchOperation() { return getExtension(BatchOperation.class); }
/** * Returns whether it has the custom properties. * * @return whether it has the custom properties */ public boolean hasCustomProperties() { return hasRepeatingExtension(CustomProperty.class); }
/** * Returns the postal address. * * @return postal address */ public PostalAddress getPostalAddress() { return getExtension(PostalAddress.class); }
/** * Sets the resource id. * * @param resourceId resource id or <code>null</code> to reset */ public void setResourceId(ResourceId resourceId) { if (resourceId == null) { removeExtension(ResourceId.class); } else { setExtension(resourceId); } }
/** * Returns whether it has the structured postal address. * * @return whether it has the structured postal address */ public boolean hasStructuredPostalAddress() { return hasExtension(StructuredPostalAddress.class); }
/** * Returns the marker for deleted entries. * * @return marker for deleted entries */ public Deleted getDeleted() { return getExtension(Deleted.class); }
/** * Returns whether it has the batch operation. * * @return whether it has the batch operation */ public boolean hasBatchOperation() { return hasExtension(BatchOperation.class); }
/** * Returns the resource id. * * @return resource id */ public ResourceId getResourceId() { return getExtension(ResourceId.class); }