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

org.minimalj.model.annotation.Access Maven / Gradle / Ivy

Go to download

A java framework aiming for a minimal programming style. Includes GUI and persistence layer.

There is a newer version: 2.5.0.0
Show newest version
package org.minimalj.model.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation specifies the needed role to access a field or
 * a transaction class. If more than role is listed 
 * the user must have at least one of the roles.
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Access {

	// roles
	String[] value() default {};

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy