Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model.transformation.tree.impl
Class AbstractTransformationNode

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.AbstractTransformationNode
All Implemented Interfaces:
TransformationNode
Direct Known Subclasses:
AbstractGroupNode, CellNodeImpl, SourceNodeImpl

public abstract class AbstractTransformationNode
extends Object
implements TransformationNode

Abstract transformation node implementation.

Author:
Simon Templer

Constructor Summary
AbstractTransformationNode()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.align.model.transformation.tree.TransformationNode
accept
 

Constructor Detail

AbstractTransformationNode

public AbstractTransformationNode()
Method Detail

reset

public void reset()
Description copied from interface: TransformationNode
Clear all temporary transformation information in the node, i.e all annotations.

Specified by:
reset in interface TransformationNode
See Also:
TransformationNode.reset()

getAnnotation

public Object getAnnotation(String name)
Description copied from interface: TransformationNode
Get the annotation with the given name.

Specified by:
getAnnotation in interface TransformationNode
Parameters:
name - the annotation name
Returns:
the annotation or null if there is none
See Also:
TransformationNode.getAnnotation(String)

setAnnotation

public void setAnnotation(String name,
                          Object annotation)
Description copied from interface: TransformationNode
Set an annotation.

Specified by:
setAnnotation in interface TransformationNode
Parameters:
name - the annotation name
annotation - the annotation value
See Also:
TransformationNode.setAnnotation(String, Object)

hasAnnotations

public boolean hasAnnotations()
Description copied from interface: TransformationNode
Determines if the node has any annotations.

Specified by:
hasAnnotations in interface TransformationNode
Returns:
if the node has annotations
See Also:
TransformationNode.hasAnnotations()

Humboldt Alignment Editor 2.5.0

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