Package jadex.bridge.modelinfo
Class Argument
- java.lang.Object
 - 
- jadex.bridge.modelinfo.UnparsedExpression
 - 
- jadex.bridge.modelinfo.Argument
 
 
 
- 
- All Implemented Interfaces:
 IArgument
public class Argument extends UnparsedExpression implements IArgument
Simple default implementation for an argument. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdescriptionThe description. 
- 
Method Summary
All 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.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDescription
public java.lang.String getDescription()
Get the description.- Specified by:
 getDescriptionin interfaceIArgument- Returns:
 - The description.
 
 
- 
setDescription
public void setDescription(java.lang.String description)
Set the description.- Parameters:
 description- The description to set.
 
- 
getDefaultValue
public UnparsedExpression getDefaultValue()
Get the default value.- Specified by:
 getDefaultValuein interfaceIArgument- Returns:
 - The default value.
 
 
- 
validate
public boolean validate(java.lang.String input)
Check the validity of an input. 
- 
toString
public java.lang.String toString()
Get the string representation.- Overrides:
 toStringin classUnparsedExpression- Returns:
 - The string representation.
 
 
- 
getResult
public 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. 
- 
convertArguments
public 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. 
 - 
 
 -