org.opennms.report.availability
Class Report

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

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

The top-level element for availability reports.

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

Constructor Summary
Report()
           
 
Method Summary
 void deleteCatCount()
          Method deleteCatCount
 void deleteSectionCount()
          Method deleteSectionCount
 java.lang.String getAuthor()
          Returns the value of field 'author'.
 int getCatCount()
          Returns the value of field 'catCount'.
 Categories getCategories()
          Returns the value of field 'categories'.
 Created getCreated()
          Returns the value of field 'created'.
 java.lang.String getLogo()
          Returns the value of field 'logo'.
 int getSectionCount()
          Returns the value of field 'sectionCount'.
 ViewInfo getViewInfo()
          Returns the value of field 'viewInfo'.
 boolean hasCatCount()
          Method hasCatCount
 boolean hasSectionCount()
          Method hasSectionCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAuthor(java.lang.String author)
          Sets the value of field 'author'.
 void setCatCount(int catCount)
          Sets the value of field 'catCount'.
 void setCategories(Categories categories)
          Sets the value of field 'categories'.
 void setCreated(Created created)
          Sets the value of field 'created'.
 void setLogo(java.lang.String logo)
          Sets the value of field 'logo'.
 void setSectionCount(int sectionCount)
          Sets the value of field 'sectionCount'.
 void setViewInfo(ViewInfo viewInfo)
          Sets the value of field 'viewInfo'.
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

Report

public Report()
Method Detail

deleteCatCount

public void deleteCatCount()
Method deleteCatCount


deleteSectionCount

public void deleteSectionCount()
Method deleteSectionCount


getAuthor

public java.lang.String getAuthor()
Returns the value of field 'author'.

Returns:
String

getCatCount

public int getCatCount()
Returns the value of field 'catCount'.

Returns:
int

getCategories

public Categories getCategories()
Returns the value of field 'categories'.

Returns:
Categories

getCreated

public Created getCreated()
Returns the value of field 'created'.

Returns:
Created

getLogo

public java.lang.String getLogo()
Returns the value of field 'logo'.

Returns:
String

getSectionCount

public int getSectionCount()
Returns the value of field 'sectionCount'.

Returns:
int

getViewInfo

public ViewInfo getViewInfo()
Returns the value of field 'viewInfo'. The field 'viewInfo' has the following description: element name="viewInfo"

Returns:
ViewInfo

hasCatCount

public boolean hasCatCount()
Method hasCatCount

Returns:
boolean

hasSectionCount

public boolean hasSectionCount()
Method hasSectionCount

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

setAuthor

public void setAuthor(java.lang.String author)
Sets the value of field 'author'.

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

setCatCount

public void setCatCount(int catCount)
Sets the value of field 'catCount'.

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

setCategories

public void setCategories(Categories categories)
Sets the value of field 'categories'.

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

setCreated

public void setCreated(Created created)
Sets the value of field 'created'.

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

setLogo

public void setLogo(java.lang.String logo)
Sets the value of field 'logo'.

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

setSectionCount

public void setSectionCount(int sectionCount)
Sets the value of field 'sectionCount'.

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

setViewInfo

public void setViewInfo(ViewInfo viewInfo)
Sets the value of field 'viewInfo'. The field 'viewInfo' has the following description: element name="viewInfo"

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

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.