org.norther.tammi.core.rt.util
Class SerialAttribute

java.lang.Object
  extended by javax.management.Attribute
      extended by org.norther.tammi.core.rt.util.SerialAttribute
All Implemented Interfaces:
Serializable

public class SerialAttribute
extends Attribute

A serial attribute with a string value.

Author:
Ilkka Priha
See Also:
Serialized Form

Constructor Summary
SerialAttribute(String name)
          Constructs a new attribute.
SerialAttribute(String name, Object value)
          Constructs a new attribute with a value.
 
Method Summary
 Object getValue()
           
 void setValue(Object value)
          Sets the serial value of the attrinbute.
 
Methods inherited from class javax.management.Attribute
equals, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialAttribute

public SerialAttribute(String name)
Constructs a new attribute.

Parameters:
name - the attribute name.

SerialAttribute

public SerialAttribute(String name,
                       Object value)
Constructs a new attribute with a value.

Parameters:
name - the attribute name.
value - the attribute value.
Method Detail

getValue

public Object getValue()
Overrides:
getValue in class Attribute

setValue

public void setValue(Object value)
Sets the serial value of the attrinbute.

Parameters:
value - the serial value.


Copyright © 2004 The Norther Organization. All rights reserved.