Class NotEmptyConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotEmptyConstraintModel
    extends AttributeConstraintModel
    Generated model class for type NotEmptyConstraint first defined at extension validation.

    Custom constraint which checks for empty strings (Apache commons implementation).

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

      • NotEmptyConstraintModel

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

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public NotEmptyConstraintModel​(java.lang.Class _annotation,
                                       java.lang.String _id,
                                       ItemModel _owner)
        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 NotEmptyConstraint at extension validation
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _owner - initial attribute declared by type Item at extension core