bbc.rd.tvanytime.contentReferencing
Class CRIDResult

java.lang.Object
  extended by bbc.rd.tvanytime.contentReferencing.CRIDResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class CRIDResult
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

CRIDResult: A TVAnytime CRIDResult object.

Version:
1.0
Author:
Tim Sargeant, BBC Research & Development, February 2003
See Also:
Serialized Form

Constructor Summary
CRIDResult()
          Constructor for objects of type CRIDResult.
 
Method Summary
 void addCRID(ContentReference crid)
          Add a ContentReference object.
 java.lang.Object clone()
          Clones itself.
 ContentReference getCRID(int index)
          Get a ContentReference object.
 int getNumCRIDs()
          Get the number of ContentReference objects.
 boolean removeCRID(ContentReference crid)
          Remove a ContentReference object.
 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 object.
 java.lang.String toXML(int indent)
          Returns XML representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CRIDResult

public CRIDResult()
Constructor for objects of type CRIDResult.

Method Detail

addCRID

public void addCRID(ContentReference crid)
Add a ContentReference object.

Parameters:
The - ContentReference object to add to this table.

removeCRID

public boolean removeCRID(ContentReference crid)
Remove a ContentReference object.

Parameters:
The - ContentReference object to remove from this table.
Returns:
Whether the ContentReference object was present and was successfully removed.

getCRID

public ContentReference getCRID(int index)
Get a ContentReference object.

Parameters:
index - The index of the ContentReference object to access.
Returns:
Specified ContentReference object.

getNumCRIDs

public int getNumCRIDs()
Get the number of ContentReference objects.

Returns:
The number of ContentReference objects contained in this table.

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 object.

Parameters:
indent - Number of tabs with which to indent the string.
Returns:
XML representation of the object.

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

clone

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

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