public class ComplaintEntry extends BaseEntry<ComplaintEntry>
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this entry.
|
Constructor and Description |
---|
ComplaintEntry() |
ComplaintEntry(BaseEntry<?> base) |
Modifier and Type | Method and Description |
---|---|
void |
addVideoUrl(java.lang.String url)
Adds a rel=related type=application/atom+xml link pointing to the
video.
|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
java.lang.String |
getComment()
Returns the comment of the complaint.
|
java.lang.String |
getVideoUrl()
Gets the rel=related type=application/atom+xml link pointing to the video.
|
void |
setComment(java.lang.String comment)
Adds an optional comment to the complaint.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public static final java.lang.String[] CATEGORIES
public ComplaintEntry()
public ComplaintEntry(BaseEntry<?> base)
public void addVideoUrl(java.lang.String url)
url
- video urlpublic java.lang.String getVideoUrl()
public void setComment(java.lang.String comment)
comment
- optional comment of the complaintpublic java.lang.String getComment()
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)