org.kuali.rice.location.framework.state
Interface StateEbo

All Superinterfaces:
BusinessObject, Coded, ExternalizableBusinessObject, Inactivatable, ModelObjectBasic, MutableInactivatable, Serializable, StateContract, Versioned

public interface StateEbo
extends StateContract, ExternalizableBusinessObject, MutableInactivatable

TODO: Likely should remove all methods from this interface after KULRICE-7170 is fixed


Method Summary
 String getCode()
          The code value for this object.
 String getCountryCode()
          This the postal country code for the State.
 String getName()
          This the postal name for the State.
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isActive()
          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 Detail

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 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 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 StateContract
Returns:
postal country code

isActive

boolean isActive()
The active indicator for an object.

Specified by:
isActive in interface 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 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 Versioned
Returns:
the version number, or null if one has not been assigned yet


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.