FEATURE_FORMAT| Constructor and Description |
|---|
RecordType() |
RecordType(List<DataType> fields) |
RecordType(String name) |
RecordType(String name,
List<DataType> fields) |
| Modifier and Type | Method and Description |
|---|---|
RecordType |
clone() |
RecordType |
getBaseType() |
List<DataType> |
getFields() |
boolean |
isInheritationApplied() |
void |
setBaseType(RecordType baseType) |
void |
setFields(List<DataType> fields) |
void |
setInheritationApplied(boolean inheritationApplied) |
RecordType |
withAnnotated() |
RecordType |
withAnnotated(boolean annotated) |
RecordType |
withBaseType(RecordType baseType)
Sets a base record type for this type.
|
RecordType |
withDefaultValue(Map<String,Object> value) |
RecordType |
withDescription(String description) |
RecordType |
withFeature(String name,
Object value) |
RecordType |
withFeatures(Map<String,Object> features) |
RecordType |
withFields(List<DataType> fields)
Adds new fields.
|
RecordType |
withFormat(String format) |
RecordType |
withLabel(String label) |
RecordType |
withName(String name) |
RecordType |
withNullable() |
RecordType |
withNullable(boolean nullable) |
RecordType |
withOptional() |
RecordType |
withProvided(ProvidedMeta provided) |
getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, getRegisteredType, isAnnotated, isNullable, isOptional, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvided, setRegisteredTypepublic RecordType()
public RecordType(String name)
public RecordType withName(String name)
public RecordType withLabel(String label)
public RecordType withDescription(String description)
withDescription in class DataType<Map<String,Object>>public RecordType withAnnotated(boolean annotated)
withAnnotated in class DataType<Map<String,Object>>public RecordType withAnnotated()
withAnnotated in class DataType<Map<String,Object>>public RecordType withFormat(String format)
withFormat in class DataType<Map<String,Object>>public RecordType withFeatures(Map<String,Object> features)
withFeatures in class DataType<Map<String,Object>>public RecordType withFeature(String name, Object value)
withFeature in class DataType<Map<String,Object>>public RecordType withDefaultValue(Map<String,Object> value)
withDefaultValue in class DataType<Map<String,Object>>public RecordType withNullable(boolean nullable)
withNullable in class DataType<Map<String,Object>>public RecordType withNullable()
withNullable in class DataType<Map<String,Object>>public RecordType withOptional()
withOptional in class DataType<Map<String,Object>>public RecordType withProvided(ProvidedMeta provided)
withProvided in class DataType<Map<String,Object>>public RecordType withFields(List<DataType> fields)
fields - the fields.public RecordType withBaseType(RecordType baseType)
baseType - the base record type.public RecordType getBaseType()
public void setBaseType(RecordType baseType)
public boolean isInheritationApplied()
public void setInheritationApplied(boolean inheritationApplied)
Copyright © 2016–2019 Softelnet. All rights reserved.