Class X12ValidationOverride
java.lang.Object
com.azure.resourcemanager.logic.models.X12ValidationOverride
The X12 validation override settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.Get the messageId property: The message id on which the validation settings has to be applied.Get the trailingSeparatorPolicy property: The trailing separator policy.boolean
Get the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing spaces and zeroes.void
validate()
Validates the instance.boolean
Get the validateCharacterSet property: The value indicating whether to validate character Set.boolean
Get the validateEdiTypes property: The value indicating whether to validate EDI types.boolean
Get the validateXsdTypes property: The value indicating whether to validate XSD types.withAllowLeadingAndTrailingSpacesAndZeroes
(boolean allowLeadingAndTrailingSpacesAndZeroes) Set the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.withMessageId
(String messageId) Set the messageId property: The message id on which the validation settings has to be applied.withTrailingSeparatorPolicy
(TrailingSeparatorPolicy trailingSeparatorPolicy) Set the trailingSeparatorPolicy property: The trailing separator policy.withTrimLeadingAndTrailingSpacesAndZeroes
(boolean trimLeadingAndTrailingSpacesAndZeroes) Set the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing spaces and zeroes.withValidateCharacterSet
(boolean validateCharacterSet) Set the validateCharacterSet property: The value indicating whether to validate character Set.withValidateEdiTypes
(boolean validateEdiTypes) Set the validateEdiTypes property: The value indicating whether to validate EDI types.withValidateXsdTypes
(boolean validateXsdTypes) Set the validateXsdTypes property: The value indicating whether to validate XSD types.
-
Constructor Details
-
X12ValidationOverride
public X12ValidationOverride()Creates an instance of X12ValidationOverride class.
-
-
Method Details
-
messageId
Get the messageId property: The message id on which the validation settings has to be applied.- Returns:
- the messageId value.
-
withMessageId
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 X12ValidationOverride object itself.
-
validateEdiTypes
public boolean validateEdiTypes()Get the validateEdiTypes property: The value indicating whether to validate EDI types.- Returns:
- the validateEdiTypes value.
-
withValidateEdiTypes
Set the validateEdiTypes property: The value indicating whether to validate EDI types.- Parameters:
validateEdiTypes
- the validateEdiTypes value to set.- Returns:
- the X12ValidationOverride object itself.
-
validateXsdTypes
public boolean validateXsdTypes()Get the validateXsdTypes property: The value indicating whether to validate XSD types.- Returns:
- the validateXsdTypes value.
-
withValidateXsdTypes
Set the validateXsdTypes property: The value indicating whether to validate XSD types.- Parameters:
validateXsdTypes
- the validateXsdTypes value to set.- Returns:
- the X12ValidationOverride 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 X12ValidationOverride 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 X12ValidationOverride object itself.
-
validateCharacterSet
public boolean validateCharacterSet()Get the validateCharacterSet property: The value indicating whether to validate character Set.- Returns:
- the validateCharacterSet value.
-
withValidateCharacterSet
Set the validateCharacterSet property: The value indicating whether to validate character Set.- Parameters:
validateCharacterSet
- the validateCharacterSet value to set.- Returns:
- the X12ValidationOverride 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 X12ValidationOverride 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 X12ValidationOverride object itself.
-
trailingSeparatorPolicy
Get the trailingSeparatorPolicy property: The trailing separator policy.- Returns:
- the trailingSeparatorPolicy value.
-
withTrailingSeparatorPolicy
public X12ValidationOverride withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy) Set the trailingSeparatorPolicy property: The trailing separator policy.- Parameters:
trailingSeparatorPolicy
- the trailingSeparatorPolicy value to set.- Returns:
- the X12ValidationOverride object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-