public class DigitsConstraintModel extends AttributeConstraintModel
Digits JSR 303 compatible constraint class.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
FRACTION
Generated constant - Attribute key of
DigitsConstraint.fraction attribute defined at extension validation. |
static String |
INTEGER
Generated constant - Attribute key of
DigitsConstraint.integer attribute defined at extension validation. |
DESCRIPTOR, LANGUAGES, QUALIFIERACTIVE, 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 |
|---|
DigitsConstraintModel()
Generated constructor - Default constructor for generic creation.
|
DigitsConstraintModel(Class _annotation,
Integer _fraction,
String _id,
Integer _integer)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
DigitsConstraintModel(Class _annotation,
Integer _fraction,
String _id,
Integer _integer,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
DigitsConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getFraction()
Generated method - Getter of the
DigitsConstraint.fraction attribute defined at extension validation. |
Integer |
getInteger()
Generated method - Getter of the
DigitsConstraint.integer attribute defined at extension validation. |
void |
setFraction(Integer value)
Generated method - Setter of
DigitsConstraint.fraction attribute defined at extension validation. |
void |
setInteger(Integer value)
Generated method - Setter of
DigitsConstraint.integer attribute defined at extension validation. |
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, 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 INTEGER
DigitsConstraint.integer attribute defined at extension validation.public static final String FRACTION
DigitsConstraint.fraction attribute defined at extension validation.public DigitsConstraintModel()
public DigitsConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public DigitsConstraintModel(Class _annotation, Integer _fraction, String _id, Integer _integer)
_annotation - initial attribute declared by type DigitsConstraint at extension validation_fraction - initial attribute declared by type DigitsConstraint at extension validation_id - initial attribute declared by type AbstractConstraint at extension validation_integer - initial attribute declared by type DigitsConstraint at extension validation@Deprecated public DigitsConstraintModel(Class _annotation, Integer _fraction, String _id, Integer _integer, ItemModel _owner)
_annotation - initial attribute declared by type DigitsConstraint at extension validation_fraction - initial attribute declared by type DigitsConstraint at extension validation_id - initial attribute declared by type AbstractConstraint at extension validation_integer - initial attribute declared by type DigitsConstraint at extension validation_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="fraction", type=GETTER) public Integer getFraction()
DigitsConstraint.fraction attribute defined at extension validation.@Accessor(qualifier="integer", type=GETTER) public Integer getInteger()
DigitsConstraint.integer attribute defined at extension validation.@Accessor(qualifier="fraction", type=SETTER) public void setFraction(Integer value)
DigitsConstraint.fraction attribute defined at extension validation.value - the fraction - Fraction part of the numberCopyright © 2017 SAP SE. All Rights Reserved.