@Generated(value="")
public class Histogram
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
metricName |
protected Metric[] |
metrics |
protected java.lang.Double |
total |
protected java.lang.Double |
totalValue |
| Constructor and Description |
|---|
Histogram() |
| Modifier and Type | Method and Description |
|---|---|
Histogram |
clone() |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getMetricName() |
Metric[] |
getMetrics() |
java.lang.Double |
getTotal() |
java.lang.Double |
getTotalValue() |
int |
hashCode() |
void |
setMetricName(java.lang.String metricName) |
void |
setMetricName(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> metricNameUnsafeSupplier) |
void |
setMetrics(Metric[] metrics) |
void |
setMetrics(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Metric[],java.lang.Exception> metricsUnsafeSupplier) |
void |
setTotal(java.lang.Double total) |
void |
setTotal(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalUnsafeSupplier) |
void |
setTotalValue(java.lang.Double totalValue) |
void |
setTotalValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalValueUnsafeSupplier) |
static Histogram |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
protected java.lang.String metricName
protected Metric[] metrics
protected java.lang.Double total
protected java.lang.Double totalValue
public static Histogram toDTO(java.lang.String json)
public java.lang.String getMetricName()
public void setMetricName(java.lang.String metricName)
public void setMetricName(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.String,java.lang.Exception> metricNameUnsafeSupplier)
public Metric[] getMetrics()
public void setMetrics(Metric[] metrics)
public void setMetrics(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Metric[],java.lang.Exception> metricsUnsafeSupplier)
public java.lang.Double getTotal()
public void setTotal(java.lang.Double total)
public void setTotal(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalUnsafeSupplier)
public java.lang.Double getTotalValue()
public void setTotalValue(java.lang.Double totalValue)
public void setTotalValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalValueUnsafeSupplier)
public Histogram 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