Interface X12ElementLengthValidationRule.Builder

  • Method Details

    • elementId

      Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.

      Parameters:
      elementId - Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxLength

      Specifies the maximum allowed length for the identified element. This value must be between 1 and 200 characters and defines the upper limit for the element's content length.

      Parameters:
      maxLength - Specifies the maximum allowed length for the identified element. This value must be between 1 and 200 characters and defines the upper limit for the element's content length.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minLength

      Specifies the minimum required length for the identified element. This value must be between 1 and 200 characters and defines the lower limit for the element's content length.

      Parameters:
      minLength - Specifies the minimum required length for the identified element. This value must be between 1 and 200 characters and defines the lower limit for the element's content length.
      Returns:
      Returns a reference to this object so that method calls can be chained together.