Class County

All Implemented Interfaces:
Serializable, Inactivatable, Coded, Versioned, ModelObjectBasic, ModelObjectComplete, CountyContract

public final class County extends AbstractDataTransferObject implements CountyContract
An immutable representation of a CountyContract.

To construct an instance of a County, use the County.Builder class.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Method Details

    • getCode

      public String getCode()
      Specified by:
      getCode in interface Coded
    • getName

      public String getName()
      This the name for the County. This cannot be null or a blank string.
      Specified by:
      getName in interface CountyContract
      Returns:
      name
    • getCountryCode

      public String getCountryCode()
      This the postal country code for the County. This cannot be null or a blank string.
      Specified by:
      getCountryCode in interface CountyContract
      Returns:
      postal country code
    • getStateCode

      public String getStateCode()
      This the postal state code for the County. This cannot be null or a blank string.
      Specified by:
      getStateCode in interface CountyContract
      Returns:
      postal state code
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface Inactivatable
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface Versioned