javax.management.modelmbean
Class DescriptorSupport
java.lang.Object
|
+--javax.management.modelmbean.DescriptorSupport
- All Implemented Interfaces:
- java.lang.Cloneable, Descriptor, java.io.Serializable
- public class DescriptorSupport
- extends java.lang.Object
- implements Descriptor
- Version:
- $Revision: 1.4 $
- Author:
- Simone Bordet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescriptorSupport
public DescriptorSupport()
DescriptorSupport
public DescriptorSupport(java.lang.String[] pairs)
DescriptorSupport
public DescriptorSupport(java.lang.String[] names,
java.lang.Object[] values)
clone
public java.lang.Object clone()
throws RuntimeOperationsException
- Specified by:
clone
in interface Descriptor
- Overrides:
clone
in class java.lang.Object
getFieldValue
public java.lang.Object getFieldValue(java.lang.String name)
throws RuntimeOperationsException
- Specified by:
getFieldValue
in interface Descriptor
setField
public void setField(java.lang.String name,
java.lang.Object value)
throws RuntimeOperationsException
- Specified by:
setField
in interface Descriptor
removeField
public void removeField(java.lang.String name)
- Specified by:
removeField
in interface Descriptor
getFieldNames
public java.lang.String[] getFieldNames()
- Specified by:
getFieldNames
in interface Descriptor
getFieldValues
public java.lang.Object[] getFieldValues(java.lang.String[] names)
- Specified by:
getFieldValues
in interface Descriptor
getFields
public java.lang.String[] getFields()
- Specified by:
getFields
in interface Descriptor
setFields
public void setFields(java.lang.String[] names,
java.lang.Object[] values)
throws RuntimeOperationsException
- Specified by:
setFields
in interface Descriptor
isValid
public boolean isValid()
throws RuntimeOperationsException
- Specified by:
isValid
in interface Descriptor