public class NumberType extends Type
| Constructor and Description |
|---|
NumberType() |
| Modifier and Type | Method and Description |
|---|---|
NumberType |
exclusiveMax(boolean exclusiveMax) |
NumberType |
exclusiveMin(boolean exclusiveMin) |
NumberType |
feature(String name,
Object value) |
NumberType |
features(Map<String,Object> features) |
NumberType |
format(String format) |
Number |
getMaxValue() |
Number |
getMinValue() |
boolean |
isExclusiveMax() |
boolean |
isExclusiveMin() |
NumberType |
maxValue(Number maxValue) |
NumberType |
minValue(Number minValue) |
void |
setExclusiveMax(boolean exclusiveMax) |
void |
setExclusiveMin(boolean exclusiveMin) |
void |
setMaxValue(Number maxValue) |
void |
setMinValue(Number minValue) |
NumberType |
tag(String tag) |
NumberType |
tags(String... tags) |
getFeatures, getFormat, getKind, getTags, setFeatures, setFormat, setTagspublic NumberType format(String format)
public NumberType tags(String... tags)
public NumberType tag(String tag)
public NumberType feature(String name, Object value)
public NumberType minValue(Number minValue)
public NumberType maxValue(Number maxValue)
public NumberType exclusiveMin(boolean exclusiveMin)
public NumberType exclusiveMax(boolean exclusiveMax)
public Number getMinValue()
public void setMinValue(Number minValue)
public Number getMaxValue()
public void setMaxValue(Number maxValue)
public boolean isExclusiveMin()
public void setExclusiveMin(boolean exclusiveMin)
public boolean isExclusiveMax()
public void setExclusiveMax(boolean exclusiveMax)
Copyright © 2016–2018 Softelnet. All rights reserved.