eu.esdihumboldt.hale.common.schema.model.impl.internal
Class RedeclareProperty
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.impl.AbstractPropertyDecorator
eu.esdihumboldt.hale.common.schema.model.impl.internal.RedeclareProperty
- All Implemented Interfaces:
- Locatable, ChildDefinition<PropertyConstraint>, Definition<PropertyConstraint>, PropertyDefinition, Comparable<Definition<?>>
@Immutable
public class RedeclareProperty
- extends AbstractPropertyDecorator
Decorator for PropertyDefinition
s that has a changed parent type
- Author:
- Simon Templer
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractPropertyDecorator |
asGroup, asProperty, compareTo, getConstraint, getDescription, getDisplayName, getIdentifier, getLocation, getName, getParentType, getPropertyType, toString |
RedeclareProperty
public RedeclareProperty(PropertyDefinition property,
DefinitionGroup declaringGroup)
- Create a decorator for the given property that has a changed declaring
group.
- Parameters:
property
- the property to decoratedeclaringGroup
- the new declaring group, may not be
null
getDeclaringGroup
public DefinitionGroup getDeclaringGroup()
- Description copied from interface:
ChildDefinition
- Get the definition of the group declaring the property.
- Specified by:
getDeclaringGroup
in interface ChildDefinition<PropertyConstraint>
- Overrides:
getDeclaringGroup
in class AbstractPropertyDecorator
- Returns:
- the group declaring the property
- See Also:
AbstractPropertyDecorator.getDeclaringGroup()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d