org.kuali.rice.kew.engine.node
Class State

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kew.engine.node.State
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, KeyValue, BusinessObject, PersistableBusinessObject
Direct Known Subclasses:
BranchState, NodeState

@MappedSuperclass
public abstract class State
extends PersistableBusinessObjectBase
implements KeyValue

A KeyValuePair that adds an id fields that makes it sufficient for storing in a database.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  String stateId
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
State()
           
State(String key, String value)
           
 
Method Summary
 void customPrePersist()
           
 String getKey()
           
 String getStateId()
           
 String getValue()
           
 void setKey(String key)
           
 void setStateId(String stateId)
           
 void setValue(String value)
           
protected  LinkedHashMap<String,Object> toStringMapperFields()
           
 
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.ModelObjectBasic
toString
 

Field Detail

stateId

protected String stateId
Constructor Detail

State

public State()

State

public State(String key,
             String value)
Method Detail

customPrePersist

public void customPrePersist()

getStateId

public String getStateId()

setStateId

public void setStateId(String stateId)

getKey

public String getKey()
Specified by:
getKey in interface KeyValue

getValue

public String getValue()
Specified by:
getValue in interface KeyValue

setKey

public void setKey(String key)

setValue

public void setValue(String value)

toStringMapperFields

protected LinkedHashMap<String,Object> toStringMapperFields()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.