org.opennms.netmgt.config.rrd
Class GridRange

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.GridRange
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Grid_range

public class GridRange
extends Object
implements Serializable

Class GridRange.

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

Constructor Summary
GridRange()
           
 
Method Summary
 void deleteLower()
           
 void deleteRigid()
           
 void deleteUpper()
           
 double getLower()
          Returns the value of field 'lower'.
 boolean getRigid()
          Returns the value of field 'rigid'.
 double getUpper()
          Returns the value of field 'upper'.
 boolean hasLower()
          Method hasLower.
 boolean hasRigid()
          Method hasRigid.
 boolean hasUpper()
          Method hasUpper.
 boolean isRigid()
          Returns the value of field 'rigid'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setLower(double lower)
          Sets the value of field 'lower'.
 void setRigid(boolean rigid)
          Sets the value of field 'rigid'.
 void setUpper(double upper)
          Sets the value of field 'upper'.
static GridRange unmarshal(Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridRange

public GridRange()
Method Detail

deleteLower

public void deleteLower()

deleteRigid

public void deleteRigid()

deleteUpper

public void deleteUpper()

getLower

public double getLower()
Returns the value of field 'lower'.

Returns:
the value of field 'Lower'.

getRigid

public boolean getRigid()
Returns the value of field 'rigid'.

Returns:
the value of field 'Rigid'.

getUpper

public double getUpper()
Returns the value of field 'upper'.

Returns:
the value of field 'Upper'.

hasLower

public boolean hasLower()
Method hasLower.

Returns:
true if at least one Lower has been added

hasRigid

public boolean hasRigid()
Method hasRigid.

Returns:
true if at least one Rigid has been added

hasUpper

public boolean hasUpper()
Method hasUpper.

Returns:
true if at least one Upper has been added

isRigid

public boolean isRigid()
Returns the value of field 'rigid'.

Returns:
the value of field 'Rigid'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setLower

public void setLower(double lower)
Sets the value of field 'lower'.

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

setRigid

public void setRigid(boolean rigid)
Sets the value of field 'rigid'.

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

setUpper

public void setUpper(double upper)
Sets the value of field 'upper'.

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

unmarshal

public static GridRange unmarshal(Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.rrd.GridRange
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2009. All Rights Reserved.