|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractTransformationFunction<E>
eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractTypeTransformation<E>
E
- the transformation engine typepublic abstract class AbstractTypeTransformation<E extends TransformationEngine>
Type transformation function base class
Constructor Summary | |
---|---|
AbstractTypeTransformation()
|
Method Summary | |
---|---|
protected InstanceFactory |
getInstanceFactory()
Get the instance factory |
InstanceHandler<? super E> |
getInstanceHandler()
Get the handler to partition the source instances (e.g. |
PropertyTransformer |
getPropertyTransformer()
Get the property transformer to publish any source/target instance pair to |
FamilyInstance |
getSource()
Get the source instances. |
com.google.common.collect.ListMultimap<String,? extends Type> |
getTarget()
|
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> target)
Set the target types. |
Methods inherited from class eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractTransformationFunction |
---|
checkParameter, getExecutionContext, getOptionalParameter, getParameterChecked, getParameters, setExecutionContext, setParameters |
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.transformation.function.TransformationFunction |
---|
execute, setExecutionContext, setParameters |
Constructor Detail |
---|
public AbstractTypeTransformation()
Method Detail |
---|
public void setPropertyTransformer(PropertyTransformer propertyTransformer)
TypeTransformation
TransformationFunction.execute(String, TransformationEngine, java.util.Map, TransformationLog)
ion to the property transformer using
PropertyTransformer.publish(FamilyInstance, MutableInstance, TransformationLog)
.
setPropertyTransformer
in interface TypeTransformation<E extends TransformationEngine>
propertyTransformer
- the property transformerTypeTransformation.setPropertyTransformer(PropertyTransformer)
public PropertyTransformer getPropertyTransformer()
public void setTarget(com.google.common.collect.ListMultimap<String,? extends Type> target)
TypeTransformation
setTarget
in interface TypeTransformation<E extends TransformationEngine>
target
- the source propertiesTypeTransformation.setTarget(ListMultimap)
public com.google.common.collect.ListMultimap<String,? extends Type> getTarget()
protected InstanceFactory getInstanceFactory()
public void setSource(FamilyInstance sourceInstances)
TypeTransformation
setSource
in interface TypeTransformation<E extends TransformationEngine>
sourceInstances
- the source instancesTypeTransformation.setSource(FamilyInstance)
public FamilyInstance getSource()
public InstanceHandler<? super E> getInstanceHandler()
TypeTransformation
getInstanceHandler
in interface TypeTransformation<E extends TransformationEngine>
null
if none is requiredTypeTransformation.getInstanceHandler()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |