|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.Schedule
public class Schedule
Constructor Summary | |
---|---|
Schedule()
Create a new schedule |
Method Summary | |
---|---|
void |
addProgramme(Programme programme)
Add a programme to the schedule |
void |
clearProgrammes()
Clears all programmes from the schedule |
boolean |
equals(java.lang.Object obj)
|
org.joda.time.ReadableInstant |
getCreated()
|
java.lang.String |
getOriginator()
|
java.util.Collection<Programme> |
getProgrammes()
|
Scope |
getScope()
|
int |
getVersion()
|
void |
removeProgramme(Programme programme)
Remove a programme from the schedule |
void |
setCreated(org.joda.time.ReadableInstant created)
Sets the time the schedule was created |
void |
setOriginator(java.lang.String originator)
Sets the originator for this schedule |
void |
setScope(Scope scope)
Sets the schedule scope |
void |
setVersion(int version)
Sets the version number of this schedule |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Schedule()
Method Detail |
---|
public void setCreated(org.joda.time.ReadableInstant created)
created
- Time the schedule was createdpublic org.joda.time.ReadableInstant getCreated()
public void setVersion(int version)
version
- Schedule version numberpublic int getVersion()
public void setOriginator(java.lang.String originator)
originator
- Schedule originatorpublic java.lang.String getOriginator()
public void setScope(Scope scope)
scope
- Schedule scopepublic Scope getScope()
public void addProgramme(Programme programme)
programme
- Programme to addpublic java.util.Collection<Programme> getProgrammes()
public void removeProgramme(Programme programme)
programme
- Programme to removepublic void clearProgrammes()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |