public final class TableMapping extends ParameterMapping
ParameterMapping.ParamType| Constructor and Description |
|---|
TableMapping(Class<?> fieldType,
Class<?> associatedType,
String sapName,
String javaName,
StructureMapping componentParameter,
Class<? extends Converter> converterClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
StructureMapping |
getComponentParameter() |
Class<?> |
getDestinationType() |
Class<?> |
getFieldType() |
ParameterMapping.ParamType |
getParamType() |
Object |
getUnconvertedValueToJava(Object fieldMapCollection,
ConverterCache converterCache) |
protected Object |
getUnconvertedValueToSap(Object value,
ConverterCache converterCache) |
int |
hashCode() |
getAssociatedType, getConvertedValueToJava, getConvertedValueToSap, getConverterClass, getJavaName, getSapName, hasConverter, mapToJava, mapToSappublic TableMapping(Class<?> fieldType, Class<?> associatedType, String sapName, String javaName, StructureMapping componentParameter, Class<? extends Converter> converterClass)
fieldType - The type of the field in the bean; may be a Collection interface like List,
Set, Collection, a concrete class that implements Collection or an array.
If there is a Converter specified on the field, it may be a Pojo class.associatedType - The type of the elements, i.e. a Pojo class.sapName - The table's name in SAP.javaName - The Java field name of the Collection or array.componentParameter - A StructureMapping containing the table's fields.converterClass - The Class of the table field's converter, if defined.public Class<?> getDestinationType()
public StructureMapping getComponentParameter()
public Class<?> getFieldType()
public ParameterMapping.ParamType getParamType()
getParamType in class ParameterMappingpublic Object getUnconvertedValueToJava(Object fieldMapCollection, ConverterCache converterCache)
getUnconvertedValueToJava in class ParameterMappingprotected Object getUnconvertedValueToSap(Object value, ConverterCache converterCache)
getUnconvertedValueToSap in class ParameterMappingpublic boolean equals(Object o)
equals in class ParameterMappingpublic int hashCode()
hashCode in class ParameterMappingCopyright © 2017 akquinet tech@spree GmbH. All Rights Reserved.