@Immutable public class ReparentGroupProperty extends AbstractGroupPropertyDecorator
GroupPropertyDefinition
s that has a changed parent typeasProperty
propertyGroup
Constructor and Description |
---|
ReparentGroupProperty(GroupPropertyDefinition propertyGroup,
TypeDefinition newParent)
Create a decorator for the given property that has a changed parent type
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
Get the group identifier
|
TypeDefinition |
getParentType()
Get the parent type of the child.
|
addChild, allowFlatten, asGroup, asProperty, compareTo, getChild, getConstraint, getDeclaredChildren, getDeclaringGroup, getDescription, getDisplayName, getLocation, getName, toString
public ReparentGroupProperty(GroupPropertyDefinition propertyGroup, TypeDefinition newParent)
propertyGroup
- the property group to decoratenewParent
- the new parent type, may not be null
public String getIdentifier()
DefinitionGroup
getIdentifier
in interface Definition<GroupPropertyConstraint>
getIdentifier
in interface DefinitionGroup
getIdentifier
in class AbstractGroupPropertyDecorator
AbstractPropertyDecorator.getIdentifier()
public TypeDefinition getParentType()
ChildDefinition
getParentType
in interface ChildDefinition<GroupPropertyConstraint>
getParentType
in class AbstractGroupPropertyDecorator
AbstractPropertyDecorator.getParentType()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a