Class ObjectPatternConstraintModel
- 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.AttributeConstraintModel
-
- de.hybris.platform.validation.model.constraints.jsr303.ObjectPatternConstraintModel
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
FLAGS
Generated constant - Attribute key ofObjectPatternConstraint.flags
attribute defined at extensionruleengineservices
.static java.lang.String
REGEXP
Generated constant - Attribute key ofObjectPatternConstraint.regexp
attribute defined at extensionruleengineservices
.-
Fields inherited from class de.hybris.platform.validation.model.constraints.AttributeConstraintModel
DESCRIPTOR, LANGUAGES, QUALIFIER
-
Fields inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
ACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ObjectPatternConstraintModel()
Generated constructor - Default constructor for generic creation.ObjectPatternConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextObjectPatternConstraintModel(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 parametersObjectPatternConstraintModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<RegexpFlag>
getFlags()
Generated method - Getter of theObjectPatternConstraint.flags
attribute defined at extensionruleengineservices
.java.lang.String
getRegexp()
Generated method - Getter of theObjectPatternConstraint.regexp
attribute defined at extensionruleengineservices
.void
setFlags(java.util.Set<RegexpFlag> value)
Generated method - Setter ofObjectPatternConstraint.flags
attribute defined at extensionruleengineservices
.void
setRegexp(java.lang.String value)
Generated method - Setter ofObjectPatternConstraint.regexp
attribute defined at extensionruleengineservices
.-
Methods inherited from class de.hybris.platform.validation.model.constraints.AttributeConstraintModel
getDescriptor, getLanguages, getQualifier, setDescriptor, setLanguages, setQualifier
-
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, setType
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 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 ofObjectPatternConstraint.regexp
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
FLAGS
public static final java.lang.String FLAGS
Generated constant - Attribute key ofObjectPatternConstraint.flags
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_annotation
- initial attribute declared by typeObjectPatternConstraint
at extensionruleengineservices
_flags
- initial attribute declared by typeObjectPatternConstraint
at extensionruleengineservices
_id
- initial attribute declared by typeAbstractConstraint
at extensionvalidation
_regexp
- initial attribute declared by typeObjectPatternConstraint
at extensionruleengineservices
-
ObjectPatternConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public ObjectPatternConstraintModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_annotation
- initial attribute declared by typeObjectPatternConstraint
at extensionruleengineservices
_flags
- initial attribute declared by typeObjectPatternConstraint
at extensionruleengineservices
_id
- initial attribute declared by typeAbstractConstraint
at extensionvalidation
_owner
- initial attribute declared by typeItem
at extensioncore
_regexp
- initial attribute declared by typeObjectPatternConstraint
at extensionruleengineservices
-
-
Method Detail
-
getFlags
@Accessor(qualifier="flags", type=GETTER) public java.util.Set<RegexpFlag> getFlags()
Generated method - Getter of theObjectPatternConstraint.flags
attribute defined at extensionruleengineservices
. 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 java.lang.String getRegexp()
Generated method - Getter of theObjectPatternConstraint.regexp
attribute defined at extensionruleengineservices
.- Returns:
- the regexp - Regular expression of toString() Object representation for constraint
-
setFlags
@Accessor(qualifier="flags", type=SETTER) public void setFlags(java.util.Set<RegexpFlag> value)
Generated method - Setter ofObjectPatternConstraint.flags
attribute defined at extensionruleengineservices
.- Parameters:
value
- the flags - Regular expression for constraint
-
setRegexp
@Accessor(qualifier="regexp", type=SETTER) public void setRegexp(java.lang.String value)
Generated method - Setter ofObjectPatternConstraint.regexp
attribute defined at extensionruleengineservices
.- Parameters:
value
- the regexp - Regular expression of toString() Object representation for constraint
-
-