com.businessobjects.sdk.plugin.desktop.metricdescriptions
Class ValueFormat

java.lang.Object
  extended by com.businessobjects.sdk.plugin.desktop.metricdescriptions.ValueFormat

public class ValueFormat
extends java.lang.Object

This class behaves like an enumeration for the different formats of the values for server metrics.


Field Summary
static ValueFormat BOOLEAN
           
static ValueFormat DATETIME
           
static ValueFormat FLOAT
           
static ValueFormat HIDDEN
           
static ValueFormat INTEGER
           
static ValueFormat PERCENT
           
static ValueFormat PROPBAG
           
static ValueFormat SHIFTSIZE_GB
           
static ValueFormat SHIFTSIZE_KB
           
static ValueFormat SHIFTSIZE_MB
           
static ValueFormat STRING
           
static ValueFormat STRING_MAP
           
static ValueFormat UNKNOWN
           
 
Method Summary
static ValueFormat fromInteger(int i)
           
static ValueFormat fromString(java.lang.String s)
           
 int toInteger()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HIDDEN

public static final ValueFormat HIDDEN

UNKNOWN

public static final ValueFormat UNKNOWN

STRING

public static final ValueFormat STRING

INTEGER

public static final ValueFormat INTEGER

FLOAT

public static final ValueFormat FLOAT

PERCENT

public static final ValueFormat PERCENT

DATETIME

public static final ValueFormat DATETIME

PROPBAG

public static final ValueFormat PROPBAG

BOOLEAN

public static final ValueFormat BOOLEAN

STRING_MAP

public static final ValueFormat STRING_MAP

SHIFTSIZE_KB

public static final ValueFormat SHIFTSIZE_KB

SHIFTSIZE_MB

public static final ValueFormat SHIFTSIZE_MB

SHIFTSIZE_GB

public static final ValueFormat SHIFTSIZE_GB
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromString

public static ValueFormat fromString(java.lang.String s)

fromInteger

public static ValueFormat fromInteger(int i)

toInteger

public int toInteger()