001: package org.apache.turbine.util.parser;
002:
003: /*
004: * Licensed to the Apache Software Foundation (ASF) under one
005: * or more contributor license agreements. See the NOTICE file
006: * distributed with this work for additional information
007: * regarding copyright ownership. The ASF licenses this file
008: * to you under the Apache License, Version 2.0 (the
009: * "License"); you may not use this file except in compliance
010: * with the License. You may obtain a copy of the License at
011: *
012: * http://www.apache.org/licenses/LICENSE-2.0
013: *
014: * Unless required by applicable law or agreed to in writing,
015: * software distributed under the License is distributed on an
016: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017: * KIND, either express or implied. See the License for the
018: * specific language governing permissions and limitations
019: * under the License.
020: */
021:
022: public class PropertyBean {
023: private int intValue;
024:
025: private long longValue;
026:
027: private double doubleValue;
028:
029: private String stringValue;
030:
031: private Boolean booleanValue;
032:
033: private String doNotTouchValue;
034:
035: /**
036: * Get the LongValue value.
037: * @return the LongValue value.
038: */
039: public long getLongValue() {
040: return longValue;
041: }
042:
043: /**
044: * Set the LongValue value.
045: * @param newLongValue The new LongValue value.
046: */
047: public void setLongValue(long newLongValue) {
048: this .longValue = newLongValue;
049: }
050:
051: /**
052: * Get the DoubleValue value.
053: * @return the DoubleValue value.
054: */
055: public double getDoubleValue() {
056: return doubleValue;
057: }
058:
059: /**
060: * Set the DoubleValue value.
061: * @param newDoubleValue The new DoubleValue value.
062: */
063: public void setDoubleValue(double newDoubleValue) {
064: this .doubleValue = newDoubleValue;
065: }
066:
067: /**
068: * Get the StringValue value.
069: * @return the StringValue value.
070: */
071: public String getStringValue() {
072: return stringValue;
073: }
074:
075: /**
076: * Set the StringValue value.
077: * @param newStringValue The new StringValue value.
078: */
079: public void setStringValue(String newStringValue) {
080: this .stringValue = newStringValue;
081: }
082:
083: /**
084: * Get the IntValue value.
085: * @return the IntValue value.
086: */
087: public int getIntValue() {
088: return intValue;
089: }
090:
091: /**
092: * Set the BooleanValue value.
093: * @param newBooleanValue The new BooleanValue value.
094: */
095: public void setBooleanValue(Boolean newBooleanValue) {
096: this .booleanValue = newBooleanValue;
097: }
098:
099: /**
100: * Get the BooleanValue value.
101: * @return the BooleanValue value.
102: */
103: public Boolean getBooleanValue() {
104: return booleanValue;
105: }
106:
107: /**
108: * Set the IntValue value.
109: * @param newIntValue The new IntValue value.
110: */
111: public void setIntValue(int newIntValue) {
112: this .intValue = newIntValue;
113: }
114:
115: /**
116: * Get the DoNotTouchValue value.
117: * @return the DoNotTouchValue value.
118: */
119: public String getDoNotTouchValue() {
120: return doNotTouchValue;
121: }
122:
123: /**
124: * Set the DoNotTouchValue value.
125: * @param newDoNotTouchValue The new DoNotTouchValue value.
126: */
127: public void setDoNotTouchValue(String newDoNotTouchValue) {
128: this.doNotTouchValue = newDoNotTouchValue;
129: }
130:
131: }
|