edu.ntnu.cikmr.workflow
Class IsDefined

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

public class IsDefined
extends Statement

Title: IsDefined statement

Description: Checks if a variable is defined.

Copyright: Copyright (c) 2007


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

IsDefined

public IsDefined()
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()

getName

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

Returns:
variable name

setName

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

Parameters:
name - variable name