bbc.rd.tvanytime.serviceInformation
Class ServiceInformation

java.lang.Object
  extended by bbc.rd.tvanytime.serviceInformation.ServiceInformation

public class ServiceInformation
extends java.lang.Object

ServiceInformation: Represents a ServiceInformation object.

Version:
1.0
Author:
Tristan Ferne, BBC Research & Development, February 2003

Constructor Summary
ServiceInformation()
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 java.lang.String getName()
          Get name of service.
 java.lang.String getOwner()
          Get owner of service.
 java.lang.String getServiceID()
          Get Service ID of service.
 URI getServiceURL()
          Get DVB URL of service.
 void setName(java.lang.String name)
          Set name of service.
 void setOwner(java.lang.String owner)
          Set owner of service.
 void setServiceID(java.lang.String serviceID)
          Set Service ID of service.
 void setServiceURL(URI serviceURL)
          Set DVB URL of service.
 java.lang.String toString()
          Returns string representation of this object.
 java.lang.String toString(int indent)
          Returns string representation of this table.
 java.lang.String toXML()
          Returns XML representation of this object.
 java.lang.String toXML(int indent)
          Returns XML representation of this table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceInformation

public ServiceInformation()
Constructor.

Method Detail

setServiceID

public void setServiceID(java.lang.String serviceID)
Set Service ID of service.

Parameters:
serviceId - Service ID of this service.

getServiceID

public java.lang.String getServiceID()
Get Service ID of service.

Returns:
Service ID for this service.

setServiceURL

public void setServiceURL(URI serviceURL)
Set DVB URL of service.

Parameters:
serviceURL - DVB URL of this service.

getServiceURL

public URI getServiceURL()
Get DVB URL of service.

Returns:
DVB URL for this service.

setName

public void setName(java.lang.String name)
Set name of service.

Parameters:
name - Name of this service.

getName

public java.lang.String getName()
Get name of service.

Returns:
Name for this service.

setOwner

public void setOwner(java.lang.String owner)
Set owner of service.

Parameters:
owner - Owner of this service.

getOwner

public java.lang.String getOwner()
Get owner of service.

Returns:
Owner for this service.

toXML

public java.lang.String toXML()
Returns XML representation of this object.

Returns:
XML representation of this object.

toXML

public java.lang.String toXML(int indent)
Returns XML representation of this table.

Parameters:
indent - number of tabs to put before the string.
Returns:
XML representation of this table.

toString

public java.lang.String toString()
Returns string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
string representation of this object.

toString

public java.lang.String toString(int indent)
Returns string representation of this table.

Parameters:
indent - number of tabs to put before the string.
Returns:
string representation of this table.

clone

public java.lang.Object clone()
Clones itself.

Overrides:
clone in class java.lang.Object
Returns:
A copy of itself.