Interface StateEbo

All Superinterfaces:
org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.core.api.mo.common.Coded, org.kuali.rice.krad.bo.ExternalizableBusinessObject, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.core.api.mo.common.active.MutableInactivatable, Serializable, org.kuali.rice.location.api.state.StateContract, org.kuali.rice.core.api.mo.common.Versioned

public interface StateEbo extends org.kuali.rice.location.api.state.StateContract, org.kuali.rice.krad.bo.ExternalizableBusinessObject, org.kuali.rice.core.api.mo.common.active.MutableInactivatable
TODO: Likely should remove all methods from this interface after KULRICE-7170 is fixed
  • Method Summary

    Modifier and Type
    Method
    Description
    The code value for this object.
    This the postal country code for the State.
    This the postal name for the State.
    This the postal name for the State as found in UniversalCodes-V2.0.
    Returns the version number for this object.
    boolean
    The active indicator for an object.
    void
    setActive(boolean active)
    Sets the record to active or inactive.

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

    refresh

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

    toString
  • Method Details

    • getCode

      String getCode()
      The code value for this object. In general a code value cannot be null or a blank string.
      Specified by:
      getCode in interface org.kuali.rice.core.api.mo.common.Coded
      Returns:
      the code value for this object.
    • getName

      String getName()
      This the postal name for the State. This cannot be null or a blank string.
      Specified by:
      getName in interface org.kuali.rice.location.api.state.StateContract
      Returns:
      postal name
    • getNameV3

      String getNameV3()
      This the postal name for the State as found in UniversalCodes-V2.0. This cannot be null or a blank string.
      Specified by:
      getNameV3 in interface org.kuali.rice.location.api.state.StateContract
      Returns:
      postal name
    • getCountryCode

      String getCountryCode()
      This the postal country code for the State. This cannot be null or a blank string.
      Specified by:
      getCountryCode in interface org.kuali.rice.location.api.state.StateContract
      Returns:
      postal country code
    • isActive

      boolean isActive()
      The active indicator for an object.
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
      Returns:
      true if active false if not.
    • setActive

      void setActive(boolean active)
      Sets the record to active or inactive.
      Specified by:
      setActive in interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable
    • getVersionNumber

      Long getVersionNumber()
      Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
      Returns:
      the version number, or null if one has not been assigned yet