Skip navigation links
com.sigmadynamics.sdo.support
Class SDChoiceGroup
java.lang.Object
com.sigmadynamics.sdo.support.SDOBase
com.sigmadynamics.sdo.base.SDO
com.sigmadynamics.sdo.support.SDEligibleObject
com.sigmadynamics.sdo.base.EligibleObject
com.sigmadynamics.sdo.support.SDChoiceGroup
- All Implemented Interfaces:
- ChoiceGroupInterface, ChoiceHistoryQueryInterface, EligibleObjectInterface, SDOInterface
- Direct Known Subclasses:
- ChoiceGroup
-
public abstract class SDChoiceGroup
- extends EligibleObject
- implements ChoiceGroupInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDChoiceGroup
public SDChoiceGroup()
isEligible
public boolean isEligible()
-
- Specified by:
isEligible
in interface EligibleObjectInterface
- Overrides:
isEligible
in class SDEligibleObject
getEligibleChoices
public void getEligibleChoices(ChoiceArrayInterface eligibleChoices)
- Description copied from interface:
ChoiceGroupInterface
- Adds clones of all eligible descendent Choices to the Choice Array parameter (static and dynamic)
-
- Specified by:
getEligibleChoices
in interface ChoiceGroupInterface
-
- Parameters:
eligibleChoices
- Choice Array implementation, not null
getChoice
public static Choice getChoice(java.lang.String choiceID)
-
- Returns:
- a prototype Choice object or null, if choiceID not found
getSubGroups
public ChoiceGroupInterface[] getSubGroups()
- Description copied from interface:
ChoiceGroupInterface
SDChoiceGroup.getTopLevelSubGroups()
-
- Specified by:
getSubGroups
in interface ChoiceGroupInterface
getTopLevelSubGroups
public static ChoiceGroupInterface[] getTopLevelSubGroups()
-
- Returns:
- clones of child
ChoiceGroup
s.
getChoiceGroup
public static ChoiceGroup getChoiceGroup(java.lang.String choiceGroupId)
getChoiceInternal
protected abstract Choice getChoiceInternal(java.lang.String choiceId)
- delegates to ${className}.getChoice(String choiceId).
-
- Returns:
- null or the choice from this group or its subtree
getAllDynamicChoices
public ChoiceArrayInterface getAllDynamicChoices()
- Description copied from interface:
ChoiceGroupInterface
- get descendant Choices (dynamic only)
-
- Specified by:
getAllDynamicChoices
in interface ChoiceGroupInterface
-
- Returns:
- SDChoiceArray, never null
getMyDynamicChoices
public ChoiceArrayInterface getMyDynamicChoices()
- Description copied from interface:
ChoiceGroupInterface
- get child Choices (dynamic only)
-
- Specified by:
getMyDynamicChoices
in interface ChoiceGroupInterface
-
- Returns:
- SDChoiceArray, never null
getEventObject
protected ChoiceEventInterface getEventObject(java.lang.String eventName)
findChoiceGroup
public static ChoiceGroup findChoiceGroup(java.lang.String choiceGroupId)
- Get a choice group from all those defined by the inline service.
-
- Returns:
- a prototype
ChoiceGroup
or null
- Since:
- 1.0
Skip navigation links
Copyright © 2010, Oracle. All rights reserved.