Class EdifactValidationOverride

java.lang.Object
com.azure.resourcemanager.logic.models.EdifactValidationOverride

public final class EdifactValidationOverride extends Object
The Edifact validation override settings.
  • Constructor Details

    • EdifactValidationOverride

      public EdifactValidationOverride()
      Creates an instance of EdifactValidationOverride class.
  • Method Details

    • messageId

      public String messageId()
      Get the messageId property: The message id on which the validation settings has to be applied.
      Returns:
      the messageId value.
    • withMessageId

      public EdifactValidationOverride withMessageId(String messageId)
      Set the messageId property: The message id on which the validation settings has to be applied.
      Parameters:
      messageId - the messageId value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • enforceCharacterSet

      public boolean enforceCharacterSet()
      Get the enforceCharacterSet property: The value indicating whether to validate character Set.
      Returns:
      the enforceCharacterSet value.
    • withEnforceCharacterSet

      public EdifactValidationOverride withEnforceCharacterSet(boolean enforceCharacterSet)
      Set the enforceCharacterSet property: The value indicating whether to validate character Set.
      Parameters:
      enforceCharacterSet - the enforceCharacterSet value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • validateEdiTypes

      public boolean validateEdiTypes()
      Get the validateEdiTypes property: The value indicating whether to validate EDI types.
      Returns:
      the validateEdiTypes value.
    • withValidateEdiTypes

      public EdifactValidationOverride withValidateEdiTypes(boolean validateEdiTypes)
      Set the validateEdiTypes property: The value indicating whether to validate EDI types.
      Parameters:
      validateEdiTypes - the validateEdiTypes value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • validateXsdTypes

      public boolean validateXsdTypes()
      Get the validateXsdTypes property: The value indicating whether to validate XSD types.
      Returns:
      the validateXsdTypes value.
    • withValidateXsdTypes

      public EdifactValidationOverride withValidateXsdTypes(boolean validateXsdTypes)
      Set the validateXsdTypes property: The value indicating whether to validate XSD types.
      Parameters:
      validateXsdTypes - the validateXsdTypes value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • allowLeadingAndTrailingSpacesAndZeroes

      public boolean allowLeadingAndTrailingSpacesAndZeroes()
      Get the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.
      Returns:
      the allowLeadingAndTrailingSpacesAndZeroes value.
    • withAllowLeadingAndTrailingSpacesAndZeroes

      public EdifactValidationOverride withAllowLeadingAndTrailingSpacesAndZeroes(boolean allowLeadingAndTrailingSpacesAndZeroes)
      Set the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.
      Parameters:
      allowLeadingAndTrailingSpacesAndZeroes - the allowLeadingAndTrailingSpacesAndZeroes value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • trailingSeparatorPolicy

      public TrailingSeparatorPolicy trailingSeparatorPolicy()
      Get the trailingSeparatorPolicy property: The trailing separator policy.
      Returns:
      the trailingSeparatorPolicy value.
    • withTrailingSeparatorPolicy

      public EdifactValidationOverride withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy)
      Set the trailingSeparatorPolicy property: The trailing separator policy.
      Parameters:
      trailingSeparatorPolicy - the trailingSeparatorPolicy value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • trimLeadingAndTrailingSpacesAndZeroes

      public boolean trimLeadingAndTrailingSpacesAndZeroes()
      Get the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing spaces and zeroes.
      Returns:
      the trimLeadingAndTrailingSpacesAndZeroes value.
    • withTrimLeadingAndTrailingSpacesAndZeroes

      public EdifactValidationOverride withTrimLeadingAndTrailingSpacesAndZeroes(boolean trimLeadingAndTrailingSpacesAndZeroes)
      Set the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing spaces and zeroes.
      Parameters:
      trimLeadingAndTrailingSpacesAndZeroes - the trimLeadingAndTrailingSpacesAndZeroes value to set.
      Returns:
      the EdifactValidationOverride object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.