Class MinConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class MinConstraintModel
    extends AttributeConstraintModel
    Generated model class for type MinConstraint first defined at extension validation.

    Minimal 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 MinConstraint.value attribute defined at extension validation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MinConstraintModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public MinConstraintModel​(java.lang.Class _annotation,
                                  java.lang.String _id,
                                  java.lang.Long _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 MinConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _value - initial attribute declared by type MinConstraint at extension validation
      • MinConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public MinConstraintModel​(java.lang.Class _annotation,
                                  java.lang.String _id,
                                  ItemModel _owner,
                                  java.lang.Long _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 MinConstraint 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 MinConstraint at extension validation
    • Method Detail

      • getValue

        @Accessor(qualifier="value",
                  type=GETTER)
        public java.lang.Long getValue()
        Generated method - Getter of the MinConstraint.value attribute defined at extension validation.
        Returns:
        the value - Minimal value
      • setValue

        @Accessor(qualifier="value",
                  type=SETTER)
        public void setValue​(java.lang.Long value)
        Generated method - Setter of MinConstraint.value attribute defined at extension validation.
        Parameters:
        value - the value - Minimal value