public class ObjectPatternConstraintModel extends AttributeConstraintModel
Pattern JSR 303 compatible constraint class.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
FLAGS
Generated constant - Attribute key of
ObjectPatternConstraint.flags attribute defined at extension ruleengineservices. |
static java.lang.String |
REGEXP
Generated constant - Attribute key of
ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices. |
DESCRIPTOR, LANGUAGES, QUALIFIERACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ObjectPatternConstraintModel()
Generated constructor - Default constructor for generic creation.
|
ObjectPatternConstraintModel(java.lang.Class _annotation,
java.util.Set<RegexpFlag> _flags,
java.lang.String _id,
ItemModel _owner,
java.lang.String _regexp)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ObjectPatternConstraintModel(java.lang.Class _annotation,
java.util.Set<RegexpFlag> _flags,
java.lang.String _id,
java.lang.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 |
|---|---|
java.util.Set<RegexpFlag> |
getFlags()
Generated method - Getter of the
ObjectPatternConstraint.flags attribute defined at extension ruleengineservices. |
java.lang.String |
getRegexp()
Generated method - Getter of the
ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices. |
void |
setFlags(java.util.Set<RegexpFlag> value)
Generated method - Setter of
ObjectPatternConstraint.flags attribute defined at extension ruleengineservices. |
void |
setRegexp(java.lang.String value)
Generated method - Setter of
ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices. |
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, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String REGEXP
ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices.public static final java.lang.String FLAGS
ObjectPatternConstraint.flags attribute defined at extension ruleengineservices.public ObjectPatternConstraintModel()
public ObjectPatternConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public ObjectPatternConstraintModel(java.lang.Class _annotation,
java.util.Set<RegexpFlag> _flags,
java.lang.String _id,
java.lang.String _regexp)
_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@Deprecated
public ObjectPatternConstraintModel(java.lang.Class _annotation,
java.util.Set<RegexpFlag> _flags,
java.lang.String _id,
ItemModel _owner,
java.lang.String _regexp)
_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@Accessor(qualifier="flags", type=GETTER) public java.util.Set<RegexpFlag> getFlags()
ObjectPatternConstraint.flags attribute defined at extension ruleengineservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="regexp", type=GETTER) public java.lang.String getRegexp()
ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices.@Accessor(qualifier="flags", type=SETTER) public void setFlags(java.util.Set<RegexpFlag> value)
ObjectPatternConstraint.flags attribute defined at extension ruleengineservices.value - the flags - Regular expression for constraint@Accessor(qualifier="regexp", type=SETTER) public void setRegexp(java.lang.String value)
ObjectPatternConstraint.regexp attribute defined at extension ruleengineservices.value - the regexp - Regular expression of toString() Object representation for constraintCopyright © 2018 SAP SE. All Rights Reserved.