cz.cuni.amis.pogamut.sposh.elements
Class Arguments.VariableArgument

Package class diagram package Arguments.VariableArgument
java.lang.Object
  extended by cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
      extended by cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
Enclosing class:
Arguments

protected static final class Arguments.VariableArgument
extends Arguments.Argument

This argument value is dependent on value of some variable.


Field Summary
protected  String variableName
           
 
Constructor Summary
protected Arguments.VariableArgument(int index, String variableName)
           
protected Arguments.VariableArgument(String parameterName, String variableName)
          New call parameter.
 
Method Summary
protected  Arguments.VariableArgument clone()
           
 String getParameterVariable()
          Is value of this parameter retrieved from variable or value?
 String getValue()
          Retrieve value of parameter.
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
createValueArgument, createVariableArgument, getName, getParameterName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

variableName

protected final String variableName
Constructor Detail

Arguments.VariableArgument

protected Arguments.VariableArgument(int index,
                                     String variableName)

Arguments.VariableArgument

protected Arguments.VariableArgument(String parameterName,
                                     String variableName)
New call parameter.

Parameters:
parameterName - name of parameter of called primitive
variableName - variable where is stored the value passed to primitive
Method Detail

getValue

public String getValue()
Description copied from class: Arguments.Argument
Retrieve value of parameter.

Specified by:
getValue in class Arguments.Argument
Returns:

getParameterVariable

public String getParameterVariable()
Description copied from class: Arguments.Argument
Is value of this parameter retrieved from variable or value?

Specified by:
getParameterVariable in class Arguments.Argument
Returns:
null if this is a value, string with name of parameter variable else

toString

public String toString()
Specified by:
toString in class Arguments.Argument

clone

protected Arguments.VariableArgument clone()
Specified by:
clone in class Arguments.Argument


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