001: package org.apache.ojb.odmg.shared;
002:
003: import java.io.Serializable;
004: import java.util.Locale;
005:
006: public class TestClassA implements Serializable {
007: private String oid;
008: private String value1;
009: private String value2;
010: private int value3;
011: private Locale locale = Locale.GERMANY;
012:
013: private String boid;
014: private TestClassB b;
015:
016: /**
017: * Gets the value1.
018: * @return Returns a String
019: */
020: public String getValue1() {
021: return value1;
022: }
023:
024: /**
025: * Sets the value1.
026: * @param value1 The value1 to set
027: */
028: public void setValue1(String value1) {
029: this .value1 = value1;
030: }
031:
032: /**
033: * Gets the value2.
034: * @return Returns a String
035: */
036: public String getValue2() {
037: return value2;
038: }
039:
040: /**
041: * Sets the value2.
042: * @param value2 The value2 to set
043: */
044: public void setValue2(String value2) {
045: this .value2 = value2;
046: }
047:
048: /**
049: * Gets the value3.
050: * @return Returns a int
051: */
052: public int getValue3() {
053: return value3;
054: }
055:
056: /**
057: * Sets the value3.
058: * @param value3 The value3 to set
059: */
060: public void setValue3(int value3) {
061: this .value3 = value3;
062: }
063:
064: /**
065: * Gets the b.
066: * @return Returns a TestClassB
067: */
068: public TestClassB getB() {
069: return b;
070: }
071:
072: /**
073: * Sets the b.
074: * @param b The b to set
075: */
076: public void setB(TestClassB b) {
077: this .b = b;
078: }
079:
080: /**
081: * Gets the oid.
082: * @return Returns a String
083: */
084: public String getOid() {
085: return oid;
086: }
087:
088: /**
089: * Sets the oid.
090: * @param oid The oid to set
091: */
092: public void setOid(String oid) {
093: this .oid = oid;
094: }
095:
096: /**
097: * Gets the bOid.
098: * @return Returns a String
099: */
100: public String getBoid() {
101: return boid;
102: }
103:
104: /**
105: * Sets the bOid.
106: * @param bOid The bOid to set
107: */
108: public void setBoid(String boid) {
109: this .boid = boid;
110: }
111:
112: public Locale getLocale() {
113: return locale;
114: }
115:
116: public void setLocale(Locale locale) {
117: this.locale = locale;
118: }
119: }
|