Class County
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.location.api.county.County
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.Coded,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.core.api.mo.ModelObjectComplete,CountyContract
public final class County
extends org.kuali.rice.core.api.mo.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:
-
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
- Specified by:
getCodein interfaceorg.kuali.rice.core.api.mo.common.Coded
-
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 interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-