|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.cikmr.workflow.Statement
edu.ntnu.cikmr.workflow.UseResource
public class UseResource
Title: UseResource statement
Description: Uses a resource stored in a variable.
Copyright: Copyright (c) 2007
Constructor Summary | |
---|---|
UseResource()
|
Method Summary | |
---|---|
boolean |
execute()
|
void |
fromXML(org.w3c.dom.Node n)
|
java.util.List |
getInvokes()
Returns the list of Invokes. |
java.lang.String |
getName()
Returns the name of the variable containing the resource to look up. |
Resource |
getResource()
|
boolean |
getResult()
|
void |
setInvokes(java.util.List invokes)
Sets the list of Invokes. |
void |
setName(java.lang.String name)
Sets the name of the resource variable to look up. |
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 |
---|
public UseResource()
Method Detail |
---|
public void fromXML(org.w3c.dom.Node n)
public java.lang.String toXML()
public boolean execute()
public boolean getResult()
public java.lang.String getName()
public java.util.List getInvokes()
public void setName(java.lang.String name)
name
- resource variable namepublic void setInvokes(java.util.List invokes)
invokes
- list of Invokes.public Resource getResource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |