Class TimestampParameterType


  • public class TimestampParameterType
    extends ParameterType<Date>
    This class represent a parameter type that is a timestamp.
    Since:
    2.16
    Author:
    Nicklas
    Last modified
    $Date $
    • Constructor Detail

      • TimestampParameterType

        public TimestampParameterType()
        Create a new timestamp parameter type, allowing null values.
      • TimestampParameterType

        public TimestampParameterType​(Date defaultValue,
                                      boolean notNull)
        Create a new timestamp parameter type.
        Parameters:
        defaultValue - Value to use as default. Null is allowed.
        notNull - FALSE if nulls values are allowed, TRUE otherwise
      • TimestampParameterType

        public TimestampParameterType​(Date defaultValue,
                                      boolean notNull,
                                      int multiplicity,
                                      int width,
                                      int height,
                                      List<Date> items)
        Creates a new TimestampParameterType
        Parameters:
        defaultValue - The default value for this parameter type.
        notNull - FALSE if this parameter type is allowed to be null, otherwise TRUE.
        multiplicity - How many values that can be tied to this parameter.
        width - Width of the input field for this parameter type in the GUI.
        height - Height of the input field for this parameter type in the GUI.
        items - A list of allowed items for this parameter type.