Class EnumField


  • public class EnumField
    extends Field
    Represents an arbitrary field with a finite, enumerated set of possible values.
    • Constructor Detail

      • EnumField

        public EnumField​(String name,
                         Collection<String> options)
        Creates a new EnumField with the given name and possible values.
        Parameters:
        name - The unique name to associate with this field.
        options - All possible legal options for this field.