Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.schema.model
Interface DefinitionGroup

All Known Subinterfaces:
GroupPropertyDefinition, TypeDefinition
All Known Implementing Classes:
AbstractGroupPropertyDecorator, AnonymousXmlType, ConstraintOverrideGroupProperty, DefaultGroup, DefaultGroupPropertyDefinition, DefaultTypeDefinition, LazyGroupPropertyDefinition, RedeclareGroupProperty, ReparentGroupProperty, SubstitutionGroupProperty, XmlAttributeGroup, XmlAttributeGroupReferenceProperty, XmlGroup, XmlGroupReferenceProperty, XmlTypeDefinition

public interface DefinitionGroup

A group of children, which may be properties or property groups

Author:
Simon Templer

Method Summary
 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
 

Method Detail

getDeclaredChildren

Collection<? extends ChildDefinition<?>> getDeclaredChildren()
Get the properties and property groups declared by the type

Returns:
the definitions of the declared properties and groups

getChild

ChildDefinition<?> getChild(QName name)
Get the child with the given name

Parameters:
name - the child name
Returns:
the child definition or null if no child with the given name is available

addChild

void addChild(ChildDefinition<?> child)
Add a declared child, this is called by the AbstractChildDefinition constructor.

Parameters:
child - the child definition

getIdentifier

String getIdentifier()
Get the group identifier

Returns:
the unique name of the group

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d