All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.validation.LicenseId Maven / Gradle / Ivy

Go to download

Several domains like 'media', pages' and 'subtitles' in the POMS system share some common properties which are collected here

There is a newer version: 8.3.1
Show newest version
package nl.vpro.validation;

import java.lang.annotation.*;

import jakarta.validation.Constraint;
import jakarta.validation.Payload;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author Michiel Meeuwissen
 * @since 5.5
 */

@Target({ElementType.PARAMETER, FIELD})
@Retention(RUNTIME)
@Constraint(validatedBy = LicenseValidator.class)
@Documented
public @interface LicenseId {
    String message() default "{nl.vpro.constraints.licenseId}";

    Class[] groups() default {};

    Class[] payload() default {};
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy