|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
It dscribes the setters for defining the properties that can be set when initialising a RdbGenClassMapping.
Method Summary | |
void |
defineJoinColumns(java.lang.String[] maincols,
java.lang.String[] extcols)
Defines the two sets of columns that are used to join the main table with the extension table. |
void |
setColocated(boolean colocated)
Indicates if the table of the genclass is colocated |
void |
setColocatedMaster(boolean cm)
Indicates if the table of the genclass is colocated |
void |
setPrefetchElementPCM(RdbPrefetchablePCM pcm)
Specify the PClassMapping of the persistent class which must be prefetched |
void |
setReadOnly(boolean readonly)
Indicates if the table must be only read. |
void |
setRefExtTableName(java.lang.String retn)
Defines the table name property of a generic class instance mapped to a RDB for a table that owns extension fields of a reference element. |
void |
setTableName(java.lang.String tn)
Defines the table name property of a generic class instance mapped to a RDB. |
void |
setTypeConverter(RdbAdapter adapter)
Defines the type converter property of a generic class instance mapped to a RDB. |
Methods inherited from interface org.objectweb.jorm.genclass.api.GenClassProp |
setElemDesc, setIdentifierDesc, setIndexDesc, setPType |
Method Detail |
public void setTableName(java.lang.String tn)
tn
- The table namepublic void setRefExtTableName(java.lang.String retn)
retn
- The table name of the extension fieldspublic void defineJoinColumns(java.lang.String[] maincols, java.lang.String[] extcols)
maincols
- Names of columns within the main table.extcols
- Names of columns within the extension table.public void setTypeConverter(RdbAdapter adapter)
adapter
- The associated type.public void setColocated(boolean colocated)
public void setColocatedMaster(boolean cm)
public void setReadOnly(boolean readonly)
readonly
- public void setPrefetchElementPCM(RdbPrefetchablePCM pcm)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |