|
||||||||||
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.postalcode.PostalCodeBo
@Entity public class PostalCodeBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, newCollectionRecord, objectId, versionNumber |
Constructor Summary | |
---|---|
PostalCodeBo()
|
Method Summary | |
---|---|
static PostalCodeBo |
from(PostalCode im)
Converts a immutable object to its mutable counterpart |
String |
getCityName()
This the postal state code for the PostalCode. |
String |
getCode()
The code value for this object. |
CountryBo |
getCountry()
|
String |
getCountryCode()
This the postal country code for the PostalCode. |
CountyBo |
getCounty()
|
String |
getCountyCode()
This the county code for the PostalCode. |
StateBo |
getState()
|
String |
getStateCode()
This the postal state code for the PostalCode. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
Sets the record to active or inactive. |
void |
setCityName(String cityName)
|
void |
setCode(String code)
|
void |
setCountry(CountryBo country)
|
void |
setCountryCode(String countryCode)
|
void |
setCounty(CountyBo county)
|
void |
setCountyCode(String countyCode)
|
void |
setState(StateBo state)
|
void |
setStateCode(String stateCode)
|
static PostalCode |
to(PostalCodeBo 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.postalcode.PostalCodeEbo |
---|
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 PostalCodeBo()
Method Detail |
---|
public String getCode()
PostalCodeEbo
getCode
in interface Coded
getCode
in interface PostalCodeEbo
public void setCode(String code)
public String getCountryCode()
PostalCodeEbo
getCountryCode
in interface PostalCodeContract
getCountryCode
in interface PostalCodeEbo
public void setCountryCode(String countryCode)
public String getCityName()
PostalCodeEbo
getCityName
in interface PostalCodeContract
getCityName
in interface PostalCodeEbo
public void setCityName(String cityName)
public String getStateCode()
PostalCodeEbo
getStateCode
in interface PostalCodeContract
getStateCode
in interface PostalCodeEbo
public void setStateCode(String stateCode)
public String getCountyCode()
PostalCodeEbo
getCountyCode
in interface PostalCodeContract
getCountyCode
in interface PostalCodeEbo
public void setCountyCode(String countyCode)
public boolean isActive()
PostalCodeEbo
isActive
in interface Inactivatable
isActive
in interface PostalCodeEbo
public void setActive(boolean active)
PostalCodeEbo
setActive
in interface MutableInactivatable
setActive
in interface PostalCodeEbo
public CountryBo getCountry()
public void setCountry(CountryBo country)
public StateBo getState()
public void setState(StateBo state)
public CountyBo getCounty()
public void setCounty(CountyBo county)
public static PostalCode to(PostalCodeBo bo)
bo
- the mutable business object
public static PostalCodeBo from(PostalCode im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |