01: /**
02: * Copyright 2007 Jens Dietrich Licensed under the Apache License, Version 2.0 (the "License");
03: * you may not use this file except in compliance with the License.
04: * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
05: * Unless required by applicable law or agreed to in writing, software distributed under the
06: * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
07: * either express or implied. See the License for the specific language governing permissions
08: * and limitations under the License.
09: */package test.nz.org.take.compiler.scenario9;
10:
11: /**
12: * Bean class referenced in tests.
13: * @author <a href="http://www-ist.massey.ac.nz/JBDietrich/">Jens Dietrich</a>
14: */
15: public class Loan {
16: private int clientRisk = 0;
17: private int currencyRisk = 0;
18: private int countryRisk = 0;
19:
20: public int getClientRisk() {
21: return clientRisk;
22: }
23:
24: public void setClientRisk(int clientRisk) {
25: this .clientRisk = clientRisk;
26: }
27:
28: public int getCurrencyRisk() {
29: return currencyRisk;
30: }
31:
32: public void setCurrencyRisk(int currencyRisk) {
33: this .currencyRisk = currencyRisk;
34: }
35:
36: public int getCountryRisk() {
37: return countryRisk;
38: }
39:
40: public void setCountryRisk(int countryRisk) {
41: this.countryRisk = countryRisk;
42: }
43:
44: }
|