SummaryActualCostLineDTO.java

package com.tradecloud.dto.invoice;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: ds
 * Date: 2014/05/02
 * Time: 11:40 AM
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement(name = "SummaryActualCostLineDTO")
@XmlAccessorType(XmlAccessType.FIELD)
public class SummaryActualCostLineDTO implements Serializable {

    @XmlAttribute(required = true)
    private String costLineName;

    @XmlAttribute(required = true)
    private BigDecimal costLineValue;

    @XmlAttribute(required = true)
    private String costlineCurrency;

    public String getCostLineName() {
        return costLineName;
    }

    public void setCostLineName(String costLineName) {
        this.costLineName = costLineName;
    }

    public BigDecimal getCostLineValue() {
        return costLineValue;
    }

    public void setCostLineValue(BigDecimal costLineValue) {
        this.costLineValue = costLineValue;
    }

    public String getCostlineCurrency() {
        return costlineCurrency;
    }

    public void setCostlineCurrency(String costlineCurrency) {
        this.costlineCurrency = costlineCurrency;
    }

}