org.kuali.rice.shareddata.impl.county
Class CountyBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.shareddata.impl.county.CountyBo
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, Coded, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, MutableInactivatable, PersistableBusinessObject, CountyContract

@Entity
public class CountyBo
extends PersistableBusinessObjectBase
implements CountyContract, MutableInactivatable, groovy.lang.GroovyObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
CountyBo()
           
 
Method Summary
static CountyBo from(County im)
           
 boolean getActive()
           
 String getCode()
          The code value for this object.
 CountryBo getCountry()
           
 String getCountryCode()
          This the postal country code for the County.
 groovy.lang.MetaClass getMetaClass()
           
 String getName()
          This the name for the County.
 Object getProperty(String property)
           
 StateBo getState()
           
 String getStateCode()
          This the postal state code for the County.
 Object invokeMethod(String method, Object arguments)
           
 boolean isActive()
          The active indicator for an object.
 void setActive(boolean value)
          Sets the record to active or inactive.
 void setCode(String value)
           
 void setCountry(CountryBo value)
           
 void setCountryCode(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setName(String value)
           
 void setProperty(String property, Object value)
           
 void setState(StateBo value)
           
 void setStateCode(String value)
           
static County to(CountyBo bo)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, 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
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

CountyBo

public CountyBo()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getCode

public String getCode()
Description copied from interface: Coded
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.

setCode

public void setCode(String value)

getCountryCode

public String getCountryCode()
Description copied from interface: CountyContract
This the postal country code for the County. This cannot be null or a blank string.

Specified by:
getCountryCode in interface CountyContract
Returns:
postal country code

setCountryCode

public void setCountryCode(String value)

getStateCode

public String getStateCode()
Description copied from interface: CountyContract
This the postal state code for the County. This cannot be null or a blank string.

Specified by:
getStateCode in interface CountyContract
Returns:
postal state code

setStateCode

public void setStateCode(String value)

getName

public String getName()
Description copied from interface: CountyContract
This the name for the County. This cannot be null or a blank string.

Specified by:
getName in interface CountyContract
Returns:
name

setName

public void setName(String value)

getActive

public boolean getActive()

isActive

public boolean isActive()
Description copied from interface: Inactivatable
The active indicator for an object.

Specified by:
isActive in interface Inactivatable
Returns:
true if active false if not.

setActive

public void setActive(boolean value)
Description copied from interface: MutableInactivatable
Sets the record to active or inactive.

Specified by:
setActive in interface MutableInactivatable

getCountry

public CountryBo getCountry()

setCountry

public void setCountry(CountryBo value)

getState

public StateBo getState()

setState

public void setState(StateBo value)

to

public static County to(CountyBo bo)

from

public static CountyBo from(County im)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.