Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.definition.impl
Class EndStateImpl  view EndStateImpl download EndStateImpl.java

java.lang.Object
  extended byorg.jbpm.util.db.PersistentObject
      extended byorg.jbpm.workflow.definition.impl.DefinitionObjectImpl
          extended byorg.jbpm.workflow.definition.impl.NodeImpl
              extended byorg.jbpm.workflow.definition.impl.StateImpl
                  extended byorg.jbpm.workflow.definition.impl.EndStateImpl
All Implemented Interfaces:
org.jbpm.workflow.definition.DefinitionObject, org.jbpm.workflow.definition.EndState, org.jbpm.workflow.definition.Node, java.io.Serializable, org.jbpm.workflow.definition.State

public class EndStateImpl
extends StateImpl
implements org.jbpm.workflow.definition.EndState


Field Summary
 
Fields inherited from class org.jbpm.workflow.definition.impl.StateImpl
 
Fields inherited from class org.jbpm.workflow.definition.impl.NodeImpl
arrivingTransitions, leavingTransitions, processBlock
 
Fields inherited from class org.jbpm.workflow.definition.impl.DefinitionObjectImpl
description, name, processDefinition
 
Fields inherited from class org.jbpm.util.db.PersistentObject
id
 
Constructor Summary
EndStateImpl()
           
 
Method Summary
 void readProcessData(org.jbpm.util.xml.XmlElement xmlElement, CreationContext creationContext)
           
 void validate(ValidationContext validationContext)
           
protected  void validateLeavingTransitions(ValidationContext validationContext)
          standard, a node must have at least one leaving transition.
 
Methods inherited from class org.jbpm.workflow.definition.impl.StateImpl
addRoleAttributeValue, getFields, getImageCoordinates, readWebData, setFields, setImageCoordinates
 
Methods inherited from class org.jbpm.workflow.definition.impl.NodeImpl
getArrivingTransitions, getLeavingTransitions, getProcessBlock, setArrivingTransitions, setLeavingTransitions, setProcessBlock, setTransitionDestinationScope
 
Methods inherited from class org.jbpm.workflow.definition.impl.DefinitionObjectImpl
getDescription, getName, getProcessDefinition, getTypeName, hasName, setDescription, setName, setProcessDefinition, toString
 
Methods inherited from class org.jbpm.util.db.PersistentObject
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.workflow.definition.State
getImageCoordinates
 
Methods inherited from interface org.jbpm.workflow.definition.Node
getArrivingTransitions, getLeavingTransitions, getProcessBlock
 
Methods inherited from interface org.jbpm.workflow.definition.DefinitionObject
getDescription, getId, getName, getProcessDefinition, hasName
 

Constructor Detail

EndStateImpl

public EndStateImpl()
Method Detail

readProcessData

public void readProcessData(org.jbpm.util.xml.XmlElement xmlElement,
                            CreationContext creationContext)
Overrides:
readProcessData in class StateImpl

validate

public void validate(ValidationContext validationContext)
Overrides:
validate in class StateImpl

validateLeavingTransitions

protected void validateLeavingTransitions(ValidationContext validationContext)
Description copied from class: NodeImpl
standard, a node must have at least one leaving transition. Only the EndStateImpl will have a different opinion on this :-)

Overrides:
validateLeavingTransitions in class NodeImpl