public class OptionArgument.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
description
Describes the option.
|
private java.lang.Object |
value
Holds the actual value of the option.
|
Constructor and Description |
---|
OptionArgument.Entry(java.lang.Object value)
Constructs an entry.
|
OptionArgument.Entry(java.lang.Object description,
java.lang.Object value)
Constructs an entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDescription() |
java.lang.Object |
getValue() |
java.lang.String |
getValueToString()
Gets the value of the String.
|
void |
setDescription(java.lang.Object description) |
void |
setValue(java.lang.Object value) |
java.lang.String |
toString()
String representation of the Entry.
|
private java.lang.Object description
private java.lang.Object value
public OptionArgument.Entry(java.lang.Object value)
value
- the value of the entry (that wil be identical to the description)public OptionArgument.Entry(java.lang.Object description, java.lang.Object value)
description
- the description of the entryvalue
- the value of the entrypublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getValueToString()
public java.lang.Object getDescription()
public void setDescription(java.lang.Object description)
description
- The description to set.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- The value to set.