01: /**
02: * Copyright 2006 Webmedia Group Ltd.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of 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,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: **/package org.araneaframework.example.main.business.util;
16:
17: import java.io.Serializable;
18:
19: /**
20: * @author Jevgeni Kabanov (ekabanov <i>at</i> araneaframework <i>dot</i> org)
21: */
22: public class DataDTO implements Serializable {
23: private static final long serialVersionUID = 1L;
24: private Long id;
25: private Boolean booleanField;
26: private Long longField;
27: private String stringField;
28:
29: public DataDTO() {
30: }
31:
32: public DataDTO(Long id, Boolean booleanField, Long longField,
33: String stringField) {
34: this .id = id;
35: this .booleanField = booleanField;
36: this .longField = longField;
37: this .stringField = stringField;
38: }
39:
40: public Boolean getBooleanField() {
41: return booleanField;
42: }
43:
44: public void setBooleanField(Boolean booleanField) {
45: this .booleanField = booleanField;
46: }
47:
48: public Long getLongField() {
49: return longField;
50: }
51:
52: public void setLongField(Long longField) {
53: this .longField = longField;
54: }
55:
56: public String getStringField() {
57: return stringField;
58: }
59:
60: public void setStringField(String stringField) {
61: this .stringField = stringField;
62: }
63:
64: public Long getId() {
65: return id;
66: }
67:
68: public void setId(Long id) {
69: this.id = id;
70: }
71: }
|