public class SubstitutionProperty extends DefaultPropertyDefinition
asProperty
name
Constructor and Description |
---|
SubstitutionProperty(XmlElement substitution,
DefaultPropertyDefinition originialProperty,
SubstitutionGroupProperty substitutionGroup)
Constructor
|
Modifier and Type | Method and Description |
---|---|
<T extends PropertyConstraint> |
getConstraint(Class<T> constraintType)
Get the constraint with the given constraint type.
Should usually not be called while creating the model, exceptions can be getting mutable constraints where this is intended. |
asGroup, asProperty, getDescription, getPropertyType, toString
getDeclaringGroup, getIdentifier, getParentType
compareTo, equals, getDisplayName, getInheritedConstraint, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringGroup, getParentType
getDisplayName, getIdentifier, getName
getLocation
compareTo
public SubstitutionProperty(XmlElement substitution, DefaultPropertyDefinition originialProperty, SubstitutionGroupProperty substitutionGroup)
substitution
- the element that represents the substitutionoriginialProperty
- the original property that is substitutedsubstitutionGroup
- the parent grouppublic <T extends PropertyConstraint> T getConstraint(Class<T> constraintType)
Definition
getConstraint
in interface Definition<PropertyConstraint>
getConstraint
in class AbstractDefinition<PropertyConstraint>
T
- the constraint typeconstraintType
- the constraint type, see Constraint
AbstractDefinition.getConstraint(Class)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a