@Entity public class CountyBo extends PersistableBusinessObjectBase implements CountyEbo
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
CountyBo() |
Modifier and Type | Method and Description |
---|---|
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
|
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 CountyBo()
public String getCode()
CountyEbo
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 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 static County to(CountyBo bo)
bo
- the mutable business objectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.