Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.impl.SourceNodeFactory

public class SourceNodeFactory
extends Object

Factory for creating SourceNodes.

Author:
Simon Templer

Constructor Summary
SourceNodeFactory()
           
 
Method Summary
 SourceNode getExistingSourceNode(EntityDefinition entityDefinition)
          Get the existing source node associated to the given entity definition.
 Iterable<SourceNode> getNodes()
          Get the existing source nodes.
 SourceNode getSourceNode(EntityDefinition entityDefinition)
          Get or create source node for the given entity definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceNodeFactory

public SourceNodeFactory()
Method Detail

getSourceNode

public SourceNode getSourceNode(EntityDefinition entityDefinition)
Get or create source node for the given entity definition. Source nodes created from this factory are ensured to exist only once for the same entity definition.

Parameters:
entityDefinition - the entity definition the source node is associated to
Returns:
the source node

getExistingSourceNode

public SourceNode getExistingSourceNode(EntityDefinition entityDefinition)
Get the existing source node associated to the given entity definition.

Parameters:
entityDefinition - the entity definition
Returns:
the source node or null

getNodes

public Iterable<SourceNode> getNodes()
Get the existing source nodes.

Returns:
the source nodes

Humboldt Alignment Editor 2.5.0

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