org.objectweb.jorm.mapper.rdb.genclass
Interface RdbGenClassProp

All Superinterfaces:
GenClassProp
All Known Implementing Classes:
RdbGenClassMapping

public interface RdbGenClassProp
extends GenClassProp

It dscribes the setters for defining the properties that can be set when initialising a RdbGenClassMapping.

Author:
P. D?chamboux

Method Summary
 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 setReadOnly(boolean readonly)
          Indicates if the table must be only read.
 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

setTableName

public void setTableName(java.lang.String tn)
Defines the table name property of a generic class instance mapped to a RDB.

Parameters:
tn - The table name

setTypeConverter

public void setTypeConverter(RdbAdapter adapter)
Defines the type converter property of a generic class instance mapped to a RDB.

Parameters:
adapter - The associated type.

setColocated

public void setColocated(boolean colocated)
Indicates if the table of the genclass is colocated


setColocatedMaster

public void setColocatedMaster(boolean cm)
Indicates if the table of the genclass is colocated


setReadOnly

public void setReadOnly(boolean readonly)
Indicates if the table must be only read.

Parameters:
readonly -