public class OptionalStringParameter extends OptionalParameter<String>
String
OptionalParameter.Deserializer<T>, OptionalParameter.Serializer
Constructor and Description |
---|
OptionalStringParameter()
Creates a new instance
|
OptionalStringParameter(OptionalStringParameter other)
Creates a copy
|
OptionalStringParameter(String value,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
String |
setNewInstance()
Adds a new instance of the content class
Override this method for types that cannot be default-constructed
|
getContent, getContentClass, getContentOrDefault, isEnabled, setContent, setEnabled, toString
public OptionalStringParameter()
public OptionalStringParameter(OptionalStringParameter other)
other
- the originalpublic OptionalStringParameter(String value, boolean enabled)
public String setNewInstance()
OptionalParameter
setNewInstance
in class OptionalParameter<String>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.