/* $Id: WfState.java,v 1.3 2005/08/26 04:45:23 ysahara Exp $
*
* Copyright (c)ARGO 21, Corporation. 2005.  All rights reserved.
 * 
 * This file is part of Nautica Workflow.
 * 
 *  Nautica Workflow is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 * 
 *  Nautica Workflow is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 *  You should have received a copy of the GNU General Public License
 *  along with Nautica Workflow; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *  
*/
package jp.co.argo21.nautica.workflow.soap.message;

import java.io.Serializable;

/**
 * 状態を表す基底クラスである。
 *
 * @author  ysahara(Argo 21, Corp.)
 * @version $Revision: 1.3 $
 * @since   Nautica Workflow 0.9
 */
public class WfState  implements Serializable {
    private int stateInInt;
    private String stateInString;

    /**
     * 状態を生成する。
     *
     */
    public WfState() {
    }

    /**
     * 状態を生成する。
     *
     * @param stateInInt 状態(int型)
     * @param stateInString 状態の文字列表現
     */
    public WfState(
           int stateInInt,
           String stateInString) {
           this.stateInInt = stateInInt;
           this.stateInString = stateInString;
    }


    /**
     * 状態の数値表現を返す。
     * 
     * @return stateInInt 状態の数値表現
     */
    public int getStateInInt() {
        return stateInInt;
    }


    /**
     * 状態の数値表現を設定する。
     * 
     * @param stateInInt 状態の数値表現
     */
    public void setStateInInt(int stateInInt) {
        this.stateInInt = stateInInt;
    }


    /**
     * 状態の文字列表現を返す。
     * 
     * @return stateInString 状態の文字列表現
     */
    public String getStateInString() {
        return stateInString;
    }


    /**
     * 状態の文字列表現を設定する。
     * 
     * @param stateInString 状態の文字列表現
     */
    public void setStateInString(String stateInString) {
        this.stateInString = stateInString;
    }
}
