public class Identifier extends AbstractSingleTargetPropertyTransformation<TransformationEngine> implements IdentifierFunction
COUNTRY_PARAMETER_NAME, DATA_PROVIDER_PARAMETER_NAME, ID, INSPIRE_IDENTIFIER_PREFIX, PRODUCT_PARAMETER_NAME, VERSION, VERSION_NIL_REASON
Constructor and Description |
---|
Identifier() |
Modifier and Type | Method and Description |
---|---|
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)
Execute the evaluation function as configured.
|
static String |
getNamespace(String countryName,
String providerName,
String productName,
TypeDefinition targetType)
Determine an Inspire Identifier namespace from the given information.
|
evaluate
allowAutomatedResultConversion, execute, getCell, getResults, getTargetType, setExpectedResult, setTargetType, setVariables
checkParameter, getExecutionContext, getOptionalParameter, getParameterChecked, getParameters, setExecutionContext, setParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setExecutionContext, setParameters
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, NoResultException
AbstractSingleTargetPropertyTransformation
evaluate
in class AbstractSingleTargetPropertyTransformation<TransformationEngine>
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 toTransformationException
- if an unrecoverable error occurs during
transformationNoResultException
- if the function does not yield a resultpublic static String getNamespace(String countryName, String providerName, String productName, TypeDefinition targetType)
countryName
- the countryproviderName
- the provider nameproductName
- the product nametargetType
- the target typeBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a