Class SnCollectionPatternConstraintModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class SnCollectionPatternConstraintModel
    extends AttributeConstraintModel
    Generated model class for type SnCollectionPatternConstraint first defined at extension searchservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String REGEXP
        Generated constant - Attribute key of SnCollectionPatternConstraint.regexp attribute defined at extension searchservices.
        See Also:
        Constant Field Values
      • FLAGS

        public static final java.lang.String FLAGS
        Generated constant - Attribute key of SnCollectionPatternConstraint.flags attribute defined at extension searchservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SnCollectionPatternConstraintModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SnCollectionPatternConstraintModel​(java.lang.Class _annotation,
                                                  java.util.Set<RegexpFlag> _flags,
                                                  java.lang.String _id,
                                                  java.lang.String _regexp)
        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 SnCollectionPatternConstraint at extension searchservices
        _flags - initial attribute declared by type SnCollectionPatternConstraint at extension searchservices
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _regexp - initial attribute declared by type SnCollectionPatternConstraint at extension searchservices
      • SnCollectionPatternConstraintModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SnCollectionPatternConstraintModel​(java.lang.Class _annotation,
                                                  java.util.Set<RegexpFlag> _flags,
                                                  java.lang.String _id,
                                                  ItemModel _owner,
                                                  java.lang.String _regexp)
        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 SnCollectionPatternConstraint at extension searchservices
        _flags - initial attribute declared by type SnCollectionPatternConstraint at extension searchservices
        _id - initial attribute declared by type AbstractConstraint at extension validation
        _owner - initial attribute declared by type Item at extension core
        _regexp - initial attribute declared by type SnCollectionPatternConstraint at extension searchservices
    • Method Detail

      • getFlags

        @Accessor(qualifier="flags",
                  type=GETTER)
        public java.util.Set<RegexpFlag> getFlags()
        Generated method - Getter of the SnCollectionPatternConstraint.flags attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the flags
      • getRegexp

        @Accessor(qualifier="regexp",
                  type=GETTER)
        public java.lang.String getRegexp()
        Generated method - Getter of the SnCollectionPatternConstraint.regexp attribute defined at extension searchservices.
        Returns:
        the regexp
      • setFlags

        @Accessor(qualifier="flags",
                  type=SETTER)
        public void setFlags​(java.util.Set<RegexpFlag> value)
        Generated method - Setter of SnCollectionPatternConstraint.flags attribute defined at extension searchservices.
        Parameters:
        value - the flags
      • setRegexp

        @Accessor(qualifier="regexp",
                  type=SETTER)
        public void setRegexp​(java.lang.String value)
        Generated method - Setter of SnCollectionPatternConstraint.regexp attribute defined at extension searchservices.
        Parameters:
        value - the regexp