public final class EdifactValidationOverride extends Object
Constructor and Description |
---|
EdifactValidationOverride() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowLeadingAndTrailingSpacesAndZeroes()
Get the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and
trailing spaces and zeroes.
|
boolean |
enforceCharacterSet()
Get the enforceCharacterSet property: The value indicating whether to validate character Set.
|
String |
messageId()
Get the messageId property: The message id on which the validation settings has to be applied.
|
TrailingSeparatorPolicy |
trailingSeparatorPolicy()
Get the trailingSeparatorPolicy property: The trailing separator policy.
|
boolean |
trimLeadingAndTrailingSpacesAndZeroes()
Get the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing
spaces and zeroes.
|
void |
validate()
Validates the instance.
|
boolean |
validateEdiTypes()
Get the validateEdiTypes property: The value indicating whether to validate EDI types.
|
boolean |
validateXsdTypes()
Get the validateXsdTypes property: The value indicating whether to validate XSD types.
|
EdifactValidationOverride |
withAllowLeadingAndTrailingSpacesAndZeroes(boolean allowLeadingAndTrailingSpacesAndZeroes)
Set the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and
trailing spaces and zeroes.
|
EdifactValidationOverride |
withEnforceCharacterSet(boolean enforceCharacterSet)
Set the enforceCharacterSet property: The value indicating whether to validate character Set.
|
EdifactValidationOverride |
withMessageId(String messageId)
Set the messageId property: The message id on which the validation settings has to be applied.
|
EdifactValidationOverride |
withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy)
Set the trailingSeparatorPolicy property: The trailing separator policy.
|
EdifactValidationOverride |
withTrimLeadingAndTrailingSpacesAndZeroes(boolean trimLeadingAndTrailingSpacesAndZeroes)
Set the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing
spaces and zeroes.
|
EdifactValidationOverride |
withValidateEdiTypes(boolean validateEdiTypes)
Set the validateEdiTypes property: The value indicating whether to validate EDI types.
|
EdifactValidationOverride |
withValidateXsdTypes(boolean validateXsdTypes)
Set the validateXsdTypes property: The value indicating whether to validate XSD types.
|
public String messageId()
public EdifactValidationOverride withMessageId(String messageId)
messageId
- the messageId value to set.public boolean enforceCharacterSet()
public EdifactValidationOverride withEnforceCharacterSet(boolean enforceCharacterSet)
enforceCharacterSet
- the enforceCharacterSet value to set.public boolean validateEdiTypes()
public EdifactValidationOverride withValidateEdiTypes(boolean validateEdiTypes)
validateEdiTypes
- the validateEdiTypes value to set.public boolean validateXsdTypes()
public EdifactValidationOverride withValidateXsdTypes(boolean validateXsdTypes)
validateXsdTypes
- the validateXsdTypes value to set.public boolean allowLeadingAndTrailingSpacesAndZeroes()
public EdifactValidationOverride withAllowLeadingAndTrailingSpacesAndZeroes(boolean allowLeadingAndTrailingSpacesAndZeroes)
allowLeadingAndTrailingSpacesAndZeroes
- the allowLeadingAndTrailingSpacesAndZeroes value to set.public TrailingSeparatorPolicy trailingSeparatorPolicy()
public EdifactValidationOverride withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy)
trailingSeparatorPolicy
- the trailingSeparatorPolicy value to set.public boolean trimLeadingAndTrailingSpacesAndZeroes()
public EdifactValidationOverride withTrimLeadingAndTrailingSpacesAndZeroes(boolean trimLeadingAndTrailingSpacesAndZeroes)
trimLeadingAndTrailingSpacesAndZeroes
- the trimLeadingAndTrailingSpacesAndZeroes value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.