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.
- Version:
- $Revision: 1.8 $
- Author:
- Bronwen Cassidy
- See Also:
- Serialized Form
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BIGDECIMAL
public static SimpleType BIGDECIMAL
BIGINTEGER
public static SimpleType BIGINTEGER
BOOLEAN
public static SimpleType BOOLEAN
BYTE
public static SimpleType BYTE
CHARACTER
public static SimpleType CHARACTER
DOUBLE
public static SimpleType DOUBLE
FLOAT
public static SimpleType FLOAT
INTEGER
public static SimpleType INTEGER
LONG
public static SimpleType LONG
OBJECTNAME
public static SimpleType OBJECTNAME
SHORT
public static SimpleType SHORT
STRING
public static SimpleType STRING
VOID
public static SimpleType VOID
isValue
public boolean isValue(java.lang.Object object)
- Checks if this
SimpleType
object is value of
the given object
- Overrides:
isValue
in class OpenType
- Parameters:
object
- The object to check- Returns:
- boolean
readResolve
public java.lang.Object readResolve()
throws java.io.ObjectStreamException
equals
public boolean equals(java.lang.Object object)
- Check the given object for equality
- Overrides:
equals
in class OpenType
- Returns:
- boolean if object is equal
hashCode
public int hashCode()
- Retrieve the hashCode
- Overrides:
hashCode
in class OpenType
- Returns:
- int The computed hasCode
toString
public java.lang.String toString()
- Returns a human readable representation of this SimpleType object
- Overrides:
toString
in class OpenType
- Returns:
- String the String representation
Copyright © 2001-2002 MX4J Team. All Rights Reserved.