/** * Copyright (C) 2013 - 2014 Envidatec GmbH <info@envidatec.com> * * This file is part of JEWebService. * * JEWebService is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation in version 3. * * JEWebService is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * JEWebService. If not, see <http://www.gnu.org/licenses/>. * * JEWebService is part of the OpenJEVis project, further project information * are published at <http://www.OpenJEVis.org/>. */ package org.jevis.commons.ws.json; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; /** * This Class represents an JEVisSample as Json * * @author Florian Simon <florian.simon@envidatec.com> */ @XmlRootElement(name = "Sample") public class JsonSample { private String ts; private String value; private String note; public JsonSample() { } @XmlElement(name = "ts") public String getTs() { return ts; } public void setTs(String ts) { this.ts = ts; } @XmlElement(name = "value") public String getValue() { return value; } public void setValue(String value) { this.value = value; } @XmlElement(name = "note") public String getNote() { return note; } public void setNote(String note) { this.note = note; } }