com.ibm.mm.sdk.common
Interface dkServerDef
-
- All Known Implementing Classes:
- dkAbstractServerDef, DKServerDefICM
public interface dkServerDefInterface for defining server connection metadata in CM8.A server definition encapsulates the configuration and connection information for a CM8 datastore server. It provides access to the datastore instance and identifies the type of datastore being used.
Server Definition Components:
- Name: Unique identifier for the server
- Datastore Type: Type of datastore (e.g., "ICM", "DB2", "FileNet")
- Datastore: The actual datastore connection instance
Example usage:
dkServerDef serverDef = new DKServerDefICM(); serverDef.setName("ProductionServer"); serverDef.setDatastore(datastore); String type = serverDef.datastoreType(); // Returns "ICM"- See Also:
dkDatastore,DKServerDefICM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringdatastoreType()Gets the type of datastore this server definition represents.dkDatastoregetDatastore()Gets the datastore instance associated with this server definition.java.lang.StringgetName()Gets the name of this server definition.voidsetDatastore(dkDatastore ds)Sets the datastore instance for this server definition.voidsetName(java.lang.String name)Sets the name of this server definition.
-
-
-
Method Detail
-
datastoreType
java.lang.String datastoreType()
Gets the type of datastore this server definition represents.- Returns:
- the datastore type identifier (e.g., "ICM", "DB2", "FileNet")
-
getDatastore
dkDatastore getDatastore()
Gets the datastore instance associated with this server definition.- Returns:
- the datastore instance, or null if not set
-
getName
java.lang.String getName()
Gets the name of this server definition.- Returns:
- the server name
-
setDatastore
void setDatastore(dkDatastore ds)
Sets the datastore instance for this server definition.- Parameters:
ds- the datastore instance to associate with this server
-
setName
void setName(java.lang.String name)
Sets the name of this server definition.- Parameters:
name- the server name to set
-
-