001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)Param.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.jbi.ui.ant;
030:
031: /** This class is nested element <param>
032: *
033: * @author Sun Microsystems, Inc.
034: */
035:
036: public class Param {
037: /**
038: * Holds value of property name.
039: */
040: private String mName;
041:
042: /**
043: * Holds value of property value.
044: */
045: private String mValue;
046:
047: /**
048: * Holds reference of an application variable.
049: * This is only for application configuration.
050: */
051: private String mAppVariableRef;
052:
053: /**
054: * default public constructor
055: */
056: public Param() {
057: this .mName = "";
058: this .mValue = "";
059: this .mAppVariableRef = "";
060: }
061:
062: /**
063: * Getter for property name.
064: * @return Value of property name.
065: */
066: public String getName() {
067: return this .mName;
068: }
069:
070: /**
071: * Setter for property name.
072: * @param name New value of property name.
073: */
074: public void setName(String name) {
075: this .mName = name;
076: }
077:
078: /**
079: * Getter for property value.
080: * @return Value of property value.
081: */
082: public String getValue() {
083: return this .mValue;
084: }
085:
086: /**
087: * Setter for property value.
088: * @param value New value of property value.
089: */
090: public void setValue(String value) {
091: this .mValue = value;
092: }
093:
094: /**
095: * Getter for application variable reference.
096: * @return reference of application variable.
097: */
098: public String getAppVariable() {
099: return this .mAppVariableRef;
100: }
101:
102: /**
103: * Setter for application variable reference.
104: * @param appVariableRef New reference of an application variable.
105: */
106: public void setAppVariable(String appVariableRef) {
107: this.mAppVariableRef = appVariableRef;
108: }
109: }
|