public class ObjectPatternConstraintModel extends AttributeConstraintModel
Pattern JSR 303 compatible constraint class.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
FLAGS
Generated constant - Attribute key of
ObjectPatternConstraint.flags attribute defined at extension couponservices. |
static String |
REGEXP
Generated constant - Attribute key of
ObjectPatternConstraint.regexp attribute defined at extension couponservices. |
DESCRIPTOR, LANGUAGES, QUALIFIERACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ObjectPatternConstraintModel()
Generated constructor - Default constructor for generic creation.
|
ObjectPatternConstraintModel(Class _annotation,
Set<RegexpFlag> _flags,
String _id,
ItemModel _owner,
String _regexp)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ObjectPatternConstraintModel(Class _annotation,
Set<RegexpFlag> _flags,
String _id,
String _regexp)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ObjectPatternConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Set<RegexpFlag> |
getFlags()
Generated method - Getter of the
ObjectPatternConstraint.flags attribute defined at extension couponservices. |
String |
getRegexp()
Generated method - Getter of the
ObjectPatternConstraint.regexp attribute defined at extension couponservices. |
void |
setFlags(Set<RegexpFlag> value)
Generated method - Setter of
ObjectPatternConstraint.flags attribute defined at extension couponservices. |
void |
setRegexp(String value)
Generated method - Setter of
ObjectPatternConstraint.regexp attribute defined at extension couponservices. |
getDescriptor, getLanguages, getQualifier, setDescriptor, setLanguages, setQualifiergetAnnotation, getConstraintGroups, getDefaultMessage, getDefaultMessage, getId, getMessage, getMessage, getSeverity, getTarget, getType, isActive, isNeedReload, setActive, setAnnotation, setConstraintGroups, setId, setMessage, setMessage, setSeverity, setTarget, setTypegetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String REGEXP
ObjectPatternConstraint.regexp attribute defined at extension couponservices.public static final String FLAGS
ObjectPatternConstraint.flags attribute defined at extension couponservices.public ObjectPatternConstraintModel()
public ObjectPatternConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ObjectPatternConstraintModel(Class _annotation, Set<RegexpFlag> _flags, String _id, String _regexp)
_annotation - initial attribute declared by type ObjectPatternConstraint at extension couponservices_flags - initial attribute declared by type ObjectPatternConstraint at extension couponservices_id - initial attribute declared by type AbstractConstraint at extension validation_regexp - initial attribute declared by type ObjectPatternConstraint at extension couponservices@Deprecated public ObjectPatternConstraintModel(Class _annotation, Set<RegexpFlag> _flags, String _id, ItemModel _owner, String _regexp)
_annotation - initial attribute declared by type ObjectPatternConstraint at extension couponservices_flags - initial attribute declared by type ObjectPatternConstraint at extension couponservices_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 couponservices@Accessor(qualifier="flags", type=GETTER) public Set<RegexpFlag> getFlags()
ObjectPatternConstraint.flags attribute defined at extension couponservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="regexp", type=GETTER) public String getRegexp()
ObjectPatternConstraint.regexp attribute defined at extension couponservices.@Accessor(qualifier="flags", type=SETTER) public void setFlags(Set<RegexpFlag> value)
ObjectPatternConstraint.flags attribute defined at extension couponservices.value - the flags - Regular expression for constraintCopyright © 2017 SAP SE. All Rights Reserved.