01: /*
02: * Copyright 2005 Joe Walker
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.directwebremoting.convert.test;
18:
19: /**
20: * @author Bram Smeets
21: */
22: public class MyBeanImpl {
23: private String property;
24:
25: private String nonReadableProperty;
26:
27: /**
28: * @return a string
29: */
30: public String getProperty() {
31: return property;
32: }
33:
34: /**
35: * @param property
36: */
37: public void setProperty(String property) {
38: this .property = property;
39: }
40:
41: /**
42: * @param nonReadableProperty
43: */
44: public void setNonReadableProperty(String nonReadableProperty) {
45: this .nonReadableProperty = nonReadableProperty;
46: }
47:
48: /**
49: * This just shuts lint up
50: */
51: protected void ignore() {
52: String ignore = nonReadableProperty;
53: nonReadableProperty = ignore;
54: }
55: }
|