|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 | |
java.lang.String |
getClientName()
Returns the name of the data store client. |
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. |
void |
setClientName(java.lang.String cName)
Sets the name of the data store client. |
| 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()
DataStoreThis 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 DataStorepublic boolean isSameAs(DataStore ds)
isSameAs in interface DataStoreds - the other DataStore object
public boolean isCapable(short operation)
DataStore
isCapable in interface DataStoreoperation - is the type of operation for checking.
OperationTypepublic short getDataStoreType()
DataStore
getDataStoreType in interface DataStorepublic java.lang.String getClientName()
DataStoreThis information is complementary to the data store type, and is useful when the data store type has several possible clients or products.
getClientName in interface DataStorepublic void setClientName(java.lang.String cName)
DataStore
setClientName in interface DataStorecName - the name of the data store client.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||