Package com.orchestranetworks.addon.dint.transformation.conversion
package com.orchestranetworks.addon.dint.transformation.conversion
Provides classes and interfaces for creating a conversion transformation.
Example code for DateToString transformation:
-
Create a mapping that allows to convert from the string to date data type:
TableMapping<CSVField, EBXField> tableMapping = TableMapping.of(sourceTable, targetTable); CSVTable csvTable = sourceTable.getTable(); EBXTable ebxTable = targetTable.getTable(); tableMapping.fromSourceFieldStep(csvTable.get("date_string")) .convert(StringToDate.getInstance()) .param(StringToDate.FORMAT_PATTERN, "dd-MM-yyyy") .toField(ebxTable.get(Path.parse("/date")));
-
ClassesClassDescriptionRepresents a transformation definition for converting from boolean to string.Represents a transformation function of
TransformationCategory.CONVERSION
.Represents a transformation definition for converting from date time to string.Represents a transformation definition for converting from date to string.Represents a transformation definition for converting from decimal to String.Represents a transformation definition for converting from integer to string.Represents a transformation definition for converting from string to boolean.Represents a transformation definition for converting from string to date.Represents a transformation definition for converting from string to date time.Represents a transformation definition for converting from string to time.Represents a transformation definition for converting from string to URI.Represents a transformation definition for string upper case.Represents a transformation definition for converting from time to string.