|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbbc.rd.tvanytime.creditsInformation.CreditsItem
public class CreditsItem
Represents a TV-Anytime CreditsItem object.
Field Summary | |
---|---|
static java.lang.String[] |
roles
|
static java.lang.String[] |
roleStrings
Some useful values for role. |
Constructor Summary | |
---|---|
CreditsItem()
Constructor. |
Method Summary | |
---|---|
void |
addCharacter(Character character)
Adds a character object to add to the listt |
void |
addOrganizationName(OrganizationName organizationName)
Adds a OrganizationName object to add to the listt |
void |
addPersonName(PersonName personName)
Adds a PersonName object to add to the listt |
java.lang.Object |
clone()
Clones itself. |
boolean |
equals(CreditsItem creditsItem)
Tests for equality between CreditsItems. |
Character |
getCharacter(int index)
Gets the character at the specified index |
int |
getNumCharacters()
Return number of characters in list. |
int |
getNumOrganizationNames()
Return number of OrganizationNames in list. |
int |
getNumPersonNames()
Return number of PersonNames in list. |
OrganizationName |
getOrganizationName(int index)
Gets the OrganizationName at the specified index |
PersonName |
getPersonName(int index)
Gets the PersonName object at the specified index |
java.lang.String |
getRole()
Get role for this CreditsItem. |
void |
removeAll()
removeAll - removes all CreditsItems. |
void |
removeCharacter(int index)
Removes a character from the list |
void |
removeOrganizationName(int index)
Removes an OrganizationName from the list |
void |
removePersonName(int index)
Removes a PersonName object from the list |
void |
setRole(java.lang.String role)
Sets the role for this CreditsItem. |
java.lang.String |
toString()
toString - returns a String representation of this object with the specified number of tab indentations |
java.lang.String |
toString(int indent)
toString - returns a String representation of this object with the specified number of tab indentations |
java.lang.String |
toXML()
Returns a XML representation of this object with the specified number of tab indentations |
java.lang.String |
toXML(int indent)
Returns a XML representation of this object with the specified number of tab indentations |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String[] roleStrings
public static java.lang.String[] roles
Constructor Detail |
---|
public CreditsItem()
Method Detail |
---|
public void setRole(java.lang.String role) throws TVAnytimeException
role
- the role required for this CreditsItem
TVAnytimeException
- if the role string has the wrong formatpublic java.lang.String getRole()
public int getNumPersonNames()
public PersonName getPersonName(int index)
index
- the index of the required PersonName object
public void addPersonName(PersonName personName)
personName
- the PersonName objectpublic void removePersonName(int index)
index
- The index of the object to remove.public int getNumCharacters()
public Character getCharacter(int index)
index
- the index of the required characters
public void addCharacter(Character character)
character
- the characterpublic void removeCharacter(int index)
index
- The index of the object to remove.public int getNumOrganizationNames()
public OrganizationName getOrganizationName(int index)
index
- the index of the required OrganizationName
public void addOrganizationName(OrganizationName organizationName)
organizationName
- the OrganizationNamepublic void removeOrganizationName(int index)
index
- The index of the object to remove.public void removeAll()
public java.lang.String toXML(int indent)
public java.lang.String toXML()
public java.lang.String toString(int indent)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(CreditsItem creditsItem)
creditsItem
- Item to test.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |