Class ObjectPatternConstraintModel

All Implemented Interfaces:
Serializable

public class ObjectPatternConstraintModel extends AttributeConstraintModel
Generated model class for type ObjectPatternConstraint first defined at extension ruleengineservices.

Pattern JSR 303 compatible constraint class.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String REGEXP
      Generated constant - Attribute key of ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices.
      See Also:
    • FLAGS

      public static final String FLAGS
      Generated constant - Attribute key of ObjectPatternConstraint.flags attribute defined at extension ruleengineservices.
      See Also:
  • Constructor Details

    • ObjectPatternConstraintModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ObjectPatternConstraintModel(Class _annotation, Set<RegexpFlag> _flags, String _id, 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 ObjectPatternConstraint at extension ruleengineservices
      _flags - initial attribute declared by type ObjectPatternConstraint at extension ruleengineservices
      _id - initial attribute declared by type AbstractConstraint at extension validation
      _regexp - initial attribute declared by type ObjectPatternConstraint at extension ruleengineservices
    • ObjectPatternConstraintModel

      @Deprecated(since="4.1.1", forRemoval=true) public ObjectPatternConstraintModel(Class _annotation, Set<RegexpFlag> _flags, String _id, ItemModel _owner, 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 ObjectPatternConstraint at extension ruleengineservices
      _flags - initial attribute declared by type ObjectPatternConstraint at extension ruleengineservices
      _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 ObjectPatternConstraint at extension ruleengineservices
  • Method Details

    • getFlags

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

      @Accessor(qualifier="regexp", type=GETTER) public String getRegexp()
      Generated method - Getter of the ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices.
      Returns:
      the regexp - Regular expression of toString() Object representation for constraint
    • setFlags

      @Accessor(qualifier="flags", type=SETTER) public void setFlags(Set<RegexpFlag> value)
      Generated method - Setter of ObjectPatternConstraint.flags attribute defined at extension ruleengineservices.
      Parameters:
      value - the flags - Regular expression for constraint
    • setRegexp

      @Accessor(qualifier="regexp", type=SETTER) public void setRegexp(String value)
      Generated method - Setter of ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices.
      Parameters:
      value - the regexp - Regular expression of toString() Object representation for constraint