- 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 boolean
equals(java.lang.Object obj)
java.util.List<ParameterDefinition>
getActualParameterDefinitions()
Returns the list ofParameterDefinition
for aTransformation
.java.util.List<AdditionalFieldMapping<Field>>
getAdditionalFieldMappings()
Returns the list of additional field mappings.MappingType
getMappingType()
Returns the specifiedMappingType
to this.EBXField
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.SC
getSourceField()
Returns the specified source field.TC
getTargetField()
Returns the specified target field.TransformationDefinition
getTransformationDefinition()
Returns theTransformationDefinition
mapping type to this field mapping.int
hashCode()
boolean
hasTransformationDefinition()
Returnstrue
if the field mapping has theTransformationDefinition
.void
setActualParameterDefinitions(java.util.List<ParameterDefinition> actualParameterDefinitions)
Sets the list ofParameterDefinition
for aTransformation
.void
setAdditionalFieldMappings(java.util.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 Detail
-
FieldMapping
public FieldMapping(SC sourceField, TC targetField) throws DataExchangeException
- Throws:
DataExchangeException
-
-
Method Detail
-
getActualParameterDefinitions
public java.util.List<ParameterDefinition> getActualParameterDefinitions()
Returns the list ofParameterDefinition
for aTransformation
.
-
setActualParameterDefinitions
public void setActualParameterDefinitions(java.util.List<ParameterDefinition> actualParameterDefinitions)
Sets the list ofParameterDefinition
for aTransformation
.
-
hasTransformationDefinition
public boolean hasTransformationDefinition()
Returnstrue
if 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 aMappingType
to this.
-
getMappingType
public MappingType getMappingType()
Returns the specifiedMappingType
to this.
-
getTransformationDefinition
public TransformationDefinition getTransformationDefinition()
Returns theTransformationDefinition
mapping type to this field mapping.
-
setTransformationDefinition
public void setTransformationDefinition(TransformationDefinition transformationDefinition)
Sets theTransformationDefinition
mapping 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 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
public 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. This is only used when importing and exporting Excel or CSV.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-