public class EnumCodeConstraintModel extends AttributeConstraintModel
Custom constraint which checks if the approval status matches.
| 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, SEALED| 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, setOwnerpublic 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 corepublic java.lang.String getCode()
EnumCodeConstraint.code attribute defined at extension backoffice.public void setCode(java.lang.String value)
EnumCodeConstraint.code attribute defined at extension backoffice.value - the code - Status to matchCopyright © 2018 SAP SE. All Rights Reserved.