Class OptionArgument.Entry

java.lang.Object
com.lowagie.toolbox.arguments.OptionArgument.Entry
Enclosing class:
OptionArgument

public class OptionArgument.Entry extends Object
An Entry that can be chosen as option.
  • Field Details

    • description

      private Object description
      Describes the option.
    • value

      private Object value
      Holds the actual value of the option.
  • Constructor Details

    • Entry

      public Entry(Object value)
      Constructs an entry.
      Parameters:
      value - the value of the entry (that will 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 Details

    • toString

      public String toString()
      String representation of the Entry.
      Overrides:
      toString in class Object
      Returns:
      a description of the entry
    • getValueToString

      public String getValueToString()
      Gets the value of the String.
      Returns:
      the toString of the value
    • getDescription

      public Object getDescription()
      Returns:
      Returns the description.
    • setDescription

      public void setDescription(Object description)
      Parameters:
      description - The description to set.
    • getValue

      public Object getValue()
      Returns:
      Returns the value.
    • setValue

      public void setValue(Object value)
      Parameters:
      value - The value to set.