com.gcapmedia.dab.epg
Class Scope
java.lang.Object
com.gcapmedia.dab.epg.Scope
public class Scope
- extends java.lang.Object
Indicates the time period covered by a schedule, from the billed start time of the first
programme to the billed end time of the last programme. It can also denote the services
covered.
Constructor Summary |
Scope(org.joda.time.ReadableInstant startTime,
org.joda.time.ReadableInstant stopTime)
Create a new scope |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Scope
public Scope(org.joda.time.ReadableInstant startTime,
org.joda.time.ReadableInstant stopTime)
- Create a new scope
getServices
public java.util.List<ContentId> getServices()
- Returns:
- Returns the list of services covered in this scope
getStartTime
public org.joda.time.ReadableInstant getStartTime()
- Returns:
- Returns the billed start time of the first programme
in the scope
getStopTime
public org.joda.time.ReadableInstant getStopTime()
- Returns:
- Returns the billed end time of the last programme in
the scope
addService
public void addService(ContentId bearer)
- Adds a service to this scope
- Parameters:
bearer
- Service bearer ID to add
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2007. All Rights Reserved.