001: /**
002: * Copyright (C) 2006 NetMind Consulting Bt.
003: *
004: * This library is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU Lesser General Public
006: * License as published by the Free Software Foundation; either
007: * version 3 of the License, or (at your option) any later version.
008: *
009: * This library is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012: * Lesser General Public License for more details.
013: *
014: * You should have received a copy of the GNU Lesser General Public
015: * License along with this library; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
017: */package hu.netmind.persistence;
018:
019: /**
020: * Simple test object with a few primitive parameters.
021: * @author Brautigam Robert
022: * @version Revision: $Revision$
023: */
024: public class TestObject8 {
025: private int intattr;
026:
027: private int integerAttr;
028: private short shortAttr;
029: private long longAttr;
030: private char charAttr;
031: private byte byteAttr;
032: private boolean booleanAttr;
033: private double doubleAttr;
034: private float floatAttr;
035:
036: public TestObject8() {
037: intattr = 7;
038: }
039:
040: public int getIntegerAttr() {
041: return integerAttr;
042: }
043:
044: public void setIntegerAttr(int integerAttr) {
045: this .integerAttr = integerAttr;
046: }
047:
048: public short getShortAttr() {
049: return shortAttr;
050: }
051:
052: public void setShortAttr(short shortAttr) {
053: this .shortAttr = shortAttr;
054: }
055:
056: public long getLongAttr() {
057: return longAttr;
058: }
059:
060: public void setLongAttr(long longAttr) {
061: this .longAttr = longAttr;
062: }
063:
064: public char getCharAttr() {
065: return charAttr;
066: }
067:
068: public void setCharAttr(char charAttr) {
069: this .charAttr = charAttr;
070: }
071:
072: public byte getByteAttr() {
073: return byteAttr;
074: }
075:
076: public void setByteAttr(byte byteAttr) {
077: this .byteAttr = byteAttr;
078: }
079:
080: public boolean getBooleanAttr() {
081: return booleanAttr;
082: }
083:
084: public void setBooleanAttr(boolean booleanAttr) {
085: this .booleanAttr = booleanAttr;
086: }
087:
088: public double getDoubleAttr() {
089: return doubleAttr;
090: }
091:
092: public void setDoubleAttr(double doubleAttr) {
093: this .doubleAttr = doubleAttr;
094: }
095:
096: public float getFloatAttr() {
097: return floatAttr;
098: }
099:
100: public void setFloatAttr(float floatAttr) {
101: this.floatAttr = floatAttr;
102: }
103:
104: }
|