Class ParamDto
java.lang.Object
org.evomaster.client.java.controller.api.dto.problem.rpc.ParamDto
a dto to collect info of param of endpoints to be tested
that is used by both core (for identifying genes) and driver (for endpoint invocation) sides
-
Field Summary
FieldsModifier and TypeFieldDescriptiona list of references to candidates which are used for dependent candidates which have same referencea list of candidates for the param customized by userrepresent a default value of the param if it hasinner contentbooleanrepresent whether the param is mutablebooleanwhether the param could be nullbooleanrepresent whether maxValue is inclusive note that it is typically useful for floating point numbera max size of the param, eg, String, Lista 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 valuebooleanrepresent whether minValue is inclusive note that it is typically useful for floating point numbera min size of the param, eg, String, Lista 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 valueparam namepattern specified with regex expprecision applicable to number present the number of digits in the unscaled valuescale applicable to floatting point number present the number of digits to the right of the decimal pointvalue with string formattype of the param -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
param name -
type
type of the param -
stringValue
value with string format -
innerContent
inner content -
isNullable
public boolean isNullablewhether the param could be null -
minSize
a min size of the param, eg, String, List -
maxSize
a max size of the param, eg, String, List -
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 -
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 -
precision
precision applicable to number present the number of digits in the unscaled value -
scale
scale applicable to floatting point number present the number of digits to the right of the decimal point -
minInclusive
public boolean minInclusiverepresent whether minValue is inclusive note that it is typically useful for floating point number -
maxInclusive
public boolean maxInclusiverepresent whether maxValue is inclusive note that it is typically useful for floating point number -
pattern
pattern specified with regex exp -
candidates
a list of candidates for the param customized by user -
candidateReferences
a list of references to candidates which are used for dependent candidates which have same reference -
isMutable
public boolean isMutablerepresent whether the param is mutable -
defaultValue
represent a default value of the param if it has
-
-
Constructor Details
-
ParamDto
public ParamDto()
-
-
Method Details
-
copy
- Returns:
- a copy of the paramDto
-
hasNumberConstraints
public boolean hasNumberConstraints() -
setNullValue
public void setNullValue() -
setNotNullValue
public void setNotNullValue()
-