Coverage Report - org.kuali.rice.kns.bo.CountyImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
CountyImpl
0%
0/26
N/A
1
 
 1  
 /*
 2  
  * Copyright 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 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  
      * Gets the postalCountryCode attribute.
 83  
      * 
 84  
      * @return Returns the postalCountryCode.
 85  
      */
 86  
     public String getPostalCountryCode() {
 87  0
         return postalCountryCode;
 88  
     }
 89  
 
 90  
     /**
 91  
      * Sets the postalCountryCode attribute value.
 92  
      * 
 93  
      * @param postalCountryCode The postalCountryCode to set.
 94  
      */
 95  
     public void setPostalCountryCode(String postalCountryCode) {
 96  0
         this.postalCountryCode = postalCountryCode;
 97  0
     }
 98  
 
 99  
     /**
 100  
      * Gets the country attribute.
 101  
      * 
 102  
      * @return Returns the country.
 103  
      */
 104  
     public Country getCountry() {
 105  0
         return country;
 106  
     }
 107  
 
 108  
     /**
 109  
      * Sets the country attribute value.
 110  
      * 
 111  
      * @param country The country to set.
 112  
      */
 113  
     public void setCountry(Country country) {
 114  0
         this.country = country;
 115  0
     }
 116  
 }