public class EnumField extends Field
Field.Type
Constructor and Description |
---|
EnumField(String name,
Collection<String> options)
Creates a new EnumField with the given name and possible values.
|
public EnumField(String name, Collection<String> options)
name
- The unique name to associate with this field.options
- All possible legal options for this field.Copyright © 2018. All rights reserved.