org.tigris.scarab.workflow
Class TransitionNode

java.lang.Object
  extended byorg.tigris.scarab.workflow.TransitionNode

public class TransitionNode
extends java.lang.Object

The Transitions available for Attributes span a recursive TransitionTree. A TransitionNode is one node in the TransitionTree. It contains a pointer to a source AttributeOption of a Transition and a List of TransitionNodes which contain target AttributeOptions which can be reached from this AttributeOption.

Author:
hussayn.dabbous@saxess.de

Field Summary
(package private) static java.lang.Integer BLANK
           
(package private)  java.util.List children
           
(package private) static java.lang.Integer FIRST
           
(package private) static java.lang.Integer INTER
           
(package private) static java.lang.Integer LAST
           
(package private)  TransitionNode parent
           
(package private) static java.lang.Integer PASS
           
(package private) static java.lang.Integer SINGLE
           
 
Constructor Summary
(package private) TransitionNode(AttributeOption option)
           
 
Method Summary
 TransitionNode addNode(Transition transition)
           
 void addNode(TransitionNode node)
           
 java.util.List createRows()
           
 java.util.List getChildren()
           
 AttributeOption getOption()
           
 TransitionNode getParent()
           
 int getTreeDepth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

java.util.List children

parent

TransitionNode parent

BLANK

static final java.lang.Integer BLANK

SINGLE

static final java.lang.Integer SINGLE

FIRST

static final java.lang.Integer FIRST

INTER

static final java.lang.Integer INTER

LAST

static final java.lang.Integer LAST

PASS

static final java.lang.Integer PASS
Constructor Detail

TransitionNode

TransitionNode(AttributeOption option)
Method Detail

addNode

public void addNode(TransitionNode node)

addNode

public TransitionNode addNode(Transition transition)

getParent

public TransitionNode getParent()

getOption

public AttributeOption getOption()

getChildren

public java.util.List getChildren()

createRows

public java.util.List createRows()

getTreeDepth

public int getTreeDepth()


Copyright © 2000-2004 Tigris.org. All Rights Reserved.