Class County
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.location.api.county.County
- All Implemented Interfaces:
Serializable,Inactivatable,Coded,Versioned,ModelObjectBasic,ModelObjectComplete,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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis builder constructs an County enforcing the constraints of theCountyContract.static class -
Method Summary
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
getCode
-
getName
This the name for the County. This cannot be null or a blank string.- Specified by:
getNamein interfaceCountyContract- Returns:
- name
-
getCountryCode
This the postal country code for the County. This cannot be null or a blank string.- Specified by:
getCountryCodein interfaceCountyContract- Returns:
- postal country code
-
getStateCode
This the postal state code for the County. This cannot be null or a blank string.- Specified by:
getStateCodein interfaceCountyContract- Returns:
- postal state code
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceInactivatable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-