@Immutable public class ReparentProperty extends AbstractPropertyDecorator
PropertyDefinition
s that has a changed parent typeasProperty
property
Constructor and Description |
---|
ReparentProperty(PropertyDefinition property,
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 definitions identifier
|
TypeDefinition |
getParentType()
Get the parent type of the child.
|
asGroup, asProperty, compareTo, equals, getConstraint, getDeclaringGroup, getDescription, getDisplayName, getLocation, getName, getPropertyType, hashCode, toString
public ReparentProperty(PropertyDefinition property, TypeDefinition newParent)
property
- the property to decoratenewParent
- the new parent type, may not be null
public String getIdentifier()
Definition
getIdentifier
in interface Definition<PropertyConstraint>
getIdentifier
in class AbstractPropertyDecorator
AbstractPropertyDecorator.getIdentifier()
public TypeDefinition getParentType()
ChildDefinition
getParentType
in interface ChildDefinition<PropertyConstraint>
getParentType
in class AbstractPropertyDecorator
AbstractPropertyDecorator.getParentType()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a