Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKRMSMSPairDefICM

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKRMSMSPairDefICM

public class DKRMSMSPairDefICM
extends java.lang.Object

DKRMSMSPairDefICM class is a utility class that supports DKSMSCollectionDefICM class. Use DKRMSMSPairDefICM class to pair a resource manager and the SMS collection to which it belongs.


Constructor Summary
DKRMSMSPairDefICM()
          Default constructor The resource manager and SMS collection names is set to an empty string and their respective codes are set to 0.
DKRMSMSPairDefICM(short rmCode, short smsCode)
          Construc an object with resource manager identifier code and SMS collection identifier code.
DKRMSMSPairDefICM(java.lang.String rmName, java.lang.String smsName)
          Construct an object with resource manager name and SMS collection name
 
Method Summary
 short getRMCode()
          Gets the resource manager identifier code.
 java.lang.String getRMName()
          Gets the resource manager name
 short getSMSCode()
          Get the resource manager SMS collection code
 java.lang.String getSMSName()
          Get the resource manager SMS collection name
 void setRMCode(short rmCode)
          Sets the resource manager identifier code with the code that was assigned by the ICM datastore.
 void setRMName(java.lang.String rmName)
          Sets the resource manager name.
 void setSMSCode(short smsCode)
          Set the resource manager SMS collection code
 void setSMSName(java.lang.String smsName)
          Set the resource manager SMS collection Name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKRMSMSPairDefICM

public DKRMSMSPairDefICM()
Default constructor The resource manager and SMS collection names is set to an empty string and their respective codes are set to 0.

DKRMSMSPairDefICM

public DKRMSMSPairDefICM(java.lang.String rmName,
                         java.lang.String smsName)
Construct an object with resource manager name and SMS collection name
Parameters:
rmName - resource manager name
smsName - resource manager collection name

DKRMSMSPairDefICM

public DKRMSMSPairDefICM(short rmCode,
                         short smsCode)
Construc an object with resource manager identifier code and SMS collection identifier code.
Parameters:
rmCode - resource manager code
smsCode - resource manager collection code
Method Detail

getRMName

public java.lang.String getRMName()
Gets the resource manager name
Returns:
the resource manager name

setRMName

public void setRMName(java.lang.String rmName)
Sets the resource manager name. The resource manager name can be up to 128 characters
Parameters:
rmName - source resource manager name

getRMCode

public short getRMCode()
Gets the resource manager identifier code. This code is assigned by the ICM datastore when the resource manager is created.
Returns:
the resource manager code

setRMCode

public void setRMCode(short rmCode)
Sets the resource manager identifier code with the code that was assigned by the ICM datastore. Note: This code cannot be a random number and should match the code assigned by the ICM datastore.
Parameters:
rmCode - resource manager code

getSMSName

public java.lang.String getSMSName()
Get the resource manager SMS collection name
Returns:
resource manager SMS collection name

setSMSName

public void setSMSName(java.lang.String smsName)
Set the resource manager SMS collection Name
Parameters:
smsName - resource manager SMS collection Name

getSMSCode

public short getSMSCode()
Get the resource manager SMS collection code
Returns:
resource manager SMS collection code

setSMSCode

public void setSMSCode(short smsCode)
Set the resource manager SMS collection code
Parameters:
smsCode - resource manager SMS collection code

EIP Java APIs

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