Class ParameterTypeString

All Implemented Interfaces:
Serializable, Identifiable

public class ParameterTypeString
extends ParameterType<String>
Parameter type for String parameters.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 11 sep. 2017
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
Serialized Form
  • Constructor Details

    • ParameterTypeString

      public ParameterTypeString​(String id, String description)
      Parameters:
      id - String; short name of the new ParameterTypeString
      description - String; description or full name of the new ParameterTypeString
    • ParameterTypeString

      public ParameterTypeString​(String id, String description, String defaultValue)
      Parameters:
      id - String; short name of the new ParameterTypeString
      description - String; description or full name of the new ParameterTypeString
      defaultValue - String; default value of the new ParameterTypeString
    • ParameterTypeString

      public ParameterTypeString​(String id, String description, Constraint<? super String> constraint)
      Parameters:
      id - String; short name of the new ParameterTypeString
      description - String; description or full name of the new ParameterTypeString
      constraint - Constraint<? super String>; constraint that applies to the value of the new ParameterTypeString
    • ParameterTypeString

      public ParameterTypeString​(String id, String description, String defaultValue, Constraint<? super String> constraint)
      Parameters:
      id - String; short name of the new ParameterTypeString
      description - String; description or full name of the new ParameterTypeString
      defaultValue - String; default value of the new ParameterTypeString
      constraint - Constraint<? super String>; constraint that applies to the value of the new ParameterTypeString
  • Method Details