public class Image
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_description |
private int |
_height |
private java.lang.String |
_link |
private ObjectBean |
_objBean |
private java.lang.String |
_title |
private java.lang.String |
_url |
private int |
_width |
Constructor and Description |
---|
Image()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object.
|
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.
|
int |
getHeight()
Returns the image height.
|
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 |
getWidth()
Returns the image width.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setDescription(java.lang.String description)
Sets the image description.
|
void |
setHeight(int height)
Sets the image height.
|
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.
|
void |
setWidth(int width)
Sets the image width.
|
java.lang.String |
toString()
Returns the String representation for the object.
|
private ObjectBean _objBean
private java.lang.String _title
private java.lang.String _url
private java.lang.String _link
private int _width
private int _height
private java.lang.String _description
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- 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.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the image title to set, null if none.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the image URL to set, null if none.public java.lang.String getLink()
public void setLink(java.lang.String link)
link
- the image link to set, null if none.public int getWidth()
public void setWidth(int width)
width
- the image width to set, null if none.public int getHeight()
public void setHeight(int height)
height
- the image height to set, null if none.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the image description to set, null if none.Copyright © Sun Microsystems. All Rights Reserved.