javax.management.openmbean
Class OpenType
java.lang.Object
|
+--javax.management.openmbean.OpenType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ArrayType, CompositeType, SimpleType, TabularType
- public abstract class OpenType
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
protected |
OpenType(java.lang.String className,
java.lang.String typeName,
java.lang.String description)
|
Method Summary |
abstract boolean |
equals(java.lang.Object object)
|
java.lang.String |
getClassName()
Retrieve the className |
java.lang.String |
getDescription()
Retrieve the description |
java.lang.String |
getTypeName()
Retrieve the typeName |
abstract int |
hashCode()
|
boolean |
isArray()
check if this instance represents an array or not |
abstract boolean |
isValue(java.lang.Object object)
|
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ALLOWED_CLASSNAMES
public static final java.lang.String[] ALLOWED_CLASSNAMES
OpenType
protected OpenType(java.lang.String className,
java.lang.String typeName,
java.lang.String description)
throws OpenDataException
getClassName
public java.lang.String getClassName()
- Retrieve the className
- Returns:
- the name of the class
getDescription
public java.lang.String getDescription()
- Retrieve the description
- Returns:
- description
getTypeName
public java.lang.String getTypeName()
- Retrieve the typeName
- Returns:
- typeName
isArray
public boolean isArray()
- check if this instance represents an array or not
- Returns:
- true if the class represents an array, false otherwise
isValue
public abstract boolean isValue(java.lang.Object object)
equals
public abstract boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public abstract java.lang.String toString()
- Overrides:
toString
in class java.lang.Object