Class CountryBo

java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.location.impl.country.CountryBo
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.country.CountryContract, org.kuali.rice.location.framework.country.CountryEbo

@Entity public class CountryBo extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase implements org.kuali.rice.location.framework.country.CountryEbo
See Also:
  • Field Summary

    Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase

    extension, newCollectionRecord, objectId, versionNumber

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static CountryBo
    from(org.kuali.rice.location.api.country.Country immutable)
    Creates a CountryBo business object from an immutable representation of a Country.
     
     
     
     
    boolean
     
    boolean
     
    void
    setActive(boolean active)
     
    void
    setAlternateCode(String alternateCode)
     
    void
     
    void
     
    void
    setNameV3(String nameV3)
     
    void
    setRestricted(boolean restricted)
     
    static org.kuali.rice.location.api.country.Country
    Converts a mutable CountryBo to an immutable Country representation.

    Methods 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, setVersionNumber

    Methods 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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject

    refresh

    Methods inherited from interface org.kuali.rice.location.framework.country.CountryEbo

    getVersionNumber

    Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic

    toString

    Methods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject

    _persistence_shallow_clone
  • Constructor Details

    • CountryBo

      public CountryBo()
  • Method Details

    • getCode

      public String getCode()
      Specified by:
      getCode in interface org.kuali.rice.core.api.mo.common.Coded
      Specified by:
      getCode in interface org.kuali.rice.location.api.country.CountryContract
      Specified by:
      getCode in interface org.kuali.rice.location.framework.country.CountryEbo
    • setCode

      public void setCode(String code)
    • getAlternateCode

      public String getAlternateCode()
      Specified by:
      getAlternateCode in interface org.kuali.rice.location.api.country.CountryContract
      Specified by:
      getAlternateCode in interface org.kuali.rice.location.framework.country.CountryEbo
    • setAlternateCode

      public void setAlternateCode(String alternateCode)
    • getName

      public String getName()
      Specified by:
      getName in interface org.kuali.rice.location.api.country.CountryContract
      Specified by:
      getName in interface org.kuali.rice.location.framework.country.CountryEbo
    • setName

      public void setName(String name)
    • getNameV3

      public String getNameV3()
      Specified by:
      getNameV3 in interface org.kuali.rice.location.api.country.CountryContract
      Specified by:
      getNameV3 in interface org.kuali.rice.location.framework.country.CountryEbo
    • setNameV3

      public void setNameV3(String nameV3)
    • isRestricted

      public boolean isRestricted()
      Specified by:
      isRestricted in interface org.kuali.rice.location.api.country.CountryContract
      Specified by:
      isRestricted in interface org.kuali.rice.location.framework.country.CountryEbo
    • setRestricted

      public void setRestricted(boolean restricted)
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.kuali.rice.location.framework.country.CountryEbo
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
    • setActive

      public void setActive(boolean active)
      Specified by:
      setActive in interface org.kuali.rice.location.framework.country.CountryEbo
      Specified by:
      setActive in interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable
    • to

      public static org.kuali.rice.location.api.country.Country to(CountryBo bo)
      Converts a mutable CountryBo to an immutable Country representation.
      Parameters:
      bo -
      Returns:
      an immutable Country
    • from

      public static CountryBo from(org.kuali.rice.location.api.country.Country immutable)
      Creates a CountryBo business object from an immutable representation of a Country.
      Parameters:
      immutable - an immutable Country
      Returns:
      a CountryBo