Package jadex.platform.service.cli
Class ResultInfo
- java.lang.Object
-
- jadex.platform.service.cli.ResultInfo
-
public class ResultInfo extends java.lang.Object
Information about a result. Includes type, description and converter (object -> string).
-
-
Field Summary
Fields Modifier and Type Field Description protected IObjectStringConverter
converter
The converter.protected java.lang.String
description
The description.protected java.lang.Class<?>
type
The 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 IObjectStringConverter
getConverter()
Get the converter.java.lang.String
getDescription()
Get the description.java.lang.Class<?>
getType()
Get the type.void
setConverter(IObjectStringConverter converter)
Set the converter.void
setDescription(java.lang.String description)
Set the description.void
setType(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.
-
-