Constructor and Description |
---|
AttrValidationRec(String dataType,
long minValue,
long maxValue)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static AttrValidationRec |
fromJson(javax.json.JsonObject json)
Turn jet json into an instance of this
|
String |
getDataType()
Get the data type
|
long |
getMaxValue()
Get the max value
|
long |
getMinValue()
Get the min value
|
javax.json.JsonObject |
toJSON()
Turn this into jet json
|
public AttrValidationRec(String dataType, long minValue, long maxValue)
dataType
- Data typeminValue
- min valuemaxValue
- max valuepublic static AttrValidationRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic String getDataType()
public long getMaxValue()
public long getMinValue()
Copyright © 2017. All rights reserved.