com.adactus.mpeg21.didl.entity
Class AnnotationType

java.lang.Object
  extended by com.adactus.mpeg21.didl.entity.DIDLBaseType
      extended by com.adactus.mpeg21.didl.entity.DIDLChildType
          extended by com.adactus.mpeg21.didl.entity.DIDLParentType
              extended by 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

Field Summary
static java.lang.String ELEMENT_NAME
           
 
Constructor Summary
AnnotationType()
           
 
Method Summary
 java.util.List<Anchor> getAnchors()
          Get the Anchors associated with this instance.
 java.util.List<Assertion> getAssertions()
          Get the Assertions associated with this instance.
 java.util.List<Descriptor> getDescriptors()
          Get the Descriptors associated with this instance.
 java.lang.String getIdentifier()
          Get the identifier of this element.
 DIDLParentType getParent()
           
 java.lang.String getTarget()
          Get the annotation target identifier.
static AnnotationType newInstance()
           
static void recycle(AnnotationType type)
           
 boolean remove(AnchorType o)
           
 boolean remove(AssertionType o)
           
 boolean remove(DescriptorType o)
           
 void reset()
           
 void setIdentifier(java.lang.String id)
           
 void setParent(DIDLParentType parent)
           
 void setTarget(java.lang.String target)
           
 
Methods inherited from class com.adactus.mpeg21.didl.entity.DIDLParentType
getChildren, setChildren
 
Methods inherited from class com.adactus.mpeg21.didl.entity.DIDLChildType
getId, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

AnnotationType

public AnnotationType()
Method Detail

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)