|
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.impl.AbstractTransformationNode
eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.CellNodeImpl
@Immutable public class CellNodeImpl
Default CellNode
implementation
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.common.align.model.transformation.tree.CellNode |
---|
ANNOTATION_VALID |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.AbstractTransformationNode |
---|
getAnnotation, hasAnnotations, reset, setAnnotation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface eu.esdihumboldt.hale.common.align.model.transformation.tree.TransformationNode |
---|
getAnnotation, hasAnnotations, reset, setAnnotation |
Constructor Detail |
---|
public CellNodeImpl(Cell cell, SourceNodeFactory sourceNodes)
cell
- the cellsourceNodes
- the factory for creating source nodespublic CellNodeImpl(Cell cell)
addSource(Set, SourceNode)
cell
- the associated cellMethod Detail |
---|
public 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 node
CellNode.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)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |