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