|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.location.impl.county.CountyBo
@Entity public class CountyBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, newCollectionRecord, objectId, versionNumber |
Constructor Summary | |
---|---|
CountyBo()
|
Method Summary | |
---|---|
static CountyBo |
from(County im)
Converts a immutable object to its mutable counterpart |
String |
getCode()
The code value for this object. |
CountryBo |
getCountry()
|
String |
getCountryCode()
This the postal country code for the County. |
String |
getName()
This the name for the County. |
StateBo |
getState()
|
String |
getStateCode()
This the postal state code for the County. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
Sets the record to active or inactive. |
void |
setCode(String code)
|
void |
setCountry(CountryBo country)
|
void |
setCountryCode(String countryCode)
|
void |
setName(String name)
|
void |
setState(StateBo state)
|
void |
setStateCode(String stateCode)
|
static County |
to(CountyBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
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 |
---|
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.location.framework.county.CountyEbo |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject |
---|
refresh |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public CountyBo()
Method Detail |
---|
public String getCode()
CountyEbo
getCode
in interface Coded
getCode
in interface CountyEbo
public void setCode(String code)
public String getCountryCode()
CountyEbo
getCountryCode
in interface CountyContract
getCountryCode
in interface CountyEbo
public void setCountryCode(String countryCode)
public String getStateCode()
CountyEbo
getStateCode
in interface CountyContract
getStateCode
in interface CountyEbo
public void setStateCode(String stateCode)
public String getName()
CountyEbo
getName
in interface CountyContract
getName
in interface CountyEbo
public void setName(String name)
public boolean isActive()
CountyEbo
isActive
in interface Inactivatable
isActive
in interface CountyEbo
public void setActive(boolean active)
CountyEbo
setActive
in interface MutableInactivatable
setActive
in interface CountyEbo
public CountryBo getCountry()
public void setCountry(CountryBo country)
public StateBo getState()
public void setState(StateBo state)
public static County to(CountyBo bo)
bo
- the mutable business object
public static CountyBo from(County im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |