From 57f8435190a9cb9180561e28f5a386ca325f8555 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 11 May 2018 14:11:27 +0900 Subject: [PATCH] ing --- .../loafle/overflow/model/data/Metric.java | 43 +++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/loafle/overflow/model/data/Metric.java b/src/main/java/com/loafle/overflow/model/data/Metric.java index bd224f3..82d2618 100644 --- a/src/main/java/com/loafle/overflow/model/data/Metric.java +++ b/src/main/java/com/loafle/overflow/model/data/Metric.java @@ -7,7 +7,44 @@ import java.util.Map; * Metric */ public class Metric { - public String sensorConfigID; - public Map data; - public Date collectDate; + private String sensorConfigID; + private Map data; + private Date collectDate; + + /** + * @return the sensorConfigID + */ + public String getSensorConfigID() { + return sensorConfigID; + } + /** + * @param sensorConfigID the sensorConfigID to set + */ + public void setSensorConfigID(String sensorConfigID) { + this.sensorConfigID = sensorConfigID; + } + /** + * @return the data + */ + public Map getData() { + return data; + } + /** + * @param data the data to set + */ + public void setData(Map data) { + this.data = data; + } + /** + * @return the collectDate + */ + public Date getCollectDate() { + return collectDate; + } + /** + * @param collectDate the collectDate to set + */ + public void setCollectDate(Date collectDate) { + this.collectDate = collectDate; + } } \ No newline at end of file