|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.nds.dirxml.engine.gcv.GCValue
com.novell.nds.dirxml.engine.gcv.GCParent
com.novell.nds.dirxml.engine.gcv.GCSubordinates
public class GCSubordinates
Class representing a GCV subordinate section.
A GCV subordinate section is a group of related GCV definitions under a GCV group. The UI may conditionally display subordinate sections based on the value of the group leader. Whether a subordinate section is displayed or not is controlled by the "active-value" attribute of the subordinate section.
Although a GCV subordinate section is not an actual GCV, the objects are represented programmatically as GCValues for ease of manipulation via the GCDefinitions class.
GCGroup| Field Summary |
|---|
| Fields inherited from class com.novell.nds.dirxml.engine.gcv.GCParent |
|---|
defsList, defsMap, owner |
| Fields inherited from class com.novell.nds.dirxml.engine.gcv.GCValue |
|---|
modified, parent, TYPE_BOOLEAN, TYPE_DN, TYPE_DN_REF, TYPE_ENUM, TYPE_GCV_REF, TYPE_GROUP, TYPE_HEADER, TYPE_INTEGER, TYPE_LIST, TYPE_PASSWORD_REF, TYPE_REAL, TYPE_STRING, TYPE_SUBORDINATES |
| Constructor Summary | |
|---|---|
protected |
GCSubordinates(Element definition,
GCDefinitions owner)
Constructor for use by GCValue.construct() method. |
protected |
GCSubordinates(String activeValue,
GCDefinitions owner)
Constructor for use by GCValue construct() method. |
| Method Summary | |
|---|---|
String |
getActiveValue()
Get the active-value for this subordinates group. |
void |
setActiveValue(String activeValue)
Set the active-value for this subordinates section. |
protected boolean |
validateActiveValue()
Validate the current active value against the current group leader. |
| Methods inherited from class com.novell.nds.dirxml.engine.gcv.GCParent |
|---|
appendValue, getOwner, getValue, insertValue, insertValue, iterator, parseValue, removeValue, removeValue, setValue, shallowIterator |
| Methods inherited from class com.novell.nds.dirxml.engine.gcv.GCValue |
|---|
construct, construct, constructGCVRef, constructGroup, constructHeader, constructSubordinates, getDescription, getDescriptionRef, getDisplayName, getDisplayNameRef, getHidden, getName, getType, getTypeString, getXMLValue, hasBeenModified, localize, resetModified, setDescription, setDescriptionRef, setDisplayName, setDisplayNameRef, setHidden, toXML, typeFromString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected GCSubordinates(String activeValue,
GCDefinitions owner)
throws GCVArgumentException
GCValue construct() method.
activeValue - active-value valueowner - GCDefinitions instance that owns the subordinate section
GCVArgumentException - thrown if name is invalid
protected GCSubordinates(Element definition,
GCDefinitions owner)
throws GCVException
GCValue.construct() method.
definition - <group> element defining data.owner - GCDefinitions instance that owns the group
GCVException - thrown if XML is not complete or
correct.| Method Detail |
|---|
public void setActiveValue(String activeValue)
throws GCVArgumentException
null or empty.
activeValue - active-value
GCVArgumentException - thrown is activeValue is incorrect.public String getActiveValue()
protected boolean validateActiveValue()
true if active value is valid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||