TLCReportSearchCostGroup.java

package com.tradecloud.dto.invoice;

import java.math.BigDecimal;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by ds on 2014/07/01.
 */
@XmlRootElement(name = "TLCReportSearchCostGroup")
@XmlAccessorType(XmlAccessType.FIELD)
public class TLCReportSearchCostGroup {

    @XmlAttribute
    private String name;

    @XmlAttribute
    BigDecimal transactionCurrencyTotal;

    @XmlAttribute
    BigDecimal costingCurrencyTotal;

    @XmlElement(name = "TLCReportSearchCostLine", required = true)
    private List<TLCReportSearchCostLine> costLineList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getTransactionCurrencyTotal() {
        return transactionCurrencyTotal;
    }

    public void setTransactionCurrencyTotal(BigDecimal transactionCurrencyTotal) {
        this.transactionCurrencyTotal = transactionCurrencyTotal;
    }

    public BigDecimal getCostingCurrencyTotal() {
        return costingCurrencyTotal;
    }

    public void setCostingCurrencyTotal(BigDecimal costingCurrencyTotal) {
        this.costingCurrencyTotal = costingCurrencyTotal;
    }

    public List<TLCReportSearchCostLine> getCostLineList() {
        return costLineList;
    }

    public void setCostLineList(List<TLCReportSearchCostLine> costLineList) {
        this.costLineList = costLineList;
    }
}