public final class PostalCode extends AbstractDataTransferObject implements PostalCodeContract
PostalCodeContract.
To construct an instance of a PostalCode, use the PostalCode.Builder class.
PostalCodeContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
PostalCode.Builder
This builder constructs a PostalCode enforcing the constraints of the
PostalCodeContract. |
static class |
PostalCode.Cache |
| Modifier and Type | Method and Description |
|---|---|
String |
getCityName()
This the postal state code for the PostalCode.
|
String |
getCode()
The code value for this object.
|
String |
getCountryCode()
This the postal country code for the PostalCode.
|
String |
getCountyCode()
This the county code for the PostalCode.
|
String |
getStateCode()
This the postal state code for the PostalCode.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getCode()
public String getCityName()
getCityName in interface PostalCodeContractpublic String getCountryCode()
getCountryCode in interface PostalCodeContractpublic String getStateCode()
getStateCode in interface PostalCodeContractpublic String getCountyCode()
getCountyCode in interface PostalCodeContractpublic boolean isActive()
isActive in interface Inactivatablepublic Long getVersionNumber()
getVersionNumber in interface VersionedCopyright © 2005–2016 The Kuali Foundation. All rights reserved.