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

Version:
$Revision: 1.9 $
Author:
Bronwen Cassidy
See Also:
Serialized Form

Field Summary
static java.lang.String[] ALLOWED_CLASSNAMES
           
 
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
 

Field Detail

ALLOWED_CLASSNAMES

public static final java.lang.String[] ALLOWED_CLASSNAMES
Constructor Detail

OpenType

protected OpenType(java.lang.String className,
                   java.lang.String typeName,
                   java.lang.String description)
            throws OpenDataException
Method Detail

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


Copyright © 2001-2002 MX4J Team. All Rights Reserved.