@@ -0,0 +1,1450 @@
+package net.blackshard.clarity.tome;%0A%0Aimport java.util.Date;%0Aimport javax.persistence.*;%0A%0A/**%0A * @author Matthew R. Trower%0A * class MemReading%0A * %0A * DTO for Mem Scribblet Readings%0A */%0A@Entity%0A@Table(name = %22plugin_cpu%22)%0Apublic class MemReading implements Reading %7B%0A    @Id%0A    @GeneratedValue(strategy=GenerationType.IDENTITY)%0A    private Long id;%0A%0A    @Column(name = %22machine_id%22)%0A    private Integer machineId;%0A%0A    @Column(columnDefinition=%22timestamp with time zone%22)%0A    private Date timestamp;%0A%0A    private Integer metricSwap;%0A    private Integer metricFree;%0A%0A%0A    public MemReading() %7B%7D%0A%0A    public MemReading(Integer machineId, Date timestamp,%0A            Integer swap, Integer free) %7B%0A        this.id = id;%0A        this.machineId = machineId;%0A        this.timestamp = timestamp;%0A        this.metricSwap = swap;%0A        this.metricFree = free;%0A    %7D%0A    %0A%0A    public Long getId() %7B return id; %7D%0A    public Integer getMachineId() %7B return machineId; %7D%0A    public Date getTimestamp() %7B return timestamp; %7D%0A    public Integer getMetricSwap() %7B return metricSwap; %7D%0A    public Integer getMetricFree() %7B return metricFree; %7D%0A%0A    public void setId(Long value) %7B id = value; %7D%0A    public void setMachineId(Integer value) %7B machineId = value; %7D%0A    public void setTimestamp(Date value) %7B timestamp = value; %7D%0A    public void setMetricSwap(Integer value) %7B metricSwap = value; %7D%0A    public void setMetricFree(Integer value) %7B metricFree = value; %7D%0A%7D%0A

Add MemReading DTO