public class Image
extends java.lang.Object
Images associated with rich text elements
RichTextElement| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
Description of the image
|
java.lang.String |
getImageId()
ID of the image
|
java.lang.String |
getUrl()
Absolute URL for the image
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Description of the image
|
void |
setImageId(java.lang.String imageId)
ID of the image
|
void |
setUrl(java.lang.String url)
Absolute URL for the image
|
java.lang.String |
toString() |
public java.lang.String getImageId()
public java.lang.String getDescription()
Used for the alt attribute of an <img> tag.
public java.lang.String getUrl()
public void setImageId(java.lang.String imageId)
imageId - Sets the imageId of thispublic void setDescription(java.lang.String description)
Used for the alt attribute of an <img> tag.
description - Sets the description of thispublic void setUrl(java.lang.String url)
url - Sets the url of thispublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object