|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.report.availability.CalendarTable
public class CalendarTable
Class CalendarTable.
| Constructor Summary | |
|---|---|
CalendarTable()
|
|
| Method Summary | |
|---|---|
void |
addWeek(int index,
Week vWeek)
Method addWeek |
void |
addWeek(Week vWeek)
Method addWeek |
void |
clearWeek()
Method clearWeek |
java.util.Enumeration |
enumerateWeek()
Method enumerateWeek |
DaysOfWeek |
getDaysOfWeek()
Returns the value of field 'daysOfWeek'. |
java.lang.String |
getMonth()
Returns the value of field 'month'. |
Week[] |
getWeek()
Method getWeek |
Week |
getWeek(int index)
Method getWeek |
java.util.ArrayList |
getWeekCollection()
Method getWeekCollection Returns a reference to 'week'. |
int |
getWeekCount()
Method getWeekCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeWeek(Week vWeek)
Method removeWeek |
void |
setDaysOfWeek(DaysOfWeek daysOfWeek)
Sets the value of field 'daysOfWeek'. |
void |
setMonth(java.lang.String month)
Sets the value of field 'month'. |
void |
setWeek(java.util.ArrayList weekCollection)
Method setWeek Sets the value of 'week' by copying the given ArrayList. |
void |
setWeek(int index,
Week vWeek)
Method setWeek |
void |
setWeek(Week[] weekArray)
Method setWeek |
void |
setWeekCollection(java.util.ArrayList weekCollection)
Method setWeekCollection Sets the value of 'week' by setting it to the given ArrayList. |
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 |
|---|
public CalendarTable()
| Method Detail |
|---|
public void addWeek(Week vWeek)
throws java.lang.IndexOutOfBoundsException
vWeek -
java.lang.IndexOutOfBoundsException
public void addWeek(int index,
Week vWeek)
throws java.lang.IndexOutOfBoundsException
index - vWeek -
java.lang.IndexOutOfBoundsExceptionpublic void clearWeek()
public java.util.Enumeration enumerateWeek()
public DaysOfWeek getDaysOfWeek()
public java.lang.String getMonth()
public Week getWeek(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Week[] getWeek()
public java.util.ArrayList getWeekCollection()
public int getWeekCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeWeek(Week vWeek)
vWeek -
public void setDaysOfWeek(DaysOfWeek daysOfWeek)
daysOfWeek - the value of field 'daysOfWeek'.public void setMonth(java.lang.String month)
month - the value of field 'month'.
public void setWeek(int index,
Week vWeek)
throws java.lang.IndexOutOfBoundsException
index - vWeek -
java.lang.IndexOutOfBoundsExceptionpublic void setWeek(Week[] weekArray)
weekArray - public void setWeek(java.util.ArrayList weekCollection)
weekCollection - the Vector to copy.public void setWeekCollection(java.util.ArrayList weekCollection)
weekCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||