@Generated(value="")
public class AssetType
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
required |
protected java.lang.String |
subtype |
protected java.lang.String |
type |
java.lang.String |
xClassName |
| Constructor and Description |
|---|
AssetType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.Boolean |
getRequired() |
java.lang.String |
getSubtype() |
java.lang.String |
getType() |
int |
hashCode() |
void |
setRequired(java.lang.Boolean required) |
void |
setRequired(com.liferay.petra.function.UnsafeSupplier<java.lang.Boolean,java.lang.Exception> requiredUnsafeSupplier) |
void |
setSubtype(java.lang.String subtype) |
void |
setSubtype(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> subtypeUnsafeSupplier) |
void |
setType(java.lang.String type) |
void |
setType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> typeUnsafeSupplier) |
static AssetType |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static AssetType |
unsafeToDTO(java.lang.String json) |
protected java.lang.Boolean required
protected java.lang.String subtype
protected java.lang.String type
public java.lang.String xClassName
public static AssetType toDTO(java.lang.String json)
public static AssetType unsafeToDTO(java.lang.String json)
public java.lang.Boolean getRequired()
public void setRequired(java.lang.Boolean required)
public void setRequired(com.liferay.petra.function.UnsafeSupplier<java.lang.Boolean,java.lang.Exception> requiredUnsafeSupplier)
public java.lang.String getSubtype()
public void setSubtype(java.lang.String subtype)
public void setSubtype(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> subtypeUnsafeSupplier)
public java.lang.String getType()
public void setType(java.lang.String type)
public void setType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> typeUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object