001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019:
020: package org.apache.geronimo.deployment.service;
021:
022: /**
023: *
024: * @version $Rev:$ $Date:$
025: */
026: public class DummyJavaBean {
027: private String encryptOnPersist;
028: private String string;
029: private boolean booleanValue;
030: private char charValue;
031: private byte byteValue;
032: private short shortValue;
033: private int intValue;
034: private long longValue;
035: private float floatValue;
036: private double doubleValue;
037: private DummyJavaBean dummyJavaBean;
038:
039: @EncryptOnPersist
040: public String getEncryptOnPersist() {
041: return encryptOnPersist;
042: }
043:
044: public void setEncryptOnPersist(String encryptOnPersist) {
045: this .encryptOnPersist = encryptOnPersist;
046: }
047:
048: @DoNotPersist
049: public String getString2() {
050: return string + "test";
051: }
052:
053: public String getString() {
054: return string;
055: }
056:
057: public void setString(String string) {
058: this .string = string;
059: }
060:
061: public boolean isBooleanValue() {
062: return booleanValue;
063: }
064:
065: public void setBooleanValue(boolean booleanValue) {
066: this .booleanValue = booleanValue;
067: }
068:
069: public char getCharValue() {
070: return charValue;
071: }
072:
073: public void setCharValue(char charValue) {
074: this .charValue = charValue;
075: }
076:
077: public byte getByteValue() {
078: return byteValue;
079: }
080:
081: public void setByteValue(byte byteValue) {
082: this .byteValue = byteValue;
083: }
084:
085: public short getShortValue() {
086: return shortValue;
087: }
088:
089: public void setShortValue(short shortValue) {
090: this .shortValue = shortValue;
091: }
092:
093: public int getIntValue() {
094: return intValue;
095: }
096:
097: public void setIntValue(int intValue) {
098: this .intValue = intValue;
099: }
100:
101: public long getLongValue() {
102: return longValue;
103: }
104:
105: public void setLongValue(long longValue) {
106: this .longValue = longValue;
107: }
108:
109: public float getFloatValue() {
110: return floatValue;
111: }
112:
113: public void setFloatValue(float floatValue) {
114: this .floatValue = floatValue;
115: }
116:
117: public double getDoubleValue() {
118: return doubleValue;
119: }
120:
121: public void setDoubleValue(double doubleValue) {
122: this .doubleValue = doubleValue;
123: }
124:
125: public DummyJavaBean getDummyJavaBean() {
126: return dummyJavaBean;
127: }
128:
129: public void setDummyJavaBean(DummyJavaBean dummyJavaBean) {
130: this.dummyJavaBean = dummyJavaBean;
131: }
132:
133: }
|