org.kuali.rice.shareddata.framework.state
Class StateEbo

java.lang.Object
  extended by org.kuali.rice.shareddata.framework.state.StateEbo
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, Inactivatable, Coded, Versioned, ModelObjectBasic, BusinessObject, ExternalizableBusinessObject, MutableInactivatable, StateContract

public class StateEbo
extends Object
implements MutableInactivatable, StateContract, ExternalizableBusinessObject, groovy.lang.GroovyObject

See Also:
Serialized Form

Constructor Summary
StateEbo()
           
 
Method Summary
static StateEbo from(State im)
           
 boolean getActive()
           
 String getCode()
          The code value for this object.
 CountryEbo getCountry()
           
 String getCountryCode()
          This the postal country code for the State.
 groovy.lang.MetaClass getMetaClass()
           
 String getName()
          This the postal name for the State.
 Object getProperty(String property)
           
 Long getVersionNumber()
          Returns the version number for this object.
 Object invokeMethod(String method, Object arguments)
           
 boolean isActive()
          The active indicator for an object.
 void refresh()
          Refreshes any reference objects from the primitive values.
 void setActive(boolean value)
          Sets the record to active or inactive.
 void setCode(String value)
           
 void setCountry(CountryEbo value)
           
 void setCountryCode(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setName(String value)
           
 void setProperty(String property, Object value)
           
 void setVersionNumber(Long value)
           
static State to(StateEbo bo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

StateEbo

public StateEbo()
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: StateContract
This the postal country code for the State. This cannot be null or a blank string.

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

setCountryCode

public void setCountryCode(String value)

getName

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

Specified by:
getName in interface StateContract
Returns:
postal 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 CountryEbo getCountry()

setCountry

public void setCountry(CountryEbo value)

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

setVersionNumber

public void setVersionNumber(Long value)

to

public static State to(StateEbo bo)

from

public static StateEbo from(State im)

refresh

public void refresh()
Description copied from interface: BusinessObject
Refreshes any reference objects from the primitive values.

Specified by:
refresh in interface BusinessObject


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