| Package | Description |
|---|---|
| eu.europa.ec.taxud.dac9.utils | |
| eu.europa.ec.taxud.dac9.validation |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
ValidationContextUtils.addError(eu.europa.ec.taxud.validation.ValidationContext context,
ErrorCode errorCode,
String docRefId,
Element element)
Adds an error to the validation context.
|
|
static boolean |
ValidationContextUtils.addErrorBasedOnExclRules(eu.europa.ec.taxud.validation.ValidationContext context,
ErrorCode errorCode)
Add error based on excl rules boolean.
|
|
static void |
ValidationContextUtils.addErrorWithoutRefId(eu.europa.ec.taxud.validation.ValidationContext context,
ErrorCode errorCode)
Add error without ref id.
|
|
static void |
ValidationContextUtils.addErrorWithoutRefId(eu.europa.ec.taxud.validation.ValidationContext context,
ErrorCode errorCode,
Element element)
* Adds an error to the validation context without specifying a docRefId.
|
|
static boolean |
ValidationContextUtils.containsErrorCode(eu.europa.ec.taxud.validation.ValidationContext validationContext,
ErrorCode errorCode)
Checks if the context already contains an error with is related to the error code.
|
|
static boolean |
ValidationContextUtils.isRelatedError(eu.europa.ec.taxud.validation.ValidationError validationError,
ErrorCode errorCode)
Checks if a validation error is related to the error code.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ErrorCode |
ErrorCode.fromCode(int code)
Translates a numeric code into a
ErrorCode. |
|
static ErrorCode |
ErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
|
static ErrorCode[] |
ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2025. All rights reserved.