@Entity public class CountryBo extends PersistableBusinessObjectBase implements CountryEbo
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 |
|---|
CountryBo() |
| Modifier and Type | Method and Description |
|---|---|
static CountryBo |
from(Country immutable)
Creates a CountryBo business object from an immutable representation of a Country.
|
String |
getAlternateCode() |
String |
getCode() |
String |
getName() |
boolean |
isActive() |
boolean |
isRestricted() |
void |
setActive(boolean active) |
void |
setAlternateCode(String alternateCode) |
void |
setCode(String code) |
void |
setName(String name) |
void |
setRestricted(boolean restricted) |
static Country |
to(CountryBo bo)
Converts a mutable CountryBo to an immutable Country representation.
|
_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 CountryBo()
public String getCode()
getCode in interface CodedgetCode in interface CountryContractgetCode in interface CountryEbopublic String getAlternateCode()
getAlternateCode in interface CountryContractgetAlternateCode in interface CountryEbopublic void setAlternateCode(String alternateCode)
public String getName()
getName in interface CountryContractgetName in interface CountryEbopublic boolean isRestricted()
isRestricted in interface CountryContractisRestricted in interface CountryEbopublic void setRestricted(boolean restricted)
public boolean isActive()
isActive in interface InactivatableisActive in interface CountryEbopublic void setActive(boolean active)
setActive in interface MutableInactivatablesetActive in interface CountryEbopublic static Country to(CountryBo bo)
bo - Copyright © 2005–2016 The Kuali Foundation. All rights reserved.