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

com.blossomproject.core.role.UniqueRoleName Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
package com.blossomproject.core.role;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = UniqueRoleNameValidator.class)
public @interface UniqueRoleName {
  String message() default "{roles.role.validation.name.UniqueRoleName.message}";

  String idField() default "";

  String field() default "name";

  Class[] groups() default {};

  Class[] payload() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy