diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/validators/ValidListOfBusinessPartnerNumbers.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/validators/ValidListOfBusinessPartnerNumbers.java index ad2501498..e2929338d 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/validators/ValidListOfBusinessPartnerNumbers.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/validators/ValidListOfBusinessPartnerNumbers.java @@ -45,5 +45,12 @@ Class[] payload() default { }; + /** + * Whether to allow "default" as a valid value + * (This is used in {@link org.eclipse.tractusx.irs.policystore.controllers.PolicyStoreController} + * for filtering default policies). + * + * @return the value of the flag + */ boolean allowDefault() default false; }