@Immutable public class CellNodeImpl extends AbstractTransformationNode implements CellNode
CellNode
implementationANNOTATION_VALID
Constructor and Description |
---|
CellNodeImpl(Cell cell)
Create a cell node w/o associated sources.
|
CellNodeImpl(Cell cell,
SourceNodeFactory sourceNodes)
Creates a cell node where the sources are populated from the given cell.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(TransformationNodeVisitor visitor)
Accept a transformation node visitor.
|
void |
addSource(Set<String> names,
SourceNode source)
Add a source to the cell node.
|
void |
addTarget(TargetNode target)
Add an associated target node to the cell.
|
boolean |
equals(Object obj) |
Cell |
getCell()
Get the associated cell.
|
Set<String> |
getSourceNames(SourceNode source)
Get the entity names for the given source node.
|
List<SourceNode> |
getSources()
Get the source entities associated to the cell.
|
List<TargetNode> |
getTargets()
Get the associated target nodes.
|
int |
hashCode() |
boolean |
isValid()
Get the value of the valid annotation.
|
void |
setValid(boolean valid)
Set the value of the valid annotation.
|
getAnnotation, hasAnnotations, reset, setAnnotation
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAnnotation, hasAnnotations, reset, setAnnotation
public CellNodeImpl(Cell cell, SourceNodeFactory sourceNodes)
cell
- the cellsourceNodes
- the factory for creating source nodespublic CellNodeImpl(Cell cell)
addSource(Set, SourceNode)
cell
- the associated cellpublic void addSource(Set<String> names, SourceNode source)
CellNodeImpl(Cell)
constructor.names
- the entity names associated to the sourcesource
- the source nodepublic void accept(TransformationNodeVisitor visitor)
TransformationNode
accept
in interface TransformationNode
visitor
- the visitorTransformationNode.accept(TransformationNodeVisitor)
public Cell getCell()
CellNode
getCell
in interface CellNode
CellNode.getCell()
public List<SourceNode> getSources()
CellNode
getSources
in interface CellNode
CellNode.getSources()
public Set<String> getSourceNames(SourceNode source)
CellNode
getSourceNames
in interface CellNode
source
- the source nodeCellNode.getSourceNames(SourceNode)
public void addTarget(TargetNode target)
CellNode
addTarget
in interface CellNode
target
- the target nodeCellNode.addTarget(TargetNode)
public List<TargetNode> getTargets()
CellNode
getTargets
in interface CellNode
CellNode.getTargets()
public void setValid(boolean valid)
CellNode
setValid
in interface CellNode
valid
- if the cell node is valid in its configuration for
transformation executionCellNode.setValid(boolean)
public boolean isValid()
CellNode
false
in any
case if no validation has been performed yet.isValid
in interface CellNode
CellNode.isValid()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a