Class EdifactValidationOverride
java.lang.Object
com.azure.resourcemanager.logic.models.EdifactValidationOverride
The Edifact validation override settings.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EdifactValidationOverride class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.boolean
Get the enforceCharacterSet property: The value indicating whether to validate character Set.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 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.withEnforceCharacterSet
(boolean enforceCharacterSet) Set the enforceCharacterSet property: The value indicating whether to validate character Set.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.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
-
EdifactValidationOverride
public EdifactValidationOverride()Creates an instance of EdifactValidationOverride 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 EdifactValidationOverride object itself.
-
enforceCharacterSet
public boolean enforceCharacterSet()Get the enforceCharacterSet property: The value indicating whether to validate character Set.- Returns:
- the enforceCharacterSet value.
-
withEnforceCharacterSet
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
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
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
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.
-