org.globus.cog.karajan.workflow
Class FlowElementWrapper

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.FlowElementWrapper
All Implemented Interfaces:
EventListener, ExtendedFlowElement, FlowElement

public class FlowElementWrapper
extends Object
implements ExtendedFlowElement


Constructor Summary
FlowElementWrapper()
           
 
Method Summary
 boolean acceptsInlineText()
           
 void addElement(FlowElement element)
           
 void bind(VariableStack stack)
           
 int elementCount()
           
 List elements()
           
 void event(Event e)
           
 void executeSimple(VariableStack stack)
           
 void failImmediately(VariableStack stack, String message)
           
 FlowElement getElement(int index)
           
 String getElementType()
           
 FlowElement getParent()
           
 FlowElement getPeer()
           
 ProjectNode getProjectNode()
           
 Object getProperty(String name)
           
 boolean hasProperty(String name)
           
 boolean isSimple()
           
protected  void populate(FlowElement peer)
           
 Set propertyNames()
           
 void removeProperty(String name)
           
 void setElementType(String type)
           
 void setParent(FlowElement parent)
           
 void setProperty(String name, int value)
           
 void setProperty(String name, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowElementWrapper

public FlowElementWrapper()
Method Detail

addElement

public void addElement(FlowElement element)
Specified by:
addElement in interface FlowElement

getElement

public FlowElement getElement(int index)
Specified by:
getElement in interface FlowElement

elementCount

public int elementCount()
Specified by:
elementCount in interface FlowElement

elements

public List elements()
Specified by:
elements in interface FlowElement

setElementType

public void setElementType(String type)
Specified by:
setElementType in interface FlowElement

getElementType

public String getElementType()
Specified by:
getElementType in interface FlowElement

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface FlowElement

removeProperty

public void removeProperty(String name)
Specified by:
removeProperty in interface FlowElement

setProperty

public void setProperty(String name,
                        int value)

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface FlowElement

hasProperty

public boolean hasProperty(String name)
Specified by:
hasProperty in interface FlowElement

propertyNames

public Set propertyNames()
Specified by:
propertyNames in interface FlowElement

setParent

public void setParent(FlowElement parent)
Specified by:
setParent in interface FlowElement

getParent

public FlowElement getParent()
Specified by:
getParent in interface FlowElement

getPeer

public FlowElement getPeer()

failImmediately

public void failImmediately(VariableStack stack,
                            String message)
                     throws ExecutionException
Specified by:
failImmediately in interface FlowElement
Throws:
ExecutionException

getProjectNode

public ProjectNode getProjectNode()
Specified by:
getProjectNode in interface FlowElement

acceptsInlineText

public boolean acceptsInlineText()
Specified by:
acceptsInlineText in interface FlowElement

event

public void event(Event e)
           throws ExecutionException
Specified by:
event in interface EventListener
Throws:
ExecutionException

bind

public void bind(VariableStack stack)
          throws ExecutionException
Throws:
ExecutionException

populate

protected void populate(FlowElement peer)

toString

public String toString()

isSimple

public boolean isSimple()
Specified by:
isSimple in interface ExtendedFlowElement

executeSimple

public void executeSimple(VariableStack stack)
                   throws ExecutionException
Specified by:
executeSimple in interface ExtendedFlowElement
Throws:
ExecutionException