javax.management.openmbean
Class SimpleType

java.lang.Object
  |
  +--javax.management.openmbean.OpenType
        |
        +--javax.management.openmbean.SimpleType
All Implemented Interfaces:
java.io.Serializable

public class SimpleType
extends OpenType
implements java.io.Serializable

The SimpleType class is the open type class whose instances describe all open data values which are neither arrays, nor CompositeData values, nor TabularData values. It predefines all its possible instances as static fields, and has no public constructor.

Given a SimpleType instance describing values whose Java class name is className, the internal fields corresponding to the TypeName and description of this SimpleType instance are also set to className. In other words, its methods getClassName, getTypeName and getDescription all return the same string value className.

See Also:
Serialized Form

Field Summary
static javax.management.openmbean.SimpleType BIGDECIMAL
           
static javax.management.openmbean.SimpleType BIGINTEGER
           
static javax.management.openmbean.SimpleType BOOLEAN
           
static javax.management.openmbean.SimpleType BYTE
           
static javax.management.openmbean.SimpleType CHARACTER
           
static javax.management.openmbean.SimpleType DOUBLE
           
static javax.management.openmbean.SimpleType FLOAT
           
static javax.management.openmbean.SimpleType INTEGER
           
static javax.management.openmbean.SimpleType LONG
           
static javax.management.openmbean.SimpleType OBJECTNAME
           
static javax.management.openmbean.SimpleType SHORT
           
static javax.management.openmbean.SimpleType STRING
           
static javax.management.openmbean.SimpleType VOID
           
 
Fields inherited from class javax.management.openmbean.OpenType
ALLOWED_CLASSNAMES
 
Method Summary
 boolean equals(java.lang.Object object)
          Check the given object for equality
 int hashCode()
          Retrieve the hashCode
 boolean isValue(java.lang.Object object)
          Checks if this SimpleType object is value of the given object
 java.lang.Object readResolve()
           
 java.lang.String toString()
          Returns a human readable representation of this SimpleType object
 
Methods inherited from class javax.management.openmbean.OpenType
getClassName, getDescription, getTypeName, isArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BIGDECIMAL

public static javax.management.openmbean.SimpleType BIGDECIMAL

BIGINTEGER

public static javax.management.openmbean.SimpleType BIGINTEGER

BOOLEAN

public static javax.management.openmbean.SimpleType BOOLEAN

BYTE

public static javax.management.openmbean.SimpleType BYTE

CHARACTER

public static javax.management.openmbean.SimpleType CHARACTER

DOUBLE

public static javax.management.openmbean.SimpleType DOUBLE

FLOAT

public static javax.management.openmbean.SimpleType FLOAT

INTEGER

public static javax.management.openmbean.SimpleType INTEGER

LONG

public static javax.management.openmbean.SimpleType LONG

OBJECTNAME

public static javax.management.openmbean.SimpleType OBJECTNAME

SHORT

public static javax.management.openmbean.SimpleType SHORT

STRING

public static javax.management.openmbean.SimpleType STRING

VOID

public static javax.management.openmbean.SimpleType VOID
Method Detail

isValue

public boolean isValue(java.lang.Object object)
Checks if this SimpleType object is value of the given object

Specified by:
isValue in class OpenType
Parameters:
object - The object to check
Returns:
boolean

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
java.io.ObjectStreamException

equals

public boolean equals(java.lang.Object object)
Check the given object for equality

Specified by:
equals in class OpenType
Returns:
boolean if object is equal

hashCode

public int hashCode()
Retrieve the hashCode

Specified by:
hashCode in class OpenType
Returns:
int The computed hasCode

toString

public java.lang.String toString()
Returns a human readable representation of this SimpleType object

Specified by:
toString in class OpenType
Returns:
String the String representation