Package com.lowagie.toolbox.arguments
Class OptionArgument.Entry
java.lang.Object
com.lowagie.toolbox.arguments.OptionArgument.Entry
- Enclosing class:
OptionArgument
An Entry that can be chosen as option.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Gets the value of the String.void
setDescription
(Object description) void
toString()
String representation of the Entry.
-
Field Details
-
description
Describes the option. -
value
Holds the actual value of the option.
-
-
Constructor Details
-
Entry
Constructs an entry.- Parameters:
value
- the value of the entry (that will be identical to the description)
-
Entry
Constructs an entry.- Parameters:
description
- the description of the entryvalue
- the value of the entry
-
-
Method Details
-
toString
String representation of the Entry. -
getValueToString
Gets the value of the String.- Returns:
- the toString of the value
-
getDescription
- Returns:
- Returns the description.
-
setDescription
- Parameters:
description
- The description to set.
-
getValue
- Returns:
- Returns the value.
-
setValue
- Parameters:
value
- The value to set.
-