com.ibm.mm.sdk.common

Interface dkServerDef

  • All Known Implementing Classes:
    dkAbstractServerDef, DKServerDefICM


    public interface dkServerDef
    Interface 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.String datastoreType()
      Gets the type of datastore this server definition represents.
      dkDatastore getDatastore()
      Gets the datastore instance associated with this server definition.
      java.lang.String getName()
      Gets the name of this server definition.
      void setDatastore(dkDatastore ds)
      Sets the datastore instance for this server definition.
      void setName(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
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.