com.gcapmedia.dab.epg
Class Location

java.lang.Object
  extended by com.gcapmedia.dab.epg.Location

public class Location
extends java.lang.Object

Describes the time information and the location in the DAB channel of a programme. There may be:

Multiple time properties and multiple bearers is ambiguous and must not be used. If the EPG data service is associated with an audio service (i.e. PAD within DAB) and the bearer element is not present then the programme information releates to that associated audio service.

The time property describes the time information for a programme. Either as absolute or relative. Relative time should only be used for nested programme events.


Constructor Summary
Location()
          Create a new location
 
Method Summary
 void addBearer(Bearer bearer)
          Adds a bearer to the location
 void addRelativeTime(RelativeTime relativeTime)
          Adds a relative time to the location
 void addTime(Time time)
          Adds a time to the location
 java.util.Collection<Bearer> getBearers()
           
 java.util.Collection<RelativeTime> getRelativeTimes()
           
 java.util.Collection<Time> getTimes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location()
Create a new location

Method Detail

getTimes

public java.util.Collection<Time> getTimes()
Returns:
Returns the timing information of this lcoation

addTime

public void addTime(Time time)
Adds a time to the location

Parameters:
time - Programme time to add

getRelativeTimes

public java.util.Collection<RelativeTime> getRelativeTimes()
Returns:
Returns the relative time information of this location

addRelativeTime

public void addRelativeTime(RelativeTime relativeTime)
Adds a relative time to the location

Parameters:
relativeTimes - Programme relative time to add

getBearers

public java.util.Collection<Bearer> getBearers()
Returns:
Returns the bearers set against this location

addBearer

public void addBearer(Bearer bearer)
Adds a bearer to the location

Parameters:
bearer - Bearer to add


Copyright © 2007. All Rights Reserved.