public class DateTimeType extends DataType<Object>
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_DATE_TIME_KIND
The feature name for the dateTimeKind.
|
FEATURE_FORMAT| Constructor and Description |
|---|
DateTimeType() |
DateTimeType(String name) |
DateTimeType(String name,
DateTimeKind dateTimeKind) |
| Modifier and Type | Method and Description |
|---|---|
DateTimeKind |
getDateTimeKind() |
void |
setDateTimeKind(DateTimeKind dateTimeKind) |
DateTimeType |
withAnnotated() |
DateTimeType |
withAnnotated(boolean annotated) |
DateTimeType |
withDate() |
DateTimeType |
withDateTime() |
DateTimeType |
withDateTimeZone() |
DateTimeType |
withDefaultValue(Object value) |
DateTimeType |
withDescription(String description) |
DateTimeType |
withFeature(String name,
Object value) |
DateTimeType |
withFeatures(Map<String,Object> features) |
DateTimeType |
withFormat(String format) |
DateTimeType |
withInstant() |
DateTimeType |
withLabel(String label) |
DateTimeType |
withName(String name) |
DateTimeType |
withNullable() |
DateTimeType |
withNullable(boolean nullable) |
DateTimeType |
withOptional() |
DateTimeType |
withProvided(ProvidedMeta provided) |
DateTimeType |
withTime() |
clone, getDefaultValue, getDescription, getFeatures, getFormat, getKind, getLabel, getName, getProvided, getRegisteredType, isAnnotated, isNullable, isOptional, setAnnotated, setDefaultValue, setDescription, setFeatures, setFormat, setLabel, setName, setNullable, setOptional, setProvided, setRegisteredType, withDefaultValuepublic static final String FEATURE_DATE_TIME_KIND
public DateTimeType()
public DateTimeType(String name)
public DateTimeType(String name, DateTimeKind dateTimeKind)
public DateTimeType withName(String name)
public DateTimeType withLabel(String label)
public DateTimeType withDescription(String description)
withDescription in class DataType<Object>public DateTimeType withAnnotated(boolean annotated)
withAnnotated in class DataType<Object>public DateTimeType withAnnotated()
withAnnotated in class DataType<Object>public DateTimeType withFormat(String format)
withFormat in class DataType<Object>public DateTimeType withFeatures(Map<String,Object> features)
withFeatures in class DataType<Object>public DateTimeType withFeature(String name, Object value)
withFeature in class DataType<Object>public DateTimeType withDefaultValue(Object value)
withDefaultValue in class DataType<Object>public DateTimeType withNullable(boolean nullable)
withNullable in class DataType<Object>public DateTimeType withNullable()
withNullable in class DataType<Object>public DateTimeType withOptional()
withOptional in class DataType<Object>public DateTimeType withProvided(ProvidedMeta provided)
withProvided in class DataType<Object>public DateTimeKind getDateTimeKind()
public void setDateTimeKind(DateTimeKind dateTimeKind)
public DateTimeType withDateTime()
public DateTimeType withDateTimeZone()
public DateTimeType withDate()
public DateTimeType withTime()
public DateTimeType withInstant()
Copyright © 2016–2019 Softelnet. All rights reserved.