|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.StoreData
org.jpox.store.mapped.MappedStoreData
public class MappedStoreData
Representation of a class/field managed by the StoreManager where the datastore persists objects into a "DatastoreClass" (table).
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.StoreData |
|---|
FCO_TYPE, LOCALISER, name, properties, SCO_TYPE, type |
| Constructor Summary | |
|---|---|
MappedStoreData(AbstractMemberMetaData fmd,
DatastoreContainerObject table)
Constructor for SCO data. |
|
MappedStoreData(ClassMetaData cmd,
DatastoreContainerObject table,
boolean tableOwner)
Constructor for FCO data. |
|
MappedStoreData(java.lang.String name,
java.lang.String tableName,
boolean tableOwner,
int type,
java.lang.String interfaceName)
Constructor. |
|
| Method Summary | |
|---|---|
DatastoreContainerObject |
getDatastoreContainerObject()
Accessor for the Table details. |
DatastoreIdentifier |
getDatastoreIdentifier()
Accessor for the identifier for the table. |
java.lang.String |
getTableName()
Accessor for tableName. |
boolean |
hasTable()
Accessor for whether this has a table representation. |
boolean |
isTableOwner()
Accessor for whether this class is the owner of the table. |
void |
setDatastoreContainerObject(DatastoreClass table)
Convenience to set the table. |
java.lang.String |
toString()
Method to return this class/field managed object as a string. |
| Methods inherited from class org.jpox.store.StoreData |
|---|
addProperty, getInterfaceName, getMetaData, getName, getProperties, getType, isFCO, isSCO, setMetaData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MappedStoreData(java.lang.String name,
java.lang.String tableName,
boolean tableOwner,
int type,
java.lang.String interfaceName)
name - Name of the class/fieldtableName - Name of the table associatedtableOwner - Whether this is the ownertype - The type (FCO/SCO)interfaceName - if this class is an implementation of a persistent interface (multiple persistent interface names
are comma separated), otherwise is null.
public MappedStoreData(ClassMetaData cmd,
DatastoreContainerObject table,
boolean tableOwner)
cmd - MetaData for the class.table - Table where the class is stored.tableOwner - Whether the class is the owner of the table.
public MappedStoreData(AbstractMemberMetaData fmd,
DatastoreContainerObject table)
fmd - MetaData for the field.table - Table where the field is stored.| Method Detail |
|---|
public java.lang.String getTableName()
public boolean isTableOwner()
public boolean hasTable()
public DatastoreContainerObject getDatastoreContainerObject()
public DatastoreIdentifier getDatastoreIdentifier()
public void setDatastoreContainerObject(DatastoreClass table)
table - The tablepublic java.lang.String toString()
toString in class StoreData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||