- java.lang.Object
-
- com.orchestranetworks.addon.dex.mapping.FieldMapping<SC,TC>
-
-
Constructor Summary
Constructors Constructor Description FieldMapping(SC sourceField, TC targetField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<ParameterDefinition>getActualParameterDefinitions()Returns the list ofParameterDefinitionfor aTransformation.java.util.List<AdditionalFieldMapping<Field>>getAdditionalFieldMappings()Returns the list of additional field mappings.MappingTypegetMappingType()Returns the specifiedMappingTypeto this.EBXFieldgetReferenceField()Returns theEBXLinkFieldthat 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.SCgetSourceField()Returns the specified source field.TCgetTargetField()Returns the specified target field.TransformationDefinitiongetTransformationDefinition()Returns theTransformationDefinitionmapping type to this field mapping.inthashCode()booleanhasTransformationDefinition()Returnstrueif the field mapping has theTransformationDefinition.voidsetActualParameterDefinitions(java.util.List<ParameterDefinition> actualParameterDefinitions)Sets the list ofParameterDefinitionfor aTransformation.voidsetAdditionalFieldMappings(java.util.List<AdditionalFieldMapping<Field>> additionalFieldMappings)Sets a list of additional field mappings to this.voidsetMappingType(MappingType mappingType)Sets aMappingTypeto this.voidsetReferenceField(EBXField referenceField)Sets theEBXLinkFieldthat 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.voidsetTransformationDefinition(TransformationDefinition transformationDefinition)Sets theTransformationDefinitionmapping type to this field mapping.
-
-
-
Constructor Detail
-
FieldMapping
public FieldMapping(SC sourceField, TC targetField) throws DataExchangeException
- Throws:
DataExchangeException
-
-
Method Detail
-
getActualParameterDefinitions
public java.util.List<ParameterDefinition> getActualParameterDefinitions()
Returns the list ofParameterDefinitionfor aTransformation.
-
setActualParameterDefinitions
public void setActualParameterDefinitions(java.util.List<ParameterDefinition> actualParameterDefinitions)
Sets the list ofParameterDefinitionfor aTransformation.
-
hasTransformationDefinition
public boolean hasTransformationDefinition()
Returnstrueif the field mapping has theTransformationDefinition.
-
getSourceField
public SC getSourceField()
Returns the specified source field.
-
getTargetField
public TC getTargetField()
Returns the specified target field.
-
setMappingType
public void setMappingType(MappingType mappingType)
Sets aMappingTypeto this.
-
getMappingType
public MappingType getMappingType()
Returns the specifiedMappingTypeto this.
-
getTransformationDefinition
public TransformationDefinition getTransformationDefinition()
Returns theTransformationDefinitionmapping type to this field mapping.
-
setTransformationDefinition
public void setTransformationDefinition(TransformationDefinition transformationDefinition)
Sets theTransformationDefinitionmapping type to this field mapping.
-
getAdditionalFieldMappings
public java.util.List<AdditionalFieldMapping<Field>> getAdditionalFieldMappings()
Returns the list of additional field mappings.
-
setAdditionalFieldMappings
public void setAdditionalFieldMappings(java.util.List<AdditionalFieldMapping<Field>> additionalFieldMappings)
Sets a list of additional field mappings to this.
-
getReferenceField
public EBXField getReferenceField()
Returns theEBXLinkFieldthat 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
public void setReferenceField(EBXField referenceField)
Sets theEBXLinkFieldthat 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()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-