Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.AbstractGroupPropertyDecorator
      extended by eu.esdihumboldt.hale.common.schema.model.impl.internal.RedeclareGroupProperty
All Implemented Interfaces:
Locatable, ChildDefinition<GroupPropertyConstraint>, Definition<GroupPropertyConstraint>, DefinitionGroup, GroupPropertyDefinition, Comparable<Definition<?>>

@Immutable
public class RedeclareGroupProperty
extends AbstractGroupPropertyDecorator

Decorator for GroupPropertyDefinitions that has a changed declaring group.

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.impl.AbstractGroupPropertyDecorator
propertyGroup
 
Constructor Summary
RedeclareGroupProperty(GroupPropertyDefinition propertyGroup, 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.AbstractGroupPropertyDecorator
addChild, allowFlatten, asGroup, asProperty, compareTo, getChild, getConstraint, getDeclaredChildren, getDescription, getDisplayName, getIdentifier, getLocation, getName, getParentType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedeclareGroupProperty

public RedeclareGroupProperty(GroupPropertyDefinition propertyGroup,
                              DefinitionGroup declaringGroup)
Create a decorator for the given property that has a changed declaring group.

Parameters:
propertyGroup - the property group 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<GroupPropertyConstraint>
Overrides:
getDeclaringGroup in class AbstractGroupPropertyDecorator
Returns:
the group declaring the property
See Also:
AbstractGroupPropertyDecorator.getDeclaringGroup()

Humboldt Alignment Editor 2.5.0

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