|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.openmbean.OpenType
A parent for all classes describing open types of open data values.
| Field Summary | |
static java.lang.String[] |
ALLOWED_CLASSNAMES
The allowed classnames. |
| Constructor Summary | |
protected |
OpenType(java.lang.String className,
java.lang.String typeName,
java.lang.String description)
Construct an OpenType. |
| Method Summary | |
abstract boolean |
equals(java.lang.Object obj)
Compares two object types for equality |
java.lang.String |
getClassName()
Retrieve the class name of the open data values of this open data type. |
java.lang.String |
getDescription()
Retrieve the description of the type |
java.lang.String |
getTypeName()
Retrieve the name of the open data type |
abstract int |
hashCode()
Retrieve the hashCode for this OpenType |
boolean |
isArray()
Retrieve whether the class name of the type is an array |
abstract boolean |
isValue(java.lang.Object obj)
Whether the passed value is one of those described by this open type. |
abstract java.lang.String |
toString()
Retrieve a string representation of this open type |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String[] 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 (src) .class.getName()
TabularData (src) .class.getName()
| Constructor Detail |
protected OpenType(java.lang.String className,
java.lang.String typeName,
java.lang.String description)
throws OpenDataException (src)
The class name must be in ALLOWED_CLASSNAMES or an
array of those classes.
className - the name of the class implementing the open type,
cannot be nulltypeName - the name of the open type, cannot be nulldescription - the human readable description of the type, cannot
be null
OpenDataException (src) - when class name is not allowed class
java.lang.IllegalArgumentException - for a null argument| Method Detail |
public java.lang.String getClassName()
public java.lang.String getTypeName()
public java.lang.String getDescription()
public boolean isArray()
public abstract boolean isValue(java.lang.Object obj)
obj - the object to test
public abstract boolean equals(java.lang.Object obj)
public abstract int hashCode()
public abstract java.lang.String toString()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||