protected static class ClassHolder.ParentNode extends ClassHolder.DataNode
| Constructor and Description |
|---|
ClassHolder.ParentNode(GroupItem group,
ClassHolder.ParentNode parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(ClassHolder.DataNode value)
Add a child node (which may be another parent) to this parent.
|
void |
adjustName()
Adjust name based on group nesting.
|
String |
describe(int depth)
Generate the subtree description.
|
ArrayList |
getChildren()
Get child nodes of this parent.
|
String |
getPrefix()
Get prefix for value names in group.
|
String |
getSelectCheckMethod()
Get selector check method name.
|
String |
getSelectField()
Get selector field name.
|
int |
getSelectorType()
Get the selector type.
|
String |
getSelectSetMethod()
Get selector set method name.
|
boolean |
isComplexCollection()
Check if this is a collection that wraps some other structure (rather than a simple leaf node).
|
boolean |
isInterior()
Check if this is an interior node (always
true). |
boolean |
isSelectorExposed()
Check if selector state should be exposed to user.
|
boolean |
isSelectorNeeded()
Check if a selector field is required for this group.
|
boolean |
isSelectorType()
Check if a selector field may be required for this group.
|
void |
setSelectCheckMethod(String name)
Set selector check method name.
|
void |
setSelectField(String name)
Set selector field name.
|
void |
setSelectSetMethod(String name)
Set selector set method name.
|
appendDocText, appendSelectConstText, getBindingType, getDocumentation, getFieldName, getFlagMethodName, getGetMethodName, getItem, getParent, getPropName, getQName, getReferenceQName, getSchemaComponent, getSelectConstName, getSelectPropName, getSetMethodName, getTestMethodName, getType, isAny, isCollection, isIgnored, isList, isNamed, isOptional, isReference, setDocumentation, setFieldName, setFlagMethodName, setGetMethodName, setPropName, setSelectConstName, setSelectPropName, setSetMethodName, setTestMethodNamepublic ClassHolder.ParentNode(GroupItem group, ClassHolder.ParentNode parent)
group - associated item groupparent - containing nodepublic boolean isInterior()
true).isInterior in class ClassHolder.DataNodetrue for structure componentpublic boolean isSelectorNeeded()
public boolean isSelectorType()
public int getSelectorType()
public boolean isSelectorExposed()
public void adjustName()
public String getPrefix()
null if none used)protected void addChild(ClassHolder.DataNode value)
value - public ArrayList getChildren()
public boolean isComplexCollection()
true if wrapper collectionpublic String getSelectField()
null if no selector for group)public void setSelectField(String name)
name - (null if no selector for group)public String getSelectSetMethod()
null if no selector set method for group)public void setSelectSetMethod(String name)
name - (null if no selector set method for group)public String getSelectCheckMethod()
null if no selector check method for group)public void setSelectCheckMethod(String name)
name - (null if no selector check method for group)public String describe(int depth)
describe in class ClassHolder.DataNodedepth - current nesting depthCopyright © 2005-2014 jibx.org. All Rights Reserved.