Class CountyBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.location.impl.county.CountyBo
- All Implemented Interfaces:
Serializable,Cloneable,org.apache.ojb.broker.PersistenceBrokerAware,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.internal.weaving.PersistenceWeavedRest,org.eclipse.persistence.queries.FetchGroupTracker,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.active.MutableInactivatable,org.kuali.rice.core.api.mo.common.Coded,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.krad.bo.BusinessObject,org.kuali.rice.krad.bo.ExternalizableBusinessObject,org.kuali.rice.krad.bo.PersistableBusinessObject,org.kuali.rice.location.api.county.CountyContract,org.kuali.rice.location.framework.county.CountyEbo
@Entity
public class CountyBo
extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
implements org.kuali.rice.location.framework.county.CountyEbo
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, newCollectionRecord, objectId, versionNumberFields inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CountyBofrom(org.kuali.rice.location.api.county.County im) Converts a immutable object to its mutable counterpartgetCode()getName()getState()booleanisActive()voidsetActive(boolean active) voidvoidsetCountry(CountryBo country) voidsetCountryCode(String countryCode) voidvoidvoidsetStateCode(String stateCode) static org.kuali.rice.location.api.county.CountyConverts a mutable bo to its immutable counterpartMethods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
_persistence_get, _persistence_get_objectId, _persistence_get_versionNumber, _persistence_new, _persistence_post_clone, _persistence_set, _persistence_set_objectId, _persistence_set_versionNumber, 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, setVersionNumberMethods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
_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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refreshMethods inherited from interface org.kuali.rice.location.framework.county.CountyEbo
getVersionNumberMethods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toStringMethods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject
_persistence_shallow_clone
-
Constructor Details
-
CountyBo
public CountyBo()
-
-
Method Details
-
getCode
- Specified by:
getCodein interfaceorg.kuali.rice.core.api.mo.common.Coded- Specified by:
getCodein interfaceorg.kuali.rice.location.framework.county.CountyEbo
-
setCode
-
getCountryCode
- Specified by:
getCountryCodein interfaceorg.kuali.rice.location.api.county.CountyContract- Specified by:
getCountryCodein interfaceorg.kuali.rice.location.framework.county.CountyEbo
-
setCountryCode
-
getStateCode
- Specified by:
getStateCodein interfaceorg.kuali.rice.location.api.county.CountyContract- Specified by:
getStateCodein interfaceorg.kuali.rice.location.framework.county.CountyEbo
-
setStateCode
-
getName
- Specified by:
getNamein interfaceorg.kuali.rice.location.api.county.CountyContract- Specified by:
getNamein interfaceorg.kuali.rice.location.framework.county.CountyEbo
-
setName
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.kuali.rice.location.framework.county.CountyEbo- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceorg.kuali.rice.location.framework.county.CountyEbo- Specified by:
setActivein interfaceorg.kuali.rice.core.api.mo.common.active.MutableInactivatable
-
getCountry
-
setCountry
-
getState
-
setState
-
to
Converts a mutable bo to its immutable counterpart- Parameters:
bo- the mutable business object- Returns:
- An immutable County if the passed in mutable is not null. If the mutable reference was null, then null is returned.
-
from
Converts a immutable object to its mutable counterpart- Parameters:
im- immutable object- Returns:
- a new mutable CountyBo if the passed in immutable is not null. If the immutable reference was null, then null is returned.
-