Interface PostalCodeEbo
- 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,org.kuali.rice.location.api.postalcode.PostalCodeContract,Serializable,org.kuali.rice.core.api.mo.common.Versioned
public interface PostalCodeEbo
extends org.kuali.rice.location.api.postalcode.PostalCodeContract, 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 TypeMethodDescriptionThis the postal state code for the PostalCode.getCode()The code value for this object.This the postal country code for the PostalCode.This the county code for the PostalCode.This the postal state code for the PostalCode.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
-
getCountryCode
String getCountryCode()This the postal country code for the PostalCode. This cannot be null or a blank string.- Specified by:
getCountryCodein interfaceorg.kuali.rice.location.api.postalcode.PostalCodeContract- Returns:
- postal country code
-
getStateCode
String getStateCode()This the postal state code for the PostalCode. This can be null.- Specified by:
getStateCodein interfaceorg.kuali.rice.location.api.postalcode.PostalCodeContract- Returns:
- postal state code
-
getCityName
String getCityName()This the postal state code for the PostalCode. This can be null.- Specified by:
getCityNamein interfaceorg.kuali.rice.location.api.postalcode.PostalCodeContract- Returns:
- postal state code
-
getCountyCode
String getCountyCode()This the county code for the PostalCode. This cannot be null.- Specified by:
getCountyCodein interfaceorg.kuali.rice.location.api.postalcode.PostalCodeContract- Returns:
- postal state code
-
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.
-
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
-
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
-