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

org.dashbuilder.dataset.validation.IsTimeInterval Maven / Gradle / Ivy

package org.dashbuilder.dataset.validation;

import javax.validation.Constraint;
import java.lang.annotation.*;

/**
 * 

JSR303 annotation that checks if the property value is a valid time interval.

*/ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD,ElementType.FIELD,ElementType.CONSTRUCTOR,ElementType.PARAMETER, ElementType.ANNOTATION_TYPE}) @Constraint(validatedBy= IsTimeIntervalImpl.class) public @interface IsTimeInterval { String message() default ""; Class[] groups() default {}; Class[] payload() default {}; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy