public class ParameterTypeDuration extends ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Duration> implements Serializable
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
defaultValue| Constructor and Description |
|---|
ParameterTypeDuration(String id,
String description)
Construct a new ParameterTypeDuration without default value and check.
|
ParameterTypeDuration(String id,
String description,
Constraint<? super org.djunits.value.vdouble.scalar.Duration> constraint)
Construct a new ParameterTypeDuration without default value, with check.
|
ParameterTypeDuration(String id,
String description,
org.djunits.value.vdouble.scalar.Duration defaultValue)
Construct a new ParameterTypeDuration with default value, without check.
|
ParameterTypeDuration(String id,
String description,
org.djunits.value.vdouble.scalar.Duration defaultValue,
Constraint<? super org.djunits.value.vdouble.scalar.Duration> constraint)
Construct a new ParameterTypeDuration with default value and check.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
printValuecheck, checkConstraint, equals, getConstraint, getDefaultValue, getDescription, getId, getValueClass, hasDefaultValue, hashCodepublic ParameterTypeDuration(String id, String description)
id - String; short name of the new ParameterTypeDurationdescription - String; parameter description or full name of the new ParameterTypeDurationpublic ParameterTypeDuration(String id, String description, org.djunits.value.vdouble.scalar.Duration defaultValue)
id - String; short name of the new ParameterTypeDurationdescription - String; parameter description or full name of the new ParameterTypeDurationdefaultValue - Duration; the default value for the new ParameterTypeDurationpublic ParameterTypeDuration(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Duration> constraint)
id - String; short name of the new ParameterTypeDurationdescription - String; parameter description or full name of the new ParameterTypeDurationconstraint - Constraint for parameter valuespublic ParameterTypeDuration(String id, String description, org.djunits.value.vdouble.scalar.Duration defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Duration> constraint)
id - String; short name of the new ParameterTypeDurationdescription - String; parameter description or full name of the new ParameterTypeDurationdefaultValue - Default value of the new ParameterTypeDurationconstraint - Constraint for parameter valuespublic final String toString()
toString in class ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Duration>Copyright © 2014–2018 Delft University of Technology. All rights reserved.