Package jadex.bridge.modelinfo
Class Argument
- java.lang.Object
- 
- jadex.bridge.modelinfo.UnparsedExpression
- 
- jadex.bridge.modelinfo.Argument
 
 
- 
- All Implemented Interfaces:
- IArgument
 - Direct Known Subclasses:
- MContextVariable
 
 public class Argument extends UnparsedExpression implements IArgument Simple default implementation for an argument.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringdescriptionThe description.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>convertArguments(java.util.Collection<Tuple2<java.lang.String,java.lang.Object>> results)Convert arguments to argument map.UnparsedExpressiongetDefaultValue()Get the default value.java.lang.StringgetDescription()Get the description.static java.lang.ObjectgetResult(java.util.Collection<Tuple2<java.lang.String,java.lang.Object>> results, java.lang.String name)Get a specific result from a result collection.voidsetDescription(java.lang.String description)Set the description.java.lang.StringtoString()Get the string representation.booleanvalidate(java.lang.String input)Check the validity of an input.- 
Methods inherited from class jadex.bridge.modelinfo.UnparsedExpressiongetClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptionpublic java.lang.String getDescription() Get the description.- Specified by:
- getDescriptionin interface- IArgument
- Returns:
- The description.
 
 - 
setDescriptionpublic void setDescription(java.lang.String description) Set the description.- Parameters:
- description- The description to set.
 
 - 
getDefaultValuepublic UnparsedExpression getDefaultValue() Get the default value.- Specified by:
- getDefaultValuein interface- IArgument
- Returns:
- The default value.
 
 - 
validatepublic boolean validate(java.lang.String input) Check the validity of an input.
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- UnparsedExpression
- Returns:
- The string representation.
 
 - 
getResultpublic static java.lang.Object getResult(java.util.Collection<Tuple2<java.lang.String,java.lang.Object>> results, java.lang.String name) Get a specific result from a result collection.
 - 
convertArgumentspublic static java.util.Map<java.lang.String,java.lang.Object> convertArguments(java.util.Collection<Tuple2<java.lang.String,java.lang.Object>> results) Convert arguments to argument map.
 
- 
 
-