@Generated(value="")
public class ContentAssociation
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
contentSubtype |
protected java.lang.String |
contentType |
java.lang.String |
xClassName |
Constructor and Description |
---|
ContentAssociation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getContentSubtype() |
java.lang.String |
getContentType() |
int |
hashCode() |
void |
setContentSubtype(java.lang.String contentSubtype) |
void |
setContentSubtype(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentSubtypeUnsafeSupplier) |
void |
setContentType(java.lang.String contentType) |
void |
setContentType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentTypeUnsafeSupplier) |
static ContentAssociation |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static ContentAssociation |
unsafeToDTO(java.lang.String json) |
protected java.lang.String contentSubtype
protected java.lang.String contentType
public java.lang.String xClassName
public static ContentAssociation toDTO(java.lang.String json)
public static ContentAssociation unsafeToDTO(java.lang.String json)
public java.lang.String getContentSubtype()
public void setContentSubtype(java.lang.String contentSubtype)
public void setContentSubtype(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentSubtypeUnsafeSupplier)
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)
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