ch.hsr.mas.oms.domain.dto.Price Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oms-api Show documentation
Show all versions of oms-api Show documentation
Order Management System - Client Stubs
The newest version!
package ch.hsr.mas.oms.domain.dto;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
public class Price implements Serializable {
private static final long serialVersionUID = 228935191954722731L;
private String symbol;
private double close;
private double open;
private double high;
private double low;
private int volume;
private double change;
private double last;
public String getSymbol() {
return symbol;
}
public void setSymbol(String symbol) {
this.symbol = symbol;
}
public double getClose() {
return close;
}
public void setClose(double close) {
this.close = close;
}
public double getOpen() {
return open;
}
public void setOpen(double open) {
this.open = open;
}
public double getHigh() {
return high;
}
public void setHigh(double high) {
this.high = high;
}
public double getLow() {
return low;
}
public void setLow(double low) {
this.low = low;
}
public int getVolume() {
return volume;
}
public void setVolume(int volume) {
this.volume = volume;
}
public double getChange() {
return change;
}
public void setChange(double change) {
this.change = change;
}
public double getLast() {
return last;
}
public void setLast(double last) {
this.last = last;
}
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}