|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.mo.AbstractDataTransferObject org.kuali.rice.location.api.country.Country
public final class Country
POJO implementation of CountryContract that is immutable. Instances of Country can be (un)marshalled to and from XML.
CountryContract
,
Serialized FormNested Class Summary | |
---|---|
static class |
Country.Builder
Builder for immutable Country objects. |
static class |
Country.Cache
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject |
---|
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |