edu.ntnu.cikmr.workflow
Class SetDefined

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

public class SetDefined
extends Statement

Title: SetDefined

Description: Sets the value or creates a variable.

Copyright: Copyright (c) 2007


Constructor Summary
SetDefined()
           
 
Method Summary
 boolean execute()
           
 void fromXML(org.w3c.dom.Node n)
           
 java.lang.String getName()
          Returns the name of the variable.
 boolean getResult()
           
 java.lang.String getValue()
          Returns the value to set.
 void setName(java.lang.String name)
          Sets the name of the variable to set.
 void setValue(java.lang.String value)
          Sets the variable value.
 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

SetDefined

public SetDefined()
Method Detail

fromXML

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

toXML

public java.lang.String toXML()

execute

public boolean execute()

getResult

public boolean getResult()

getValue

public java.lang.String getValue()
Returns the value to set.

Returns:
value

getName

public java.lang.String getName()
Returns the name of the variable.

Returns:
variable name.

setValue

public void setValue(java.lang.String value)
Sets the variable value.

Parameters:
value - value

setName

public void setName(java.lang.String name)
Sets the name of the variable to set.

Parameters:
name - variable name