pt.digitalis.dif.dem.annotations.metaannotations
Annotation Type Primary


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface Primary

Marks a DEM Annotation as a primary annotation. A primary annotation must be the only one of it's type to annotate an element and excludes all the other primary annotations. Primary annotations can have one of two types: pure primary and non-pure primary. Non-pure primary annotations might be used as non-primary annotations on some contexts. To define these contexts the programmer must supply a list of annotations to whom the annotation yields its primariness.

Author:
Pedro Viegas pviegas@digitalis.pt, Rodrigo Gonçalves rgoncalves@digitalis.pt
Created on:
Aug 29, 2007

Optional Element Summary
 String yieldTo
          The list of annotations that force the primariness yielding.
 

yieldTo

public abstract String yieldTo
The list of annotations that force the primariness yielding. TODO: Should allow for simple class names, defaulting to the current package. Also allow the use of: - "#BasePackage#.entities.ApplicationDefinition - "#BasePackage#.Application - "#Entities#.ApplicationDefinition - "#Parameter#.Parameter - "#Stage#.ErrorView TO Rodrigo: see note on pt.digitalis.dif.dem.annotations.metaannotations.BindToPrimary#value()

Default:
"Pure primary"


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.