org.opennms.report.availability
Class Day

java.lang.Object
  extended by org.opennms.report.availability.Day
All Implemented Interfaces:
java.io.Serializable

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

Class Day.

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

Constructor Summary
Day()
           
 
Method Summary
 void deleteDate()
          Method deleteDate
 void deletePctValue()
          Method deletePctValue
 void deleteVisible()
          Method deleteVisible
 int getDate()
          Returns the value of field 'date'.
 double getPctValue()
          Returns the value of field 'pctValue'.
 boolean getVisible()
          Returns the value of field 'visible'.
 boolean hasDate()
          Method hasDate
 boolean hasPctValue()
          Method hasPctValue
 boolean hasVisible()
          Method hasVisible
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setDate(int date)
          Sets the value of field 'date'.
 void setPctValue(double pctValue)
          Sets the value of field 'pctValue'.
 void setVisible(boolean visible)
          Sets the value of field 'visible'.
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

Day

public Day()
Method Detail

deleteDate

public void deleteDate()
Method deleteDate


deletePctValue

public void deletePctValue()
Method deletePctValue


deleteVisible

public void deleteVisible()
Method deleteVisible


getDate

public int getDate()
Returns the value of field 'date'.

Returns:
int

getPctValue

public double getPctValue()
Returns the value of field 'pctValue'.

Returns:
double

getVisible

public boolean getVisible()
Returns the value of field 'visible'.

Returns:
boolean

hasDate

public boolean hasDate()
Method hasDate

Returns:
boolean

hasPctValue

public boolean hasPctValue()
Method hasPctValue

Returns:
boolean

hasVisible

public boolean hasVisible()
Method hasVisible

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

setDate

public void setDate(int date)
Sets the value of field 'date'.

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

setPctValue

public void setPctValue(double pctValue)
Sets the value of field 'pctValue'.

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

setVisible

public void setVisible(boolean visible)
Sets the value of field 'visible'.

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

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.