|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.medor.datasource.lib.BasicDataStore
Field Summary |
Fields inherited from interface org.objectweb.medor.datasource.api.DataStore |
JDBC_STORE, MEDORTC_STORE, ODMG_STORE, TEXTFILE_STORE, UDDI_STORE, XMLDOCUMENT_STORE |
Constructor Summary | |
BasicDataStore(short dataStoreType,
java.lang.String sourceName)
Full capacities evaluation... |
|
BasicDataStore(short dataStoreType,
java.lang.String sourceName,
short[] capabilities)
The capacities are restrected... |
Method Summary | |
short |
getDataStoreType()
Returns the type of DataStore |
java.lang.String |
getName()
Returns the symbolic name of the DataStore. |
boolean |
isCapable(short operation)
Checks whether the current DataStore is capable of performing different types of operations. |
boolean |
isSameAs(DataStore ds)
A simple example of an implementation of this method will tests equality between DataStore name only. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicDataStore(short dataStoreType, java.lang.String sourceName, short[] capabilities) throws DataSourceException
public BasicDataStore(short dataStoreType, java.lang.String sourceName) throws DataSourceException
Method Detail |
public java.lang.String getName()
DataStore
This name is used to pass as a parameter the connection to use at evaluation time for all QueryLeaves attached to this DataStore.
getName
in interface DataStore
public boolean isSameAs(DataStore ds)
isSameAs
in interface DataStore
ds
- the other DataStore object
public boolean isCapable(short operation)
DataStore
isCapable
in interface DataStore
operation
- is the type of operation for checking.
OperationType
public short getDataStoreType()
DataStore
getDataStoreType
in interface DataStore
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |