java.lang.Object
org.evomaster.client.java.controller.api.dto.problem.rpc.ParamDto

public class ParamDto extends Object
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 Details

    • name

      public String name
      param name
    • type

      public TypeDto type
      type of the param
    • stringValue

      public String stringValue
      value with string format
    • innerContent

      public List<ParamDto> innerContent
      inner content
    • isNullable

      public boolean isNullable
      whether the param could be null
    • minSize

      public Long minSize
      a min size of the param, eg, String, List
    • maxSize

      public Long maxSize
      a max size of the param, eg, String, List
    • minValue

      public 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
    • maxValue

      public 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
    • precision

      public Integer precision
      precision applicable to number present the number of digits in the unscaled value
    • scale

      public Integer scale
      scale applicable to floatting point number present the number of digits to the right of the decimal point
    • minInclusive

      public boolean minInclusive
      represent whether minValue is inclusive note that it is typically useful for floating point number
    • maxInclusive

      public boolean maxInclusive
      represent whether maxValue is inclusive note that it is typically useful for floating point number
    • pattern

      public String pattern
      pattern specified with regex exp
    • candidates

      public List<ParamDto> candidates
      a list of candidates for the param customized by user
    • candidateReferences

      public List<String> candidateReferences
      a list of references to candidates which are used for dependent candidates which have same reference
    • isMutable

      public boolean isMutable
      represent whether the param is mutable
    • defaultValue

      public ParamDto defaultValue
      represent a default value of the param if it has
  • Constructor Details

    • ParamDto

      public ParamDto()
  • Method Details

    • copy

      public ParamDto copy()
      Returns:
      a copy of the paramDto
    • hasNumberConstraints

      public boolean hasNumberConstraints()
    • setNullValue

      public void setNullValue()
    • setNotNullValue

      public void setNotNullValue()