|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.report.availability.DaysOfWeek
public class DaysOfWeek
Class DaysOfWeek.
| Constructor Summary | |
|---|---|
DaysOfWeek()
|
|
| Method Summary | |
|---|---|
void |
addDayName(int index,
String vDayName)
|
void |
addDayName(String vDayName)
|
Enumeration<String> |
enumerateDayName()
Method enumerateDayName. |
String[] |
getDayName()
Method getDayName.Returns the contents of the collection in an Array. |
String |
getDayName(int index)
Method getDayName. |
List<String> |
getDayNameCollection()
Method getDayNameCollection.Returns a reference to '_dayNameList'. |
int |
getDayNameCount()
Method getDayNameCount. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateDayName()
Method iterateDayName. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllDayName()
|
boolean |
removeDayName(String vDayName)
Method removeDayName. |
String |
removeDayNameAt(int index)
Method removeDayNameAt. |
void |
setDayName(int index,
String vDayName)
|
void |
setDayName(List<String> vDayNameList)
Sets the value of '_dayNameList' by copying the given Vector. |
void |
setDayName(String[] vDayNameArray)
|
void |
setDayNameCollection(List<String> dayNameList)
Deprecated. |
static DaysOfWeek |
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 |
|---|
public DaysOfWeek()
| Method Detail |
|---|
public void addDayName(String vDayName)
throws IndexOutOfBoundsException
vDayName -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addDayName(int index,
String vDayName)
throws IndexOutOfBoundsException
index - vDayName -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateDayName()
public String getDayName(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getDayName()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getDayNameCollection()
public int getDayNameCount()
public boolean isValid()
public Iterator<String> iterateDayName()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
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
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
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 marshalingpublic void removeAllDayName()
public boolean removeDayName(String vDayName)
vDayName -
public String removeDayNameAt(int index)
index -
public void setDayName(int index,
String vDayName)
throws IndexOutOfBoundsException
index - vDayName -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setDayName(String[] vDayNameArray)
vDayNameArray - public void setDayName(List<String> vDayNameList)
vDayNameList - the Vector to copy.public void setDayNameCollection(List<String> dayNameList)
dayNameList - the Vector to set.
public static DaysOfWeek unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
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
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||