Class DigitsConstraintModel
- 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.DigitsConstraintModel
-
- All Implemented Interfaces:
java.io.Serializable
public class DigitsConstraintModel extends AttributeConstraintModel
Generated model class for type DigitsConstraint first defined at extension validation.Digits JSR 303 compatible constraint class.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringFRACTIONGenerated constant - Attribute key ofDigitsConstraint.fractionattribute defined at extensionvalidation.static java.lang.StringINTEGERGenerated constant - Attribute key ofDigitsConstraint.integerattribute defined at extensionvalidation.-
Fields inherited from class de.hybris.platform.validation.model.constraints.AttributeConstraintModel
DESCRIPTOR, LANGUAGES, QUALIFIER
-
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
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description DigitsConstraintModel()Generated constructor - Default constructor for generic creation.DigitsConstraintModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextDigitsConstraintModel(java.lang.Class _annotation, java.lang.Integer _fraction, java.lang.String _id, java.lang.Integer _integer)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDigitsConstraintModel(java.lang.Class _annotation, java.lang.Integer _fraction, java.lang.String _id, java.lang.Integer _integer, 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.IntegergetFraction()Generated method - Getter of theDigitsConstraint.fractionattribute defined at extensionvalidation.java.lang.IntegergetInteger()Generated method - Getter of theDigitsConstraint.integerattribute defined at extensionvalidation.voidsetFraction(java.lang.Integer value)Generated method - Setter ofDigitsConstraint.fractionattribute defined at extensionvalidation.voidsetInteger(java.lang.Integer value)Generated method - Setter ofDigitsConstraint.integerattribute defined at extensionvalidation.-
Methods inherited from class de.hybris.platform.validation.model.constraints.AttributeConstraintModel
getDescriptor, getLanguages, getQualifier, setDescriptor, setLanguages, setQualifier
-
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
-
INTEGER
public static final java.lang.String INTEGER
Generated constant - Attribute key ofDigitsConstraint.integerattribute defined at extensionvalidation.- See Also:
- Constant Field Values
-
FRACTION
public static final java.lang.String FRACTION
Generated constant - Attribute key ofDigitsConstraint.fractionattribute defined at extensionvalidation.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DigitsConstraintModel
public DigitsConstraintModel()
Generated constructor - Default constructor for generic creation.
-
DigitsConstraintModel
public DigitsConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
DigitsConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public DigitsConstraintModel(java.lang.Class _annotation, java.lang.Integer _fraction, java.lang.String _id, java.lang.Integer _integer)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 typeDigitsConstraintat extensionvalidation_fraction- initial attribute declared by typeDigitsConstraintat extensionvalidation_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_integer- initial attribute declared by typeDigitsConstraintat extensionvalidation
-
DigitsConstraintModel
@Deprecated(since="4.1.1", forRemoval=true) public DigitsConstraintModel(java.lang.Class _annotation, java.lang.Integer _fraction, java.lang.String _id, java.lang.Integer _integer, 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 typeDigitsConstraintat extensionvalidation_fraction- initial attribute declared by typeDigitsConstraintat extensionvalidation_id- initial attribute declared by typeAbstractConstraintat extensionvalidation_integer- initial attribute declared by typeDigitsConstraintat extensionvalidation_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getFraction
@Accessor(qualifier="fraction", type=GETTER) public java.lang.Integer getFraction()
Generated method - Getter of theDigitsConstraint.fractionattribute defined at extensionvalidation.- Returns:
- the fraction - Fraction part of the number
-
getInteger
@Accessor(qualifier="integer", type=GETTER) public java.lang.Integer getInteger()
Generated method - Getter of theDigitsConstraint.integerattribute defined at extensionvalidation.- Returns:
- the integer - Integer part of the number
-
setFraction
@Accessor(qualifier="fraction", type=SETTER) public void setFraction(java.lang.Integer value)
Generated method - Setter ofDigitsConstraint.fractionattribute defined at extensionvalidation.- Parameters:
value- the fraction - Fraction part of the number
-
-