1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kns.bo;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.rice.kns.bo.Inactivateable;
21 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
22
23 public class CountyImpl extends PersistableBusinessObjectBase implements Inactivateable, County {
24
25 private String postalCountryCode;
26 private String countyCode;
27 private String stateCode;
28 private String countyName;
29 private boolean active;
30
31 private State state;
32 private Country country;
33
34 public State getState() {
35 return state;
36 }
37
38 public void setState(State state) {
39 this.state = state;
40 }
41
42 public boolean isActive() {
43 return active;
44 }
45
46 public void setActive(boolean active) {
47 this.active = active;
48 }
49
50 public String getCountyName() {
51 return countyName;
52 }
53
54 public void setCountyName(String countName) {
55 this.countyName = countName;
56 }
57
58 public String getCountyCode() {
59 return countyCode;
60 }
61
62 public void setCountyCode(String countyCode) {
63 this.countyCode = countyCode;
64 }
65
66 public String getStateCode() {
67 return stateCode;
68 }
69
70 public void setStateCode(String stateCode) {
71 this.stateCode = stateCode;
72 }
73
74 protected LinkedHashMap toStringMapper() {
75 LinkedHashMap m = new LinkedHashMap();
76 m.put("countyCode", this.countyCode);
77 m.put("stateCode", this.stateCode);
78 return m;
79 }
80
81
82
83
84
85
86 public String getPostalCountryCode() {
87 return postalCountryCode;
88 }
89
90
91
92
93
94
95 public void setPostalCountryCode(String postalCountryCode) {
96 this.postalCountryCode = postalCountryCode;
97 }
98
99
100
101
102
103
104 public Country getCountry() {
105 return country;
106 }
107
108
109
110
111
112
113 public void setCountry(Country country) {
114 this.country = country;
115 }
116 }