
com.centurylink.mdw.model.report.Timepoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mdw-common Show documentation
Show all versions of mdw-common Show documentation
MDW is a microservices based workflow framework
package com.centurylink.mdw.model.report;
import com.centurylink.mdw.model.Jsonable;
import org.json.JSONObject;
import java.time.Instant;
/**
* Data value for a temporal unit.
*/
public class Timepoint implements Jsonable {
public Timepoint(Instant time, Long value) {
this.time = time;
this.value = value;
}
@SuppressWarnings("unused")
public Timepoint(JSONObject json) {
bind(json);
}
private Instant time;
public Instant getTime() { return time; }
public void setTime(Instant time) { this.time = time; }
public Long value;
public Long getValue() { return value; }
public void setValue(Long val) { this.value = val; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy