Package com.rometools.rome.feed.rss
Class Guid
- java.lang.Object
-
- com.rometools.rome.feed.rss.Guid
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Guid extends Object implements Cloneable, Serializable
Bean for item GUIDs of RSS feeds.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Guid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.- Overrides:
clonein classObject- 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.
-
hashCode
public int hashCode()
Returns a hashcode value for the object.It follows the contract defined by the Object hashCode() method.
-
toString
public String toString()
Returns the String representation for the 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.
-
getValue
public String getValue()
Returns the guid value.- Returns:
- the guid value, null if none.
-
setValue
public void setValue(String value)
Sets the guid value.- Parameters:
value- the guid value to set, null if none.
-
-