@Entity public class PostalCodeBo extends PersistableBusinessObjectBase implements PostalCodeEbo
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
PostalCodeBo() |
Modifier and Type | Method and Description |
---|---|
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
|
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
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
refresh
toString
public PostalCodeBo()
public String getCode()
PostalCodeEbo
getCode
in interface Coded
getCode
in interface PostalCodeEbo
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 static PostalCode to(PostalCodeBo bo)
bo
- the mutable business objectpublic static PostalCodeBo from(PostalCode im)
im
- immutable objectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.