com.tivoli.twg.monitor.api
Class TWGMonNodeList

java.lang.Object
  extended bycom.tivoli.twg.monitor.api.TWGMonNodeList

public class TWGMonNodeList
extends java.lang.Object

This is the monitor API AttributeNodelist class. This class encapsulates information about a list of attribute nodes It is built in the API object from the response from the server. methods are provided for extracting the data returned.


Constructor Summary
TWGMonNodeList(TWGMonPath progPath, TWGMonAttributeNodeList monNodeList)
          This is the constructor for building the object
 
Method Summary
 int getNodeCount()
          get count of number of nodes in the list.
 java.util.Enumeration getNodes()
          Gets an enumeration of nodes in the list.
 java.lang.String toString()
          get a textual string that can be dumped that describes the list and its contents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TWGMonNodeList

public TWGMonNodeList(TWGMonPath progPath,
                      TWGMonAttributeNodeList monNodeList)
This is the constructor for building the object

Parameters:
progPath - Programatic path that the request was initiated for
Method Detail

getNodeCount

public int getNodeCount()
get count of number of nodes in the list.

Returns:
int with number of elements in this list

getNodes

public java.util.Enumeration getNodes()
Gets an enumeration of nodes in the list.

Returns:
enumeration has enumerated list of nodes from the object

toString

public java.lang.String toString()
get a textual string that can be dumped that describes the list and its contents

Returns:
String with formated information describing the contents of the object