org.hibersap.mapping.model
Class TableMapping

java.lang.Object
  extended by org.hibersap.mapping.model.ParameterMapping
      extended by org.hibersap.mapping.model.TableMapping
All Implemented Interfaces:
Serializable

public class TableMapping
extends ParameterMapping

Author:
Carsten Erker
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibersap.mapping.model.ParameterMapping
ParameterMapping.ParamType
 
Constructor Summary
TableMapping(Class<?> fieldType, Class<?> associatedType, String sapName, String javaName, StructureMapping componentParameter)
           
 
Method Summary
 boolean equals(Object o)
           
 Class<? extends Collection> getCollectionType()
           
 StructureMapping getComponentParameter()
           
 Class<?> getFieldType()
           
 ParameterMapping.ParamType getParamType()
           
 int hashCode()
           
 
Methods inherited from class org.hibersap.mapping.model.ParameterMapping
getAssociatedType, getJavaName, getSapName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.