public class Link
extends java.lang.Object
Links associated with rich text elements
RichTextElement| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCodename()
Display name of the element
|
java.lang.String |
getType()
Content type of the content item
|
java.lang.String |
getUrlSlug()
URL slug of the content item
|
int |
hashCode() |
void |
setCodename(java.lang.String codename)
Display name of the element
|
void |
setType(java.lang.String type)
Content type of the content item
|
void |
setUrlSlug(java.lang.String urlSlug)
URL slug of the content item
|
java.lang.String |
toString() |
public java.lang.String getType()
public java.lang.String getCodename()
public java.lang.String getUrlSlug()
Empty string if the content item's type does not use a URL slug element
public void setType(java.lang.String type)
type - Sets the type of this.public void setCodename(java.lang.String codename)
codename - Sets the codename of this.public void setUrlSlug(java.lang.String urlSlug)
Empty string if the content item's type does not use a URL slug element
urlSlug - Sets the urlSlug of this.public 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