Class ParameterConstraint

java.lang.Object
com.orchestranetworks.addon.dqid.ParameterConstraint

public final class ParameterConstraint extends Object
The definition of a constraint for the value of a parameter.
Since:
1.4.0
See Also:
  • Constructor Details

    • ParameterConstraint

      public ParameterConstraint()
  • Method Details

    • isUndefinedValueSupported

      public boolean isUndefinedValueSupported()
      Returns true if the data type is Boolean, and undefined values are allowed.
    • setUndefinedValueSupported

      public void setUndefinedValueSupported(boolean undefinedValueSupported)
      Sets undefined value support when the data type is Boolean.
      Parameters:
      undefinedValueSupported - boolean. Default value: false.
    • isNegativeSupported

      public boolean isNegativeSupported()
      Returns true if the data type is Number and negative values are allowed.
    • setNegativeSupported

      public void setNegativeSupported(boolean negativeSupported)
      Sets negative number support when the data type is Number.
      Parameters:
      negativeSupported - boolean. Default value: false.
    • isUnboundedSupported

      public boolean isUnboundedSupported()
      Returns true if the data type is Number, and the unbounded value is allowed.
    • setUnboundedSupported

      public void setUnboundedSupported(boolean unboundedSupported)
      Sets unbounded value support when the data type is Number.
      Parameters:
      unboundedSupported - boolean. Default value: false.
    • getMinValue

      public String getMinValue()
      Returns the minimum value.
    • setMinValue

      public void setMinValue(String minValue)
      Defines the minimum value allowed for this parameter.
      Parameters:
      minValue - It depends on the data type of parameter and it must be formatted by the rule that is defined by the add-on.
      If it is not compatible with this parameter, it's considered as no value, and this property will not be used.
      See Also:
    • getMaxValue

      public String getMaxValue()
      Returns the maximum value.
    • setMaxValue

      public void setMaxValue(String maxValue)
      Defines the maximum value allowed for this parameter.
      Parameters:
      maxValue - It depends on the data type of parameter and it must be formatted by the rule that is defined by the add-on.
      If it is not compatible with parameter, it's considered as no value, and this property will not be used.
      See Also: