public class ParamDto extends Object
| Modifier and Type | Field and Description |
|---|---|
List<String> |
candidateReferences
a list of references to candidates which are used for
dependent candidates which have same reference
|
List<ParamDto> |
candidates
a list of candidates for the param customized by user
|
ParamDto |
defaultValue
represent a default value of the param if it has
|
List<ParamDto> |
innerContent
inner content
|
boolean |
isMutable
represent whether the param is mutable
|
boolean |
isNullable
whether the param could be null
|
boolean |
maxInclusive
represent whether maxValue is inclusive
note that it is typically useful for floating point number
|
Long |
maxSize
a max size of the param, eg, String, List
|
String |
maxValue
a max value of the param, eg, Numeric
note that the minValue could be used by various types of number,
eg, double, long, bigdecimal and biginteger,
then use the string to persist the value
|
boolean |
minInclusive
represent whether minValue is inclusive
note that it is typically useful for floating point number
|
Long |
minSize
a min size of the param, eg, String, List
|
String |
minValue
a min value of the param, eg, Numeric
note that the minValue could be used by various types of number,
eg, double, long, bigdecimal and biginteger,
then use the string to persist the value
|
String |
name
param name
|
String |
pattern
pattern specified with regex exp
|
Integer |
precision
precision applicable to number
present the number of digits in the unscaled value
|
Integer |
scale
scale applicable to floatting point number
present the number of digits to the right of the decimal point
|
String |
stringValue
value with string format
|
TypeDto |
type
type of the param
|
| Constructor and Description |
|---|
ParamDto() |
| Modifier and Type | Method and Description |
|---|---|
ParamDto |
copy() |
boolean |
hasNumberConstraints() |
void |
setNotNullValue() |
void |
setNullValue() |
public String name
public TypeDto type
public String stringValue
public boolean isNullable
public Long minSize
public Long maxSize
public String minValue
public String maxValue
public Integer precision
public Integer scale
public boolean minInclusive
public boolean maxInclusive
public String pattern
public List<String> candidateReferences
public boolean isMutable
public ParamDto defaultValue
public ParamDto copy()
public boolean hasNumberConstraints()
public void setNullValue()
public void setNotNullValue()
Copyright © 2016–2024. All rights reserved.