当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
StateItem (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.repository
Class StateItem
java.lang.Object
org.drools.repository.Item
org.drools.repository.StateItem
public class StateItem
- extends Item
The StateItem represents the status of an asset.
An asset can only be in 1 state at a time. Kind of for workflow.
- Author:
- btruitt
Constructor Summary |
StateItem(RulesRepository rulesRepository,
javax.jcr.Node node)
Constructs an object of type StateItem corresponding the specified node |
DRAFT_STATE_NAME
public static String DRAFT_STATE_NAME
- All assets when created, or a new version saved, have a status of Draft.
STATE_NODE_TYPE_NAME
public static final String STATE_NODE_TYPE_NAME
- The name of the state node type
- See Also:
- Constant Field Values
StateItem
public StateItem(RulesRepository rulesRepository,
javax.jcr.Node node)
throws RulesRepositoryException
- Constructs an object of type StateItem corresponding the specified node
- Parameters:
rulesRepository
- the rulesRepository that instantiated this objectnode
- the node to which this object corresponds
- Throws:
RulesRepositoryException
equals
public boolean equals(Object in)
- Overrides:
equals
in class Item
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Item
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.