Class EventMappingConstraintModel

All Implemented Interfaces:
Serializable

public class EventMappingConstraintModel extends TypeConstraintModel
Generated model class for type EventMappingConstraint first defined at extension apiregistryservices.

Custom constraint which checks if the MappingType and mappingConfiguration/converterBean of EventConfiguration are valid.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String KEYREGEXP
      Generated constant - Attribute key of EventMappingConstraint.keyRegexp attribute defined at extension apiregistryservices.
      See Also:
    • KEYFLAGS

      public static final String KEYFLAGS
      Generated constant - Attribute key of EventMappingConstraint.keyFlags attribute defined at extension apiregistryservices.
      See Also:
    • VALUEREGEXP

      public static final String VALUEREGEXP
      Generated constant - Attribute key of EventMappingConstraint.valueRegexp attribute defined at extension apiregistryservices.
      See Also:
    • VALUEFLAGS

      public static final String VALUEFLAGS
      Generated constant - Attribute key of EventMappingConstraint.valueFlags attribute defined at extension apiregistryservices.
      See Also:
  • Constructor Details

    • EventMappingConstraintModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public EventMappingConstraintModel(Class _annotation, String _id, Set<RegexpFlag> _keyFlags, String _keyRegexp, Set<RegexpFlag> _valueFlags, String _valueRegexp)
      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 EventMappingConstraint at extension apiregistryservices
      _id - initial attribute declared by type AbstractConstraint at extension validation
      _keyFlags - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
      _keyRegexp - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
      _valueFlags - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
      _valueRegexp - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
    • EventMappingConstraintModel

      @Deprecated(since="4.1.1", forRemoval=true) public EventMappingConstraintModel(Class _annotation, String _id, Set<RegexpFlag> _keyFlags, String _keyRegexp, ItemModel _owner, Set<RegexpFlag> _valueFlags, String _valueRegexp)
      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 EventMappingConstraint at extension apiregistryservices
      _id - initial attribute declared by type AbstractConstraint at extension validation
      _keyFlags - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
      _keyRegexp - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
      _owner - initial attribute declared by type Item at extension core
      _valueFlags - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
      _valueRegexp - initial attribute declared by type EventMappingConstraint at extension apiregistryservices
  • Method Details

    • getKeyFlags

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

      @Accessor(qualifier="keyRegexp", type=GETTER) public String getKeyRegexp()
      Generated method - Getter of the EventMappingConstraint.keyRegexp attribute defined at extension apiregistryservices.
      Returns:
      the keyRegexp - Regular expression of toString() Map key representation
    • getValueFlags

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

      @Accessor(qualifier="valueRegexp", type=GETTER) public String getValueRegexp()
      Generated method - Getter of the EventMappingConstraint.valueRegexp attribute defined at extension apiregistryservices.
      Returns:
      the valueRegexp - Regular expression of toString() Map value representation
    • setKeyFlags

      @Accessor(qualifier="keyFlags", type=SETTER) public void setKeyFlags(Set<RegexpFlag> value)
      Generated method - Setter of EventMappingConstraint.keyFlags attribute defined at extension apiregistryservices.
      Parameters:
      value - the keyFlags - Regular expression for constraint
    • setKeyRegexp

      @Accessor(qualifier="keyRegexp", type=SETTER) public void setKeyRegexp(String value)
      Generated method - Setter of EventMappingConstraint.keyRegexp attribute defined at extension apiregistryservices.
      Parameters:
      value - the keyRegexp - Regular expression of toString() Map key representation
    • setValueFlags

      @Accessor(qualifier="valueFlags", type=SETTER) public void setValueFlags(Set<RegexpFlag> value)
      Generated method - Setter of EventMappingConstraint.valueFlags attribute defined at extension apiregistryservices.
      Parameters:
      value - the valueFlags - Regular expression for constraint
    • setValueRegexp

      @Accessor(qualifier="valueRegexp", type=SETTER) public void setValueRegexp(String value)
      Generated method - Setter of EventMappingConstraint.valueRegexp attribute defined at extension apiregistryservices.
      Parameters:
      value - the valueRegexp - Regular expression of toString() Map value representation