bbc.rd.tvanytime.creditsInformation
Class Name

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

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

Represents a TV-Anytime Name object. UNFINISHED: Doesn't support "initial" and "abbrev" attributes.

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

Constructor Summary
Name()
          Constructor.
Name(java.lang.String name)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 java.lang.String getName()
          Get name.
 void setName(java.lang.String name)
          Set name.
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Name

public Name()
Constructor.


Name

public Name(java.lang.String name)
Constructor.

Parameters:
name - Name.
Method Detail

setName

public void setName(java.lang.String name)
Set name.

Parameters:
name - Name.

getName

public java.lang.String getName()
Get name.

Returns:
Name.

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.