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, newCollectionRecord, objectId, versionNumber
 
Constructor Summary
State()
           
State(String key, String value)
           
 
Method Summary
 String getKey()
           
 String getStateId()
           
 String getValue()
           
 void setKey(String key)
           
 void setStateId(String stateId)
           
 void setValue(String value)
           
 String toString()
          This will return a proper string representation of the Model Object.
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stateId

protected String stateId
Constructor Detail

State

public State()

State

public State(String key,
             String value)
Method Detail

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)

toString

public String toString()
Description copied from interface: ModelObjectBasic
This will return a proper string representation of the Model Object. All of the fields comprising the "public" api should be represented in the return value.

Specified by:
toString in interface ModelObjectBasic
Overrides:
toString in class BusinessObjectBase
Returns:
the string representation


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.