Class GeneratedDigitsConstraint

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
DigitsConstraint

public abstract class GeneratedDigitsConstraint extends AttributeConstraint
Generated class for type DigitsConstraint.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedDigitsConstraint

      public GeneratedDigitsConstraint()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedAttributeConstraint
    • getFraction

      public Integer getFraction(SessionContext ctx)
      Generated method - Getter of the DigitsConstraint.fraction attribute.
      Returns:
      the fraction - Fraction part of the number
    • getFraction

      public Integer getFraction()
      Generated method - Getter of the DigitsConstraint.fraction attribute.
      Returns:
      the fraction - Fraction part of the number
    • getFractionAsPrimitive

      public int getFractionAsPrimitive(SessionContext ctx)
      Generated method - Getter of the DigitsConstraint.fraction attribute.
      Returns:
      the fraction - Fraction part of the number
    • getFractionAsPrimitive

      public int getFractionAsPrimitive()
      Generated method - Getter of the DigitsConstraint.fraction attribute.
      Returns:
      the fraction - Fraction part of the number
    • setFraction

      public void setFraction(SessionContext ctx, Integer value)
      Generated method - Setter of the DigitsConstraint.fraction attribute.
      Parameters:
      value - the fraction - Fraction part of the number
    • setFraction

      public void setFraction(Integer value)
      Generated method - Setter of the DigitsConstraint.fraction attribute.
      Parameters:
      value - the fraction - Fraction part of the number
    • setFraction

      public void setFraction(SessionContext ctx, int value)
      Generated method - Setter of the DigitsConstraint.fraction attribute.
      Parameters:
      value - the fraction - Fraction part of the number
    • setFraction

      public void setFraction(int value)
      Generated method - Setter of the DigitsConstraint.fraction attribute.
      Parameters:
      value - the fraction - Fraction part of the number
    • getInteger

      public Integer getInteger(SessionContext ctx)
      Generated method - Getter of the DigitsConstraint.integer attribute.
      Returns:
      the integer - Integer part of the number
    • getInteger

      public Integer getInteger()
      Generated method - Getter of the DigitsConstraint.integer attribute.
      Returns:
      the integer - Integer part of the number
    • getIntegerAsPrimitive

      public int getIntegerAsPrimitive(SessionContext ctx)
      Generated method - Getter of the DigitsConstraint.integer attribute.
      Returns:
      the integer - Integer part of the number
    • getIntegerAsPrimitive

      public int getIntegerAsPrimitive()
      Generated method - Getter of the DigitsConstraint.integer attribute.
      Returns:
      the integer - Integer part of the number
    • setInteger

      public void setInteger(SessionContext ctx, Integer value)
      Generated method - Setter of the DigitsConstraint.integer attribute.
      Parameters:
      value - the integer - Integer part of the number
    • setInteger

      public void setInteger(Integer value)
      Generated method - Setter of the DigitsConstraint.integer attribute.
      Parameters:
      value - the integer - Integer part of the number
    • setInteger

      public void setInteger(SessionContext ctx, int value)
      Generated method - Setter of the DigitsConstraint.integer attribute.
      Parameters:
      value - the integer - Integer part of the number
    • setInteger

      public void setInteger(int value)
      Generated method - Setter of the DigitsConstraint.integer attribute.
      Parameters:
      value - the integer - Integer part of the number