Class DecimalMaxConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class DecimalMaxConstraintModel
    extends AttributeConstraintModel
    Generated model class for type DecimalMaxConstraint first defined at extension validation.

    Decimal maximal JSR 303 compatible constraint class.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • VALUE

        public static final java.lang.String VALUE
        Generated constant - Attribute key of DecimalMaxConstraint.value attribute defined at extension validation.
        See Also:
        Constant Field Values
      • INCLUSIVE

        public static final java.lang.String INCLUSIVE
        Generated constant - Attribute key of DecimalMaxConstraint.inclusive attribute defined at extension validation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DecimalMaxConstraintModel

        public DecimalMaxConstraintModel()
        Generated constructor - Default constructor for generic creation.
      • DecimalMaxConstraintModel

        public DecimalMaxConstraintModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • DecimalMaxConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DecimalMaxConstraintModel​(java.lang.Class _annotation,
                                         java.lang.String _id,
                                         java.math.BigDecimal _value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _annotation - initial attribute declared by type DecimalMaxConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _value - initial attribute declared by type DecimalMaxConstraint at extension validation
      • DecimalMaxConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DecimalMaxConstraintModel​(java.lang.Class _annotation,
                                         java.lang.String _id,
                                         ItemModel _owner,
                                         java.math.BigDecimal _value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _annotation - initial attribute declared by type DecimalMaxConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _owner - initial attribute declared by type Item at extension core
        _value - initial attribute declared by type DecimalMaxConstraint at extension validation
    • Method Detail

      • getInclusive

        @Accessor(qualifier="inclusive",
                  type=GETTER)
        public java.lang.Boolean getInclusive()
        Generated method - Getter of the DecimalMaxConstraint.inclusive attribute defined at extension validation.
        Returns:
        the inclusive - Inclusive
      • getValue

        @Accessor(qualifier="value",
                  type=GETTER)
        public java.math.BigDecimal getValue()
        Generated method - Getter of the DecimalMaxConstraint.value attribute defined at extension validation.
        Returns:
        the value - Maximal value
      • setInclusive

        @Accessor(qualifier="inclusive",
                  type=SETTER)
        public void setInclusive​(java.lang.Boolean value)
        Generated method - Setter of DecimalMaxConstraint.inclusive attribute defined at extension validation.
        Parameters:
        value - the inclusive - Inclusive
      • setValue

        @Accessor(qualifier="value",
                  type=SETTER)
        public void setValue​(java.math.BigDecimal value)
        Generated method - Setter of DecimalMaxConstraint.value attribute defined at extension validation.
        Parameters:
        value - the value - Maximal value