| 
 | |||||||||||
| PREV CLASS NEXT CLASS | 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 String[] | ALLOWED_CLASSNAMESThe allowed classnames. | 
| Constructor Summary | |
| protected  | OpenType(String className,
         String typeName,
         String description)Construct an OpenType. | 
| Method Summary | |
| abstract  boolean | equals(Object obj)Compares two object types for equality | 
|  String | getClassName()Retrieve the class name of the open data values of this open data type. | 
|  String | getDescription()Retrieve the description of the type | 
|  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(Object obj)Whether the passed value is one of those described by this open type. | 
| abstract  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 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.class.getName()
 TabularData.class.getName()
| Constructor Detail | 
protected OpenType(String className, String typeName, String description) throws OpenDataException
 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 - when class name is not allowed class
IllegalArgumentException - for a null argument| Method Detail | 
public String getClassName()
public String getTypeName()
public String getDescription()
public boolean isArray()
public abstract boolean isValue(Object obj)
obj - the object to test
public abstract boolean equals(Object obj)
public abstract int hashCode()
public abstract String toString()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||