| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| State |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2008-2009 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.opensource.org/licenses/ecl2.php | |
| 9 | * | |
| 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 | package org.kuali.rice.kns.bo; | |
| 17 | ||
| 18 | import org.kuali.rice.kns.bo.ExternalizableBusinessObject; | |
| 19 | ||
| 20 | ||
| 21 | public interface State extends ExternalizableBusinessObject{ | |
| 22 | ||
| 23 | /** | |
| 24 | * Gets the postalStateCode attribute. | |
| 25 | * | |
| 26 | * @return Returns the postalStateCode | |
| 27 | */ | |
| 28 | public abstract String getPostalStateCode(); | |
| 29 | ||
| 30 | /** | |
| 31 | * Sets the postalStateCode attribute. | |
| 32 | * | |
| 33 | * @param postalStateCode The postalStateCode to set. | |
| 34 | */ | |
| 35 | public abstract void setPostalStateCode(String postalStateCode); | |
| 36 | ||
| 37 | /** | |
| 38 | * Gets the postalStateName attribute. | |
| 39 | * | |
| 40 | * @return Returns the postalStateName | |
| 41 | */ | |
| 42 | public abstract String getPostalStateName(); | |
| 43 | ||
| 44 | /** | |
| 45 | * Sets the postalStateName attribute. | |
| 46 | * | |
| 47 | * @param postalStateName The postalStateName to set. | |
| 48 | */ | |
| 49 | public abstract void setPostalStateName(String postalStateName); | |
| 50 | ||
| 51 | /** | |
| 52 | * @return Returns the code and description in format: xx - xxxxxxxxxxxxxxxx | |
| 53 | */ | |
| 54 | public abstract String getCodeAndDescription(); | |
| 55 | ||
| 56 | /** | |
| 57 | * Gets the active attribute. | |
| 58 | * | |
| 59 | * @return Returns the active. | |
| 60 | */ | |
| 61 | public abstract boolean isActive(); | |
| 62 | ||
| 63 | /** | |
| 64 | * Sets the active attribute value. | |
| 65 | * | |
| 66 | * @param active The active to set. | |
| 67 | */ | |
| 68 | public abstract void setActive(boolean active); | |
| 69 | ||
| 70 | /** | |
| 71 | * Gets the postalCountryCode attribute. | |
| 72 | * | |
| 73 | * @return Returns the postalCountryCode. | |
| 74 | */ | |
| 75 | public abstract String getPostalCountryCode(); | |
| 76 | ||
| 77 | /** | |
| 78 | * Sets the postalCountryCode attribute value. | |
| 79 | * | |
| 80 | * @param postalCountryCode The postalCountryCode to set. | |
| 81 | */ | |
| 82 | public abstract void setPostalCountryCode(String postalCountryCode); | |
| 83 | ||
| 84 | /** | |
| 85 | * Gets the country attribute. | |
| 86 | * | |
| 87 | * @return Returns the country. | |
| 88 | */ | |
| 89 | public abstract Country getCountry(); | |
| 90 | ||
| 91 | /** | |
| 92 | * Sets the country attribute value. | |
| 93 | * | |
| 94 | * @param country The country to set. | |
| 95 | */ | |
| 96 | public abstract void setCountry(Country country); | |
| 97 | ||
| 98 | } |