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.managedid;
18:
19: /**
20: * @author kimchy
21: */
22: public class ParentComponent {
23:
24: private Long id;
25:
26: private ChildComponent childComponent;
27:
28: private String value1;
29:
30: private String value2;
31:
32: public Long getId() {
33: return id;
34: }
35:
36: public void setId(Long id) {
37: this .id = id;
38: }
39:
40: public String getValue1() {
41: return value1;
42: }
43:
44: public void setValue1(String value1) {
45: this .value1 = value1;
46: }
47:
48: public String getValue2() {
49: return value2;
50: }
51:
52: public void setValue2(String value2) {
53: this .value2 = value2;
54: }
55:
56: public ChildComponent getChildComponent() {
57: return childComponent;
58: }
59:
60: public void setChildComponent(ChildComponent childComponent) {
61: this.childComponent = childComponent;
62: }
63: }
|