|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.onemind.commons.relabean.RelationalBeanModelDescriptor
Describes a relational bean model as to what is primitive type and what is bean type and the name mapping for each bean class
Constructor Summary | |
RelationalBeanModelDescriptor(java.lang.String name)
{@inheritDoc} |
Method Summary | |
void |
addPrimitiveTypes(java.lang.Class c)
Add class c as primitive type |
java.lang.String |
getModelName()
Returns the model name |
java.util.Collection |
getPrimitiveTypes()
Whether a class is primitive types |
java.lang.Class |
getStopClass(java.lang.Class c)
Get a stop class for particular class |
boolean |
isPrimitiveType(java.lang.Class c)
return whether a class is primitive type |
void |
setModelName(java.lang.String modelName)
set the model name |
void |
setStopClass(java.lang.Class c,
java.lang.Class stopClass)
Set the stop class for particular class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RelationalBeanModelDescriptor(java.lang.String name)
Method Detail |
public java.lang.String getModelName()
public void setModelName(java.lang.String modelName)
modelName
- the model namepublic boolean isPrimitiveType(java.lang.Class c)
c
- the class
public java.util.Collection getPrimitiveTypes()
public void addPrimitiveTypes(java.lang.Class c)
c
- the primitive typepublic java.lang.Class getStopClass(java.lang.Class c)
c
- the class
public void setStopClass(java.lang.Class c, java.lang.Class stopClass)
c
- the classstopClass
- the stop class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |