K - a map key type.V - a map value type.public class MapType<K,V> extends CollectionType<Map<K,V>>
FEATURE_FORMAT| Constructor and Description |
|---|
MapType() |
MapType(DataType<K> keyType,
DataType<V> valueType) |
MapType(String name) |
MapType(String name,
DataType<K> keyType,
DataType<V> valueType) |
| Modifier and Type | Method and Description |
|---|---|
MapType<K,V> |
clone() |
DataType<K> |
getKeyType() |
DataType<V> |
getValueType() |
MapType<K,V> |
withAnnotated() |
MapType<K,V> |
withAnnotated(boolean annotated) |
MapType<K,V> |
withDefaultValue(Map<K,V> value) |
MapType<K,V> |
withDescription(String description) |
MapType<K,V> |
withFeature(String name,
Object value) |
MapType<K,V> |
withFeatures(Map<String,Object> features) |
MapType<K,V> |
withFormat(String format) |
MapType<K,V> |
withKey(DataType<K> keyType) |
MapType<K,V> |
withLabel(String label) |
MapType<K,V> |
withName(String name) |
MapType<K,V> |
withNullable() |
MapType<K,V> |
withNullable(boolean nullable) |
MapType<K,V> |
withOptional() |
MapType<K,V> |
withProvided(ProvidedMeta provided) |
MapType<K,V> |
withValue(DataType<V> valueType) |
getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, getRegisteredType, isAnnotated, isNullable, isOptional, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvided, setRegisteredType, withDefaultValuepublic MapType()
public MapType(String name)
public MapType<K,V> withDescription(String description)
withDescription in class DataType<Map<K,V>>public MapType<K,V> withAnnotated(boolean annotated)
withAnnotated in class DataType<Map<K,V>>public MapType<K,V> withAnnotated()
withAnnotated in class DataType<Map<K,V>>public MapType<K,V> withFormat(String format)
withFormat in class DataType<Map<K,V>>public MapType<K,V> withFeatures(Map<String,Object> features)
withFeatures in class DataType<Map<K,V>>public MapType<K,V> withFeature(String name, Object value)
withFeature in class DataType<Map<K,V>>public MapType<K,V> withDefaultValue(Map<K,V> value)
withDefaultValue in class DataType<Map<K,V>>public MapType<K,V> withNullable(boolean nullable)
withNullable in class DataType<Map<K,V>>public MapType<K,V> withProvided(ProvidedMeta provided)
withProvided in class DataType<Map<K,V>>Copyright © 2016–2019 Softelnet. All rights reserved.