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.annotations.test.inheritance;
18:
19: import org.compass.annotations.Searchable;
20: import org.compass.annotations.SearchableProperty;
21:
22: /**
23: * @author kimchy
24: */
25: @Searchable(poly=true)
26: public class B extends A {
27:
28: private String value3;
29:
30: @SearchableProperty(name="value1e")
31: public String getValue1() {
32: return super .getValue1();
33: }
34:
35: public void setValue1(String value1) {
36: super .setValue1(value1);
37: }
38:
39: @SearchableProperty(name="value2e",override=false)
40: public String getValue2() {
41: return super .getValue2();
42: }
43:
44: public void setValue2(String value2) {
45: super .setValue2(value2);
46: }
47:
48: @SearchableProperty(name="value3e")
49: public String getValue3() {
50: return value3;
51: }
52:
53: public void setValue3(String value3) {
54: this.value3 = value3;
55: }
56: }
|