|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.align.model.impl.DefaultAlignment
public class DefaultAlignment
Default alignment implementation.
Constructor Summary | |
---|---|
DefaultAlignment()
Default constructor. |
|
DefaultAlignment(Alignment alignment)
Copy constructor. |
Method Summary | |
---|---|
void |
addCell(Cell cell)
Add a cell to the alignment |
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<Cell> |
getTypeCells()
Get the cells representing a mapping between types |
boolean |
removeCell(Cell cell)
Remove a cell |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAlignment()
public DefaultAlignment(Alignment alignment)
alignment
- the alignment to copyMethod Detail |
---|
public void addCell(Cell cell)
MutableAlignment
addCell
in interface MutableAlignment
cell
- the cell to add. It should be already configured, especially
with the cell targetMutableAlignment.addCell(Cell)
public Collection<? extends Cell> getCells(EntityDefinition entityDefinition)
Alignment
getCells
in interface Alignment
entityDefinition
- the entity definition
Alignment.getCells(EntityDefinition)
public Collection<? extends Cell> getCells(TypeDefinition type, SchemaSpaceID schemaSpace)
Alignment
getCells
in interface Alignment
type
- the type definitionschemaSpace
- the type schema space
Alignment.getCells(TypeDefinition, SchemaSpaceID)
public Collection<? extends Cell> getPropertyCells(Iterable<TypeEntityDefinition> sourceTypes, TypeEntityDefinition targetType)
Alignment
getPropertyCells
in interface Alignment
sourceTypes
- the source types or null
for any source
typetargetType
- the target types
Alignment.getPropertyCells(Iterable, TypeEntityDefinition)
public Collection<? extends Cell> getCells()
Alignment
getCells
in interface Alignment
Alignment.getCells()
public boolean removeCell(Cell cell)
MutableAlignment
removeCell
in interface MutableAlignment
cell
- the cell to remove
MutableAlignment.removeCell(Cell)
public Collection<Cell> getTypeCells()
Alignment
getTypeCells
in interface Alignment
Alignment.getTypeCells()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |