@Entity public class StateBo extends PersistableBusinessObjectBase implements StateEbo
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
StateBo() |
Modifier and Type | Method and Description |
---|---|
static StateBo |
from(State im)
Converts a immutable object to its mutable counterpart
|
String |
getCode()
The code value for this object.
|
CountryBo |
getCountry() |
String |
getCountryCode()
This the postal country code for the State.
|
String |
getName()
This the postal name for the State.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active)
Sets the record to active or inactive.
|
void |
setCode(String code) |
void |
setCountry(CountryBo country) |
void |
setCountryCode(String countryCode) |
void |
setName(String name) |
static State |
to(StateBo bo)
Converts a mutable bo to its immutable counterpart
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
refresh
toString
public StateBo()
public String getCode()
StateEbo
public String getCountryCode()
StateEbo
getCountryCode
in interface StateContract
getCountryCode
in interface StateEbo
public void setCountryCode(String countryCode)
public String getName()
StateEbo
getName
in interface StateContract
getName
in interface StateEbo
public boolean isActive()
StateEbo
isActive
in interface Inactivatable
isActive
in interface StateEbo
public void setActive(boolean active)
StateEbo
setActive
in interface MutableInactivatable
setActive
in interface StateEbo
public CountryBo getCountry()
public void setCountry(CountryBo country)
public static State to(StateBo bo)
bo
- the mutable business objectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.