com.adactus.mpeg21.didl.entity
Class SelectionType
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.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
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
SelectionType
public SelectionType()
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
Condition
s 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
Descriptor
s 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)