Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model
Interface EntityDefinition

All Known Implementing Classes:
ChildEntityDefinition, PropertyEntityDefinition, TypeEntityDefinition

public interface EntityDefinition

Definition of an entity. Represents either a type or a property.

Since:
2.5
Author:
Simon Templer

Method Summary
 Definition<?> getDefinition()
          Get the definition of the type or property represented by the entity definition.
 Filter getFilter()
          Get the filter applied to the entity type.
 List<ChildContext> getPropertyPath()
          Get the property path.
 SchemaSpaceID getSchemaSpace()
          Get the schema space the entity definition is associated to.
 TypeDefinition getType()
          Get the type definition that is associated with the entity.
 

Method Detail

getDefinition

Definition<?> getDefinition()
Get the definition of the type or property represented by the entity definition.

Returns:
the definition of the type or property

getType

TypeDefinition getType()
Get the type definition that is associated with the entity. This is either the type represented by the entity or the topmost parent to the property represented by the entity.

Returns:
the type definition

getFilter

Filter getFilter()
Get the filter applied to the entity type.

Returns:
the entity filter, may be null

getPropertyPath

List<ChildContext> getPropertyPath()
Get the property path. Each path item is an instance context name paired with a child definition. The default instance context name is null.

Returns:
the path down to the property represented by the entity, an empty list if the entity represents a type

getSchemaSpace

SchemaSpaceID getSchemaSpace()
Get the schema space the entity definition is associated to. The schema space itself is no characteristic of the entity, but is needed as additional information to differentiate between source and target schema entities with the same names.

Returns:
the identifier of the entity definition's schema space

Humboldt Alignment Editor 2.5.0

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