com.lowagie.tools.arguments

Class OptionArgument.Entry

public class OptionArgument.Entry extends Object

An Entry that can be chosen as option.
Field Summary
Objectdescription
Describes the option.
Objectvalue
Holds the actual value of the option.
Constructor Summary
Entry(Object value)
Constructs an entry.
Entry(Object description, Object value)
Constructs an entry.
Method Summary
ObjectgetDescription()
ObjectgetValue()
StringgetValueToString()
Gets the value of the String.
voidsetDescription(Object description)
voidsetValue(Object value)
StringtoString()
String representation of the Entry.

Field Detail

description

private Object description
Describes the option.

value

private Object value
Holds the actual value of the option.

Constructor Detail

Entry

public Entry(Object value)
Constructs an entry.

Parameters: value the value of the entry (that wil be identical to the description)

Entry

public Entry(Object description, Object value)
Constructs an entry.

Parameters: description the description of the entry value the value of the entry

Method Detail

getDescription

public Object getDescription()

Returns: Returns the description.

getValue

public Object getValue()

Returns: Returns the value.

getValueToString

public String getValueToString()
Gets the value of the String.

Returns: the toString of the value

setDescription

public void setDescription(Object description)

Parameters: description The description to set.

setValue

public void setValue(Object value)

Parameters: value The value to set.

toString

public String toString()
String representation of the Entry.

Returns: a description of the entry