Facility.java

/*
 *        @ Copyright 2001 FA Software;
 *        All right reserved. No part of this program may be reproduced or
 *        transmitted in any form or by any means, electronic or
 *        mechanical, including photocopying, recording, or by any
 *        information storage or retrieval system without written
 *        permission from FA Software, except for inclusion of brief
 *        quotations in a review.
 */
package com.mycim.valueobject.sys;

import com.mycim.valueobject.bas.NamedObject;

import java.util.ArrayList;
import java.util.Collection;

public class Facility extends NamedObject {

    // --------------------------------------------------------- Instance Variables
    private long copyFacilityRrn;

    private long parentFacilityRrn;

    private String facilityName;

    private String dateFormat;

    private String currencyCode;

    private String decimalPoint;

    private String amountSeparator;

    private String drPeriod;

    private Collection namedSpaceDef = new ArrayList();

    private String facilityCode;

    private String facilityType;

    private String ecnFlag;

    private String rptServer;

    private String recipeServer;

    private String actionLogFlag;

    private String spcUrl;

    private Integer auto_reassign_flag;

    // --------------------------------------------------------- Consturctors
    public Facility() {
    }

    public Facility(String instanceId, String namedSpace, String object) {
        super(instanceId, namedSpace, object);
    }

    public Facility(long facilityRrn) {
        super(facilityRrn);
    }

    public String getRecipeServer() {
        return recipeServer;
    }

    public void setRecipeServer(String recipeServer) {
        this.recipeServer = recipeServer;
    }

    // --------------------------------------------------------- Properties

    public long getCopyFacilityRrn() {
        return this.copyFacilityRrn;
    }

    public void setCopyFacilityRrn(long copyFacilityRrn) {
        this.copyFacilityRrn = copyFacilityRrn;
    }

    public String getActionLogFlag() {
        return actionLogFlag;
    }

    public void setActionLogFlag(String actionLogFlag) {
        this.actionLogFlag = actionLogFlag;
    }

    public long getParentFacilityRrn() {
        return this.parentFacilityRrn;
    }

    public void setParentFacilityRrn(long parentFacilityRrn) {
        this.parentFacilityRrn = parentFacilityRrn;
    }

    public String getFacilityName() {
        return this.facilityName;
    }

    public void setFacilityName(String facilityName) {
        this.facilityName = facilityName;
    }

    public String getDateFormat() {
        return this.dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }

    public String getCurrencyCode() {
        return this.currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getDecimalPoint() {
        return this.decimalPoint;
    }

    public void setDecimalPoint(String decimalPoint) {
        this.decimalPoint = decimalPoint;
    }

    public String getAmountSeparator() {
        return this.amountSeparator;
    }

    public void setAmountSeparator(String amountSeparator) {
        this.amountSeparator = amountSeparator;
    }

    public String getDrPeriod() {
        return this.drPeriod;
    }

    public void setDrPeriod(String drPeriod) {
        this.drPeriod = drPeriod;
    }

    public Collection getNamedSpaceDef() {
        return this.namedSpaceDef;
    }

    public void setNamedSpaceDef(Collection namedSpaceDef) {
        this.namedSpaceDef = namedSpaceDef;
    }

    /**
     * @return the facilityCode
     */
    public String getFacilityCode() {
        return facilityCode;
    }

    /**
     * @param facilityCode the facilityCode to set
     */
    public void setFacilityCode(String facilityCode) {
        this.facilityCode = facilityCode;
    }

    /**
     * @return the facilityType
     */
    public String getFacilityType() {
        return facilityType;
    }

    /**
     * @param facilityType the facilityType to set
     */
    public void setFacilityType(String facilityType) {
        this.facilityType = facilityType;
    }

    /**
     * @return the ecnFlag
     */
    public String getEcnFlag() {
        return ecnFlag;
    }

    /**
     * @param ecnFlag the ecnFlag to set
     */
    public void setEcnFlag(String ecnFlag) {
        this.ecnFlag = ecnFlag;
    }

    /**
     * @return the rptServer
     */
    public String getRptServer() {
        return rptServer;
    }

    /**
     * @param rptServer the rptServer to set
     */
    public void setRptServer(String rptServer) {
        this.rptServer = rptServer;
    }

    public String getSpcUrl() {
        return spcUrl;
    }

    public void setSpcUrl(String spcUrl) {
        this.spcUrl = spcUrl;
    }

    public void setAuto_reassign_flag(Integer auto_reassign_flag) {
        this.auto_reassign_flag = auto_reassign_flag;
    }

    public Integer getAuto_reassign_flag() {
        return auto_reassign_flag;
    }


}

/*
 * Modification Log Log No :01 Name :Wander Modified Date:2001/10/10 Description :Add constructors
 */