Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.schema.model.impl.internal
Class RedeclareProperty

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractPropertyDecorator
      extended by 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 PropertyDefinitions that has a changed parent type

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractPropertyDecorator
property
 
Constructor Summary
RedeclareProperty(PropertyDefinition property, DefinitionGroup declaringGroup)
          Create a decorator for the given property that has a changed declaring group.
 
Method Summary
 DefinitionGroup getDeclaringGroup()
          Get the definition of the group declaring the property.
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractPropertyDecorator
asGroup, asProperty, compareTo, getConstraint, getDescription, getDisplayName, getIdentifier, getLocation, getName, getParentType, getPropertyType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 decorate
declaringGroup - the new declaring group, may not be null
Method Detail

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()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d