01: /*
02: * Copyright 2004-2006 the original author or authors.
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: */
16:
17: package org.compass.core.test.id;
18:
19: import java.io.Serializable;
20:
21: /**
22: * @author kimchy
23: */
24: public class MultipleId implements Serializable {
25:
26: /**
27: * Comment for <code>serialVersionUID</code>
28: */
29: private static final long serialVersionUID = 3545793303955059769L;
30:
31: private Long id;
32:
33: private String id2;
34:
35: private String value;
36:
37: /**
38: * @return Returns the value.
39: */
40: public String getValue() {
41: return value;
42: }
43:
44: /**
45: * @param value
46: * The value to set.
47: */
48: public void setValue(String value) {
49: this .value = value;
50: }
51:
52: /**
53: * @return Returns the id1.
54: */
55: public Long getId() {
56: return id;
57: }
58:
59: /**
60: * @param id1
61: * The id1 to set.
62: */
63: public void setId(Long id) {
64: this .id = id;
65: }
66:
67: /**
68: * @return Returns the id2.
69: */
70: public String getId2() {
71: return id2;
72: }
73:
74: /**
75: * @param id2
76: * The id2 to set.
77: */
78: public void setId2(String id2) {
79: this.id2 = id2;
80: }
81: }
|