bbc.rd.tvanytime.segmentInformation
Class SegmentGroupList

java.lang.Object
  extended by bbc.rd.tvanytime.segmentInformation.SegmentGroupList
All Implemented Interfaces:
java.lang.Cloneable

public class SegmentGroupList
extends java.lang.Object
implements java.lang.Cloneable

SegmentGroupList: Represents a SegmentGroupList object

Version:
1.0
Author:
Tim Sargeant, BBC Research & Development, April 2002

Constructor Summary
SegmentGroupList()
          Constructor for objects of class SegmentGroupList
 
Method Summary
 void addSegmentGroupInformation(SegmentGroupInformation segGroupInfo)
          addSegmentGroupInformation - adds a SegmentGroupInformation object
 java.lang.Object clone()
          Clones itself.
 int getNumSegmentGroupInformations()
          getNumSegmentGroupInformations - gets the number of SegmentGroupInformation objects belonging to this SegmentGroupList
 SegmentGroupInformation getSegmentGroupInformation(int index)
          getSegmentGroupInformations - gets the SegmentGroupInformation objects specified by index
 void removeAll()
          removeAll - removes all SegmentGroupInformation objects
 java.lang.String toString()
          Returns string representation of this object.
 java.lang.String toString(int indent)
          Returns string representation of this object.
 java.lang.String toXML()
          Returns XML representation of this table.
 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

SegmentGroupList

public SegmentGroupList()
Constructor for objects of class SegmentGroupList

Method Detail

getNumSegmentGroupInformations

public int getNumSegmentGroupInformations()
getNumSegmentGroupInformations - gets the number of SegmentGroupInformation objects belonging to this SegmentGroupList

Returns:
the number of SegmentGroupInformation objects in this SegmentGroupList

getSegmentGroupInformation

public SegmentGroupInformation getSegmentGroupInformation(int index)
getSegmentGroupInformations - gets the SegmentGroupInformation objects specified by index

Parameters:
index - the index to the SegmentGroupInformation object
Returns:
the SegmentGroupInformation object

addSegmentGroupInformation

public void addSegmentGroupInformation(SegmentGroupInformation segGroupInfo)
addSegmentGroupInformation - adds a SegmentGroupInformation object

Parameters:
segGroupInfo - the SegmentGroupInformation object

removeAll

public void removeAll()
removeAll - removes all SegmentGroupInformation objects


toXML

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

Returns:
XML representation of this table.

toXML

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

Parameters:
indent - Number of tabs with which to indent the string.
Returns:
XML representation of the 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 object.

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

clone

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

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