public class TagEntry extends GphotoEntry<TagEntry> implements AtomData, TagData
BaseEntry.AtomHandlerExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler| Modifier and Type | Field and Description |
|---|---|
static Category |
CATEGORY
Tag kind category.
|
static java.lang.String |
KIND
Tag kind term value.
|
TAG_CATEGORY, TAG_KIND| Constructor and Description |
|---|
TagEntry()
Default mutable constructor.
|
TagEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
java.lang.Integer |
getWeight()
The weight of the tag is the number of times the tag appears in the
collection of tags currently being viewed.
|
GphotoWeight |
getWeightExt()
Returns the weight of the tag.
|
boolean |
hasWeightExt()
Returns whether it has the weight of the tag.
|
void |
setWeight(java.lang.Integer weight)
Set the weight of the tag.
|
void |
setWeightExt(GphotoWeight weightExt)
Sets the weight of the tag.
|
java.lang.String |
toString() |
generateRss, getAdaptedEntry, getDescription, getFeed, getFeedLink, getGphotoId, setDescription, setGphotoId, setGphotoIdgetMediaEditLink, getMediaSource, setMediaSource, setService, updateMediaaddAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, 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, setSource, setSummary, setTitle, setUpdated, setVersionId, updateaddExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visitdisableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutableequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthors, getCategories, getContributors, getDescription, getId, getLinks, getRights, getTitle, getUpdated, setDescription, setId, setRights, setTitle, setUpdatedgetGphotoId, setGphotoId, setGphotoIdaddExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtensiongetCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFieldsaddLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionIdpublic static final java.lang.String KIND
public static final Category CATEGORY
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPointdeclareExtensions in interface Kind.AdaptordeclareExtensions in interface ExtensibledeclareExtensions in class GphotoEntry<TagEntry>extProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public GphotoWeight getWeightExt()
public void setWeightExt(GphotoWeight weightExt)
weightExt - weight of the tag or null to resetpublic boolean hasWeightExt()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Integer getWeight()
throws ParseException
TagDatagetWeight in interface TagDataParseException - for backwards compatibility