net.sf.sapjcosupport
Class SapStructureMapping

java.lang.Object
  extended bynet.sf.sapjcosupport.SapStructureMapping

public class SapStructureMapping
extends Object

Since:
Jan 23, 2006 - 11:49:14 AM
Author:
Niki Driessen

Field Summary
static short ENTITY
           
static short LIST
           
static short LIST_OF_MAPS
           
static short MAP
           
static short NORMAL
           
 
Constructor Summary
SapStructureMapping(String name)
           
SapStructureMapping(String name, short type)
           
 
Method Summary
 void addField(SapFieldMapping field)
           
 String getCollectionName()
           
 String getEntityClass()
           
 Collection getFields()
           
 Map getFieldsMap()
           
 String getKeyField()
           
 String getName()
           
 String getPrimaryKey()
           
 short getType()
           
 boolean isEntity()
           
 boolean isExcluded()
           
 boolean isList()
           
 boolean isListOfMaps()
           
 boolean isMap()
           
 void setCollectionName(String collectionName)
           
 void setEntityClass(String entityClass)
           
 void setExcluded(boolean excluded)
           
 void setKeyField(String keyField)
           
 void setPrimaryKey(String pk)
           
 void setType(short type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAP

public static final short MAP
See Also:
Constant Field Values

LIST

public static final short LIST
See Also:
Constant Field Values

LIST_OF_MAPS

public static final short LIST_OF_MAPS
See Also:
Constant Field Values

NORMAL

public static final short NORMAL
See Also:
Constant Field Values

ENTITY

public static final short ENTITY
See Also:
Constant Field Values
Constructor Detail

SapStructureMapping

public SapStructureMapping(String name,
                           short type)

SapStructureMapping

public SapStructureMapping(String name)
Method Detail

getName

public String getName()

getType

public short getType()

setType

public void setType(short type)

getEntityClass

public String getEntityClass()

setEntityClass

public void setEntityClass(String entityClass)

getCollectionName

public String getCollectionName()

setCollectionName

public void setCollectionName(String collectionName)

getFields

public Collection getFields()

getFieldsMap

public Map getFieldsMap()

addField

public void addField(SapFieldMapping field)

getKeyField

public String getKeyField()

setKeyField

public void setKeyField(String keyField)

getPrimaryKey

public String getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(String pk)

isMap

public boolean isMap()

isList

public boolean isList()

isListOfMaps

public boolean isListOfMaps()

isEntity

public boolean isEntity()

isExcluded

public boolean isExcluded()

setExcluded

public void setExcluded(boolean excluded)


Copyright © 2006 null. All Rights Reserved.