org.hibersap.mapping.model
Class TableMapping
java.lang.Object
org.hibersap.mapping.model.ParameterMapping
org.hibersap.mapping.model.TableMapping
- All Implemented Interfaces:
- Serializable
public class TableMapping
- extends ParameterMapping
- Author:
- Carsten Erker
- See Also:
- Serialized Form
TableMapping
public TableMapping(Class<?> fieldType,
Class<?> associatedType,
String sapName,
String javaName,
StructureMapping componentParameter)
- Parameters:
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.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.
getCollectionType
public Class<? extends Collection> getCollectionType()
getComponentParameter
public StructureMapping getComponentParameter()
getFieldType
public Class<?> getFieldType()
getParamType
public ParameterMapping.ParamType getParamType()
- Specified by:
getParamType
in class ParameterMapping
equals
public boolean equals(Object o)
- Overrides:
equals
in class ParameterMapping
hashCode
public int hashCode()
- Overrides:
hashCode
in class ParameterMapping
Copyright © 2011 akquinet tech@spree GmbH. All Rights Reserved.