CostSettlementAllocation.java

package com.tradecloud.domain.costing;

import com.tradecloud.common.base.PersistenceBase;

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

    private static final long serialVersionUID = 1L;

    private char sourceType;
    private int sourceId;
    private boolean displayable;
    private double amountInCostingCurrency;
    private char targetType;
    private int targetId;
    private double amount;
    private String currency;
    private byte treasuryState;
    private String rejectionReason;
    private boolean formerlyExposed;
    private boolean modifiedPostExposure;
    private boolean waitingTreasuryCcamt;

    public CostSettlementAllocation() {
    }

    public CostSettlementAllocation(char sourceType, int sourceId, boolean displayable, double amountInCostingCurrency, char targetType,
                                    int targetId, double amount, String currency, byte treasuryState, boolean formerlyExposed, boolean modifiedPostExposure,
                                    boolean waitingTreasuryCcamt) {

        this.sourceType = sourceType;
        this.sourceId = sourceId;
        this.displayable = displayable;
        this.amountInCostingCurrency = amountInCostingCurrency;
        this.targetType = targetType;
        this.targetId = targetId;
        this.amount = amount;
        this.currency = currency;
        this.treasuryState = treasuryState;
        this.formerlyExposed = formerlyExposed;
        this.modifiedPostExposure = modifiedPostExposure;
        this.waitingTreasuryCcamt = waitingTreasuryCcamt;
    }

    public CostSettlementAllocation(char sourceType, int sourceId, boolean displayable, double amountInCostingCurrency, char targetType,
                                    int targetId, double amount, String currency, byte treasuryState, String rejectionReason, boolean formerlyExposed,
                                    boolean modifiedPostExposure, boolean waitingTreasuryCcamt) {

        this.sourceType = sourceType;
        this.sourceId = sourceId;
        this.displayable = displayable;
        this.amountInCostingCurrency = amountInCostingCurrency;
        this.targetType = targetType;
        this.targetId = targetId;
        this.amount = amount;
        this.currency = currency;
        this.treasuryState = treasuryState;
        this.rejectionReason = rejectionReason;
        this.formerlyExposed = formerlyExposed;
        this.modifiedPostExposure = modifiedPostExposure;
        this.waitingTreasuryCcamt = waitingTreasuryCcamt;
    }

    public char getSourceType() {
        return this.sourceType;
    }

    public void setSourceType(char sourceType) {
        this.sourceType = sourceType;
    }

    public int getSourceId() {
        return this.sourceId;
    }

    public void setSourceId(int sourceId) {
        this.sourceId = sourceId;
    }

    public boolean isDisplayable() {
        return this.displayable;
    }

    public void setDisplayable(boolean displayable) {
        this.displayable = displayable;
    }

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

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

    public char getTargetType() {
        return this.targetType;
    }

    public void setTargetType(char targetType) {
        this.targetType = targetType;
    }

    public int getTargetId() {
        return this.targetId;
    }

    public void setTargetId(int targetId) {
        this.targetId = targetId;
    }

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

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

    public String getCurrency() {
        return this.currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public byte getTreasuryState() {
        return this.treasuryState;
    }

    public void setTreasuryState(byte treasuryState) {
        this.treasuryState = treasuryState;
    }

    public String getRejectionReason() {
        return this.rejectionReason;
    }

    public void setRejectionReason(String rejectionReason) {
        this.rejectionReason = rejectionReason;
    }

    public boolean isFormerlyExposed() {
        return this.formerlyExposed;
    }

    public void setFormerlyExposed(boolean formerlyExposed) {
        this.formerlyExposed = formerlyExposed;
    }

    public boolean isModifiedPostExposure() {
        return this.modifiedPostExposure;
    }

    public void setModifiedPostExposure(boolean modifiedPostExposure) {
        this.modifiedPostExposure = modifiedPostExposure;
    }

    public boolean isWaitingTreasuryCcamt() {
        return this.waitingTreasuryCcamt;
    }

    public void setWaitingTreasuryCcamt(boolean waitingTreasuryCcamt) {
        this.waitingTreasuryCcamt = waitingTreasuryCcamt;
    }

}