public class StringType extends DataType<String>
| 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) |
clone, getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, isAnnotated, isNullable, isOptional, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvidedpublic 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 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–2019 Softelnet. All rights reserved.