|
||||||||||
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.state.State
public final class State
POJO implementation of StateContract that is immutable. Instances of State can be (un)marshalled to and from XML.
StateContract
,
Serialized FormNested Class Summary | |
---|---|
static class |
State.Builder
This builder constructs a State enforcing the constraints of the StateContract . |
static class |
State.Cache
|
Method Summary | |
---|---|
String |
getCode()
The code value for this object. |
String |
getCountryCode()
This the postal country code for the State. |
String |
getName()
This the postal name for the State. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject |
---|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getCode()
getCode
in interface Coded
public String getName()
getName
in interface StateContract
public String getCountryCode()
getCountryCode
in interface StateContract
public boolean isActive()
isActive
in interface Inactivatable
public Long getVersionNumber()
getVersionNumber
in interface Versioned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |