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 TypeMethodDescriptiongetCode()The code value for this object.This the postal country code for the State.getName()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.booleanisActive()The active indicator for an object.voidsetActive(boolean active) Sets the record to active or inactive.Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refreshMethods 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:
getCodein interfaceorg.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:
getNamein interfaceorg.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:
getNameV3in interfaceorg.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:
getCountryCodein interfaceorg.kuali.rice.location.api.state.StateContract- Returns:
- postal country code
-
isActive
boolean isActive()The active indicator for an object.- Specified by:
isActivein interfaceorg.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:
setActivein interfaceorg.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:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned- Returns:
- the version number, or null if one has not been assigned yet
-