com.adactus.mpeg21.didl.entity
Class SelectionType

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

public class SelectionType
extends DIDLParentType
implements Selection, javolution.lang.Reusable

See Also:
Serialized Form

Field Summary
static java.lang.String ELEMENT_NAME
           
 
Constructor Summary
SelectionType()
           
 
Method Summary
 boolean add(ConditionType o)
           
 boolean add(DescriptorType o)
           
 java.util.List<ConditionType> getConditions()
          Get the Conditions associated with this instance.
 java.util.List<DescriptorType> getDescriptors()
          Get the Descriptors associated with this instance.
 DIDLParentType getParent()
           
 java.lang.String getSelectIdentifier()
          Get the identifier of this element.
static SelectionType newInstance()
           
static void recycle(SelectionType type)
           
 boolean remove(ConditionType o)
           
 void remove(DescriptorType o)
           
 void reset()
           
 void setParent(DIDLParentType parent)
           
 void setSelectIdentifier(java.lang.String selectId)
           
 
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

SelectionType

public SelectionType()
Method Detail

add

public boolean add(ConditionType o)

add

public boolean add(DescriptorType o)

getConditions

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

Specified by:
getConditions in interface Selection
Returns:
the conditions

getDescriptors

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

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

getParent

public DIDLParentType getParent()

getSelectIdentifier

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

Specified by:
getSelectIdentifier in interface Selection
Returns:
an string value

newInstance

public static SelectionType newInstance()

recycle

public static void recycle(SelectionType type)

remove

public boolean remove(ConditionType o)

remove

public void remove(DescriptorType o)

reset

public void reset()
Specified by:
reset in interface javolution.lang.Reusable

setParent

public void setParent(DIDLParentType parent)

setSelectIdentifier

public void setSelectIdentifier(java.lang.String selectId)