public class IntegerType extends DataType<Number>
Number).| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_EXCLUSIVE_MAX
The feature name for the exclusiveMax.
|
static String |
FEATURE_EXCLUSIVE_MIN
The feature name for the exclusiveMin.
|
static String |
FEATURE_MAX_VALUE
The feature name for the maxValue.
|
static String |
FEATURE_MIN_VALUE
The feature name for the exclusiveMax.
|
FEATURE_FORMAT| Constructor and Description |
|---|
IntegerType() |
IntegerType(String name) |
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_MIN_VALUE
public static final String FEATURE_MAX_VALUE
public static final String FEATURE_EXCLUSIVE_MIN
public static final String FEATURE_EXCLUSIVE_MAX
public IntegerType()
public IntegerType(String name)
public IntegerType withName(String name)
public IntegerType withLabel(String label)
public IntegerType withDescription(String description)
withDescription in class DataType<Number>public IntegerType withAnnotated(boolean annotated)
withAnnotated in class DataType<Number>public IntegerType withAnnotated()
withAnnotated in class DataType<Number>public IntegerType withFormat(String format)
withFormat in class DataType<Number>public IntegerType withFeatures(Map<String,Object> features)
withFeatures in class DataType<Number>public IntegerType withFeature(String name, Object value)
withFeature in class DataType<Number>public IntegerType withDefaultValue(Number value)
withDefaultValue in class DataType<Number>public IntegerType withNullable(boolean nullable)
withNullable in class DataType<Number>public IntegerType withNullable()
withNullable in class DataType<Number>public IntegerType withOptional()
withOptional in class DataType<Number>public IntegerType withProvided(ProvidedMeta provided)
withProvided in class DataType<Number>public IntegerType withMinValue(Long minValue)
public IntegerType withMinValue(Long minValue, boolean exclusiveMin)
public IntegerType withMaxValue(Long maxValue)
public IntegerType withMaxValue(Long maxValue, boolean exclusiveMax)
public Long getMinValue()
public void setMinValue(Long minValue)
public Long getMaxValue()
public void setMaxValue(Long maxValue)
public boolean isExclusiveMin()
public void setExclusiveMin(boolean exclusiveMin)
public boolean isExclusiveMax()
public void setExclusiveMax(boolean exclusiveMax)
Copyright © 2016–2019 Softelnet. All rights reserved.