Interface NumberConstraint
-
- All Known Subinterfaces:
NumberConstraintV2,NumberInput,TextInput
@Deprecated @ProviderType public interface NumberConstraintDeprecated.UseNumberConstraintV2instead.A interface which specifies the different form number type constraints- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.LonggetExclusiveMaximum()Deprecated.Returns the Maximum value (exclusive) that can be entered by the user.default java.lang.LonggetExclusiveMinimum()Deprecated.Returns the minimum value (exclusive) that can be entered by the user.default java.lang.LonggetMaximum()Deprecated.Returns the maximum value for the number.default java.lang.LonggetMinimum()Deprecated.Returns the minimum value for the number.
-
-
-
Method Detail
-
getMinimum
default java.lang.Long getMinimum()
Deprecated.Returns the minimum value for the number. The constraint is applicable only for field with type number- Returns:
- minimum value for the number
- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
getMaximum
default java.lang.Long getMaximum()
Deprecated.Returns the maximum value for the number. The constraint is applicable only for field with type number- Returns:
- maximum value for the number
- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
getExclusiveMaximum
default java.lang.Long getExclusiveMaximum()
Deprecated.Returns the Maximum value (exclusive) that can be entered by the user.- Returns:
- maximum value (exclusive) for the number
- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
getExclusiveMinimum
default java.lang.Long getExclusiveMinimum()
Deprecated.Returns the minimum value (exclusive) that can be entered by the user.- Returns:
- minimum value (exclusive) for the number
- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
-