Coverage Report - org.kuali.rice.shareddata.api.county.CountyContract
 
Classes in this File Line Coverage Branch Coverage Complexity
CountyContract
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2006-2011 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  
 
 17  
 package org.kuali.rice.shareddata.api.county;
 18  
 
 19  
 /**
 20  
  * This is the contract for a State.
 21  
  */
 22  
 public interface CountyContract {
 23  
 
 24  
     /**
 25  
      * This the county code for the County.  This cannot be null or a blank string.
 26  
      *
 27  
      * @return code
 28  
      */
 29  
     String getCode();
 30  
 
 31  
     /**
 32  
      * This the postal country code for the County.  This cannot be null or a blank string.
 33  
      *
 34  
      * @return postal country code
 35  
      */
 36  
     String getCountryCode();
 37  
 
 38  
     /**
 39  
      * This the postal state code for the County.  This cannot be null or a blank string.
 40  
      *
 41  
      * @return postal state code
 42  
      */
 43  
     String getStateCode();
 44  
 
 45  
     /**
 46  
      * This the name for the County.  This cannot be null or a blank string.
 47  
      *
 48  
      * @return name
 49  
      */
 50  
     String getName();
 51  
 
 52  
     /**
 53  
      * This the active flag for the County.
 54  
      *
 55  
      * @return the active flag of the County
 56  
      */
 57  
     boolean isActive();
 58  
 
 59  
     /**
 60  
      * This the object version number for County.
 61  
      *
 62  
      * @return the version number of the County
 63  
      */
 64  
     Long getVersionNumber();
 65  
 }