ActualItemCost.java

package com.tradecloud.domain.costing.actual;

import com.tradecloud.common.base.PersistenceBase;

/**
 * ActualItemCost generated by hbm2java.
 */
public class ActualItemCost extends PersistenceBase {

    private static final long serialVersionUID = 1L;

    private char subclass;
    private int costingId;
    private short type;
    private String incoterm;
    private Double amount;
    private String transactionCurrency;
    private boolean amountOverridden;
    private Double amountInCostingCurrency;
    private Double percentage;
    private boolean percentageOverridden;

    public ActualItemCost() {
    }

    public ActualItemCost(char subclass, int costingId, short type, boolean amountOverridden, boolean percentageOverridden) {

        this.subclass = subclass;
        this.costingId = costingId;
        this.type = type;
        this.amountOverridden = amountOverridden;
        this.percentageOverridden = percentageOverridden;
    }

    public ActualItemCost(char subclass, int costingId, short type, String incoterm, Double amount, String transactionCurrency,
                          boolean amountOverridden, Double amountInCostingCurrency, Double percentage, boolean percentageOverridden) {

        this.subclass = subclass;
        this.costingId = costingId;
        this.type = type;
        this.incoterm = incoterm;
        this.amount = amount;
        this.transactionCurrency = transactionCurrency;
        this.amountOverridden = amountOverridden;
        this.amountInCostingCurrency = amountInCostingCurrency;
        this.percentage = percentage;
        this.percentageOverridden = percentageOverridden;
    }

    public char getSubclass() {
        return this.subclass;
    }

    public void setSubclass(char subclass) {
        this.subclass = subclass;
    }

    public int getCostingId() {
        return this.costingId;
    }

    public void setCostingId(int costingId) {
        this.costingId = costingId;
    }

    public short getType() {
        return this.type;
    }

    public void setType(short type) {
        this.type = type;
    }

    public String getIncoterm() {
        return this.incoterm;
    }

    public void setIncoterm(String incoterm) {
        this.incoterm = incoterm;
    }

    public Double getAmount() {
        return this.amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getTransactionCurrency() {
        return this.transactionCurrency;
    }

    public void setTransactionCurrency(String transactionCurrency) {
        this.transactionCurrency = transactionCurrency;
    }

    public boolean isAmountOverridden() {
        return this.amountOverridden;
    }

    public void setAmountOverridden(boolean amountOverridden) {
        this.amountOverridden = amountOverridden;
    }

    public Double getAmountInCostingCurrency() {
        return this.amountInCostingCurrency;
    }

    public void setAmountInCostingCurrency(Double amountInCostingCurrency) {
        this.amountInCostingCurrency = amountInCostingCurrency;
    }

    public Double getPercentage() {
        return this.percentage;
    }

    public void setPercentage(Double percentage) {
        this.percentage = percentage;
    }

    public boolean isPercentageOverridden() {
        return this.percentageOverridden;
    }

    public void setPercentageOverridden(boolean percentageOverridden) {
        this.percentageOverridden = percentageOverridden;
    }

}