|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.report.availability.Week
public class Week
Class Week.
| Constructor Summary | |
|---|---|
Week()
|
|
| Method Summary | |
|---|---|
void |
addDay(Day vDay)
Method addDay |
void |
addDay(int index,
Day vDay)
Method addDay |
void |
clearDay()
Method clearDay |
java.util.Enumeration |
enumerateDay()
Method enumerateDay |
Day[] |
getDay()
Method getDay |
Day |
getDay(int index)
Method getDay |
java.util.ArrayList |
getDayCollection()
Method getDayCollection Returns a reference to 'day'. |
int |
getDayCount()
Method getDayCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeDay(Day vDay)
Method removeDay |
void |
setDay(java.util.ArrayList dayCollection)
Method setDay Sets the value of 'day' by copying the given ArrayList. |
void |
setDay(Day[] dayArray)
Method setDay |
void |
setDay(int index,
Day vDay)
Method setDay |
void |
setDayCollection(java.util.ArrayList dayCollection)
Method setDayCollection Sets the value of 'day' 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 Week()
| Method Detail |
|---|
public void addDay(Day vDay)
throws java.lang.IndexOutOfBoundsException
vDay -
java.lang.IndexOutOfBoundsException
public void addDay(int index,
Day vDay)
throws java.lang.IndexOutOfBoundsException
index - vDay -
java.lang.IndexOutOfBoundsExceptionpublic void clearDay()
public java.util.Enumeration enumerateDay()
public Day getDay(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Day[] getDay()
public java.util.ArrayList getDayCollection()
public int getDayCount()
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 removeDay(Day vDay)
vDay -
public void setDay(int index,
Day vDay)
throws java.lang.IndexOutOfBoundsException
index - vDay -
java.lang.IndexOutOfBoundsExceptionpublic void setDay(Day[] dayArray)
dayArray - public void setDay(java.util.ArrayList dayCollection)
dayCollection - the Vector to copy.public void setDayCollection(java.util.ArrayList dayCollection)
dayCollection - 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 | ||||||||