|
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.transformation.tree.context.impl.TargetContext.DuplicationContext
public static class TargetContext.DuplicationContext
Context of a duplication process. It serves to ensure that each cell or target node is only created once per context duplication.
Constructor Summary | |
---|---|
TargetContext.DuplicationContext(Set<Cell> ignoreCells)
Create a duplication context |
Method Summary | |
---|---|
void |
addNode(CellNodeImpl cellNode,
CellNode originalCell)
Add a node to the duplication context. |
void |
addNode(TargetNodeImpl targetNode,
TargetNode originalTarget)
Add a node to the duplication context. |
Set<Cell> |
getIgnoreCells()
Get the cells to be ignored during duplication. |
Collection<Pair<CellNodeImpl,CellNode>> |
getIncompleteCellNodes()
Get cell nodes that have incomplete sources compared to the original. |
Collection<Pair<TargetNodeImpl,TargetNode>> |
getIncompleteTargetNodes()
Get target nodes that have incomplete children or assignments compared to the original. |
CellNodeImpl |
getNode(Cell cell)
Get the cell node associated to the given cell. |
TargetNodeImpl |
getNode(EntityDefinition entity)
Get the target node associated to the given entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TargetContext.DuplicationContext(Set<Cell> ignoreCells)
ignoreCells
- the cells to be ignoredMethod Detail |
---|
public CellNodeImpl getNode(Cell cell)
cell
- the cell
null
if none has yet been
associated to the cellpublic void addNode(CellNodeImpl cellNode, CellNode originalCell)
cellNode
- the cell node to add to the duplication contextoriginalCell
- the original cell node where the cell node was
duplicated frompublic TargetNodeImpl getNode(EntityDefinition entity)
entity
- the entity
null
if none has yet been
associated to the entitypublic void addNode(TargetNodeImpl targetNode, TargetNode originalTarget)
targetNode
- the target node to add to the duplication contextoriginalTarget
- the original target node where the target node
was duplicated frompublic Set<Cell> getIgnoreCells()
public Collection<Pair<CellNodeImpl,CellNode>> getIncompleteCellNodes()
public Collection<Pair<TargetNodeImpl,TargetNode>> getIncompleteTargetNodes()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |