|
||||||||||||
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()
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
public java.lang.String getClientName()
DataStore
This 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 DataStore
public void setClientName(java.lang.String cName)
DataStore
setClientName
in interface DataStore
cName
- the name of the data store client.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |