Class RegExpConstraintModel

All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • NOTEMPTY

      public static final String NOTEMPTY
      Generated constant - Attribute key of RegExpConstraint.notEmpty attribute defined at extension personalizationservices.
      See Also:
  • Constructor Details

    • 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(Class _annotation, 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(Class _annotation, 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 Details

    • 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