@Generated(value="")
public class StructuredContentLink
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
contentType |
protected StructuredContent |
embeddedStructuredContent |
protected java.lang.Long |
id |
protected java.lang.String |
title |
java.lang.String |
xClassName |
Constructor and Description |
---|
StructuredContentLink() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getContentType() |
@Valid StructuredContent |
getEmbeddedStructuredContent() |
java.lang.Long |
getId() |
java.lang.String |
getTitle() |
int |
hashCode() |
void |
setContentType(java.lang.String contentType) |
void |
setContentType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentTypeUnsafeSupplier) |
void |
setEmbeddedStructuredContent(StructuredContent embeddedStructuredContent) |
void |
setEmbeddedStructuredContent(com.liferay.petra.function.UnsafeSupplier<StructuredContent,java.lang.Exception> embeddedStructuredContentUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setTitle(java.lang.String title) |
void |
setTitle(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> titleUnsafeSupplier) |
static StructuredContentLink |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
protected java.lang.String contentType
protected StructuredContent embeddedStructuredContent
protected java.lang.Long id
protected java.lang.String title
public java.lang.String xClassName
public static StructuredContentLink toDTO(java.lang.String json)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public void setContentType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentTypeUnsafeSupplier)
@Valid public @Valid StructuredContent getEmbeddedStructuredContent()
public void setEmbeddedStructuredContent(StructuredContent embeddedStructuredContent)
public void setEmbeddedStructuredContent(com.liferay.petra.function.UnsafeSupplier<StructuredContent,java.lang.Exception> embeddedStructuredContentUnsafeSupplier)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void setTitle(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> titleUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object