001: /**
002: * EasyBeans
003: * Copyright (C) 2006 Bull S.A.S.
004: * Contact: easybeans@ow2.org
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
019: * USA
020: *
021: * --------------------------------------------------------------------------
022: * $Id: EnvEntry.java 1970 2007-10-16 11:49:25Z benoitf $
023: * --------------------------------------------------------------------------
024: */package org.ow2.easybeans.deployment.xml.struct.common;
025:
026: /**
027: * This class defines the implementation of the <env-entry> element.
028: * @author Florent Benoit
029: */
030: public class EnvEntry {
031:
032: /**
033: * Name of this element.
034: */
035: public static final String NAME = "env-entry";
036:
037: /**
038: * Description of the <env-entry> element.
039: */
040: private String description = null;
041:
042: /**
043: * Name of the <env-entry> element.
044: */
045: private String envEntryName = null;
046:
047: /**
048: * Value of the <env-entry> element.
049: */
050: private String envEntryValue = null;
051:
052: /**
053: * Type of the <env-entry> element.
054: */
055: private String envEntryType = null;
056:
057: /**
058: * Sets the description.
059: * @param description the description to use
060: */
061: public void setDescription(final String description) {
062: this .description = description;
063: }
064:
065: /**
066: * Sets the name.
067: * @param envEntryName the name to use
068: */
069: public void setEnvEntryName(final String envEntryName) {
070: this .envEntryName = envEntryName;
071: }
072:
073: /**
074: * Sets the value.
075: * @param envEntryValue the value to use
076: */
077: public void setEnvEntryValue(final String envEntryValue) {
078: this .envEntryValue = envEntryValue;
079: }
080:
081: /**
082: * Sets the type.
083: * @param envEntryType the type to use
084: */
085: public void setEnvEntryType(final String envEntryType) {
086: this .envEntryType = envEntryType;
087: }
088:
089: /**
090: * @return the description of the <env-entry> element.
091: */
092: public String getDescription() {
093: return description;
094: }
095:
096: /**
097: * @return the name of the <env-entry> element.
098: */
099: public String getEnvEntryName() {
100: return envEntryName;
101: }
102:
103: /**
104: * @return the value of the <env-entry> element.
105: */
106: public String getEnvEntryValue() {
107: return envEntryValue;
108: }
109:
110: /**
111: * @return the type of the <env-entry> element.
112: */
113: public String getEnvEntryType() {
114: return envEntryType;
115: }
116: }
|