public class EnumCodeConstraintModel extends AttributeConstraintModel
Custom constraint which checks if the approval status matches.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CODE
Generated constant - Attribute key of
EnumCodeConstraint.code attribute defined at extension backoffice. |
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 |
|---|
EnumCodeConstraintModel()
Generated constructor - Default constructor for generic creation.
|
EnumCodeConstraintModel(java.lang.Class _annotation,
java.lang.String _code,
java.lang.String _id)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
EnumCodeConstraintModel(java.lang.Class _annotation,
java.lang.String _code,
java.lang.String _id,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
EnumCodeConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Generated method - Getter of the
EnumCodeConstraint.code attribute defined at extension backoffice. |
void |
setCode(java.lang.String value)
Generated method - Setter of
EnumCodeConstraint.code attribute defined at extension backoffice. |
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 CODE
EnumCodeConstraint.code attribute defined at extension backoffice.public EnumCodeConstraintModel()
public EnumCodeConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public EnumCodeConstraintModel(java.lang.Class _annotation,
java.lang.String _code,
java.lang.String _id)
_annotation - initial attribute declared by type EnumCodeConstraint at extension backoffice_code - initial attribute declared by type EnumCodeConstraint at extension backoffice_id - initial attribute declared by type AbstractConstraint at extension validation@Deprecated
public EnumCodeConstraintModel(java.lang.Class _annotation,
java.lang.String _code,
java.lang.String _id,
ItemModel _owner)
_annotation - initial attribute declared by type EnumCodeConstraint at extension backoffice_code - initial attribute declared by type EnumCodeConstraint at extension backoffice_id - initial attribute declared by type AbstractConstraint at extension validation_owner - initial attribute declared by type Item at extension coreCopyright © 2018 SAP SE. All Rights Reserved.