com.adactus.mpeg21.didl.entity
Class AnnotationType
java.lang.Object
com.adactus.mpeg21.didl.entity.DIDLBaseType
com.adactus.mpeg21.didl.entity.DIDLChildType
com.adactus.mpeg21.didl.entity.DIDLParentType
com.adactus.mpeg21.didl.entity.AnnotationType
- All Implemented Interfaces:
- Annotation, java.io.Serializable, javolution.lang.Reusable
public class AnnotationType
- extends DIDLParentType
- implements Annotation, javolution.lang.Reusable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- See Also:
- Constant Field Values
AnnotationType
public AnnotationType()
getAnchors
public java.util.List<Anchor> getAnchors()
- Description copied from interface:
Annotation
- Get the
Anchors associated with this instance.
- Specified by:
getAnchors in interface Annotation
- Returns:
- list of anchors
getAssertions
public java.util.List<Assertion> getAssertions()
- Description copied from interface:
Annotation
- Get the
Assertions associated with this instance.
- Specified by:
getAssertions in interface Annotation
- Returns:
- list of assertions
getDescriptors
public java.util.List<Descriptor> getDescriptors()
- Description copied from interface:
Annotation
- Get the
Descriptors associated with this instance.
- Specified by:
getDescriptors in interface Annotation
- Returns:
- list of descriptors
getIdentifier
public java.lang.String getIdentifier()
- Description copied from interface:
Annotation
- Get the identifier of this element. The identifier must be unique within a digital item.
- Specified by:
getIdentifier in interface Annotation
- Returns:
- an string value
getParent
public DIDLParentType getParent()
getTarget
public java.lang.String getTarget()
- Description copied from interface:
Annotation
- Get the annotation target identifier.
The target shall reference an element within the parent Item, or may reference the parent Item itself.
- Specified by:
getTarget in interface Annotation
- Returns:
- the target identifier
newInstance
public static AnnotationType newInstance()
recycle
public static void recycle(AnnotationType type)
remove
public boolean remove(AnchorType o)
remove
public boolean remove(AssertionType o)
remove
public boolean remove(DescriptorType o)
reset
public void reset()
- Specified by:
reset in interface javolution.lang.Reusable
setIdentifier
public void setIdentifier(java.lang.String id)
setParent
public void setParent(DIDLParentType parent)
setTarget
public void setTarget(java.lang.String target)