Package jadex.platform.service.cli
Class ResultInfo
- java.lang.Object
-
- jadex.platform.service.cli.ResultInfo
-
public class ResultInfo extends java.lang.ObjectInformation about a result. Includes type, description and converter (object -> string).
-
-
Field Summary
Fields Modifier and Type Field Description protected IObjectStringConverterconverterThe converter.protected java.lang.StringdescriptionThe description.protected java.lang.Class<?>typeThe type.
-
Constructor Summary
Constructors Constructor Description ResultInfo()Create a new argument info.ResultInfo(java.lang.Class<?> type, java.lang.String description, IObjectStringConverter converter)Create a new result info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IObjectStringConvertergetConverter()Get the converter.java.lang.StringgetDescription()Get the description.java.lang.Class<?>getType()Get the type.voidsetConverter(IObjectStringConverter converter)Set the converter.voidsetDescription(java.lang.String description)Set the description.voidsetType(java.lang.Class<?> type)Set the type.
-
-
-
Field Detail
-
type
protected java.lang.Class<?> type
The type.
-
description
protected java.lang.String description
The description.
-
converter
protected IObjectStringConverter converter
The converter.
-
-
Constructor Detail
-
ResultInfo
public ResultInfo()
Create a new argument info.
-
ResultInfo
public ResultInfo(java.lang.Class<?> type, java.lang.String description, IObjectStringConverter converter)Create a new result info.
-
-
Method Detail
-
getType
public java.lang.Class<?> getType()
Get the type.- Returns:
- The type.
-
setType
public void setType(java.lang.Class<?> type)
Set the type.- Parameters:
type- The type to set.
-
getDescription
public java.lang.String getDescription()
Get the description.- Returns:
- The description.
-
setDescription
public void setDescription(java.lang.String description)
Set the description.- Parameters:
description- The description to set.
-
getConverter
public IObjectStringConverter getConverter()
Get the converter.- Returns:
- The converter.
-
setConverter
public void setConverter(IObjectStringConverter converter)
Set the converter.- Parameters:
converter- The converter to set.
-
-