edu.ntnu.cikmr.workflow
Class Execute

java.lang.Object
  extended by edu.ntnu.cikmr.workflow.Statement
      extended by edu.ntnu.cikmr.workflow.Execute
All Implemented Interfaces:
Executable, XMLRepresentation

public class Execute
extends Statement

Title: Execute statement

Description: Executes an activity or control statement.

Copyright: Copyright (c) 2007


Constructor Summary
Execute()
           
 
Method Summary
 boolean execute()
           
 void fromXML(org.w3c.dom.Node n)
           
 java.lang.String getExecuteID()
          Returns the activity id to execute.
 boolean getResult()
           
 boolean isExcuteID()
           
 void setExecuteControl(java.lang.String control)
          Sets the workflow control statement to execute.
 void setExecuteID(java.lang.String id)
          Sets the activity to execute.
 java.lang.String toXML()
           
 
Methods inherited from class edu.ntnu.cikmr.workflow.Statement
getParent, resolve, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Execute

public Execute()
Method Detail

execute

public boolean execute()

getResult

public boolean getResult()

fromXML

public void fromXML(org.w3c.dom.Node n)

getExecuteID

public java.lang.String getExecuteID()
Returns the activity id to execute.

Returns:
id

setExecuteID

public void setExecuteID(java.lang.String id)
Sets the activity to execute.

Parameters:
id -

isExcuteID

public boolean isExcuteID()

setExecuteControl

public void setExecuteControl(java.lang.String control)
Sets the workflow control statement to execute.

Parameters:
control - control statement

toXML

public java.lang.String toXML()