org.hibernate.beanvalidation.tck.tests.xmlconfiguration.methodvalidation.MethodAsGetterAndMethodNodeTest.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beanvalidation-tck-tests Show documentation
Show all versions of beanvalidation-tck-tests Show documentation
Jakarta Bean Validation TCK test suite
<?xml version="1.0" encoding="UTF-8"?> <!-- Jakarta Bean Validation TCK License: Apache License, Version 2.0 See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. --> <constraint-mappings xmlns="https://xmlns.jakarta.ee/xml/ns/validation/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://xmlns.jakarta.ee/xml/ns/validation/mapping validation-mapping-3.0.xsd" version="3.0"> <bean class="org.hibernate.beanvalidation.tck.tests.xmlconfiguration.methodvalidation.CustomerRepository" ignore-annotations="true"> <getter name="repositoryId"> <constraint annotation="jakarta.validation.constraints.NotNull"/> </getter> <method name="getRepositoryId"> <return-value> <constraint annotation="jakarta.validation.constraints.NotNull"/> </return-value> </method> </bean> </constraint-mappings>