|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbbc.rd.tvanytime.programLocation.Schedule
public class Schedule
Schedule: Represents the a Schedule object
| Constructor Summary | |
|---|---|
Schedule()
Constructor for objects of type Schedule |
|
Schedule(java.lang.String serviceID)
Constructor for objects of type Schedule with required fields |
|
Schedule(java.lang.String serviceID,
java.util.Date startTime,
java.util.Date endTime)
Constructor for objects of type Schedule with required fields |
|
Schedule(java.lang.String serviceID,
ScheduleEvent scheduleEvent)
Constructor for objects of type Schedule with required fields |
|
| Method Summary | |
|---|---|
void |
addScheduleEvent(ScheduleEvent scheduleEvent)
Adds an ScheduleEvent object |
java.lang.Object |
clone()
Clones itself. |
java.util.Date |
getEnd()
Get end date for this schedule. |
int |
getNumScheduleEvents()
Get the number of events in this Schedule |
ScheduleEvent |
getScheduleEvent(int index)
Gets an Event object |
java.lang.String |
getServiceID()
Gets the service ID of this Schedule |
java.util.Date |
getStart()
Get start date for this schedule. |
void |
removeAll()
Removes all Event objects |
void |
removeScheduleEvent(ScheduleEvent scheduleEvent)
Removes a ScheduleEvent object |
void |
setEnd(java.util.Date endTime)
Set end date for this schedule. |
void |
setServiceID(java.lang.String serviceID)
Sets the ServiceID |
void |
setStart(java.util.Date startTime)
Set start date for this schedule. |
java.lang.String |
toString()
Returns string representation of this object. |
java.lang.String |
toString(int indent)
Returns string representation of this object. |
java.lang.String |
toXML()
Returns XML representation of this object. |
java.lang.String |
toXML(int indent)
Returns XML representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Schedule()
public Schedule(java.lang.String serviceID,
ScheduleEvent scheduleEvent)
serviceID - a tva:IDRefTypeevent - the Event objectpublic Schedule(java.lang.String serviceID)
serviceID - a tva:IDRefType
public Schedule(java.lang.String serviceID,
java.util.Date startTime,
java.util.Date endTime)
serviceID - a tva:IDRefType| Method Detail |
|---|
public java.lang.String getServiceID()
public java.util.Date getStart()
public java.util.Date getEnd()
public int getNumScheduleEvents()
public ScheduleEvent getScheduleEvent(int index)
index - the index to the ScheduleEvent object
public void addScheduleEvent(ScheduleEvent scheduleEvent)
event - the ScheduleEvent objectpublic void removeScheduleEvent(ScheduleEvent scheduleEvent)
scheduleEvent - The ScheduleEvent object to be removed.public void setServiceID(java.lang.String serviceID)
serviceID - the service ID of this Schedule objectpublic void setStart(java.util.Date startTime)
startTime - Start date.public void setEnd(java.util.Date endTime)
endTime - End date.public void removeAll()
public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent - number of tabs to put before the string.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(int indent)
indent - number of tabs to put before the string.
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||