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.component;
18:
19: /**
20: * @author kimchy
21: */
22: public class SimpleRoot {
23:
24: private Long id;
25:
26: private String value;
27:
28: private SimpleComponent firstComponent;
29:
30: private SimpleComponent secondComponent;
31:
32: /**
33: * @return Returns the id.
34: */
35: public Long getId() {
36: return id;
37: }
38:
39: /**
40: * @param id
41: * The id to set.
42: */
43: public void setId(Long id) {
44: this .id = id;
45: }
46:
47: /**
48: * @return Returns the value.
49: */
50: public String getValue() {
51: return value;
52: }
53:
54: /**
55: * @param value
56: * The value to set.
57: */
58: public void setValue(String value) {
59: this .value = value;
60: }
61:
62: /**
63: * @return Returns the defComponent.
64: */
65: public SimpleComponent getSecondComponent() {
66: return secondComponent;
67: }
68:
69: /**
70: * @param defComponent
71: * The defComponent to set.
72: */
73: public void setSecondComponent(SimpleComponent comp) {
74: this .secondComponent = comp;
75: }
76:
77: /**
78: * @return Returns the aliasedComponent.
79: */
80: public SimpleComponent getFirstComponent() {
81: return firstComponent;
82: }
83:
84: /**
85: * @param aliasedComponent
86: * The aliasedComponent to set.
87: */
88: public void setFirstComponent(SimpleComponent comp) {
89: this.firstComponent = comp;
90: }
91: }
|