org.kuali.rice.kew.rule
Class RuleExpressionDef
java.lang.Object
   org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.BusinessObjectBase
       org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
           org.kuali.rice.kew.rule.RuleExpressionDef
org.kuali.rice.kew.rule.RuleExpressionDef
- All Implemented Interfaces: 
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, RuleExpressionContract, BusinessObject, PersistableBusinessObject
- @Entity
public class RuleExpressionDef 
- extends PersistableBusinessObjectBase- implements RuleExpressionContract
BO for rule expressions
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
 
 
 
 
| 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 | 
 
 
 
 
 
 
RuleExpressionDef
public RuleExpressionDef()
getId
public String getId()
- Description copied from interface: Identifiable
- The unique identifier for an object.  This can be null.
 
- 
- Specified by:
- getIdin interface- Identifiable
 
- 
- Returns:
- the id
 
setId
public void setId(String id)
- 
 
- 
- Parameters:
- id- the id to set
 
getType
public String getType()
- 
- Specified by:
- getTypein interface- RuleExpressionContract
 
- 
- Returns:
- the type
 
setType
public void setType(String type)
- 
 
- 
- Parameters:
- type- the type to set
 
getExpression
public String getExpression()
- 
- Specified by:
- getExpressionin interface- RuleExpressionContract
 
- 
- Returns:
- the expression
 
setExpression
public void setExpression(String expression)
- 
 
- 
- Parameters:
- expression- the expression to set
 
equals
public boolean equals(Object obj)
- Returns whether the object is an equivalent rule expression, i.e.
 the type and expression are the same.  This is necessary for rule duplicate
 detection.
 
- 
- Overrides:
- equalsin class- Object
 
- 
- See Also:
- Object.equals(java.lang.Object)
 
to
public static RuleExpression to(RuleExpressionDef bo)
- Converts a mutable bo to its immutable counterpart
 
- 
 
- 
- Parameters:
- bo- the mutable business object
- Returns:
- the immutable object
 
from
public static RuleExpressionDef from(RuleExpression im)
- Converts a immutable object to its mutable counterpart
 
- 
 
- 
- Parameters:
- im- immutable object
- Returns:
- the mutable bo
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.