public interface ICdmSource
Modifier and Type | Method and Description |
---|---|
boolean |
checkConnection()
Tests, if a database connection can be established.
|
void |
closeOpenConnections()
Closes any open connections to this CDM Source
|
java.lang.String |
getConnectionMessage()
Returns the message to display when connecting to this CDM Source
|
java.lang.String |
getDbSchemaVersion()
Returns the CDM schema version of this CDM Source
|
java.util.Map<CdmMetaDataPropertyName,java.lang.String> |
getMetaDataMap() |
java.lang.String |
getName()
Returns the name representation of this CDM Source
|
int |
getPort()
Returns the port on which this CDM Source is listening
|
java.lang.String |
getServer()
Returns the server (string representation) where this CDM Source resides
|
boolean |
isDbEmpty()
Checks whether the underlying database is empty
|
void |
setName(java.lang.String name)
Sets the name representation of this CDM Source
|
void |
setPort(int port)
Sets the port on which this CDM Source is listening
|
void |
setServer(java.lang.String server)
Sets the server (string representation) where this CDM Source resides
|
java.lang.String getName()
void setName(java.lang.String name)
name
- java.lang.String getServer()
void setServer(java.lang.String server)
server
- int getPort()
void setPort(int port)
port
- java.lang.String getDbSchemaVersion() throws CdmSourceException
CdmSourceException
- if any underlying errorboolean isDbEmpty() throws CdmSourceException
CdmSourceException
boolean checkConnection() throws CdmSourceException
CdmSourceException
- if any underlying errorjava.lang.String getConnectionMessage()
void closeOpenConnections()
java.util.Map<CdmMetaDataPropertyName,java.lang.String> getMetaDataMap() throws CdmSourceException
CdmSourceException
Copyright © 2007-2020 EDIT. All Rights Reserved.