API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management. ImmutableDescriptor View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      ImmutableDescriptor
Implements
 Descriptor
Subclasses
Description
public class ImmutableDescriptor
  An immutable descriptor.
See also:   
Constructors
public ImmutableDescriptor (Map<String, Object> fields)
  Construct a descriptor where the names and values of the fields are the keys and values of the given Map.
public ImmutableDescriptor (String fields)
  Construct a descriptor containing the given fields.
public ImmutableDescriptor (String fieldNames, Object fieldValues)
  Construct a descriptor containing the given fields and values.
Methods
Hide/Show inherited methods
public Descriptor clone () [Specified in Descriptor]
  Returns a descriptor which is equal to this descriptor.
public boolean equals (Object o) [Specified in Descriptor]
  Compares this descriptor to the given object.
publicfinal String getFieldNames () [Specified in Descriptor]
publicfinal String getFields () [Specified in Descriptor]
publicfinal Object getFieldValue (String fieldName) [Specified in Descriptor]
publicfinal Object getFieldValues (String fieldNames) [Specified in Descriptor]
public int hashCode () [Specified in Descriptor]
  Returns the hash code value for this descriptor.
public boolean isValid () [Specified in Descriptor]
  Returns true if all of the fields have legal values given their names.
pack-privatestatic Descriptor nonNullDescriptor (Descriptor d)
publicfinal void removeField (String fieldName) [Specified in Descriptor]
  Removes a field from the descriptor.
publicfinal void setField (String fieldName, Object fieldValue) throws RuntimeOperationsException [Specified in Descriptor]
  This operation is unsupported since this class is immutable.
publicfinal void setFields (String fieldNames, Object fieldValues) throws RuntimeOperationsException [Specified in Descriptor]
  This operation is unsupported since this class is immutable.
public String toString ()
publicstatic ImmutableDescriptor union (Descriptor descriptors)
  Return an ImmutableDescriptor whose contents are the union of the given descriptors.
Fields
Hide/Show inherited fields
publicfinalstatic ImmutableDescriptor EMPTY_DESCRIPTOR
An empty descriptor.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar