Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model.transformation.tree
Interface TransformationNode

All Known Subinterfaces:
CellNode, GroupNode, SourceNode, TargetNode, TransformationTree
All Known Implementing Classes:
AbstractGroupNode, AbstractTransformationNode, CellNodeImpl, SourceNodeImpl, TargetNodeImpl, TransformationTreeImpl

public interface TransformationNode

Interface for nodes that temporarily store transformation relevant data regarding specific source instances as annotations.

Author:
Simon Templer

Method Summary
 void accept(TransformationNodeVisitor visitor)
          Accept a transformation node visitor.
 Object getAnnotation(String name)
          Get the annotation with the given name.
 boolean hasAnnotations()
          Determines if the node has any annotations.
 void reset()
          Clear all temporary transformation information in the node, i.e all annotations.
 void setAnnotation(String name, Object annotation)
          Set an annotation.
 

Method Detail

reset

void reset()
Clear all temporary transformation information in the node, i.e all annotations.


hasAnnotations

boolean hasAnnotations()
Determines if the node has any annotations.

Returns:
if the node has annotations

getAnnotation

Object getAnnotation(String name)
Get the annotation with the given name.

Parameters:
name - the annotation name
Returns:
the annotation or null if there is none

setAnnotation

void setAnnotation(String name,
                   Object annotation)
Set an annotation.

Parameters:
name - the annotation name
annotation - the annotation value

accept

void accept(TransformationNodeVisitor visitor)
Accept a transformation node visitor.

Parameters:
visitor - the visitor

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d