All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.hsr.mas.oms.domain.dto.Fill Maven / Gradle / Ivy

The newest version!
package ch.hsr.mas.oms.domain.dto;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "orderId", "execId", "execType", "avgPx",
		"cumQty", "leavesQty", "execTs" })
@XmlRootElement(name = "fill")
public class Fill implements Serializable {

	private static final long serialVersionUID = -2280400944132668160L;
	@XmlElement
	protected int orderId;
	@XmlElement
	protected String execId;
	@XmlElement
	protected String execType;
	@XmlElement
	protected double avgPx;
	@XmlElement
	protected int cumQty;
	@XmlElement
	protected int leavesQty;
	@XmlElement
	protected String execTs;

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public String getExecId() {
		return execId;
	}

	public void setExecId(String execId) {
		this.execId = execId;
	}

	public String getExecType() {
		return execType;
	}

	public void setExecType(String execType) {
		this.execType = execType;
	}

	public double getAvgPx() {
		return avgPx;
	}

	public void setAvgPx(double value) {
		this.avgPx = value;
	}

	public int getCumQty() {
		return cumQty;
	}

	public void setCumQty(int value) {
		this.cumQty = value;
	}

	public int getLeavesQty() {
		return leavesQty;
	}

	public void setLeavesQty(int value) {
		this.leavesQty = value;
	}

	public String getExecTs() {
		return execTs;
	}

	public void setExecTs(String execTs) {
		this.execTs = execTs;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy