public static class TargetContext.DuplicationContext extends Object
Constructor and Description |
---|
TargetContext.DuplicationContext(Set<Cell> ignoreCells)
Create a duplication context
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CellNodeImpl getNode(Cell cell)
cell
- the cellnull
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 entitynull
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()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a