|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.photos.impl.GphotoDataImpl
com.google.gdata.data.photos.impl.TagDataImpl
public class TagDataImpl
Implementation class for tag data objects. This class takes an
ExtensionPoint
and uses it to provide all of the methods that
TagData
specifies. These methods are handled by using
extension classes to retrieve or set extensions of the appropriate type.
Field Summary |
---|
Fields inherited from interface com.google.gdata.data.photos.TagData |
---|
KIND, TAG_CATEGORY, TAG_KIND |
Constructor Summary | |
---|---|
TagDataImpl(ExtensionPoint extensionPoint)
Construct a new implementation of TagGphotoData with the given extension point as the backing storage for data. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an Extensible 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. |
void |
setWeight(java.lang.Integer weight)
Set the weight of the tag. |
Methods inherited from class com.google.gdata.data.photos.impl.GphotoDataImpl |
---|
addExtension, addRepeatingExtension, declare, getExtension, getGphotoId, getRepeatingExtension, getSimpleValue, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setGphotoId, setGphotoId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.photos.GphotoData |
---|
getGphotoId, setGphotoId, setGphotoId |
Methods inherited from interface com.google.gdata.data.photos.Extensible |
---|
addExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
Constructor Detail |
---|
public TagDataImpl(ExtensionPoint extensionPoint)
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
Extensible
ExtensionPoint.declareExtensions(ExtensionProfile)
.
declareExtensions
in interface Extensible
declareExtensions
in class GphotoDataImpl
extProfile
- the ExtensionProfile to initialize.public java.lang.Integer getWeight()
TagData
getWeight
in interface TagData
public void setWeight(java.lang.Integer weight)
TagData
setWeight
in interface TagData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |