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

de.tsl2.nano.bean.annotation.RuleCover Maven / Gradle / Ivy

Go to download

TSL2 Framework Descriptor (currency-handling, generic formatter, descriptors for beans, collections, actions and values)

There is a newer version: 2.5.1
Show newest version
/*
 * File: $HeadURL$
 * Id  : $Id$
 * 
 * created by: Tom
 * created on: 05.01.2016
 * 
 * Copyright: (c) Thomas Schneider 2016, all rights reserved
 */
package de.tsl2.nano.bean.annotation;

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

import de.tsl2.nano.bean.def.AttributeCover;

/**
 * Defines a new {@link AttributeCover} on the given attribute. Means, the attribute will be defined dynamically through evaluating rules on runtime.

* You have to provide the attribute presentable * path (the child of the attribute: e.g. presentable.layout) and a rule to overrule the behaviour. * @author Tom * @version $Revision$ */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMETER, ElementType.METHOD}) public @interface RuleCover { Class> implementationClass(); String child() default ""; String rule() default ""; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy