@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, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionNumberrefreshtoStringpublic StateBo()
public String getCode()
StateEbopublic String getCountryCode()
StateEbogetCountryCode in interface StateContractgetCountryCode in interface StateEbopublic void setCountryCode(String countryCode)
public String getName()
StateEbogetName in interface StateContractgetName in interface StateEbopublic boolean isActive()
StateEboisActive in interface InactivatableisActive in interface StateEbopublic void setActive(boolean active)
StateEbosetActive in interface MutableInactivatablesetActive in interface StateEbopublic CountryBo getCountry()
public void setCountry(CountryBo country)
public static State to(StateBo bo)
bo - the mutable business objectCopyright © 2005–2015 The Kuali Foundation. All rights reserved.