eu.esdihumboldt.cst.functions.core
Class ClassificationMapping
java.lang.Object
eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractTransformationFunction<E>
eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractPropertyTransformation<E>
eu.esdihumboldt.hale.common.align.transformation.function.impl.AbstractSingleTargetPropertyTransformation<TransformationEngine>
eu.esdihumboldt.cst.functions.core.ClassificationMapping
- All Implemented Interfaces:
- ClassificationMappingFunction, PropertyTransformation<TransformationEngine>, TransformationFunction<TransformationEngine>
public class ClassificationMapping
- extends AbstractSingleTargetPropertyTransformation<TransformationEngine>
- implements ClassificationMappingFunction
Classification mapping function to map values of an attribute to a different
classification system.
- Author:
- Kai Schwierczek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassificationMapping
public ClassificationMapping()
evaluate
protected Object evaluate(String transformationIdentifier,
TransformationEngine engine,
com.google.common.collect.ListMultimap<String,PropertyValue> variables,
String resultName,
PropertyEntityDefinition resultProperty,
Map<String,String> executionParameters,
TransformationLog log)
throws TransformationException
- Description copied from class:
AbstractSingleTargetPropertyTransformation
- Execute the evaluation function as configured.
- Specified by:
evaluate
in class AbstractSingleTargetPropertyTransformation<TransformationEngine>
- Parameters:
transformationIdentifier
- the transformation function identifierengine
- the transformation engine that may be used for the function
executionvariables
- the input variablesresultName
- the name of the resultresultProperty
- the property entity definition associated with the
resultexecutionParameters
- additional parameters for the execution, may
be null
log
- the transformation log to report any information about the
execution of the transformation to
- Returns:
- the evaluation result
- Throws:
TransformationException
- if an unrecoverable error occurs during
transformation
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d