Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.transformation.function
Interface TypeTransformation<E extends TransformationEngine>

Type Parameters:
E - the transformation engine type
All Superinterfaces:
TransformationFunction<E>
All Known Implementing Classes:
AbstractSingleTypeTransformation, AbstractTypeTransformation, Join, Merge, Retype

public interface TypeTransformation<E extends TransformationEngine>
extends TransformationFunction<E>

Transformation function between source and target types.

Author:
Simon Templer

Method Summary
 InstanceHandler<? super E> getInstanceHandler()
          Get the handler to partition the source instances (e.g.
 void setPropertyTransformer(PropertyTransformer propertyTransformer)
          Set the property transformer to publish the source/target instance pairs to.
 void setSource(FamilyInstance sourceInstances)
          Set the source instances.
 void setTarget(com.google.common.collect.ListMultimap<String,? extends Type> targetTypes)
          Set the target types.
 
Methods inherited from interface eu.esdihumboldt.hale.common.align.transformation.function.TransformationFunction
execute, setExecutionContext, setParameters
 

Method Detail

setPropertyTransformer

void setPropertyTransformer(PropertyTransformer propertyTransformer)
Set the property transformer to publish the source/target instance pairs to. Type transformations have no result, instead they must publish the instance pairs created during TransformationFunction.execute(String, TransformationEngine, java.util.Map, TransformationLog) ion to the property transformer using PropertyTransformer.publish(FamilyInstance, MutableInstance, TransformationLog) .

Parameters:
propertyTransformer - the property transformer

setTarget

void setTarget(com.google.common.collect.ListMultimap<String,? extends Type> targetTypes)
Set the target types.

Parameters:
targetTypes - the source properties

setSource

void setSource(FamilyInstance sourceInstances)
Set the source instances.

Parameters:
sourceInstances - the source instances

getInstanceHandler

InstanceHandler<? super E> getInstanceHandler()
Get the handler to partition the source instances (e.g. merge or join).

Returns:
the instance handler or null if none is required

Humboldt Alignment Editor 2.5.0

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