@Immutable public class RedeclareProperty extends AbstractPropertyDecorator
PropertyDefinition
s that has a changed parent typeasProperty
property
Constructor and Description |
---|
RedeclareProperty(PropertyDefinition property,
DefinitionGroup declaringGroup)
Create a decorator for the given property that has a changed declaring
group.
|
Modifier and Type | Method and Description |
---|---|
DefinitionGroup |
getDeclaringGroup()
Get the definition of the group declaring the property.
|
asGroup, asProperty, compareTo, equals, getConstraint, getDescription, getDisplayName, getIdentifier, getLocation, getName, getParentType, getPropertyType, hashCode, toString
public RedeclareProperty(PropertyDefinition property, DefinitionGroup declaringGroup)
property
- the property to decoratedeclaringGroup
- the new declaring group, may not be
null
public DefinitionGroup getDeclaringGroup()
ChildDefinition
getDeclaringGroup
in interface ChildDefinition<PropertyConstraint>
getDeclaringGroup
in class AbstractPropertyDecorator
AbstractPropertyDecorator.getDeclaringGroup()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a