cz.cuni.amis.pogamut.shady
Class NodeCall

Package class diagram package NodeCall
java.lang.Object
  extended by cz.cuni.amis.pogamut.shady.NodeCall

public class NodeCall
extends Object

During the execution of the tree, we have to go from one node to another and finally execute one primitive. Shady is using this class for representing the call. The target is identified only by name, it can be another node, action, or it doesn't have to exists at all (that will cause an exception). Name of the call can be same as FQN name of java class(for the most part). TODO: How is target determined. Probably search in order: node names, names on classpath, fqn names of classes.

Author:
Honza

Constructor Summary
NodeCall(String name, List<IArgument> args)
          Create new node call.
 
Method Summary
 List<IArgument> getArgs()
          Get unmodifiable list of arguments.
 String getName()
          Get name of the target
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCall

public NodeCall(String name,
                List<IArgument> args)
Create new node call.

Parameters:
name - name of the target.
args -
Method Detail

getName

public String getName()
Get name of the target

Returns:
target of call

getArgs

public List<IArgument> getArgs()
Get unmodifiable list of arguments.

Returns:
list of arguments


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.