org.opennms.report.availability
Class Section

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

public class Section
extends Object
implements Serializable

Class Section.

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

Constructor Summary
Section()
           
 
Method Summary
 void deleteSectionIndex()
           
 CalendarTable getCalendarTable()
          Returns the value of field 'calendarTable'.
 ClassicTable getClassicTable()
          Returns the value of field 'classicTable'.
 String getPeriod()
          Returns the value of field 'period'.
 String getSectionDescr()
          Returns the value of field 'sectionDescr'.
 int getSectionIndex()
          Returns the value of field 'sectionIndex'.
 String getSectionName()
          Returns the value of field 'sectionName'.
 String getSectionTitle()
          Returns the value of field 'sectionTitle'.
 boolean hasSectionIndex()
          Method hasSectionIndex.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setCalendarTable(CalendarTable calendarTable)
          Sets the value of field 'calendarTable'.
 void setClassicTable(ClassicTable classicTable)
          Sets the value of field 'classicTable'.
 void setPeriod(String period)
          Sets the value of field 'period'.
 void setSectionDescr(String sectionDescr)
          Sets the value of field 'sectionDescr'.
 void setSectionIndex(int sectionIndex)
          Sets the value of field 'sectionIndex'.
 void setSectionName(String sectionName)
          Sets the value of field 'sectionName'.
 void setSectionTitle(String sectionTitle)
          Sets the value of field 'sectionTitle'.
static Section 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

Section

public Section()
Method Detail

deleteSectionIndex

public void deleteSectionIndex()

getCalendarTable

public CalendarTable getCalendarTable()
Returns the value of field 'calendarTable'.

Returns:
the value of field 'CalendarTable'.

getClassicTable

public ClassicTable getClassicTable()
Returns the value of field 'classicTable'.

Returns:
the value of field 'ClassicTable'.

getPeriod

public String getPeriod()
Returns the value of field 'period'.

Returns:
the value of field 'Period'.

getSectionDescr

public String getSectionDescr()
Returns the value of field 'sectionDescr'.

Returns:
the value of field 'SectionDescr'.

getSectionIndex

public int getSectionIndex()
Returns the value of field 'sectionIndex'.

Returns:
the value of field 'SectionIndex'.

getSectionName

public String getSectionName()
Returns the value of field 'sectionName'.

Returns:
the value of field 'SectionName'.

getSectionTitle

public String getSectionTitle()
Returns the value of field 'sectionTitle'.

Returns:
the value of field 'SectionTitle'.

hasSectionIndex

public boolean hasSectionIndex()
Method hasSectionIndex.

Returns:
true if at least one SectionIndex has been added

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

setCalendarTable

public void setCalendarTable(CalendarTable calendarTable)
Sets the value of field 'calendarTable'.

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

setClassicTable

public void setClassicTable(ClassicTable classicTable)
Sets the value of field 'classicTable'.

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

setPeriod

public void setPeriod(String period)
Sets the value of field 'period'.

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

setSectionDescr

public void setSectionDescr(String sectionDescr)
Sets the value of field 'sectionDescr'.

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

setSectionIndex

public void setSectionIndex(int sectionIndex)
Sets the value of field 'sectionIndex'.

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

setSectionName

public void setSectionName(String sectionName)
Sets the value of field 'sectionName'.

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

setSectionTitle

public void setSectionTitle(String sectionTitle)
Sets the value of field 'sectionTitle'.

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

unmarshal

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

Parameters:
reader -
Returns:
the unmarshaled org.opennms.report.availability.Section
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 ? 2007. All Rights Reserved.