public class TagDataImpl extends GphotoDataImpl implements TagData
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.KIND, TAG_CATEGORY, TAG_KIND
Constructor and Description |
---|
TagDataImpl(ExtensionPoint extensionPoint)
Construct a new implementation of TagGphotoData with the given
extension point as the backing storage for data.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addExtension, addRepeatingExtension, declare, getExtension, getGphotoId, getRepeatingExtension, getSimpleValue, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setGphotoId, setGphotoId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGphotoId, setGphotoId, setGphotoId
addExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtension
public TagDataImpl(ExtensionPoint extensionPoint)
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