|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.mapper.rdb.generator.RdbGenTable
Defines one of the table that is used to mapped a particular JORM class. In case of the reference table (see RdbGenInfos), no join information is defined.
Field Summary | |
java.util.List |
colocatedColumns
The list of columns of this table that are shared with a colocated object (i.e., an object stored into the same table along with this object. |
boolean |
colocatedTable
Tells that this table stores colocated objects. |
boolean |
generateUpdate
|
RdbGenInfos |
genInfos
|
boolean |
isMainTable
|
java.util.Map |
jn2join
|
java.util.List |
joins
|
boolean |
readOnly
|
java.util.List |
tableColumns
The list of columns of this table used in this mapping. |
java.lang.String |
tableName
The name of the table involved in this mapping. |
Constructor Summary | |
RdbGenTable()
|
|
RdbGenTable(RdbExternalTable mo,
RdbGenTable mainTable)
|
|
RdbGenTable(RdbTable mo)
|
Method Summary | |
java.util.List |
getColocatedColumns()
|
boolean |
getColocatedTable()
|
RdbGenColumn |
getColumn(java.lang.String name)
|
boolean |
getGenerateUpdate()
|
RdbGenInfos |
getGenInfos()
|
java.util.List |
getJoins()
|
boolean |
getReadOnly()
|
java.util.List |
getTableColumns()
|
java.lang.String |
getTableName()
|
java.lang.String |
getTableNameNoDot()
|
boolean |
isMainTable()
|
boolean |
preparedStatementMandatory()
Tells if only PreparedStatement can be used to store data associated with this table. |
void |
setGenerateUpdate(RdbGenInfos rgi)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public RdbGenInfos genInfos
public java.lang.String tableName
public java.util.List tableColumns
public java.util.List colocatedColumns
public boolean colocatedTable
public java.util.List joins
public java.util.Map jn2join
public boolean readOnly
public boolean generateUpdate
public boolean isMainTable
Constructor Detail |
public RdbGenTable()
public RdbGenTable(RdbExternalTable mo, RdbGenTable mainTable) throws PException
public RdbGenTable(RdbTable mo) throws PException
Method Detail |
public void setGenerateUpdate(RdbGenInfos rgi)
public boolean getGenerateUpdate()
public boolean getReadOnly()
public java.util.List getJoins()
public RdbGenInfos getGenInfos()
public java.lang.String getTableName()
public java.lang.String getTableNameNoDot()
public java.util.List getTableColumns()
public java.util.List getColocatedColumns()
public boolean getColocatedTable()
public boolean isMainTable()
public boolean preparedStatementMandatory()
public RdbGenColumn getColumn(java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |