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