Class ClassificationNotBlankConstraintModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.validation.model.constraints.AbstractConstraintModel
-
- de.hybris.platform.validation.model.constraints.TypeConstraintModel
-
- de.hybris.platform.b2ctelcoservices.model.ClassificationNotBlankConstraintModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ClassificationNotBlankConstraintModel extends TypeConstraintModel
Generated model class for type ClassificationNotBlankConstraint first defined at extension b2ctelcoservices.Custom constraint which checks if the provided classification class is not blank.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCATEGORYGenerated constant - Attribute key ofClassificationNotBlankConstraint.categoryattribute defined at extensionb2ctelcoservices.static java.lang.StringCLASSIFICATIONGenerated constant - Attribute key ofClassificationNotBlankConstraint.classificationattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
ACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description ClassificationNotBlankConstraintModel()Generated constructor - Default constructor for generic creation.ClassificationNotBlankConstraintModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextClassificationNotBlankConstraintModel(java.lang.Class _annotation, java.lang.String _category, java.lang.String _classification, java.lang.String _id)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersClassificationNotBlankConstraintModel(java.lang.Class _annotation, java.lang.String _category, java.lang.String _classification, java.lang.String _id, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCategory()Generated method - Getter of theClassificationNotBlankConstraint.categoryattribute defined at extensionb2ctelcoservices.java.lang.StringgetClassification()Generated method - Getter of theClassificationNotBlankConstraint.classificationattribute defined at extensionb2ctelcoservices.voidsetCategory(java.lang.String value)Generated method - Setter ofClassificationNotBlankConstraint.categoryattribute defined at extensionb2ctelcoservices.voidsetClassification(java.lang.String value)Generated method - Setter ofClassificationNotBlankConstraint.classificationattribute defined at extensionb2ctelcoservices.-
Methods inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
getAnnotation, getConstraintGroups, getDefaultMessage, getDefaultMessage, getId, getMessage, getMessage, getSeverity, getTarget, getType, isActive, isNeedReload, setActive, setAnnotation, setConstraintGroups, setId, setMessage, setMessage, setSeverity, setTarget, setType
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
CATEGORY
public static final java.lang.String CATEGORY
Generated constant - Attribute key ofClassificationNotBlankConstraint.categoryattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CLASSIFICATION
public static final java.lang.String CLASSIFICATION
Generated constant - Attribute key ofClassificationNotBlankConstraint.classificationattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClassificationNotBlankConstraintModel
public ClassificationNotBlankConstraintModel()
Generated constructor - Default constructor for generic creation.
-
ClassificationNotBlankConstraintModel
public ClassificationNotBlankConstraintModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ClassificationNotBlankConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public ClassificationNotBlankConstraintModel(java.lang.Class _annotation, java.lang.String _category, java.lang.String _classification, java.lang.String _id)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_annotation- initial attribute declared by typeClassificationNotBlankConstraintat extensionb2ctelcoservices_category- initial attribute declared by typeClassificationNotBlankConstraintat extensionb2ctelcoservices_classification- initial attribute declared by typeClassificationNotBlankConstraintat extensionb2ctelcoservices_id- initial attribute declared by typeAbstractConstraintat extensionvalidation
-
ClassificationNotBlankConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public ClassificationNotBlankConstraintModel(java.lang.Class _annotation, java.lang.String _category, java.lang.String _classification, java.lang.String _id, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_annotation- initial attribute declared by typeClassificationNotBlankConstraintat extensionb2ctelcoservices_category- initial attribute declared by typeClassificationNotBlankConstraintat extensionb2ctelcoservices_classification- initial attribute declared by typeClassificationNotBlankConstraintat extensionb2ctelcoservices_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCategory
@Accessor(qualifier="category", type=GETTER) public java.lang.String getCategory()Generated method - Getter of theClassificationNotBlankConstraint.categoryattribute defined at extensionb2ctelcoservices.- Returns:
- the category - Category code
-
getClassification
@Accessor(qualifier="classification", type=GETTER) public java.lang.String getClassification()Generated method - Getter of theClassificationNotBlankConstraint.classificationattribute defined at extensionb2ctelcoservices.- Returns:
- the classification - Classification class code
-
setCategory
@Accessor(qualifier="category", type=SETTER) public void setCategory(java.lang.String value)Generated method - Setter ofClassificationNotBlankConstraint.categoryattribute defined at extensionb2ctelcoservices.- Parameters:
value- the category - Category code
-
setClassification
@Accessor(qualifier="classification", type=SETTER) public void setClassification(java.lang.String value)Generated method - Setter ofClassificationNotBlankConstraint.classificationattribute defined at extensionb2ctelcoservices.- Parameters:
value- the classification - Classification class code
-
-