|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.objects.BaseObject org.devaki.nextobjects.workspace.models.objects.BaseClass
Object of type "class"
http://db.apache.org/torque/schema-reference.html
,
Serialized FormConstructor Summary | |
BaseClass()
Construct a standard BaseClass |
|
BaseClass(BaseClass pObject)
Construct a nextGraphicsObject by copying another nextGraphicsObject |
|
BaseClass(BaseModel pModel)
Construct a nextGraphicsObject with a pre-defined NOModel |
Method Summary | |
boolean |
getAbstractClass()
Get whether or not to generate the class as Abstract or not |
java.lang.String |
getAlias()
Get the table alias |
java.lang.String |
getBaseClass()
Used for OM Peer generation |
java.lang.String |
getBasePeer()
Used for OM Peer generation |
Column |
getColumnForId(java.lang.String pString)
Get Column for the given code |
boolean |
getHeavyIndexing()
Set the heavyIndexibg Toque's flaf |
java.lang.String |
getIdMethod()
Set how will the primary keys be created |
java.util.Vector |
getIndexes()
Return all the indexes of that table. |
java.lang.String |
getJavaName()
Get how this table will be referenced in Java |
java.lang.String |
getJavaNamingMethod()
Specifies how the name attribute is converted to the Java class name of the corresponding OM object |
abstract ObjectView |
getObjectView()
get the object view |
boolean |
getSkipSql()
Get zhether or not to skip SQL generation |
java.util.Vector |
getUniques()
Return all the unique constraint of that table. |
void |
setAbstractClass(boolean pAbstractClass)
Set whether or not to generate the class as Abstract or not |
void |
setAlias(java.lang.String pAlias)
Set the table alias |
void |
setBaseClass(java.lang.String pBaseClass)
Used for OM Peer generation |
void |
setBasePeer(java.lang.String pBasePeer)
Used for OM Peer generation |
void |
setData(java.util.Vector pColumns)
Initializes the list of fields with the Vector given as parameter |
void |
setHeavyIndexing(boolean pHeavyIndexing)
? |
void |
setIdMethod(java.lang.String pIdMethod)
Set how will the primary keys be created |
void |
setIndexes(java.util.Vector vector)
Set the indexes of a database. |
void |
setJavaName(java.lang.String pJavaName)
Set how this table will be referenced in Java |
void |
setJavaNamingMethod(java.lang.String pJavaNamingMethod)
Specifies how the name attribute is converted to the Java class name of the corresponding OM object |
void |
setSkipSql(boolean pSkipSql)
Set whether or not to skip SQL generation |
void |
setUniques(java.util.Vector vector)
Set the uniques constraint of a database |
Methods inherited from class org.devaki.nextobjects.workspace.models.objects.BaseObject |
getCode, getColumns, getData, getDataChanged, getDescription, getDynamicTreeNode, getMyModel, getName, getNotes, resetModelStatus, setCode, setColumns, setDataChanged, setDescription, setDynamicTreeNode, setMyModel, setName, setNotes, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseClass()
public BaseClass(BaseModel pModel)
pModel
- the base modelpublic BaseClass(BaseClass pObject)
pObject
- the class to cloneMethod Detail |
public abstract ObjectView getObjectView()
getObjectView
in class BaseObject
public final void setHeavyIndexing(boolean pHeavyIndexing)
pHeavyIndexing
- heavy indexingpublic final void setJavaNamingMethod(java.lang.String pJavaNamingMethod)
pJavaNamingMethod
- java naming methodpublic final void setAlias(java.lang.String pAlias)
pAlias
- aliaspublic final void setBasePeer(java.lang.String pBasePeer)
pBasePeer
- basepeerpublic final void setBaseClass(java.lang.String pBaseClass)
pBaseClass
- base classpublic final void setAbstractClass(boolean pAbstractClass)
pAbstractClass
- is abstractpublic final void setSkipSql(boolean pSkipSql)
pSkipSql
- skip sqlpublic final void setIdMethod(java.lang.String pIdMethod)
pIdMethod
- id methodpublic final void setJavaName(java.lang.String pJavaName)
pJavaName
- javanamepublic final void setData(java.util.Vector pColumns)
pColumns
- columnspublic final boolean getHeavyIndexing()
public final java.lang.String getJavaNamingMethod()
public final java.lang.String getAlias()
public final java.lang.String getBaseClass()
public final java.lang.String getBasePeer()
public final boolean getAbstractClass()
public final boolean getSkipSql()
public final java.lang.String getIdMethod()
public final java.lang.String getJavaName()
public final java.util.Vector getIndexes()
public final java.util.Vector getUniques()
public final void setIndexes(java.util.Vector vector)
vector
- indexespublic final void setUniques(java.util.Vector vector)
vector
- uniquespublic final Column getColumnForId(java.lang.String pString)
pString
- the column code
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |