public class ClassificationNotBlankConstraintModel extends TypeConstraintModel
Custom constraint which checks if the provided classification class is not blank.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORY
Generated constant - Attribute key of
ClassificationNotBlankConstraint.category attribute defined at extension b2ctelcoservices. |
static String |
CLASSIFICATION
Generated constant - Attribute key of
ClassificationNotBlankConstraint.classification attribute defined at extension b2ctelcoservices. |
ACTIVE, 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 |
|---|
ClassificationNotBlankConstraintModel()
Generated constructor - Default constructor for generic creation.
|
ClassificationNotBlankConstraintModel(Class _annotation,
String _category,
String _classification,
String _id)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ClassificationNotBlankConstraintModel(Class _annotation,
String _category,
String _classification,
String _id,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ClassificationNotBlankConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Generated method - Getter of the
ClassificationNotBlankConstraint.category attribute defined at extension b2ctelcoservices. |
String |
getClassification()
Generated method - Getter of the
ClassificationNotBlankConstraint.classification attribute defined at extension b2ctelcoservices. |
void |
setCategory(String value)
Generated method - Setter of
ClassificationNotBlankConstraint.category attribute defined at extension b2ctelcoservices. |
void |
setClassification(String value)
Generated method - Setter of
ClassificationNotBlankConstraint.classification attribute defined at extension b2ctelcoservices. |
getAnnotation, 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 CATEGORY
ClassificationNotBlankConstraint.category attribute defined at extension b2ctelcoservices.public static final String CLASSIFICATION
ClassificationNotBlankConstraint.classification attribute defined at extension b2ctelcoservices.public ClassificationNotBlankConstraintModel()
public ClassificationNotBlankConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ClassificationNotBlankConstraintModel(Class _annotation, String _category, String _classification, String _id)
_annotation - initial attribute declared by type ClassificationNotBlankConstraint at extension b2ctelcoservices_category - initial attribute declared by type ClassificationNotBlankConstraint at extension b2ctelcoservices_classification - initial attribute declared by type ClassificationNotBlankConstraint at extension b2ctelcoservices_id - initial attribute declared by type AbstractConstraint at extension validation@Deprecated public ClassificationNotBlankConstraintModel(Class _annotation, String _category, String _classification, String _id, ItemModel _owner)
_annotation - initial attribute declared by type ClassificationNotBlankConstraint at extension b2ctelcoservices_category - initial attribute declared by type ClassificationNotBlankConstraint at extension b2ctelcoservices_classification - initial attribute declared by type ClassificationNotBlankConstraint at extension b2ctelcoservices_id - initial attribute declared by type AbstractConstraint at extension validation_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="category", type=GETTER) public String getCategory()
ClassificationNotBlankConstraint.category attribute defined at extension b2ctelcoservices.@Accessor(qualifier="classification", type=GETTER) public String getClassification()
ClassificationNotBlankConstraint.classification attribute defined at extension b2ctelcoservices.@Accessor(qualifier="category", type=SETTER) public void setCategory(String value)
ClassificationNotBlankConstraint.category attribute defined at extension b2ctelcoservices.value - the category - Category code@Accessor(qualifier="classification", type=SETTER) public void setClassification(String value)
ClassificationNotBlankConstraint.classification attribute defined at extension b2ctelcoservices.value - the classification - Classification class codeCopyright © 2017 SAP SE. All Rights Reserved.