|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adactus.mpeg21.didl.entity.DIDLBaseType
com.adactus.mpeg21.didl.entity.DIDLChildType
com.adactus.mpeg21.didl.entity.DIDLParentType
com.adactus.mpeg21.didl.entity.ChoiceType
public class ChoiceType
| Field Summary | |
|---|---|
static java.lang.String |
ELEMENT_NAME
|
| Constructor Summary | |
|---|---|
ChoiceType()
|
|
| Method Summary | |
|---|---|
boolean |
add(ConditionType o)
|
boolean |
add(DescriptorType o)
|
boolean |
add(SelectionType o)
|
java.lang.String |
getChoiceIdentifier()
Get the identifier of this element. |
java.util.List<Condition> |
getConditions()
Get the Conditions associated with this instance. |
java.lang.String |
getDefaultSelection()
|
java.lang.String[] |
getDefaultSelections()
Get default selections, which are used in the absence of info to make a more specific decision. |
java.util.List<Descriptor> |
getDescriptors()
Get the Descriptors associated with this instance. |
java.lang.Integer |
getMaxSelections()
Get the maximum number of selections of this choice. |
java.lang.Integer |
getMinSelections()
Get the minimum number of selections of this choice. |
DIDLParentType |
getParent()
|
java.util.List<Selection> |
getSelections()
Get the Selections associated with this Choice.. |
boolean |
hasMaxSelections()
|
boolean |
hasMinSelections()
|
static ChoiceType |
newInstance()
|
static void |
recycle(ChoiceType type)
|
boolean |
remove(ConditionType o)
|
boolean |
remove(DescriptorType o)
|
boolean |
remove(SelectionType o)
|
void |
reset()
|
void |
setChoiceIdentifier(java.lang.String choiceId)
|
void |
setDefaultSelection(java.lang.String defaultSelection)
|
void |
setMaxSelections(java.lang.Integer maxSelections)
|
void |
setMinSelections(java.lang.Integer minSelections)
|
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 |
|---|
public static final java.lang.String ELEMENT_NAME
| Constructor Detail |
|---|
public ChoiceType()
| Method Detail |
|---|
public boolean add(ConditionType o)
public boolean add(DescriptorType o)
public boolean add(SelectionType o)
public java.lang.String getChoiceIdentifier()
Choice
getChoiceIdentifier in interface Choicepublic java.util.List<Condition> getConditions()
ChoiceConditions associated with this instance.
getConditions in interface Choicepublic java.lang.String getDefaultSelection()
public java.lang.String[] getDefaultSelections()
Choice
getDefaultSelections in interface Choicepublic java.util.List<Descriptor> getDescriptors()
ChoiceDescriptors associated with this instance.
getDescriptors in interface Choicepublic java.lang.Integer getMaxSelections()
Choice
getMaxSelections in interface Choicepublic java.lang.Integer getMinSelections()
Choice
getMinSelections in interface Choicepublic DIDLParentType getParent()
public java.util.List<Selection> getSelections()
ChoiceSelections associated with this Choice..
getSelections in interface Choicepublic boolean hasMaxSelections()
public boolean hasMinSelections()
public static ChoiceType newInstance()
public static void recycle(ChoiceType type)
public boolean remove(ConditionType o)
public boolean remove(DescriptorType o)
public boolean remove(SelectionType o)
public void reset()
reset in interface javolution.lang.Reusablepublic void setChoiceIdentifier(java.lang.String choiceId)
public void setDefaultSelection(java.lang.String defaultSelection)
public void setMaxSelections(java.lang.Integer maxSelections)
public void setMinSelections(java.lang.Integer minSelections)
public void setParent(DIDLParentType parent)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||