org.glite.wmsui.apij
Class InfoLB

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.glite.wmsui.apij.InfoLB
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Direct Known Subclasses:
Event, JobStatus

public class InfoLB
extends java.util.HashMap

LB Information Class Wrapper This class is not visible to the user, restricted to the package

Version:
0.1
Author:
Alessandro Maraschini
See Also:
Serialized Form

Field Summary
static int DEFAULT_LOG_LEVEL
          Verbosity Level: only basic information
static int HIGH_LOG_LEVEL
          Verbosity Level: Complete information, full attributes and CLASSAD info retrieved
static int NORMAL_LOG_LEVEL
          Verbosity Level: Normal Information, only CLASSAD info are not retrieved
 
Method Summary
 java.lang.Object get(int attrName)
          Retrieve a specified field
 int getValInt(int i)
          Retrieve the integer value of the specified attribute
 java.lang.String getValString(int i)
          Retrieve the String value of the specified attribute
 java.lang.String toString()
          Convert the instance into a String
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

DEFAULT_LOG_LEVEL

public static int DEFAULT_LOG_LEVEL
Verbosity Level: only basic information


NORMAL_LOG_LEVEL

public static int NORMAL_LOG_LEVEL
Verbosity Level: Normal Information, only CLASSAD info are not retrieved


HIGH_LOG_LEVEL

public static int HIGH_LOG_LEVEL
Verbosity Level: Complete information, full attributes and CLASSAD info retrieved

Method Detail

get

public java.lang.Object get(int attrName)
Retrieve a specified field

Parameters:
attrName - index int valure corresponding to the field to be retrieved
Returns:
An Object representing the requested value

getValInt

public int getValInt(int i)
Retrieve the integer value of the specified attribute

Parameters:
i - the attribute to be retrieved
Returns:
the int value corresponding to the requested attribute
Throws:
java.lang.ClassCastException

getValString

public java.lang.String getValString(int i)
Retrieve the String value of the specified attribute

Returns:
the String value corresponding to the requested attribute
Throws:
java.lang.ClassCastException

toString

public java.lang.String toString()
Convert the instance into a String

Returns:
the string representation of LB info