Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
State |
|
| 1.0;1 |
1 | /* | |
2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
3 | * contributor license agreements. See the NOTICE file distributed with | |
4 | * this work for additional information regarding copyright ownership. | |
5 | * The ASF licenses this file to you under the Apache License, Version 2.0 | |
6 | * (the "License"); you may not use this file except in compliance with | |
7 | * the License. You may obtain a copy of the License at | |
8 | * | |
9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
10 | * | |
11 | * Unless required by applicable law or agreed to in writing, software | |
12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
14 | * See the License for the specific language governing permissions and | |
15 | * limitations under the License. | |
16 | */ | |
17 | ||
18 | package org.apache.shale.usecases.rolodex; | |
19 | ||
20 | /** | |
21 | * <p>Represents a State domain object.</p> | |
22 | */ | |
23 | 310 | public class State { |
24 | 310 | private String abbrState = null; |
25 | ||
26 | 310 | private String state = null; |
27 | ||
28 | 310 | private String country = null; |
29 | ||
30 | 310 | private String abbrCountry = null; |
31 | ||
32 | /** | |
33 | * @return Returns the abbrCountry. | |
34 | */ | |
35 | public String getAbbrCountry() { | |
36 | 310 | return abbrCountry; |
37 | } | |
38 | ||
39 | ||
40 | /** | |
41 | * @param abbrCountry The abbrCountry to set. | |
42 | */ | |
43 | public void setAbbrCountry(String abbrCountry) { | |
44 | 310 | this.abbrCountry = abbrCountry; |
45 | 310 | } |
46 | ||
47 | ||
48 | /** | |
49 | * @return Returns the abbrState. | |
50 | */ | |
51 | public String getAbbrState() { | |
52 | 310 | return abbrState; |
53 | } | |
54 | ||
55 | /** | |
56 | * @param abbrState | |
57 | * The abbrState to set. | |
58 | */ | |
59 | public void setAbbrState(String abbrState) { | |
60 | 310 | this.abbrState = abbrState; |
61 | 310 | } |
62 | ||
63 | /** | |
64 | * @return Returns the country. | |
65 | */ | |
66 | public String getCountry() { | |
67 | 310 | return country; |
68 | } | |
69 | ||
70 | /** | |
71 | * @param country | |
72 | * The country to set. | |
73 | */ | |
74 | public void setCountry(String country) { | |
75 | 310 | this.country = country; |
76 | 310 | } |
77 | ||
78 | /** | |
79 | * @return Returns the state. | |
80 | */ | |
81 | public String getState() { | |
82 | 310 | return state; |
83 | } | |
84 | ||
85 | /** | |
86 | * @param state | |
87 | * The state to set. | |
88 | */ | |
89 | public void setState(String state) { | |
90 | 310 | this.state = state; |
91 | 310 | } |
92 | ||
93 | } |