|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gcapmedia.dab.epg.Programme
public class Programme
| Constructor Summary | |
|---|---|
Programme(ShortCrid id)
Create a new programme |
|
| Method Summary | |
|---|---|
void |
addEvent(ProgrammeEvent event)
Adds a programme event to the programme |
void |
addGenre(Genre genre)
Adds a genre to the programme |
void |
addLink(Link link)
Add a link from this programme to additional information or content |
void |
addLocation(Location location)
Add a location to this programme |
void |
addMembership(Membership membership)
Add a membership to this programme |
void |
clearGenres()
Clears all genre from the programme |
void |
clearLinks()
Clear all links from this programme |
void |
clearLocations()
Clear all locations from this programme |
void |
clearMemberships()
Clears all memberships from this programme |
boolean |
equals(java.lang.Object obj)
|
int |
getBitrate()
|
BroadcastFlag |
getBroadcastFlag()
|
CAType |
getCA()
|
java.util.Collection<ProgrammeEvent> |
getEvents()
|
java.util.List<Genre> |
getGenres()
|
Crid |
getId()
|
Keywords |
getKeywords()
|
java.lang.String |
getLanguage()
|
java.util.Collection<Link> |
getLinks()
|
java.util.Collection<Location> |
getLocations()
|
MediaGroup |
getMedia()
|
java.util.Collection<Membership> |
getMemberships()
|
NameGroup |
getNames()
|
Recommendation |
getRecommendation()
|
ShortCrid |
getShortId()
|
int |
getVersion()
|
void |
removeGenre(Genre genre)
Removes a genre from the programme |
void |
removeLink(Link link)
Remove a link from this programme |
void |
removeLocation(Location location)
Remove a location from this programme |
void |
removeMembership(Membership membership)
Removes a membership from this programme |
void |
setBitrate(int bitrate)
Sets the programme bitrate. |
BroadcastFlag |
setBroadcastFlag(BroadcastFlag flag)
Sets the broadcast flag. |
void |
setCA(CAType ca)
Sets the Conditional Access (CA) type |
void |
setId(Crid id)
Sets the programme Content Reference ID (CRID) |
void |
setKeywords(Keywords keywords)
Set the keywords associated with this programme |
void |
setLocale(java.util.Locale locale)
Sets the locale associated with this programme |
void |
setRecommendation(Recommendation recommendation)
Sets the recommendation flag on this programme |
void |
setShortId(ShortCrid shortId)
Sets the programme Short ID |
void |
setVersion(int version)
Set the programme version |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Programme(ShortCrid id)
| Method Detail |
|---|
public void setBitrate(int bitrate)
bitrate - The programme bitrate in Kbps.public int getBitrate()
public BroadcastFlag setBroadcastFlag(BroadcastFlag flag)
By - default, this flag is on-air and should not be set. Can be
set to off-air to generate dummy programmes for when a service is not
being broadcast.public BroadcastFlag getBroadcastFlag()
public void setCA(CAType ca)
ca - CA type to setpublic CAType getCA()
public void addGenre(Genre genre)
genre - Genre to addpublic void clearGenres()
public void removeGenre(Genre genre)
genre - Genre to removepublic java.util.List<Genre> getGenres()
public void setId(Crid id)
id - CRID to setpublic Crid getId()
public void setKeywords(Keywords keywords)
keywords - Keywords to usepublic Keywords getKeywords()
public void setLocale(java.util.Locale locale)
locale - Locale associated with this programmepublic java.lang.String getLanguage()
public java.util.Collection<Link> getLinks()
public void addLink(Link link)
link - Link to addpublic void removeLink(Link link)
link - Link to removepublic void clearLinks()
public java.util.Collection<Location> getLocations()
public void addLocation(Location location)
location - Location to addpublic void removeLocation(Location location)
location - Location to removepublic void clearLocations()
public MediaGroup getMedia()
public java.util.Collection<Membership> getMemberships()
public void addMembership(Membership membership)
membership - Membership to addpublic void removeMembership(Membership membership)
membership - Membership to removepublic void clearMemberships()
public NameGroup getNames()
public void setRecommendation(Recommendation recommendation)
recommendation - Recommendation flag to setpublic Recommendation getRecommendation()
public void setShortId(ShortCrid shortId)
shortId - Programme Short IDpublic ShortCrid getShortId()
public void addEvent(ProgrammeEvent event)
event - Programme event to addpublic java.util.Collection<ProgrammeEvent> getEvents()
public void setVersion(int version)
version - Programme versionpublic int getVersion()
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||