Package de.dlr.proseo.ui.cli.parser
Class ParsedParameter
java.lang.Object
de.dlr.proseo.ui.cli.parser.ParsedParameter
Class representing a parsed command parameter
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the parsed parameter's nameGets the parsed parameter's syntax parametergetType()Gets the parsed parameter's typegetValue()Gets the parsed parameter's valuevoidSets the parsed parameter's namevoidsetSyntaxParameter(CLIParameter syntaxParameter) Sets the parsed parameter's syntax parametervoidSets the parsed parameter's typevoidSets the parsed parameter's valuetoString()Returns a String representation of the parsed parameter
-
Constructor Details
-
ParsedParameter
public ParsedParameter()
-
-
Method Details
-
getName
Gets the parsed parameter's name- Returns:
- the name
-
setName
Sets the parsed parameter's name- Parameters:
name- the name to set
-
getType
Gets the parsed parameter's type- Returns:
- the type
-
setType
Sets the parsed parameter's type- Parameters:
type- the type to set
-
getValue
Gets the parsed parameter's value- Returns:
- the value
-
setValue
Sets the parsed parameter's value- Parameters:
value- the value to set
-
getSyntaxParameter
Gets the parsed parameter's syntax parameter- Returns:
- the syntaxParameter
-
setSyntaxParameter
Sets the parsed parameter's syntax parameter- Parameters:
syntaxParameter- the syntaxParameter to set
-
toString
Returns a String representation of the parsed parameter
-