io.sarl.lang.sarl.actionprototype
Class DynamicArgumentName
All Superinterfaces:
java.io.Serializable, java.lang.Cloneable
class DynamicArgumentName
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Container of an argument name that could be changed according to the generated code.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.12
Property Summary
Modifier and type Property and description
java.lang.String argument
Replies the argument.
Constructor Summary
Constructor and description
new(String)
Constructor.
Action Summary
Modifier and type Action and description
DynamicArgumentName clone
boolean equals(Object)
java.lang.String getArgument
Replies the argument.
int hashCode
void setArgument(String)
Change the argument.
java.lang.String toString
Property Details
argument
var argument : java.lang.String
Replies the argument.

This property is an alias for the action: getArgument

Returns:
the argument.
Constructor Details
new(String)
new(String)
Constructor.
Parameters:
argument - the default argument.
Action Details
clone
def clone : DynamicArgumentName
equals(Object)
def equals(Object) : boolean
getArgument
def getArgument : java.lang.String
Replies the argument.
Returns:
the argument.
hashCode
def hashCode : int
setArgument(String)
def setArgument(String)
Change the argument.
Parameters:
arg - the argument.
toString
def toString : java.lang.String