Class FilterElementParameterDescriptor<T>

  • Type Parameters:
    T - the type of the parameter

    public class FilterElementParameterDescriptor<T>
    extends Object
    A filter element parameter.
    Since:
    5.2M1
    Version:
    $Id: 7601aff5efc3c5a64687bfd2acd707557091134e $
    • Constructor Detail

      • FilterElementParameterDescriptor

        public FilterElementParameterDescriptor​(int index,
                                                String name,
                                                Type type,
                                                T defaultValue)
        Parameters:
        index - the index of the parameter.
        name - the name of the parameter. null if no Name annotation has been used.
        type - the type of the parameter.
        defaultValue - the default value.
    • Method Detail

      • getIndex

        public int getIndex()
        Returns:
        the index of the parameter.
      • getName

        public String getName()
        Returns:
        the name of the parameter. null if no Name annotation has been used.
      • getType

        public Type getType()
        Returns:
        the type of the parameter.
      • getDefaultValue

        public T getDefaultValue()
        Returns:
        the default value.