Class RegExpConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class RegExpConstraintModel
    extends AttributeConstraintModel
    Generated model class for type RegExpConstraint first defined at extension personalizationservices.

    Constraint which checks if value is correct regular expression.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String NOTEMPTY
        Generated constant - Attribute key of RegExpConstraint.notEmpty attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RegExpConstraintModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RegExpConstraintModel​(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 RegExpConstraint at extension personalizationservices
        _id - initial attribute declared by type AbstractConstraint at extension validation
      • RegExpConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RegExpConstraintModel​(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 RegExpConstraint at extension personalizationservices
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • isNotEmpty

        @Accessor(qualifier="notEmpty",
                  type=GETTER)
        public boolean isNotEmpty()
        Generated method - Getter of the RegExpConstraint.notEmpty attribute defined at extension personalizationservices.
        Returns:
        the notEmpty - Define if empty value is allowed
      • setNotEmpty

        @Accessor(qualifier="notEmpty",
                  type=SETTER)
        public void setNotEmpty​(boolean value)
        Generated method - Setter of RegExpConstraint.notEmpty attribute defined at extension personalizationservices.
        Parameters:
        value - the notEmpty - Define if empty value is allowed