bbc.rd.tvanytime.creditsInformation
Class OrganizationName

java.lang.Object
  extended by bbc.rd.tvanytime.creditsInformation.OrganizationName
All Implemented Interfaces:
java.lang.Cloneable

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

Represents a TV-Anytime Character object. Extends PersonName by changing XML and string representation.

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

Constructor Summary
OrganizationName()
          Constructor.
OrganizationName(java.lang.String organizationName)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 java.lang.String getOrganizationName()
          Get name of organization.
 void setOrganizationName(java.lang.String organizationName)
          Set name of organization.
 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
 

Constructor Detail

OrganizationName

public OrganizationName()
Constructor.


OrganizationName

public OrganizationName(java.lang.String organizationName)
Constructor.

Parameters:
organizationName - Given name of person.
Method Detail

setOrganizationName

public void setOrganizationName(java.lang.String organizationName)
Set name of organization.

Parameters:
organizationName - Name of organization.

getOrganizationName

public java.lang.String getOrganizationName()
Get name of organization.

Returns:
Name of organization.

toXML

public java.lang.String toXML(int indent)
Returns a XML representation of this object with the specified number of tab indentations

Returns:
the XML representation of the object

toXML

public java.lang.String toXML()
Returns a XML representation of this object with the specified number of tab indentations

Returns:
the XML representation of the object

toString

public java.lang.String toString(int indent)
toString - returns a String representation of this object with the specified number of tab indentations

Returns:
the String representation of the object

toString

public java.lang.String toString()
toString - returns a String representation of this object with the specified number of tab indentations

Overrides:
toString in class java.lang.Object
Returns:
the 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.