@Entity public class StateBo extends PersistableBusinessObjectBase implements StateEbo
extension, newCollectionRecord, objectId, versionNumber_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup| 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() |
CountryBo |
getCountry() |
String |
getCountryCode() |
String |
getName() |
boolean |
isActive() |
void |
setActive(boolean active) |
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
|
_persistence_get_objectId, _persistence_get_versionNumber, _persistence_get, _persistence_new, _persistence_post_clone, _persistence_set_objectId, _persistence_set_versionNumber, _persistence_set, 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_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionNumberrefreshtoStringpublic StateBo()
public String getCountryCode()
getCountryCode in interface StateContractgetCountryCode in interface StateEbopublic void setCountryCode(String countryCode)
public String getName()
getName in interface StateContractgetName in interface StateEbopublic boolean isActive()
isActive in interface InactivatableisActive in interface StateEbopublic void setActive(boolean active)
setActive 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–2016 The Kuali Foundation. All rights reserved.