java.lang.Object
com.orchestranetworks.addon.dex.mapping.FieldMapping<SC,TC>
Specifies the configuration used when mapping between source and target fields.
- Since:
- 2.3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the list ofParameterDefinition
for aTransformation
.Returns the list of additional field mappings.Returns the specifiedMappingType
to this.Returns theEBXLinkField
that composes the primary key of the table referenced by the EBX® source, or target field when the source or target field is a foreign key.Returns the specified source field.Returns the specified target field.Returns theTransformationDefinition
mapping type to this field mapping.int
hashCode()
boolean
Returnstrue
if the field mapping has theTransformationDefinition
.void
setActualParameterDefinitions
(List<ParameterDefinition> actualParameterDefinitions) Sets the list ofParameterDefinition
for aTransformation
.void
setAdditionalFieldMappings
(List<AdditionalFieldMapping<Field>> additionalFieldMappings) Sets a list of additional field mappings to this.void
setMappingType
(MappingType mappingType) Sets aMappingType
to this.void
setReferenceField
(EBXField referenceField) Sets theEBXLinkField
that composes the primary key of the table referenced by the EBX® source, or target field when the source or target field is a foreign key.void
setTransformationDefinition
(TransformationDefinition transformationDefinition) Sets theTransformationDefinition
mapping type to this field mapping.
-
Constructor Details
-
FieldMapping
- Throws:
DataExchangeException
-
-
Method Details
-
getActualParameterDefinitions
Returns the list ofParameterDefinition
for aTransformation
. -
setActualParameterDefinitions
Sets the list ofParameterDefinition
for aTransformation
. -
hasTransformationDefinition
public boolean hasTransformationDefinition()Returnstrue
if the field mapping has theTransformationDefinition
. -
getSourceField
Returns the specified source field. -
getTargetField
Returns the specified target field. -
setMappingType
Sets aMappingType
to this. -
getMappingType
Returns the specifiedMappingType
to this. -
getTransformationDefinition
Returns theTransformationDefinition
mapping type to this field mapping. -
setTransformationDefinition
Sets theTransformationDefinition
mapping type to this field mapping. -
getAdditionalFieldMappings
Returns the list of additional field mappings. -
setAdditionalFieldMappings
Sets a list of additional field mappings to this. -
getReferenceField
Returns theEBXLinkField
that composes the primary key of the table referenced by the EBX® source, or target field when the source or target field is a foreign key. This is only used when importing and exporting Excel or CSV. -
setReferenceField
Sets theEBXLinkField
that composes the primary key of the table referenced by the EBX® source, or target field when the source or target field is a foreign key. This is only used when importing and exporting Excel or CSV. -
hashCode
public int hashCode() -
equals
-