| java.lang.Object javax.management.openmbean.OpenType
All known Subclasses: javax.management.openmbean.SimpleType, javax.management.openmbean.CompositeType, javax.management.openmbean.TabularType, javax.management.openmbean.ArrayType,
OpenType | abstract public class OpenType implements Serializable(Code) | | A parent for all classes describing open types of open data values.
author: Adrian Brock version: $Revision: 57200 $ |
ALLOWED_CLASSNAMES | final public static String[] ALLOWED_CLASSNAMES(Code) | | The allowed classnames.
One of
java.lang.Void
java.lang.Boolean
java.lang.Character
java.lang.Byte
java.lang.Short
java.lang.Integer
java.lang.Long
java.lang.Float
java.lang.Double
java.lang.String
java.lang.Date
java.math.BigDecimal
java.math.BigInteger
javax.management.ObjectName
CompositeData .class.getName()
TabularData .class.getName()
|
OpenType | protected OpenType(String className, String typeName, String description) throws OpenDataException(Code) | | Construct an OpenType.
The class name must be in
OpenType.ALLOWED_CLASSNAMES or an
array of those classes.
Parameters: className - the name of the class implementing the open type,cannot be null Parameters: typeName - the name of the open type, cannot be null Parameters: description - the human readable description of the type, cannot be null exception: OpenDataException - when class name is not allowed class exception: IllegalArgumentException - for a null argument |
equals | abstract public boolean equals(Object obj)(Code) | | Compares two object types for equality
obj the object to test with this one true when they are equal, false otherwise |
getClassName | public String getClassName()(Code) | | Retrieve the class name of the open data values of this open data
type. It is one of those listed in ALLOWED_CLASSNAMES or
a (multi-dimensional) array of one of those classes.
the class name |
getDescription | public String getDescription()(Code) | | Retrieve the description of the type
the description |
getTypeName | public String getTypeName()(Code) | | Retrieve the name of the open data type
the type name |
hashCode | abstract public int hashCode()(Code) | | Retrieve the hashCode for this OpenType
the hash code |
isArray | public boolean isArray()(Code) | | Retrieve whether the class name of the type is an array
true when it is an array or false otherwise |
isValue | abstract public boolean isValue(Object obj)(Code) | | Whether the passed value is one of those described by this open type.
Parameters: obj - the object to test true when it is value for this open type, false otherwise |
toString | abstract public String toString()(Code) | | Retrieve a string representation of this open type
the string representation |
|
|