/* $Id: WfNameValue.java,v 1.3 2005/08/26 04:45:26 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;

/**
 * 名前と値の組を管理するオブジェクトの SOAP メッセージを表わすクラスである。
 *
 * @author  ysahara(Argo 21, Corp.)
 * @version $Revision: 1.3 $
 * @since   Nautica Workflow 0.9
 */
public class WfNameValue  implements java.io.Serializable {
    private String name;
    private String value;

    /**
     * 名前と値の組を管理するオブジェクトを生成する。
     *
     */
    public WfNameValue() {
    }

    /**
     * 名前と値の組を管理するオブジェクトを生成する。
     *
     * @param name 名称
     * @param value 値
     */
    public WfNameValue(
           String name,
           String value) {
           this.name = name;
           this.value = value;
    }

    /**
     * 名称を返す。
     * 
     * @return name 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 名称
     * 
     * @param name 名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 値を返す。
     * 
     * @return value 値
     */
    public String getValue() {
        return value;
    }

    /**
     * 値を設定する。
     * 
     * @param value 値
     */
    public void setValue(String value) {
        this.value = value;
    }
}
