E - element type.public class ListType<E> extends CollectionType<List<E>>
elementType parameter, which is is a type of list elements.FEATURE_FORMAT| Constructor and Description |
|---|
ListType() |
ListType(DataType<E> elementType) |
ListType(String name) |
ListType(String name,
DataType<E> elementType) |
| Modifier and Type | Method and Description |
|---|---|
ListType<E> |
clone() |
DataType<E> |
getElementType() |
boolean |
isUnique() |
void |
setUnique(boolean unique) |
ListType<E> |
withAnnotated() |
ListType<E> |
withAnnotated(boolean annotated) |
ListType<E> |
withDefaultValue(List<E> value) |
ListType<E> |
withDescription(String description) |
ListType<E> |
withElement(DataType<E> elementType) |
ListType<E> |
withFeature(String name,
Object value) |
ListType<E> |
withFeatures(Map<String,Object> features) |
ListType<E> |
withFormat(String format) |
ListType<E> |
withLabel(String label) |
ListType<E> |
withName(String name) |
ListType<E> |
withNullable() |
ListType<E> |
withNullable(boolean nullable) |
ListType<E> |
withOptional() |
ListType<E> |
withProvided(ProvidedMeta provided) |
ListType<E> |
withReadOnly() |
ListType<E> |
withReadOnly(boolean readOnly) |
ListType<E> |
withUnique() |
ListType<E> |
withUnique(boolean unique) |
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 ListType()
public ListType(String name)
public ListType<E> withDescription(String description)
withDescription in class DataType<List<E>>public ListType<E> withAnnotated(boolean annotated)
withAnnotated in class DataType<List<E>>public ListType<E> withAnnotated()
withAnnotated in class DataType<List<E>>public ListType<E> withFormat(String format)
withFormat in class DataType<List<E>>public ListType<E> withFeatures(Map<String,Object> features)
withFeatures in class DataType<List<E>>public ListType<E> withFeature(String name, Object value)
withFeature in class DataType<List<E>>public ListType<E> withDefaultValue(List<E> value)
withDefaultValue in class DataType<List<E>>public ListType<E> withNullable(boolean nullable)
withNullable in class DataType<List<E>>public ListType<E> withReadOnly(boolean readOnly)
withReadOnly in class DataType<List<E>>public ListType<E> withProvided(ProvidedMeta provided)
withProvided in class DataType<List<E>>public boolean isUnique()
public void setUnique(boolean unique)
Copyright © 2016–2020 Softelnet. All rights reserved.