org.jpox.store.rdbms
Class RDBMSStoreData
java.lang.Object
org.jpox.store.StoreData
org.jpox.store.rdbms.RDBMSStoreData
- public class RDBMSStoreData
- extends StoreData
Representation of a class (FCO) / field (SCO) that is persisted to an RDBMS table.
Extends the basic data to allow determination of whether it is a table or a view being represented.
- Version:
- $Revision: 1.11 $
Method Summary |
boolean |
mapsToView()
Utility to return whether this table is a view. |
Methods inherited from class org.jpox.store.StoreData |
getDatastoreContainerObject, getDatastoreIdentifier, getInterfaceName, getMetaData, getName, getSuperclass, getTableName, getType, hasTable, isFCO, isSCO, isTableOwner, setDatastoreContainerObject, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RDBMSStoreData
public RDBMSStoreData(ClassMetaData cmd,
DatastoreContainerObject table,
boolean tableOwner)
- Constructor for FCO data.
- Parameters:
cmd
- MetaData for the class.table
- Table where the class is stored.tableOwner
- Whether the class is the owner of the table.
RDBMSStoreData
public RDBMSStoreData(AbstractPropertyMetaData fmd,
DatastoreContainerObject table)
- Constructor, taking the meta data for the field, and the table it is mapped to.
- Parameters:
fmd
- MetaData for the field.table
- Table definition
mapsToView
public boolean mapsToView()
- Utility to return whether this table is a view.
- Returns:
- Whether it is for a view.
Copyright © -2007 . All Rights Reserved.