java.lang.Object
com.orchestranetworks.addon.dex.mapping.TableMapping<SC,TC>
Specifies the configuration used to map between source and target tables.
- Since:
- 2.3.0
-
Constructor Summary
ConstructorDescriptionTableMapping
(Table<SC> sourceTable, Table<TC> targetTable) TableMapping
(Table<SC> sourceTable, Table<TC> targetTable, FieldMappingList<SC, TC> fieldMappingList) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a list of field mappings.Returns the specified source table.Returns the specified target table.Returns theValidatorDefinition
instance.int
hashCode()
void
setFieldMappings
(FieldMappingList<SC, TC> fieldMappings) Sets a list of field mappings to this table mapping.void
setValidatorDefinition
(ValidatorDefinition validatorDefinition) Sets theValidatorDefinition
instance to this table mapping.
-
Constructor Details
-
TableMapping
- Throws:
DataExchangeException
-
TableMapping
public TableMapping(Table<SC> sourceTable, Table<TC> targetTable, FieldMappingList<SC, TC> fieldMappingList) throws DataExchangeException- Throws:
DataExchangeException
-
-
Method Details
-
getSourceTable
Returns the specified source table. -
getTargetTable
Returns the specified target table. -
getValidatorDefinition
Returns theValidatorDefinition
instance. -
setValidatorDefinition
Sets theValidatorDefinition
instance to this table mapping. -
getFieldMappings
Returns a list of field mappings. -
setFieldMappings
Sets a list of field mappings to this table mapping. -
hashCode
public int hashCode() -
equals
-