org.jboss.test.jmx.compliance.openmbean
Class OpenTypeTestCase.MyOpenType
java.lang.Object
javax.management.openmbean.OpenType
org.jboss.test.jmx.compliance.openmbean.OpenTypeTestCase.MyOpenType
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- OpenTypeTestCase
- public static class OpenTypeTestCase.MyOpenType
- extends javax.management.openmbean.OpenType
- See Also:
- Serialized Form
Fields inherited from class javax.management.openmbean.OpenType |
ALLOWED_CLASSNAMES |
Method Summary |
boolean |
equals(Object other)
Compares two object types for equality |
int |
hashCode()
Retrieve the hashCode for this OpenType |
boolean |
isValue(Object other)
Whether the passed value is one of those described by this open type. |
String |
toString()
Retrieve a string representation of this open type |
Methods inherited from class javax.management.openmbean.OpenType |
getClassName, getDescription, getTypeName, isArray |
OpenTypeTestCase.MyOpenType
public OpenTypeTestCase.MyOpenType(String className,
String typeName,
String description)
throws javax.management.openmbean.OpenDataException
equals
public boolean equals(Object other)
- Description copied from class:
javax.management.openmbean.OpenType
- Compares two object types for equality
- Returns:
- obj the object to test with this one
hashCode
public int hashCode()
- Description copied from class:
javax.management.openmbean.OpenType
- Retrieve the hashCode for this OpenType
- Returns:
- the hash code
isValue
public boolean isValue(Object other)
- Description copied from class:
javax.management.openmbean.OpenType
- Whether the passed value is one of those described by this open type.
- Parameters:
other
- the object to test
- Returns:
- true when it is value for this open type, false otherwise
toString
public String toString()
- Description copied from class:
javax.management.openmbean.OpenType
- Retrieve a string representation of this open type
- Returns:
- the string representation
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.