javax.management
Class Attribute

java.lang.Object
  |
  +--javax.management.Attribute

public class Attribute
extends java.lang.Object
implements java.io.Serializable

This class is used for representing a pair (attribute name, attribute value).

See Also:
Serialized Form

Constructor Summary
Attribute(java.lang.String name, java.lang.Object value)
          Allows an attribute to be created for an attribute.
 
Method Summary
 java.lang.String getName()
          Returns the name of the attribute.
 java.lang.Object getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(java.lang.String name,
                 java.lang.Object value)
Allows an attribute to be created for an attribute.
Parameters:
name - The name of the attribute to be created.
value - The value assigned to the attribute.
Method Detail

getName

public java.lang.String getName()
Returns the name of the attribute.

getValue

public java.lang.Object getValue()
Returns the value.