com.adactus.mpeg21.didl.entity
Class DescriptorType

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.DescriptorType
All Implemented Interfaces:
Descriptor, java.io.Serializable, javolution.lang.Reusable

public class DescriptorType
extends DIDLParentType
implements Descriptor, javolution.lang.Reusable

Descriptor implementation.

See Also:
Serialized Form

Field Summary
static java.lang.String ELEMENT_NAME
           
 
Constructor Summary
DescriptorType()
           
 
Method Summary
 boolean add(ComponentType o)
           
 boolean add(ConditionType o)
           
 boolean add(DescriptorType o)
           
 boolean add(StatementType o)
           
 ComponentType getComponent()
          Get the Component of this Descriptor.
 java.util.List<Condition> getConditions()
          Get the Conditions 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()
           
 StatementType getStatement()
          Get the Statement of this Descriptor.
static DescriptorType newInstance()
           
static void recycle(DescriptorType type)
           
 boolean remove(ComponentType o)
           
 boolean remove(ConditionType o)
           
 boolean remove(DescriptorType o)
           
 boolean remove(StatementType o)
           
 void reset()
           
 void setIdentifier(java.lang.String id)
           
 void setParent(DIDLParentType parent)
           
 
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

DescriptorType

public DescriptorType()
Method Detail

add

public boolean add(ComponentType o)

add

public boolean add(ConditionType o)

add

public boolean add(DescriptorType o)

add

public boolean add(StatementType o)

getComponent

public ComponentType getComponent()
Description copied from interface: Descriptor
Get the Component of this Descriptor.

Specified by:
getComponent in interface Descriptor
Returns:
list of descriptors

getConditions

public java.util.List<Condition> getConditions()
Description copied from interface: Descriptor
Get the Conditions associated with this instance.

Specified by:
getConditions in interface Descriptor
Returns:
a list of conditions

getDescriptors

public java.util.List<Descriptor> getDescriptors()
Description copied from interface: Descriptor
Get the Descriptors associated with this instance.

Specified by:
getDescriptors in interface Descriptor
Returns:
list of descriptors

getIdentifier

public java.lang.String getIdentifier()
Description copied from interface: Descriptor
Get the identifier of this element. The identifier must be unique within a digital item.

Specified by:
getIdentifier in interface Descriptor
Returns:
an string value

getParent

public DIDLParentType getParent()

getStatement

public StatementType getStatement()
Description copied from interface: Descriptor
Get the Statement of this Descriptor.

Specified by:
getStatement in interface Descriptor
Returns:
list of descriptors

newInstance

public static DescriptorType newInstance()

recycle

public static void recycle(DescriptorType type)

remove

public boolean remove(ComponentType o)

remove

public boolean remove(ConditionType o)

remove

public boolean remove(DescriptorType o)

remove

public boolean remove(StatementType 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)