public final class Country extends AbstractDataTransferObject implements CountryContract
CountryContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
Country.Builder
Builder for immutable Country objects.
|
static class |
Country.Cache |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternateCode()
An alternative country code to represent a country.
|
String |
getCode()
The code value for this object.
|
String |
getName()
A full, familiar, name of a country.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
boolean |
isRestricted()
Value representing whether a country is restricted.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getCode()
This property is required to exist.
getCode in interface CodedgetCode in interface CountryContractpublic String getAlternateCode()
This property is optional
getAlternateCode in interface CountryContractpublic String getName()
This property is optional
getName in interface CountryContractpublic boolean isActive()
isActive in interface Inactivatablepublic boolean isRestricted()
The meaning of restricted for a country varies depending upon the implementer - for instance if a country may not be used in the address of a Vendor.
The default value of this property is false.
isRestricted in interface CountryContractpublic Long getVersionNumber()
getVersionNumber in interface VersionedCopyright © 2005–2015 The Kuali Foundation. All rights reserved.