Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.cst
Class ConceptualSchemaTransformer

java.lang.Object
  extended by eu.esdihumboldt.cst.ConceptualSchemaTransformer
All Implemented Interfaces:
TransformationService

@Immutable
public class ConceptualSchemaTransformer
extends Object
implements TransformationService

Transformation service implementation

Since:
2.5
Author:
Simon Templer

Constructor Summary
ConceptualSchemaTransformer()
           
 
Method Summary
protected  void doTypeTransformation(TypeTransformationFactory transformation, Cell typeCell, InstanceCollection source, InstanceSink target, Alignment alignment, EngineManager engines, PropertyTransformer transformer, TransformationContext context, TransformationReporter reporter, ProgressIndicator progressIndicator)
          Execute a type transformation based on single type cell
 boolean isCancelable()
          States if the execution of the transformation is cancelable.
 TransformationReport transform(Alignment alignment, InstanceCollection source, InstanceSink target, ProgressIndicator progressIndicator)
          Transform a set of source instances according to the given alignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConceptualSchemaTransformer

public ConceptualSchemaTransformer()
Method Detail

transform

public TransformationReport transform(Alignment alignment,
                                      InstanceCollection source,
                                      InstanceSink target,
                                      ProgressIndicator progressIndicator)
Description copied from interface: TransformationService
Transform a set of source instances according to the given alignment.

Specified by:
transform in interface TransformationService
Parameters:
alignment - the alignment
source - the source instances
target - the transformed instance sink
progressIndicator - the progress indicator
Returns:
the transformation report
See Also:
TransformationService.transform(Alignment, InstanceCollection, InstanceSink, ProgressIndicator)

isCancelable

public boolean isCancelable()
Description copied from interface: TransformationService
States if the execution of the transformation is cancelable.

Specified by:
isCancelable in interface TransformationService
Returns:
if the transformation can be canceled
See Also:
TransformationService.isCancelable()

doTypeTransformation

protected void doTypeTransformation(TypeTransformationFactory transformation,
                                    Cell typeCell,
                                    InstanceCollection source,
                                    InstanceSink target,
                                    Alignment alignment,
                                    EngineManager engines,
                                    PropertyTransformer transformer,
                                    TransformationContext context,
                                    TransformationReporter reporter,
                                    ProgressIndicator progressIndicator)
Execute a type transformation based on single type cell

Parameters:
transformation - the transformation to use
typeCell - the type cell
target - the target instance sink
source - the source instances
alignment - the alignment
engines - the engine manager
transformer - the property transformer
context - the transformation execution context
reporter - the reporter
progressIndicator - the progress indicator

Humboldt Alignment Editor 2.5.0

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