Class EventMappingConstraintModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.validation.model.constraints.AbstractConstraintModel
de.hybris.platform.validation.model.constraints.TypeConstraintModel
de.hybris.platform.apiregistryservices.model.constraints.EventMappingConstraintModel
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofEventMappingConstraint.keyFlagsattribute defined at extensionapiregistryservices.static final StringGenerated constant - Attribute key ofEventMappingConstraint.keyRegexpattribute defined at extensionapiregistryservices.static final StringGenerated constant - Attribute key ofEventMappingConstraint.valueFlagsattribute defined at extensionapiregistryservices.static final StringGenerated constant - Attribute key ofEventMappingConstraint.valueRegexpattribute defined at extensionapiregistryservices.Fields inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
ACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextEventMappingConstraintModel(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 parametersEventMappingConstraintModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theEventMappingConstraint.keyFlagsattribute defined at extensionapiregistryservices.Generated method - Getter of theEventMappingConstraint.keyRegexpattribute defined at extensionapiregistryservices.Generated method - Getter of theEventMappingConstraint.valueFlagsattribute defined at extensionapiregistryservices.Generated method - Getter of theEventMappingConstraint.valueRegexpattribute defined at extensionapiregistryservices.voidsetKeyFlags(Set<RegexpFlag> value) Generated method - Setter ofEventMappingConstraint.keyFlagsattribute defined at extensionapiregistryservices.voidsetKeyRegexp(String value) Generated method - Setter ofEventMappingConstraint.keyRegexpattribute defined at extensionapiregistryservices.voidsetValueFlags(Set<RegexpFlag> value) Generated method - Setter ofEventMappingConstraint.valueFlagsattribute defined at extensionapiregistryservices.voidsetValueRegexp(String value) Generated method - Setter ofEventMappingConstraint.valueRegexpattribute defined at extensionapiregistryservices.Methods inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
getAnnotation, getConstraintGroups, getDefaultMessage, getDefaultMessage, getId, getMessage, getMessage, getSeverity, getTarget, getType, isActive, isNeedReload, setActive, setAnnotation, setConstraintGroups, setId, setMessage, setMessage, setSeverity, setTarget, setTypeMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
KEYREGEXP
Generated constant - Attribute key ofEventMappingConstraint.keyRegexpattribute defined at extensionapiregistryservices.- See Also:
-
KEYFLAGS
Generated constant - Attribute key ofEventMappingConstraint.keyFlagsattribute defined at extensionapiregistryservices.- See Also:
-
VALUEREGEXP
Generated constant - Attribute key ofEventMappingConstraint.valueRegexpattribute defined at extensionapiregistryservices.- See Also:
-
VALUEFLAGS
Generated constant - Attribute key ofEventMappingConstraint.valueFlagsattribute defined at extensionapiregistryservices.- See Also:
-
-
Constructor Details
-
EventMappingConstraintModel
public EventMappingConstraintModel()Generated constructor - Default constructor for generic creation. -
EventMappingConstraintModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_annotation- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_keyFlags- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_keyRegexp- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_valueFlags- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_valueRegexp- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_annotation- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_keyFlags- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_keyRegexp- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_owner- initial attribute declared by typeItemat extensioncore_valueFlags- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices_valueRegexp- initial attribute declared by typeEventMappingConstraintat extensionapiregistryservices
-
-
Method Details
-
getKeyFlags
Generated method - Getter of theEventMappingConstraint.keyFlagsattribute defined at extensionapiregistryservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the keyFlags - Regular expression for constraint
-
getKeyRegexp
Generated method - Getter of theEventMappingConstraint.keyRegexpattribute defined at extensionapiregistryservices.- Returns:
- the keyRegexp - Regular expression of toString() Map key representation
-
getValueFlags
Generated method - Getter of theEventMappingConstraint.valueFlagsattribute defined at extensionapiregistryservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the valueFlags - Regular expression for constraint
-
getValueRegexp
Generated method - Getter of theEventMappingConstraint.valueRegexpattribute defined at extensionapiregistryservices.- Returns:
- the valueRegexp - Regular expression of toString() Map value representation
-
setKeyFlags
Generated method - Setter ofEventMappingConstraint.keyFlagsattribute defined at extensionapiregistryservices.- Parameters:
value- the keyFlags - Regular expression for constraint
-
setKeyRegexp
Generated method - Setter ofEventMappingConstraint.keyRegexpattribute defined at extensionapiregistryservices.- Parameters:
value- the keyRegexp - Regular expression of toString() Map key representation
-
setValueFlags
Generated method - Setter ofEventMappingConstraint.valueFlagsattribute defined at extensionapiregistryservices.- Parameters:
value- the valueFlags - Regular expression for constraint
-
setValueRegexp
Generated method - Setter ofEventMappingConstraint.valueRegexpattribute defined at extensionapiregistryservices.- Parameters:
value- the valueRegexp - Regular expression of toString() Map value representation
-