org.opennms.netmgt.config.attrsummary
Class Attribute

java.lang.Object
  extended by org.opennms.netmgt.config.attrsummary.Attribute
All Implemented Interfaces:
java.io.Serializable

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

Class Attribute.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Attribute()
           
 
Method Summary
 void deleteAverage()
          Method deleteAverage
 void deleteMax()
          Method deleteMax
 void deleteMin()
          Method deleteMin
 double getAverage()
          Returns the value of field 'average'.
 double getMax()
          Returns the value of field 'max'.
 double getMin()
          Returns the value of field 'min'.
 java.lang.String getName()
          Returns the value of field 'name'.
 boolean hasAverage()
          Method hasAverage
 boolean hasMax()
          Method hasMax
 boolean hasMin()
          Method hasMin
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAverage(double average)
          Sets the value of field 'average'.
 void setMax(double max)
          Sets the value of field 'max'.
 void setMin(double min)
          Sets the value of field 'min'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Method Detail

deleteAverage

public void deleteAverage()
Method deleteAverage


deleteMax

public void deleteMax()
Method deleteMax


deleteMin

public void deleteMin()
Method deleteMin


getAverage

public double getAverage()
Returns the value of field 'average'.

Returns:
double

getMax

public double getMax()
Returns the value of field 'max'.

Returns:
double

getMin

public double getMin()
Returns the value of field 'min'.

Returns:
double

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

hasAverage

public boolean hasAverage()
Method hasAverage

Returns:
boolean

hasMax

public boolean hasMax()
Method hasMax

Returns:
boolean

hasMin

public boolean hasMin()
Method hasMin

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAverage

public void setAverage(double average)
Sets the value of field 'average'.

Parameters:
average - the value of field 'average'.

setMax

public void setMax(double max)
Sets the value of field 'max'.

Parameters:
max - the value of field 'max'.

setMin

public void setMin(double min)
Sets the value of field 'min'.

Parameters:
min - the value of field 'min'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.