com.tivoli.twg.dmi
Class DMI_MultiRow

java.lang.Object
  extended bycom.tivoli.twg.dmi.DMI_MultiRow

public class DMI_MultiRow
extends java.lang.Object

This class is used in both the DmiGetMultiple() and DmiSetMultiple() methods. It is used to model row information for use in these methods.


Constructor Summary
protected DMI_MultiRow(IntelByteBuffer BasenKeyList, IntelByteBuffer Attrs)
          Private constructor used only by the internal adapter support code.
  DMI_MultiRow(int CompID, int GroupID, java.lang.String ClassName, int RequestMode, DMIAttributeValue[] KeyList, DMIAttributeValue[] Attrs)
          Constructor to be used when building a row request for use in either DmiGetMultiple() or DmiSetMultiple() methods.
 
Method Summary
protected  void EncodeBaseandKeyList(IntelByteBuffer Buffer)
          Internal function for encoding the request
protected  void EncodeGet(IntelByteBuffer Buffer)
          Internal function for encoding the request
protected  void EncodeSet(IntelByteBuffer Buffer)
          Internal function for encoding the request
protected  int GetBaseandKeylistLength()
          Internal function for encoding the request
 java.lang.String GetClassName()
          Accessor method for retrieving the ClassName assigned to this Multi-row.
 int GetCompID()
          Accessor method for retrieving the Component ID assigned to this Multi-row.
protected  int GetGetEncodeLength()
          Internal function for encoding the request
 int GetGroupID()
          Accessor method for retrieving the Group ID assigned to this Multi-row.
 DMIAttributeValue[] GetKeyList()
          Accessor method for retrieving the KeyList assigned to this Multi-row.
 int GetRequestMode()
          Accessor method for retrieving the Request Mode assigned to this Multi-row.
protected  int GetSetEncodeLength()
          Internal function for encoding the request
 DMIAttributeValue[] GetValues()
          Accessor method for retrieving the Attributes assigned to this Multi-row.
 boolean SetRequestMode(int NewMode)
          Accessor method for Setting the Request Mode assigned to this Multi-row.
 java.lang.String toString()
          Debug function for dumping the contents of this Multi-row as a displayable string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DMI_MultiRow

public DMI_MultiRow(int CompID,
                    int GroupID,
                    java.lang.String ClassName,
                    int RequestMode,
                    DMIAttributeValue[] KeyList,
                    DMIAttributeValue[] Attrs)
Constructor to be used when building a row request for use in either DmiGetMultiple() or DmiSetMultiple() methods.


DMI_MultiRow

protected DMI_MultiRow(IntelByteBuffer BasenKeyList,
                       IntelByteBuffer Attrs)
Private constructor used only by the internal adapter support code.

Method Detail

GetCompID

public int GetCompID()
Accessor method for retrieving the Component ID assigned to this Multi-row.

Returns:
int = Component ID

GetGroupID

public int GetGroupID()
Accessor method for retrieving the Group ID assigned to this Multi-row.

Returns:
int = Group ID

GetClassName

public java.lang.String GetClassName()
Accessor method for retrieving the ClassName assigned to this Multi-row.

Returns:
String - ClassName

GetRequestMode

public int GetRequestMode()
Accessor method for retrieving the Request Mode assigned to this Multi-row.

Returns:
int = Request Mode: DMIInterface.REQUEST_MODE_UNIQUE, DMIInterface.REQUEST_MODE_FIRST, DMIInterface.REQUEST_MODE_NEXT

SetRequestMode

public boolean SetRequestMode(int NewMode)
Accessor method for Setting the Request Mode assigned to this Multi-row.


GetKeyList

public DMIAttributeValue[] GetKeyList()
Accessor method for retrieving the KeyList assigned to this Multi-row.

Returns:
DMIAttributeValue[] - Key list

GetValues

public DMIAttributeValue[] GetValues()
Accessor method for retrieving the Attributes assigned to this Multi-row.

Returns:
DMIAttributeValue[] - Attributes

GetBaseandKeylistLength

protected int GetBaseandKeylistLength()
Internal function for encoding the request


EncodeBaseandKeyList

protected void EncodeBaseandKeyList(IntelByteBuffer Buffer)
Internal function for encoding the request


GetGetEncodeLength

protected int GetGetEncodeLength()
Internal function for encoding the request


EncodeGet

protected void EncodeGet(IntelByteBuffer Buffer)
Internal function for encoding the request


GetSetEncodeLength

protected int GetSetEncodeLength()
Internal function for encoding the request


EncodeSet

protected void EncodeSet(IntelByteBuffer Buffer)
Internal function for encoding the request


toString

public java.lang.String toString()
Debug function for dumping the contents of this Multi-row as a displayable string.

Returns:
String