public class StringType extends DataType<String>
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_MAX_LENGTH
The feature name for the maxLength.
|
static String |
FEATURE_MIN_LENGTH
The feature name for the minLength.
|
FEATURE_FORMAT| Constructor and Description |
|---|
StringType() |
StringType(String name) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxLength() |
Integer |
getMinLength() |
void |
setMaxLength(Integer maxLength) |
void |
setMinLength(Integer minLength) |
StringType |
withAnnotated() |
StringType |
withAnnotated(boolean annotated) |
StringType |
withDefaultValue(String value) |
StringType |
withDescription(String description) |
StringType |
withFeature(String name,
Object value) |
StringType |
withFeatures(Map<String,Object> features) |
StringType |
withFormat(String format) |
StringType |
withLabel(String label) |
StringType |
withMaxLength(Integer maxLength) |
StringType |
withMinLength(Integer minLength) |
StringType |
withName(String name) |
StringType |
withNullable() |
StringType |
withNullable(boolean nullable) |
StringType |
withOptional() |
StringType |
withProvided(ProvidedMeta provided) |
StringType |
withReadOnly() |
StringType |
withReadOnly(boolean readOnly) |
clone, getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, getRegisteredType, isAnnotated, isNullable, isOptional, isReadOnly, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvided, setReadOnly, setRegisteredType, withDefaultValuepublic static final String FEATURE_MIN_LENGTH
public static final String FEATURE_MAX_LENGTH
public StringType()
public StringType(String name)
public StringType withName(String name)
public StringType withLabel(String label)
public StringType withDescription(String description)
withDescription in class DataType<String>public StringType withAnnotated(boolean annotated)
withAnnotated in class DataType<String>public StringType withAnnotated()
withAnnotated in class DataType<String>public StringType withFormat(String format)
withFormat in class DataType<String>public StringType withFeatures(Map<String,Object> features)
withFeatures in class DataType<String>public StringType withFeature(String name, Object value)
withFeature in class DataType<String>public StringType withDefaultValue(String value)
withDefaultValue in class DataType<String>public StringType withNullable(boolean nullable)
withNullable in class DataType<String>public StringType withNullable()
withNullable in class DataType<String>public StringType withReadOnly(boolean readOnly)
withReadOnly in class DataType<String>public StringType withReadOnly()
withReadOnly in class DataType<String>public StringType withOptional()
withOptional in class DataType<String>public StringType withProvided(ProvidedMeta provided)
withProvided in class DataType<String>public StringType withMinLength(Integer minLength)
public StringType withMaxLength(Integer maxLength)
public Integer getMinLength()
public void setMinLength(Integer minLength)
public Integer getMaxLength()
public void setMaxLength(Integer maxLength)
Copyright © 2016–2020 Softelnet. All rights reserved.