eu.esdihumboldt.hale.io.xsd.reader.internal
Class SubstitutionGroupProperty
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition<C>
eu.esdihumboldt.hale.common.schema.model.impl.AbstractChildDefinition<GroupPropertyConstraint>
eu.esdihumboldt.hale.common.schema.model.impl.DefaultGroupPropertyDefinition
eu.esdihumboldt.hale.io.xsd.reader.internal.LazyGroupPropertyDefinition
eu.esdihumboldt.hale.io.xsd.reader.internal.SubstitutionGroupProperty
- All Implemented Interfaces:
- Locatable, ChildDefinition<GroupPropertyConstraint>, Definition<GroupPropertyConstraint>, DefinitionGroup, GroupPropertyDefinition, Comparable<Definition<?>>
public class SubstitutionGroupProperty
- extends LazyGroupPropertyDefinition
Group property that resolves all possible substitutions for a property and
offers them as a choice. The property must be set using
setProperty(DefaultPropertyDefinition)
-
- Author:
- Simon Templer
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractDefinition |
compareTo, equals, getConstraint, getDescription, getDisplayName, getInheritedConstraint, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation |
SubstitutionGroupProperty
public SubstitutionGroupProperty(QName name,
DefinitionGroup parentGroup)
- The
- Parameters:
name
- the property nameparentGroup
- the parent group
setProperty
public void setProperty(DefaultPropertyDefinition property)
- Set the property represented by the group. The property must have been
created with this group as parent and the
Cardinality
constraint
must have been already set.
- Parameters:
property
- the property to set
addChild
public void addChild(ChildDefinition<?> child)
- Description copied from interface:
DefinitionGroup
- Add a declared child, this is called by the
AbstractChildDefinition
constructor.
- Specified by:
addChild
in interface DefinitionGroup
- Overrides:
addChild
in class DefaultGroupPropertyDefinition
- Parameters:
child
- the child definition- See Also:
DefaultGroupPropertyDefinition.addChild(ChildDefinition)
initChildren
protected void initChildren()
- Description copied from class:
LazyGroupPropertyDefinition
- Initialize the children.
DefaultGroupPropertyDefinition.addChild(ChildDefinition)
can be used
to add them.
- Specified by:
initChildren
in class LazyGroupPropertyDefinition
- See Also:
LazyGroupPropertyDefinition.initChildren()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d