public class DefaultGroup extends Object implements DefinitionGroup
DefinitionGroup
implementation used internally in
DefaultTypeDefinition
and DefaultGroupPropertyDefinition
. It
has a random UUID as identifier.Constructor and Description |
---|
DefaultGroup(boolean flatten)
Create a group
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(ChildDefinition<?> child)
Add a declared child, this is called by the
AbstractChildDefinition constructor. |
ChildDefinition<?> |
getChild(QName name)
Get the child with the given name
|
Collection<? extends ChildDefinition<?>> |
getDeclaredChildren()
Get the properties and property groups declared by the type
|
String |
getIdentifier()
Get the group identifier
|
public DefaultGroup(boolean flatten)
flatten
- if contained group properties may be replaced by their
children if possiblepublic Collection<? extends ChildDefinition<?>> getDeclaredChildren()
DefinitionGroup
getDeclaredChildren
in interface DefinitionGroup
DefinitionGroup.getDeclaredChildren()
public ChildDefinition<?> getChild(QName name)
DefinitionGroup
getChild
in interface DefinitionGroup
name
- the child namenull
if no child with the
given name is availableDefinitionGroup.getChild(QName)
public void addChild(ChildDefinition<?> child)
DefinitionGroup
AbstractChildDefinition
constructor.addChild
in interface DefinitionGroup
child
- the child definitionDefinitionGroup.addChild(ChildDefinition)
public String getIdentifier()
DefinitionGroup
getIdentifier
in interface DefinitionGroup
DefinitionGroup.getIdentifier()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a