Package jadex.model.modelinfo
Class Argument
java.lang.Object
jadex.common.UnparsedExpression
jadex.model.modelinfo.Argument
- All Implemented Interfaces:
IArgument
Simple default implementation for an argument.
-
Field Summary
FieldsFields inherited from class jadex.common.UnparsedExpression
clazz, language, name, parsed, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertArguments(Collection<jadex.common.Tuple2<String, Object>> results) Convert arguments to argument map.jadex.common.UnparsedExpressionGet the default value.Get the description.static ObjectgetResult(Collection<jadex.common.Tuple2<String, Object>> results, String name) Get a specific result from a result collection.voidsetDescription(String description) Set the description.toString()Get the string representation.booleanCheck the validity of an input.Methods inherited from class jadex.common.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
-
Field Details
-
description
The description.
-
-
Constructor Details
-
Argument
public Argument()Create a new argument. -
Argument
Create a new argument.
-
-
Method Details
-
getDescription
Get the description.- Specified by:
getDescriptionin interfaceIArgument- Returns:
- The description.
-
setDescription
Set the description.- Parameters:
description- The description to set.
-
getDefaultValue
public jadex.common.UnparsedExpression getDefaultValue()Get the default value.- Specified by:
getDefaultValuein interfaceIArgument- Returns:
- The default value.
-
validate
Check the validity of an input. -
toString
Get the string representation.- Overrides:
toStringin classjadex.common.UnparsedExpression- Returns:
- The string representation.
-
getResult
Get a specific result from a result collection. -
convertArguments
public static Map<String,Object> convertArguments(Collection<jadex.common.Tuple2<String, Object>> results) Convert arguments to argument map.
-