|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbbc.rd.tvanytime.programInformation.ProgramInformationTable
public class ProgramInformationTable
ProgramInformationTable: Represents a table that contains ProgramInformation objects. Notes: 1) This implementation uses a hashtable and will only store one object per CRID. Adding updated/new objects with the same CRID as a previously existing object will overwrite the previous objects. 2) Because the CRID is used as a key to the hashtable a ProgramInformation object must have a CRID before it can be added.
| Constructor Summary | |
|---|---|
ProgramInformationTable()
Constructor for objects of type ProgramInformationTable |
|
| Method Summary | |
|---|---|
void |
addProgramInformation(ProgramInformation programInformation)
Add a ProgramInformation object. |
java.lang.Object |
clone()
Clones itself. |
java.util.Vector |
getGroupInformation(ContentReference crid)
Unsupported method - always throws exception. |
int |
getNumProgramInformations()
Get the number of ProgramInformation objects. |
java.util.Vector |
getProgramInformation(ContentReference crid)
Get program information for the specified CRID. |
ProgramInformation |
getProgramInformation(int index)
Get a ProgramInformation object. |
java.util.Vector |
getProgramLocation(ContentReference crid)
Unsupported method - always throws exception. |
java.util.Vector |
getSegmentInformation(ContentReference crid)
Unsupported method - always throws exception. |
void |
removeAll()
Remove all ProgramInformation objects. |
void |
removeProgramInformation(ContentReference crid)
Removes a ProgramInformation object from this ProgramInformationTable |
void |
removeProgramInformation(ProgramInformation programInformation)
Removes a ProgramInformation object from this ProgramInformationTable |
java.lang.String |
toString()
Returns string representation of this table. |
java.lang.String |
toString(int indent)
Returns string representation of this table. |
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 |
|---|
public ProgramInformationTable()
| Method Detail |
|---|
public void removeAll()
public void removeProgramInformation(ProgramInformation programInformation)
programInformation - The ProgramInformation object to removepublic void removeProgramInformation(ContentReference crid)
crid - The ContentReference for this ProgramInformation.public void addProgramInformation(ProgramInformation programInformation)
The - ProgramInformation object to add to this table.public ProgramInformation getProgramInformation(int index)
index - The index of the ProgramInformation to access.
public java.util.Vector getProgramLocation(ContentReference crid)
throws SearchInterfaceNotSupportedException
getProgramLocation in interface MetadataSearchcrid - the CRID of the ProgramLocation object to be searched for.
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.
public java.util.Vector getProgramInformation(ContentReference crid)
throws SearchInterfaceNotSupportedException
getProgramInformation in interface MetadataSearchcrid - the CRID of the ProgramInformation object to be searched for.
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.
public java.util.Vector getSegmentInformation(ContentReference crid)
throws SearchInterfaceNotSupportedException
getSegmentInformation in interface MetadataSearchcrid - the CRID of the SegmentInformation object to be searched for.
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.
public java.util.Vector getGroupInformation(ContentReference crid)
throws SearchInterfaceNotSupportedException
getGroupInformation in interface MetadataSearchcrid - the CRID of the GroupInformation object to be searched for.
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.public int getNumProgramInformations()
public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent - Number of tabs with which to indent the string.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(int indent)
indent - Number of tabs with which to indent the string.
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||