com.sun.syndication.feed.rss

Class TextInput

public class TextInput extends Object implements Cloneable, Serializable

Bean for text input of RSS feeds.

Author: Alejandro Abdelnur

Field Summary
String_description
String_link
String_name
ObjectBean_objBean
String_title
Constructor Summary
TextInput()
Default constructor.
Method Summary
Objectclone()
Creates a deep 'bean' clone of the object.
booleanequals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
StringgetDescription()
Returns the text input description.
StringgetLink()
Returns the text input link.
StringgetName()
Returns the text input name.
StringgetTitle()
Returns the text input title.
inthashCode()
Returns a hashcode value for the object.
voidsetDescription(String description)
Sets the text input description.
voidsetLink(String link)
Sets the text input link.
voidsetName(String name)
Sets the text input name.
voidsetTitle(String title)
Sets the text input title.
StringtoString()
Returns the String representation for the object.

Field Detail

_description

private String _description

_link

private String _link

_name

private String _name

_objBean

private ObjectBean _objBean

_title

private String _title

Constructor Detail

TextInput

public TextInput()
Default constructor. All properties are set to null.

Method Detail

clone

public Object clone()
Creates a deep 'bean' clone of the object.

Returns: a clone of the object.

Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.

equals

public boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

Parameters: other he reference object with which to compare.

Returns: true if 'this' object is equal to the 'other' object.

getDescription

public String getDescription()
Returns the text input description.

Returns: the text input description, null if none.

getLink

public String getLink()
Returns the text input link.

Returns: the text input link, null if none.

getName

public String getName()
Returns the text input name.

Returns: the text input name, null if none.

getTitle

public String getTitle()
Returns the text input title.

Returns: the text input title, null if none.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

Returns: the hashcode of the bean object.

setDescription

public void setDescription(String description)
Sets the text input description.

Parameters: description the text input description to set, null if none.

setLink

public void setLink(String link)
Sets the text input link.

Parameters: link the text input link to set, null if none.

setName

public void setName(String name)
Sets the text input name.

Parameters: name the text input name to set, null if none.

setTitle

public void setTitle(String title)
Sets the text input title.

Parameters: title the text input title to set, null if none.

toString

public String toString()
Returns the String representation for the object.

Returns: String representation for the object.

Copyright © Sun Microsystems. All Rights Reserved.