org.datanucleus.store.rdbms
Class RDBMSStoreData
java.lang.Object
org.datanucleus.store.StoreData
org.datanucleus.store.mapped.MappedStoreData
org.datanucleus.store.rdbms.RDBMSStoreData
public class RDBMSStoreData
- extends org.datanucleus.store.mapped.MappedStoreData
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.
| Fields inherited from class org.datanucleus.store.StoreData |
FCO_TYPE, LOCALISER, name, properties, SCO_TYPE, type |
|
Constructor Summary |
RDBMSStoreData(org.datanucleus.metadata.AbstractMemberMetaData mmd,
org.datanucleus.store.mapped.DatastoreContainerObject table)
Constructor, taking the meta data for the field, and the table it is mapped to. |
RDBMSStoreData(org.datanucleus.metadata.ClassMetaData cmd,
org.datanucleus.store.mapped.DatastoreContainerObject table,
boolean tableOwner)
Constructor for FCO data. |
|
Method Summary |
boolean |
mapsToView()
Utility to return whether this table is a view. |
| Methods inherited from class org.datanucleus.store.mapped.MappedStoreData |
getDatastoreContainerObject, getDatastoreIdentifier, getTableName, hasTable, isTableOwner, setDatastoreContainerObject, toString |
| Methods inherited from class org.datanucleus.store.StoreData |
addProperty, getInterfaceName, getMetaData, getName, getProperties, getType, isFCO, isSCO, setMetaData |
RDBMSStoreData
public RDBMSStoreData(org.datanucleus.metadata.ClassMetaData cmd,
org.datanucleus.store.mapped.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(org.datanucleus.metadata.AbstractMemberMetaData mmd,
org.datanucleus.store.mapped.DatastoreContainerObject table)
- Constructor, taking the meta data for the field, and the table it is mapped to.
- Parameters:
mmd - 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 © 2012. All Rights Reserved.