Humboldt Alignment Editor 2.5.0

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

All Known Subinterfaces:
MutableAlignment
All Known Implementing Classes:
DefaultAlignment

public interface Alignment

An alignment contains alignment cells

Author:
Simon Templer

Method Summary
 Collection<? extends Cell> getCells()
          Get the collection of cells contained in the alignment.
 Collection<? extends Cell> getCells(EntityDefinition entityDefinition)
          Get the cells associated w/ the given entity definition.
 Collection<? extends Cell> getCells(TypeDefinition type, SchemaSpaceID schemaSpace)
          Get the cells associated with the given type.
 Collection<? extends Cell> getPropertyCells(Iterable<TypeEntityDefinition> sourceTypes, TypeEntityDefinition targetType)
          Get the cells representing a mapping between properties that are associated with the given source and target types.
 Collection<? extends Cell> getTypeCells()
          Get the cells representing a mapping between types
 

Method Detail

getCells

Collection<? extends Cell> getCells()
Get the collection of cells contained in the alignment.

Returns:
the alignment cells

getTypeCells

Collection<? extends Cell> getTypeCells()
Get the cells representing a mapping between types

Returns:
the type cells

getCells

Collection<? extends Cell> getCells(EntityDefinition entityDefinition)
Get the cells associated w/ the given entity definition.

Parameters:
entityDefinition - the entity definition
Returns:
the associated cells or an empty collection FIXME what about cells defined on super types?

getCells

Collection<? extends Cell> getCells(TypeDefinition type,
                                    SchemaSpaceID schemaSpace)
Get the cells associated with the given type. These may be cells associated to the type or its properties.

Parameters:
type - the type definition
schemaSpace - the type schema space
Returns:
the cells associated with the given type

getPropertyCells

Collection<? extends Cell> getPropertyCells(Iterable<TypeEntityDefinition> sourceTypes,
                                            TypeEntityDefinition targetType)
Get the cells representing a mapping between properties that are associated with the given source and target types. Augmentations for the given target type will also be returned.

Parameters:
sourceTypes - the source types or null for any source type
targetType - the target types
Returns:
the property cells associated with the relation between the given source and target types.

Humboldt Alignment Editor 2.5.0

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