Class Options.OptionValue

  • Direct Known Subclasses:
    Options.OptionListValue
    Enclosing class:
    Options

    public static class Options.OptionValue
    extends java.lang.Object
    The Class OptionValue.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object value
      The value.
    • Constructor Summary

      Constructors 
      Constructor Description
      OptionValue​(Option option, java.lang.Object value)
      Instantiates a new option value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Option getOption()
      Gets the option.
      java.lang.Object getValue()
      Gets the value.
      void setValue​(java.lang.Object value)
      Sets the value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        protected java.lang.Object value
        The value.
    • Constructor Detail

      • OptionValue

        public OptionValue​(Option option,
                           java.lang.Object value)
        Instantiates a new option value.
        Parameters:
        option - the option
        value - the value
    • Method Detail

      • getOption

        public Option getOption()
        Gets the option.
        Returns:
        the option
      • getValue

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

        public void setValue​(java.lang.Object value)
        Sets the value.
        Parameters:
        value - the new value