|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.Epg
public class Epg
Container for all EPG information. It may contain schedule, programme or group information.:
Programme Groups are used as a container for group elements.
Schedules allow programmes to be identified within a given time period. Note that for contiguous schedules the stop time of a schedule should be equal to the start time of the next schedule
Alternate Sources are used to indicate whether this or related EPG data is available elsewhere.
Programme, Programme Event and Programme Groups all point 'upwards' to their parent group(s) using the memberOf link.
Constructor Summary | |
---|---|
Epg()
Create a new EPG container for DAB |
|
Epg(SystemType type)
Create a new EPG container |
Method Summary | |
---|---|
void |
addProgramme(Programme programme)
Add a programme |
void |
addProgrammeGroup(ProgrammeGroup group)
Add a programme group |
boolean |
equals(java.lang.Object obj)
|
java.util.List<ProgrammeGroup> |
getProgrammeGroups()
|
java.util.List<Programme> |
getProgrammes()
|
Schedule |
getSchedule()
|
SystemType |
getSystemType()
|
void |
setSchedule(Schedule schedule)
Set the schedule |
void |
setSystemType(SystemType type)
Set the EPG system type (DAB or DRM) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Epg()
public Epg(SystemType type)
type
- EPG System typeMethod Detail |
---|
public void setSystemType(SystemType type)
type
- public SystemType getSystemType()
public void addProgrammeGroup(ProgrammeGroup group)
group
- Programme group to addpublic java.util.List<ProgrammeGroup> getProgrammeGroups()
public void addProgramme(Programme programme)
programme
- Programme to addpublic java.util.List<Programme> getProgrammes()
public void setSchedule(Schedule schedule)
schedule
- Schedule to setpublic Schedule getSchedule()
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 |