API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.modelmbean. DescriptorSupport View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      DescriptorSupport
Implements
 Descriptor
Subclasses
Description
public class DescriptorSupport
  This class represents the metadata set for a ModelMBean element.
See also:   
Constructors
public DescriptorSupport ()
  Descriptor default constructor.
public DescriptorSupport (DescriptorSupport inDescr)
  Descriptor constructor taking a Descriptor as parameter.
public DescriptorSupport (int initNumFields) throws MBeanException RuntimeOperationsException
  Descriptor constructor.
public DescriptorSupport (String fields)
  Constructor taking fields in the fieldName=fieldValue format.
public DescriptorSupport (String inStr) throws MBeanException RuntimeOperationsException XMLParseException
  Descriptor constructor taking an XML String.
public DescriptorSupport (String fieldNames, Object fieldValues) throws RuntimeOperationsException
  Constructor taking field names and field values.
Methods
Hide/Show inherited methods
publicsynchronized Object clone () throws RuntimeOperationsException [Specified in Descriptor]
  Returns a new Descriptor which is a duplicate of the Descriptor.
publicsynchronized boolean equals (Object o) [Specified in Descriptor]
  Compares this descriptor to the given object.
publicsynchronized String getFieldNames () [Specified in Descriptor]
publicsynchronized String getFields () [Specified in Descriptor]
publicsynchronized Object getFieldValue (String fieldName) throws RuntimeOperationsException [Specified in Descriptor]
publicsynchronized Object getFieldValues (String fieldNames) [Specified in Descriptor]
publicsynchronized int hashCode () [Specified in Descriptor]
  Returns the hash code value for this descriptor.
publicsynchronized boolean isValid () throws RuntimeOperationsException [Specified in Descriptor]
  Returns true if all of the fields have legal values given their names.
publicsynchronized void removeField (String fieldName) [Specified in Descriptor]
publicsynchronized void setField (String fieldName, Object fieldValue) throws RuntimeOperationsException [Specified in Descriptor]
publicsynchronized void setFields (String fieldNames, Object fieldValues) throws RuntimeOperationsException [Specified in Descriptor]
publicsynchronized String toString ()
  Returns a human readable string representing the descriptor.
publicsynchronized String toXMLString ()
  Returns an XML String representing the descriptor.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar