org.appng.xml.platform

## Class Max

- java.lang.Object
- - org.appng.xml.BaseObject
  - - org.appng.xml.platform.ValidationRule
    - - org.appng.xml.platform.Max

- All Implemented Interfaces:
    Serializable

      public class Max
      extends ValidationRule
      implements Serializable

  A `ValidationRule` indicating the `FieldDef`'s value must have a maximal decimal-value of `getValue()`
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected BigDecimal` | `value`

    - ### Fields inherited from class org.appng.xml.platform.ValidationRule

      `message`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Max()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BigDecimal` | `getValue()` The maximal value for the field.
    `void` | `setValue(BigDecimal value)` Sets the value of the value property.

    - ### Methods inherited from class org.appng.xml.platform.ValidationRule

      `getMessage, setMessage`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### value

          protected BigDecimal value

  - ### Constructor Detail

    - #### Max

          public Max()

  - ### Method Detail

    - #### getValue

          public BigDecimal getValue()

      The maximal value for the field.
      Returns:
        possible object is `BigDecimal`

    - #### setValue

          public void setValue(BigDecimal value)

      Sets the value of the value property.
      Parameters:
        `value` - allowed object is `BigDecimal`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.