@Generated(value="")
public class Metric
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
metricType |
protected java.lang.Double |
previousValue |
protected java.lang.String |
previousValueKey |
protected Trend |
trend |
protected java.lang.Double |
value |
protected java.lang.String |
valueKey |
| Constructor and Description |
|---|
Metric() |
| Modifier and Type | Method and Description |
|---|---|
Metric |
clone() |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getMetricType() |
java.lang.Double |
getPreviousValue() |
java.lang.String |
getPreviousValueKey() |
Trend |
getTrend() |
java.lang.Double |
getValue() |
java.lang.String |
getValueKey() |
int |
hashCode() |
void |
setMetricType(java.lang.String metricType) |
void |
setMetricType(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> metricTypeUnsafeSupplier) |
void |
setPreviousValue(java.lang.Double previousValue) |
void |
setPreviousValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> previousValueUnsafeSupplier) |
void |
setPreviousValueKey(java.lang.String previousValueKey) |
void |
setPreviousValueKey(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> previousValueKeyUnsafeSupplier) |
void |
setTrend(Trend trend) |
void |
setTrend(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Trend,java.lang.Exception> trendUnsafeSupplier) |
void |
setValue(java.lang.Double value) |
void |
setValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> valueUnsafeSupplier) |
void |
setValueKey(java.lang.String valueKey) |
void |
setValueKey(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> valueKeyUnsafeSupplier) |
static Metric |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
protected java.lang.String metricType
protected java.lang.Double previousValue
protected java.lang.String previousValueKey
protected Trend trend
protected java.lang.Double value
protected java.lang.String valueKey
public static Metric toDTO(java.lang.String json)
public java.lang.String getMetricType()
public void setMetricType(java.lang.String metricType)
public void setMetricType(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> metricTypeUnsafeSupplier)
public java.lang.Double getPreviousValue()
public void setPreviousValue(java.lang.Double previousValue)
public void setPreviousValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> previousValueUnsafeSupplier)
public java.lang.String getPreviousValueKey()
public void setPreviousValueKey(java.lang.String previousValueKey)
public void setPreviousValueKey(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> previousValueKeyUnsafeSupplier)
public Trend getTrend()
public void setTrend(Trend trend)
public void setTrend(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Trend,java.lang.Exception> trendUnsafeSupplier)
public java.lang.Double getValue()
public void setValue(java.lang.Double value)
public void setValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> valueUnsafeSupplier)
public java.lang.String getValueKey()
public void setValueKey(java.lang.String valueKey)
public void setValueKey(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> valueKeyUnsafeSupplier)
public Metric clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic 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