com.sun.syndication.feed.rss

Class Guid

public class Guid extends Object implements Cloneable, Serializable

Bean for item GUIDs of RSS feeds.

Author: Alejandro Abdelnur

Field Summary
ObjectBean_objBean
boolean_permaLink
String_value
Constructor Summary
Guid()
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.
StringgetValue()
Returns the guid value.
inthashCode()
Returns a hashcode value for the object.
booleanisPermaLink()
Returns the guid perma link.
voidsetPermaLink(boolean permaLink)
Sets the guid perma link.
voidsetValue(String value)
Sets the guid value.
StringtoString()
Returns the String representation for the object.

Field Detail

_objBean

private ObjectBean _objBean

_permaLink

private boolean _permaLink

_value

private String _value

Constructor Detail

Guid

public Guid()
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.

getValue

public String getValue()
Returns the guid value.

Returns: the guid value, 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.

isPermaLink

public boolean isPermaLink()
Returns the guid perma link.

Returns: the guid perma link, null if none.

setPermaLink

public void setPermaLink(boolean permaLink)
Sets the guid perma link.

Parameters: permaLink the guid perma link to set, null if none.

setValue

public void setValue(String value)
Sets the guid value.

Parameters: value the guid value 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.