Class GChoiceKey

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

    public class GChoiceKey
    extends Key<Choice>
    A key for a choice item similar to an enumeration

    param: name the name of the key param: keyType reference to an object of type KeyType[Choice] param: choices the available choices, the values set must be in the choices

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Choices choices()  
      Parameter<Choice> set​(Choice value, scala.collection.immutable.Seq<Choice> values)
      Sets the values for the key using a variable number of arguments
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

    • Method Detail

      • choices

        public Choices choices()
      • set

        public Parameter<Choice> set​(Choice value,
                                     scala.collection.immutable.Seq<Choice> values)
        Sets the values for the key using a variable number of arguments

        Overrides:
        set in class Key<Choice>
        Parameters:
        values - one or more values
        Returns:
        a parameter containing the key name, values