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 | 0 | 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 | 0 | return state; |
36 | |
} |
37 | |
|
38 | |
public void setState(State state) { |
39 | 0 | this.state = state; |
40 | 0 | } |
41 | |
|
42 | |
public boolean isActive() { |
43 | 0 | return active; |
44 | |
} |
45 | |
|
46 | |
public void setActive(boolean active) { |
47 | 0 | this.active = active; |
48 | 0 | } |
49 | |
|
50 | |
public String getCountyName() { |
51 | 0 | return countyName; |
52 | |
} |
53 | |
|
54 | |
public void setCountyName(String countName) { |
55 | 0 | this.countyName = countName; |
56 | 0 | } |
57 | |
|
58 | |
public String getCountyCode() { |
59 | 0 | return countyCode; |
60 | |
} |
61 | |
|
62 | |
public void setCountyCode(String countyCode) { |
63 | 0 | this.countyCode = countyCode; |
64 | 0 | } |
65 | |
|
66 | |
public String getStateCode() { |
67 | 0 | return stateCode; |
68 | |
} |
69 | |
|
70 | |
public void setStateCode(String stateCode) { |
71 | 0 | this.stateCode = stateCode; |
72 | 0 | } |
73 | |
|
74 | |
protected LinkedHashMap toStringMapper() { |
75 | 0 | LinkedHashMap m = new LinkedHashMap(); |
76 | 0 | m.put("countyCode", this.countyCode); |
77 | 0 | m.put("stateCode", this.stateCode); |
78 | 0 | return m; |
79 | |
} |
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
public String getPostalCountryCode() { |
87 | 0 | return postalCountryCode; |
88 | |
} |
89 | |
|
90 | |
|
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
public void setPostalCountryCode(String postalCountryCode) { |
96 | 0 | this.postalCountryCode = postalCountryCode; |
97 | 0 | } |
98 | |
|
99 | |
|
100 | |
|
101 | |
|
102 | |
|
103 | |
|
104 | |
public Country getCountry() { |
105 | 0 | return country; |
106 | |
} |
107 | |
|
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
|
113 | |
public void setCountry(Country country) { |
114 | 0 | this.country = country; |
115 | 0 | } |
116 | |
} |