Class CrossReference
- java.lang.Object
-
- com.orchestranetworks.addon.dint.transformation.ValidatableDefinition
-
- com.orchestranetworks.addon.dint.transformation.crossreference.CrossReferenceTransformationDefinition<java.lang.String,java.lang.String>
-
- com.orchestranetworks.addon.dint.transformation.crossreference.CrossReference
-
- All Implemented Interfaces:
TransformationDefinition<java.lang.String,java.lang.String>
public final class CrossReference extends CrossReferenceTransformationDefinition<java.lang.String,java.lang.String>
Looks up value from an EBX table.- Since:
- 4.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DATASET
Name of the dataset parameter.static java.lang.String
DATASPACE
Name of the dataspace parameter.static java.lang.String
LOOKUP_FAILURE_IGNORED
Name of the parameter to ignore lookup failure.static java.lang.String
SOURCE_FIELD
Name of the source field (lookup field) parameter.static java.lang.String
TABLE
Name of the table parameter.static java.lang.String
TARGET_FIELD
Name of the target field (replacement field) parameter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the unique code.java.lang.String
getCodeForTemplate()
Returns the code of this transformation definition used in templates.com.onwbp.base.text.UserMessage
getDescription()
Returns the description.TransformationFunction<java.lang.String,java.lang.String>
getFunction()
Returns a new instance of transformation function.InputDefinition
getInputDefinition()
Returns the input definition.static CrossReference
getInstance()
Returns the instance.com.onwbp.base.text.UserMessage
getLabel()
Returns the label.OutputDefinition
getOutputDefinition()
Returns the output definition.java.util.List<ParameterDefinition>
getParameterDefinitions()
Returns the list of parameters.-
Methods inherited from class com.orchestranetworks.addon.dint.transformation.crossreference.CrossReferenceTransformationDefinition
getTransformationCategory
-
-
-
-
Field Detail
-
DATASPACE
public static final java.lang.String DATASPACE
Name of the dataspace parameter.This constant will be passed into
CrossReferenceTransformationMappingStep.param(String, String)
when using this transformation.- See Also:
- Constant Field Values
-
DATASET
public static final java.lang.String DATASET
Name of the dataset parameter.This constant will be passed into
CrossReferenceTransformationMappingStep.param(String, String)
when using this transformation.- See Also:
- Constant Field Values
-
TABLE
public static final java.lang.String TABLE
Name of the table parameter.This constant will be passed into
CrossReferenceTransformationMappingStep.param(String, String)
when using this transformation.- See Also:
- Constant Field Values
-
SOURCE_FIELD
public static final java.lang.String SOURCE_FIELD
Name of the source field (lookup field) parameter.This constant will be passed into
CrossReferenceTransformationMappingStep.param(String, String)
when using this transformation.- See Also:
- Constant Field Values
-
TARGET_FIELD
public static final java.lang.String TARGET_FIELD
Name of the target field (replacement field) parameter.This constant will be passed into
CrossReferenceTransformationMappingStep.param(String, String)
when using this transformation.- See Also:
- Constant Field Values
-
LOOKUP_FAILURE_IGNORED
public static final java.lang.String LOOKUP_FAILURE_IGNORED
Name of the parameter to ignore lookup failure.This constant is passed into
CrossReferenceTransformationMappingStep.param(String, String)
when using this transformation.Expected string value:
true
orfalse
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static CrossReference getInstance()
Returns the instance.Parameters must be configured via
CrossReferenceTransformationMappingStep.param(String, String)
.- See Also:
DATASPACE
,DATASET
,TABLE
,SOURCE_FIELD
,TARGET_FIELD
-
getCode
public java.lang.String getCode()
Description copied from interface:TransformationDefinition
Returns the unique code.
-
getCodeForTemplate
public java.lang.String getCodeForTemplate()
Returns the code of this transformation definition used in templates.- Since:
- 4.5.0
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()
Description copied from interface:TransformationDefinition
Returns the label.
-
getDescription
public com.onwbp.base.text.UserMessage getDescription()
Description copied from interface:TransformationDefinition
Returns the description.Returns
null
by default.
-
getInputDefinition
public InputDefinition getInputDefinition()
Description copied from interface:TransformationDefinition
Returns the input definition.
-
getOutputDefinition
public OutputDefinition getOutputDefinition()
Description copied from interface:TransformationDefinition
Returns the output definition.
-
getParameterDefinitions
public java.util.List<ParameterDefinition> getParameterDefinitions()
Description copied from interface:TransformationDefinition
Returns the list of parameters.Returns an empty list by default.
-
getFunction
public TransformationFunction<java.lang.String,java.lang.String> getFunction()
Description copied from interface:TransformationDefinition
Returns a new instance of transformation function.
-
-