Package jadex.platform.service.cli
Class ArgumentInfo
- java.lang.Object
- 
- jadex.platform.service.cli.ArgumentInfo
 
- 
 public class ArgumentInfo extends java.lang.ObjectThe argument info provides info about an arguments including its name, type, defaultvalue, description and a converter.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IStringObjectConverterconverterThe converter.protected java.lang.ObjectdefaultvalueThe default value.protected java.lang.StringdescriptionThe description.protected java.lang.StringnameThe name.protected java.lang.Class<?>typeThe type.
 - 
Constructor SummaryConstructors Constructor Description ArgumentInfo()Create a new argument info.ArgumentInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Object defval, java.lang.String description, IStringObjectConverter converter)Create a new argument info.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IStringObjectConvertergetConverter()Get the converter.java.lang.ObjectgetDefaultValue()Get the defaultValue.java.lang.StringgetDescription()Get the description.java.lang.StringgetName()Get the name.java.lang.Class<?>getType()Get the type.java.lang.StringgetUsageText()Get the usage text.voidsetConverter(IStringObjectConverter converter)Set the converter.voidsetDefaultValue(java.lang.Object defaultValue)Set the defaultValue.voidsetDescription(java.lang.String description)Set the description.voidsetName(java.lang.String name)Set the name.voidsetType(java.lang.Class<?> type)Set the type.
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name The name.
 - 
typeprotected java.lang.Class<?> type The type.
 - 
defaultvalueprotected java.lang.Object defaultvalue The default value.
 - 
descriptionprotected java.lang.String description The description.
 - 
converterprotected IStringObjectConverter converter The converter.
 
- 
 - 
Constructor Detail- 
ArgumentInfopublic ArgumentInfo() Create a new argument info.
 - 
ArgumentInfopublic ArgumentInfo(java.lang.String name, java.lang.Class<?> type, java.lang.Object defval, java.lang.String description, IStringObjectConverter converter)Create a new argument info.
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name.- Returns:
- The name.
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set.
 
 - 
getTypepublic java.lang.Class<?> getType() Get the type.- Returns:
- The type.
 
 - 
setTypepublic void setType(java.lang.Class<?> type) Set the type.- Parameters:
- type- The type to set.
 
 - 
getDescriptionpublic java.lang.String getDescription() Get the description.- Returns:
- The description.
 
 - 
setDescriptionpublic void setDescription(java.lang.String description) Set the description.- Parameters:
- description- The description to set.
 
 - 
getConverterpublic IStringObjectConverter getConverter() Get the converter.- Returns:
- The converter.
 
 - 
setConverterpublic void setConverter(IStringObjectConverter converter) Set the converter.- Parameters:
- converter- The converter to set.
 
 - 
getDefaultValuepublic java.lang.Object getDefaultValue() Get the defaultValue.- Returns:
- The defaultValue.
 
 - 
setDefaultValuepublic void setDefaultValue(java.lang.Object defaultValue) Set the defaultValue.- Parameters:
- defaultValue- The defaultValue to set.
 
 - 
getUsageTextpublic java.lang.String getUsageText() Get the usage text.- Returns:
- The usage text.
 
 
- 
 
-