Class FieldValidationV1

java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.components.FieldValidationV1
All Implemented Interfaces:
ToSchema

public class FieldValidationV1 extends Object implements ToSchema
A field's validation rules, as the server enforces them on insert and update (UI API 1.6.0). A client may check values before saving; the server stays the authority, so a rule not listed is never assumed.
  • Constructor Details

    • FieldValidationV1

      public FieldValidationV1()
      Constructor
    • FieldValidationV1

      public FieldValidationV1(QFrontendFieldValidation wrapped)
      Constructor
  • Method Details

    • getRequired

      public Boolean getRequired()
    • getMaxLength

      public Integer getMaxLength()
    • getTooLongBehavior

      public String getTooLongBehavior()
    • getMinValue

      public String getMinValue()
    • getMinInclusive

      public Boolean getMinInclusive()
    • getMaxValue

      public String getMaxValue()
    • getMaxInclusive

      public Boolean getMaxInclusive()
    • getPattern

      public String getPattern()
    • getPatternMessage

      public String getPatternMessage()