Class X12ValidationSettings
java.lang.Object
com.azure.resourcemanager.logic.models.X12ValidationSettings
The X12 agreement validation settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.boolean
Get the checkDuplicateGroupControlNumber property: The value indicating whether to check for duplicate group control number.boolean
Get the checkDuplicateInterchangeControlNumber property: The value indicating whether to check for duplicate interchange control number.boolean
Get the checkDuplicateTransactionSetControlNumber property: The value indicating whether to check for duplicate transaction set control number.int
Get the interchangeControlNumberValidityDays property: The validity period of interchange control number.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 validateCharacterSet property: The value indicating whether to validate character set in the message.boolean
Get the validateEdiTypes property: The value indicating whether to Whether to validate EDI types.boolean
Get the validateXsdTypes property: The value indicating whether to Whether to validate XSD types.withAllowLeadingAndTrailingSpacesAndZeroes
(boolean allowLeadingAndTrailingSpacesAndZeroes) Set the allowLeadingAndTrailingSpacesAndZeroes property: The value indicating whether to allow leading and trailing spaces and zeroes.withCheckDuplicateGroupControlNumber
(boolean checkDuplicateGroupControlNumber) Set the checkDuplicateGroupControlNumber property: The value indicating whether to check for duplicate group control number.withCheckDuplicateInterchangeControlNumber
(boolean checkDuplicateInterchangeControlNumber) Set the checkDuplicateInterchangeControlNumber property: The value indicating whether to check for duplicate interchange control number.withCheckDuplicateTransactionSetControlNumber
(boolean checkDuplicateTransactionSetControlNumber) Set the checkDuplicateTransactionSetControlNumber property: The value indicating whether to check for duplicate transaction set control number.withInterchangeControlNumberValidityDays
(int interchangeControlNumberValidityDays) Set the interchangeControlNumberValidityDays property: The validity period of interchange control number.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.withValidateCharacterSet
(boolean validateCharacterSet) Set the validateCharacterSet property: The value indicating whether to validate character set in the message.withValidateEdiTypes
(boolean validateEdiTypes) Set the validateEdiTypes property: The value indicating whether to Whether to validate EDI types.withValidateXsdTypes
(boolean validateXsdTypes) Set the validateXsdTypes property: The value indicating whether to Whether to validate XSD types.
-
Constructor Details
-
X12ValidationSettings
public X12ValidationSettings()Creates an instance of X12ValidationSettings class.
-
-
Method Details
-
validateCharacterSet
public boolean validateCharacterSet()Get the validateCharacterSet property: The value indicating whether to validate character set in the message.- Returns:
- the validateCharacterSet value.
-
withValidateCharacterSet
Set the validateCharacterSet property: The value indicating whether to validate character set in the message.- Parameters:
validateCharacterSet
- the validateCharacterSet value to set.- Returns:
- the X12ValidationSettings object itself.
-
checkDuplicateInterchangeControlNumber
public boolean checkDuplicateInterchangeControlNumber()Get the checkDuplicateInterchangeControlNumber property: The value indicating whether to check for duplicate interchange control number.- Returns:
- the checkDuplicateInterchangeControlNumber value.
-
withCheckDuplicateInterchangeControlNumber
public X12ValidationSettings withCheckDuplicateInterchangeControlNumber(boolean checkDuplicateInterchangeControlNumber) Set the checkDuplicateInterchangeControlNumber property: The value indicating whether to check for duplicate interchange control number.- Parameters:
checkDuplicateInterchangeControlNumber
- the checkDuplicateInterchangeControlNumber value to set.- Returns:
- the X12ValidationSettings object itself.
-
interchangeControlNumberValidityDays
public int interchangeControlNumberValidityDays()Get the interchangeControlNumberValidityDays property: The validity period of interchange control number.- Returns:
- the interchangeControlNumberValidityDays value.
-
withInterchangeControlNumberValidityDays
public X12ValidationSettings withInterchangeControlNumberValidityDays(int interchangeControlNumberValidityDays) Set the interchangeControlNumberValidityDays property: The validity period of interchange control number.- Parameters:
interchangeControlNumberValidityDays
- the interchangeControlNumberValidityDays value to set.- Returns:
- the X12ValidationSettings object itself.
-
checkDuplicateGroupControlNumber
public boolean checkDuplicateGroupControlNumber()Get the checkDuplicateGroupControlNumber property: The value indicating whether to check for duplicate group control number.- Returns:
- the checkDuplicateGroupControlNumber value.
-
withCheckDuplicateGroupControlNumber
public X12ValidationSettings withCheckDuplicateGroupControlNumber(boolean checkDuplicateGroupControlNumber) Set the checkDuplicateGroupControlNumber property: The value indicating whether to check for duplicate group control number.- Parameters:
checkDuplicateGroupControlNumber
- the checkDuplicateGroupControlNumber value to set.- Returns:
- the X12ValidationSettings object itself.
-
checkDuplicateTransactionSetControlNumber
public boolean checkDuplicateTransactionSetControlNumber()Get the checkDuplicateTransactionSetControlNumber property: The value indicating whether to check for duplicate transaction set control number.- Returns:
- the checkDuplicateTransactionSetControlNumber value.
-
withCheckDuplicateTransactionSetControlNumber
public X12ValidationSettings withCheckDuplicateTransactionSetControlNumber(boolean checkDuplicateTransactionSetControlNumber) Set the checkDuplicateTransactionSetControlNumber property: The value indicating whether to check for duplicate transaction set control number.- Parameters:
checkDuplicateTransactionSetControlNumber
- the checkDuplicateTransactionSetControlNumber value to set.- Returns:
- the X12ValidationSettings object itself.
-
validateEdiTypes
public boolean validateEdiTypes()Get the validateEdiTypes property: The value indicating whether to Whether to validate EDI types.- Returns:
- the validateEdiTypes value.
-
withValidateEdiTypes
Set the validateEdiTypes property: The value indicating whether to Whether to validate EDI types.- Parameters:
validateEdiTypes
- the validateEdiTypes value to set.- Returns:
- the X12ValidationSettings object itself.
-
validateXsdTypes
public boolean validateXsdTypes()Get the validateXsdTypes property: The value indicating whether to Whether to validate XSD types.- Returns:
- the validateXsdTypes value.
-
withValidateXsdTypes
Set the validateXsdTypes property: The value indicating whether to Whether to validate XSD types.- Parameters:
validateXsdTypes
- the validateXsdTypes value to set.- Returns:
- the X12ValidationSettings 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 X12ValidationSettings 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 X12ValidationSettings 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 X12ValidationSettings 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 X12ValidationSettings object itself.
-
trailingSeparatorPolicy
Get the trailingSeparatorPolicy property: The trailing separator policy.- Returns:
- the trailingSeparatorPolicy value.
-
withTrailingSeparatorPolicy
public X12ValidationSettings withTrailingSeparatorPolicy(TrailingSeparatorPolicy trailingSeparatorPolicy) Set the trailingSeparatorPolicy property: The trailing separator policy.- Parameters:
trailingSeparatorPolicy
- the trailingSeparatorPolicy value to set.- Returns:
- the X12ValidationSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-