01: /*
02: * Copyright 2007 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.user.client.rpc;
17:
18: /**
19: * This class is defined outside of the CustomFieldSerializerTestSetFactory
20: * because of a bug where custom field serializers cannot be inner classes and
21: * custom field serializers must be in the same package as the class that they
22: * serializer. Once we fix this bug we can move this class into the test set
23: * factory.
24: */
25: public class ManuallySerializedClass {
26: private int a = 1;
27:
28: private int b = 2;
29:
30: private int c = 3;
31:
32: private Object obj = "hello";
33:
34: public int getA() {
35: return a;
36: }
37:
38: public int getB() {
39: return b;
40: }
41:
42: public int getC() {
43: return c;
44: }
45:
46: public Object getObj() {
47: return obj;
48: }
49:
50: public void setA(int a) {
51: this .a = a;
52: }
53:
54: public void setB(int b) {
55: this .b = b;
56: }
57:
58: public void setC(int c) {
59: this .c = c;
60: }
61:
62: public void setObj(Object obj) {
63: this.obj = obj;
64: }
65: }
|