Class FieldMapping<SC extends Field,TC extends Field>

java.lang.Object
com.orchestranetworks.addon.dex.mapping.FieldMapping<SC,TC>

public final class FieldMapping<SC extends Field,TC extends Field> extends Object
Specifies the configuration used when mapping between source and target fields.
Since:
2.3.0
  • Constructor Details

  • Method Details

    • getActualParameterDefinitions

      public List<ParameterDefinition> getActualParameterDefinitions()
      Returns the list of ParameterDefinition for a Transformation.
    • setActualParameterDefinitions

      public void setActualParameterDefinitions(List<ParameterDefinition> actualParameterDefinitions)
      Sets the list of ParameterDefinition for a Transformation.
    • hasTransformationDefinition

      public boolean hasTransformationDefinition()
      Returns true if the field mapping has the TransformationDefinition.
    • 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 a MappingType to this.
    • getMappingType

      public MappingType getMappingType()
      Returns the specified MappingType to this.
    • getTransformationDefinition

      public TransformationDefinition getTransformationDefinition()
      Returns the TransformationDefinition mapping type to this field mapping.
    • setTransformationDefinition

      public void setTransformationDefinition(TransformationDefinition transformationDefinition)
      Sets the TransformationDefinition mapping type to this field mapping.
    • getAdditionalFieldMappings

      public List<AdditionalFieldMapping<Field>> getAdditionalFieldMappings()
      Returns the list of additional field mappings.
    • setAdditionalFieldMappings

      public void setAdditionalFieldMappings(List<AdditionalFieldMapping<Field>> additionalFieldMappings)
      Sets a list of additional field mappings to this.
    • getReferenceField

      public EBXField getReferenceField()
      Returns the EBXLinkField 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 the EBXLinkField 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 class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object