Class EnumProperty<T>



  • public class EnumProperty<T>
    extends Property<T>
    • Constructor Detail

      • EnumProperty

        public EnumProperty(String name,
                            T[] values,
                            T defaultValue)
    • Method Detail

      • getValues

        public T[] getValues()
      • validateValue

        protected void validateValue(Object obj)
        Description copied from class: Property
        Subclasses should override this method to throw an IllegalArgumentException if a value is inappropriate for this property.
      • listValues

        protected String listValues()