public final class Country extends AbstractDataTransferObject implements CountryContract
CountryContract
,
Serialized FormModifier 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, toString
public String getCode()
This property is required to exist.
getCode
in interface Coded
getCode
in interface CountryContract
public String getAlternateCode()
This property is optional
getAlternateCode
in interface CountryContract
public String getName()
This property is optional
getName
in interface CountryContract
public boolean isActive()
isActive
in interface Inactivatable
public 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 CountryContract
public Long getVersionNumber()
getVersionNumber
in interface Versioned
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.