Class DecimalMaxConstraintModel
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.AttributeConstraintModel
de.hybris.platform.validation.model.constraints.jsr303.DecimalMaxConstraintModel
- All Implemented Interfaces:
Serializable
Generated model class for type DecimalMaxConstraint first defined at extension validation.
Decimal maximal JSR 303 compatible constraint class.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofDecimalMaxConstraint.inclusiveattribute defined at extensionvalidation.static final StringGenerated constant - Attribute key ofDecimalMaxConstraint.valueattribute defined at extensionvalidation.Fields inherited from class de.hybris.platform.validation.model.constraints.AttributeConstraintModel
DESCRIPTOR, LANGUAGES, QUALIFIERFields inherited from class de.hybris.platform.validation.model.constraints.AbstractConstraintModel
ACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.DecimalMaxConstraintModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextDecimalMaxConstraintModel(Class _annotation, String _id, ItemModel _owner, BigDecimal _value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDecimalMaxConstraintModel(Class _annotation, String _id, BigDecimal _value) 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theDecimalMaxConstraint.inclusiveattribute defined at extensionvalidation.getValue()Generated method - Getter of theDecimalMaxConstraint.valueattribute defined at extensionvalidation.voidsetInclusive(Boolean value) Generated method - Setter ofDecimalMaxConstraint.inclusiveattribute defined at extensionvalidation.voidsetValue(BigDecimal value) Generated method - Setter ofDecimalMaxConstraint.valueattribute defined at extensionvalidation.Methods inherited from class de.hybris.platform.validation.model.constraints.AttributeConstraintModel
getDescriptor, getLanguages, getQualifier, setDescriptor, setLanguages, setQualifierMethods 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, setTypeMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
VALUE
Generated constant - Attribute key ofDecimalMaxConstraint.valueattribute defined at extensionvalidation.- See Also:
-
INCLUSIVE
Generated constant - Attribute key ofDecimalMaxConstraint.inclusiveattribute defined at extensionvalidation.- See Also:
-
-
Constructor Details
-
DecimalMaxConstraintModel
public DecimalMaxConstraintModel()Generated constructor - Default constructor for generic creation. -
DecimalMaxConstraintModel
public DecimalMaxConstraintModel(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
-
DecimalMaxConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public DecimalMaxConstraintModel(Class _annotation, String _id, BigDecimal _value) 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 typeDecimalMaxConstraintat extensionvalidation_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_value- initial attribute declared by typeDecimalMaxConstraintat extensionvalidation
-
DecimalMaxConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public DecimalMaxConstraintModel(Class _annotation, String _id, ItemModel _owner, BigDecimal _value) 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 typeDecimalMaxConstraintat extensionvalidation_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_owner- initial attribute declared by typeItemat extensioncore_value- initial attribute declared by typeDecimalMaxConstraintat extensionvalidation
-
-
Method Details
-
getInclusive
Generated method - Getter of theDecimalMaxConstraint.inclusiveattribute defined at extensionvalidation.- Returns:
- the inclusive - Inclusive
-
getValue
Generated method - Getter of theDecimalMaxConstraint.valueattribute defined at extensionvalidation.- Returns:
- the value - Maximal value
-
setInclusive
Generated method - Setter ofDecimalMaxConstraint.inclusiveattribute defined at extensionvalidation.- Parameters:
value- the inclusive - Inclusive
-
setValue
Generated method - Setter ofDecimalMaxConstraint.valueattribute defined at extensionvalidation.- Parameters:
value- the value - Maximal value
-