Interface EnumConstant

    • Method Detail

      • add

        default EnumConstant add​(Value<?> value)
        Adds the specified construction parameter to this constant.
        Parameters:
        value - the construction parameter
        Returns:
        a reference to this model
      • getValues

        List<Value<?>> getValues()
        Returns a modifiable list of all the construction parameters used when instantiating this enum constant.
        Returns:
        all construction parameters
      • of

        static EnumConstant of​(String name)
        Creates a new instance implementing this interface by using the default implementation.
        Parameters:
        name - the name
        Returns:
        the new instance