public class DecimalMaxConstraintModel extends AttributeConstraintModel
Decimal maximal JSR 303 compatible constraint class.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
INCLUSIVE
Generated constant - Attribute key of
DecimalMaxConstraint.inclusive attribute defined at extension validation. |
static java.lang.String |
VALUE
Generated constant - Attribute key of
DecimalMaxConstraint.value attribute defined at extension validation. |
DESCRIPTOR, LANGUAGES, QUALIFIERACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED| Constructor and Description |
|---|
DecimalMaxConstraintModel()
Generated constructor - Default constructor for generic creation.
|
DecimalMaxConstraintModel(java.lang.Class _annotation,
java.lang.String _id,
java.math.BigDecimal _value)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DecimalMaxConstraintModel(java.lang.Class _annotation,
java.lang.String _id,
ItemModel _owner,
java.math.BigDecimal _value)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DecimalMaxConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getInclusive()
Generated method - Getter of the
DecimalMaxConstraint.inclusive attribute defined at extension validation. |
java.math.BigDecimal |
getValue()
Generated method - Getter of the
DecimalMaxConstraint.value attribute defined at extension validation. |
void |
setInclusive(java.lang.Boolean value)
Generated method - Setter of
DecimalMaxConstraint.inclusive attribute defined at extension validation. |
void |
setValue(java.math.BigDecimal value)
Generated method - Setter of
DecimalMaxConstraint.value 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, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerpublic static final java.lang.String _TYPECODE
public static final java.lang.String VALUE
DecimalMaxConstraint.value attribute defined at extension validation.public static final java.lang.String INCLUSIVE
DecimalMaxConstraint.inclusive attribute defined at extension validation.public DecimalMaxConstraintModel()
public DecimalMaxConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public DecimalMaxConstraintModel(java.lang.Class _annotation,
java.lang.String _id,
java.math.BigDecimal _value)
_annotation - initial attribute declared by type DecimalMaxConstraint at extension validation_id - initial attribute declared by type AbstractConstraint at extension validation_value - initial attribute declared by type DecimalMaxConstraint at extension validation@Deprecated
public DecimalMaxConstraintModel(java.lang.Class _annotation,
java.lang.String _id,
ItemModel _owner,
java.math.BigDecimal _value)
_annotation - initial attribute declared by type DecimalMaxConstraint at extension validation_id - initial attribute declared by type AbstractConstraint at extension validation_owner - initial attribute declared by type Item at extension core_value - initial attribute declared by type DecimalMaxConstraint at extension validationpublic java.lang.Boolean getInclusive()
DecimalMaxConstraint.inclusive attribute defined at extension validation.public java.math.BigDecimal getValue()
DecimalMaxConstraint.value attribute defined at extension validation.public void setInclusive(java.lang.Boolean value)
DecimalMaxConstraint.inclusive attribute defined at extension validation.value - the inclusive - Inclusivepublic void setValue(java.math.BigDecimal value)
DecimalMaxConstraint.value attribute defined at extension validation.value - the value - Maximal valueCopyright © 2018 SAP SE. All Rights Reserved.