@Generated(value="")
public class AssetMetric
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
assetId |
protected java.lang.String |
assetTitle |
protected java.lang.String |
assetType |
protected java.lang.String |
dataSourceId |
protected Metric |
defaultMetric |
protected Metric[] |
selectedMetrics |
java.lang.String |
xClassName |
| Constructor and Description |
|---|
AssetMetric() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getAssetId() |
java.lang.String |
getAssetTitle() |
java.lang.String |
getAssetType() |
java.lang.String |
getDataSourceId() |
@Valid Metric |
getDefaultMetric() |
@Valid Metric[] |
getSelectedMetrics() |
int |
hashCode() |
void |
setAssetId(java.lang.String assetId) |
void |
setAssetId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetIdUnsafeSupplier) |
void |
setAssetTitle(java.lang.String assetTitle) |
void |
setAssetTitle(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetTitleUnsafeSupplier) |
void |
setAssetType(java.lang.String assetType) |
void |
setAssetType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetTypeUnsafeSupplier) |
void |
setDataSourceId(java.lang.String dataSourceId) |
void |
setDataSourceId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> dataSourceIdUnsafeSupplier) |
void |
setDefaultMetric(Metric defaultMetric) |
void |
setDefaultMetric(com.liferay.petra.function.UnsafeSupplier<Metric,java.lang.Exception> defaultMetricUnsafeSupplier) |
void |
setSelectedMetrics(Metric[] selectedMetrics) |
void |
setSelectedMetrics(com.liferay.petra.function.UnsafeSupplier<Metric[],java.lang.Exception> selectedMetricsUnsafeSupplier) |
static AssetMetric |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static AssetMetric |
unsafeToDTO(java.lang.String json) |
protected java.lang.String assetId
protected java.lang.String assetTitle
protected java.lang.String assetType
protected java.lang.String dataSourceId
protected Metric defaultMetric
protected Metric[] selectedMetrics
public java.lang.String xClassName
public static AssetMetric toDTO(java.lang.String json)
public static AssetMetric unsafeToDTO(java.lang.String json)
public java.lang.String getAssetId()
public void setAssetId(java.lang.String assetId)
public void setAssetId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetIdUnsafeSupplier)
public java.lang.String getAssetTitle()
public void setAssetTitle(java.lang.String assetTitle)
public void setAssetTitle(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetTitleUnsafeSupplier)
public java.lang.String getAssetType()
public void setAssetType(java.lang.String assetType)
public void setAssetType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetTypeUnsafeSupplier)
public java.lang.String getDataSourceId()
public void setDataSourceId(java.lang.String dataSourceId)
public void setDataSourceId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> dataSourceIdUnsafeSupplier)
@Valid public @Valid Metric getDefaultMetric()
public void setDefaultMetric(Metric defaultMetric)
public void setDefaultMetric(com.liferay.petra.function.UnsafeSupplier<Metric,java.lang.Exception> defaultMetricUnsafeSupplier)
@Valid public @Valid Metric[] getSelectedMetrics()
public void setSelectedMetrics(Metric[] selectedMetrics)
public void setSelectedMetrics(com.liferay.petra.function.UnsafeSupplier<Metric[],java.lang.Exception> selectedMetricsUnsafeSupplier)
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