Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKServerDefOD

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKServerDefOD
All Implemented Interfaces:
DKMessageId, DKMessageIdOD, dkServerDef, java.io.Serializable

public class DKServerDefOD
extends java.lang.Object
implements dkServerDef, DKMessageIdOD, java.io.Serializable

DKServerDefOD : This class represents a server definition.

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdOD
DK_OD_MSG_INIT_FAILED, DK_OD_MSG_INVALID_API, DK_OD_MSG_INVALID_CHOICE, DK_OD_MSG_INVALID_DATE, DK_OD_MSG_INVALID_DECIMAL, DK_OD_MSG_INVALID_INTEGER, DK_OD_MSG_INVALID_OPERATOR, DK_OD_MSG_INVALID_RANGE, DK_OD_MSG_INVALID_SEARCH, DK_OD_MSG_INVALID_SEGMENT_NUM, DK_OD_MSG_MSGID_NOT_FOUND, DK_OD_MSG_NO_VALUES_SPECIFIED, DK_OD_MSG_ONLY_ONE_VALUE_GIVEN, DK_OD_MSG_SERVER_TIMEOUT, DK_OD_MSG_UNDEFINED, DK_OD_MSG_UNKNOWN_ERROR, DK_OD_MSG_VALUE_NOT_SPECIFIED
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKServerDefOD(dkDatastore ds)
          Constructor
 
Method Summary
 java.lang.String datastoreType()
          Gets the datastore type
 dkDatastore getDatastore()
          Gets the reference to the owner datastore object
 java.lang.String getName()
          Gets the server name
 java.lang.String getServerType()
          Gets the server type
 void setDatastore(dkDatastore ds)
          Sets the reference to the owner datastore object
 void setName(java.lang.String name)
          Sets the server name
 void setServerType(java.lang.String type)
          Sets the server type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKServerDefOD

public DKServerDefOD(dkDatastore ds)
              throws java.lang.Exception
Constructor
Parameters:
ds - a dkDatastore object
Throws:
java.lang.Exception - if error detected
Method Detail

setDatastore

public void setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object
Specified by:
setDatastore in interface dkServerDef
Parameters:
ds - a dkDatastore object

getDatastore

public dkDatastore getDatastore()
Gets the reference to the owner datastore object
Specified by:
getDatastore in interface dkServerDef
Returns:
the dkDatastore object

getName

public java.lang.String getName()
Gets the server name
Specified by:
getName in interface dkServerDef
Returns:
the name of this server

setName

public void setName(java.lang.String name)
Sets the server name
Specified by:
setName in interface dkServerDef
Parameters:
name - new name to be set to this server object

datastoreType

public java.lang.String datastoreType()
                               throws java.lang.Exception
Gets the datastore type
Specified by:
datastoreType in interface dkServerDef
Returns:
the name of type of datastore this server belongs to
Throws:
java.lang.Exception - if error detected

getServerType

public java.lang.String getServerType()
Gets the server type
Returns:
the type of this server

setServerType

public void setServerType(java.lang.String type)
Sets the server type
Parameters:
type - the server type

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.