|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.WeeklySchedule
public class WeeklySchedule
A weekly runtime schedule for the service.
Field Summary | |
---|---|
private WeekdaySchedule[] |
schedule
The schedule. |
Constructor Summary | |
---|---|
WeeklySchedule()
Constructor |
|
WeeklySchedule(WeekdaySchedule[] schedule)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
WeekdaySchedule[] |
getSchedule()
Getter for the schedule. |
WeekdaySchedule |
getScheduleForWeekday(Weekday day)
Getter for the schedule. |
boolean |
isValid()
Test method for a valid schedule. |
int |
size()
Does return the size of the schedule as total count of schedule entries. |
String |
toString()
|
String |
toXML()
Serialization from the type to it's XML representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final WeekdaySchedule[] schedule
Constructor Detail |
---|
public WeeklySchedule()
public WeeklySchedule(WeekdaySchedule[] schedule)
schedule
- Method Detail |
---|
public WeekdaySchedule[] getSchedule()
public WeekdaySchedule getScheduleForWeekday(Weekday day)
day
- the weekday
public String toXML() throws Exception
SerializableData
toXML
in interface SerializableData
Exception
- if the schema for the object is not validpublic final String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int size()
public boolean isValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |