public class SyndImageImpl extends java.lang.Object implements java.io.Serializable, SyndImage
| Constructor and Description |
|---|
SyndImageImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object.
|
void |
copyFrom(java.lang.Object syndImage)
Copies all the properties of the given bean into this one.
|
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
|
java.lang.String |
getDescription()
Returns the image description.
|
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on.
|
java.lang.String |
getLink()
Returns the image link.
|
java.lang.String |
getTitle()
Returns the image title.
|
java.lang.String |
getUrl()
Returns the image URL.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setDescription(java.lang.String description)
Sets the image description.
|
void |
setLink(java.lang.String link)
Sets the image link.
|
void |
setTitle(java.lang.String title)
Sets the image title.
|
void |
setUrl(java.lang.String url)
Sets the image URL.
|
java.lang.String |
toString()
Returns the String representation for the object.
|
public SyndImageImpl()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - he reference object with which to compare.public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getLink()
public void setLink(java.lang.String link)
public java.lang.String getDescription()
getDescription in interface SyndImagepublic void setDescription(java.lang.String description)
setDescription in interface SyndImagedescription - the image description to set, null if none.public java.lang.Class getInterface()
CopyFromThis is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic void copyFrom(java.lang.Object syndImage)
CopyFromAny existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.