public final class X12ValidationSettings extends Object
Constructor and Description |
---|
X12ValidationSettings() |
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 |
checkDuplicateGroupControlNumber()
Get the checkDuplicateGroupControlNumber property: The value indicating whether to check for duplicate group
control number.
|
boolean |
checkDuplicateInterchangeControlNumber()
Get the checkDuplicateInterchangeControlNumber property: The value indicating whether to check for duplicate
interchange control number.
|
boolean |
checkDuplicateTransactionSetControlNumber()
Get the checkDuplicateTransactionSetControlNumber property: The value indicating whether to check for duplicate
transaction set control number.
|
int |
interchangeControlNumberValidityDays()
Get the interchangeControlNumberValidityDays property: The validity period of interchange control number.
|
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 in the message.
|
boolean |
validateEdiTypes()
Get the validateEdiTypes property: The value indicating whether to Whether to validate EDI types.
|
boolean |
validateXsdTypes()
Get the validateXsdTypes property: The value indicating whether to Whether to validate XSD types.
|
X12ValidationSettings |
withAllowLeadingAndTrailingSpacesAndZeroes(boolean allowLeadingAndTrailingSpacesAndZeroes)
Set the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and
trailing spaces and zeroes.
|
X12ValidationSettings |
withCheckDuplicateGroupControlNumber(boolean checkDuplicateGroupControlNumber)
Set the checkDuplicateGroupControlNumber property: The value indicating whether to check for duplicate group
control number.
|
X12ValidationSettings |
withCheckDuplicateInterchangeControlNumber(boolean checkDuplicateInterchangeControlNumber)
Set the checkDuplicateInterchangeControlNumber property: The value indicating whether to check for duplicate
interchange control number.
|
X12ValidationSettings |
withCheckDuplicateTransactionSetControlNumber(boolean checkDuplicateTransactionSetControlNumber)
Set the checkDuplicateTransactionSetControlNumber property: The value indicating whether to check for duplicate
transaction set control number.
|
X12ValidationSettings |
withInterchangeControlNumberValidityDays(int interchangeControlNumberValidityDays)
Set the interchangeControlNumberValidityDays property: The validity period of interchange control number.
|
X12ValidationSettings |
withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy)
Set the trailingSeparatorPolicy property: The trailing separator policy.
|
X12ValidationSettings |
withTrimLeadingAndTrailingSpacesAndZeroes(boolean trimLeadingAndTrailingSpacesAndZeroes)
Set the trimLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to trim leading and trailing
spaces and zeroes.
|
X12ValidationSettings |
withValidateCharacterSet(boolean validateCharacterSet)
Set the validateCharacterSet property: The value indicating whether to validate character set in the message.
|
X12ValidationSettings |
withValidateEdiTypes(boolean validateEdiTypes)
Set the validateEdiTypes property: The value indicating whether to Whether to validate EDI types.
|
X12ValidationSettings |
withValidateXsdTypes(boolean validateXsdTypes)
Set the validateXsdTypes property: The value indicating whether to Whether to validate XSD types.
|
public boolean validateCharacterSet()
public X12ValidationSettings withValidateCharacterSet(boolean validateCharacterSet)
validateCharacterSet
- the validateCharacterSet value to set.public boolean checkDuplicateInterchangeControlNumber()
public X12ValidationSettings withCheckDuplicateInterchangeControlNumber(boolean checkDuplicateInterchangeControlNumber)
checkDuplicateInterchangeControlNumber
- the checkDuplicateInterchangeControlNumber value to set.public int interchangeControlNumberValidityDays()
public X12ValidationSettings withInterchangeControlNumberValidityDays(int interchangeControlNumberValidityDays)
interchangeControlNumberValidityDays
- the interchangeControlNumberValidityDays value to set.public boolean checkDuplicateGroupControlNumber()
public X12ValidationSettings withCheckDuplicateGroupControlNumber(boolean checkDuplicateGroupControlNumber)
checkDuplicateGroupControlNumber
- the checkDuplicateGroupControlNumber value to set.public boolean checkDuplicateTransactionSetControlNumber()
public X12ValidationSettings withCheckDuplicateTransactionSetControlNumber(boolean checkDuplicateTransactionSetControlNumber)
checkDuplicateTransactionSetControlNumber
- the checkDuplicateTransactionSetControlNumber value to set.public boolean validateEdiTypes()
public X12ValidationSettings withValidateEdiTypes(boolean validateEdiTypes)
validateEdiTypes
- the validateEdiTypes value to set.public boolean validateXsdTypes()
public X12ValidationSettings withValidateXsdTypes(boolean validateXsdTypes)
validateXsdTypes
- the validateXsdTypes value to set.public boolean allowLeadingAndTrailingSpacesAndZeroes()
public X12ValidationSettings withAllowLeadingAndTrailingSpacesAndZeroes(boolean allowLeadingAndTrailingSpacesAndZeroes)
allowLeadingAndTrailingSpacesAndZeroes
- the allowLeadingAndTrailingSpacesAndZeroes value to set.public boolean trimLeadingAndTrailingSpacesAndZeroes()
public X12ValidationSettings withTrimLeadingAndTrailingSpacesAndZeroes(boolean trimLeadingAndTrailingSpacesAndZeroes)
trimLeadingAndTrailingSpacesAndZeroes
- the trimLeadingAndTrailingSpacesAndZeroes value to set.public TrailingSeparatorPolicy trailingSeparatorPolicy()
public X12ValidationSettings 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.