public class UserEventEntry extends BaseEntry<UserEventEntry>
Modifier and Type | Class and Description |
---|---|
static class |
UserEventEntry.Type
User event types.
|
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 |
---|
UserEventEntry() |
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the
ExtensionDescription of each Extension
expected by the implementing ExtensionPoint in the target profile. |
Rating |
getRating()
Gets the gd:rating tag.
|
UserEventEntry.Type |
getUserEventType()
Returns the type of the user event, if it is of a known type.
|
java.lang.String |
getUsername()
Get the value of the optional username
|
java.lang.String |
getVideoId()
Gets the YouTube ID of the video.
|
void |
setEventType(UserEventEntry.Type type)
Sets the type category of this entry.
|
void |
setRating(Rating rating)
Sets the gd:rating tag.
|
void |
setUsername(java.lang.String username)
Set the optional username.
|
void |
setVideoId(java.lang.String videoId)
Sets the YouTube video ID of the video.
|
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 UserEventEntry.Type getUserEventType()
public void setEventType(UserEventEntry.Type type)
type
- new user event type or null
public java.lang.String getVideoId()
public void setVideoId(java.lang.String videoId)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- content of the yt:username tagpublic Rating getRating()
public void setRating(Rating rating)
public void declareExtensions(ExtensionProfile extProfile)
ExtensionDescription
of each Extension
expected by the implementing ExtensionPoint
in the target profile.declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)