PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/razpub/src/com/razie/pubstage/components/RazFunction.java

http://razpub.googlecode.com/
Java | 27 lines | 15 code | 5 blank | 7 comment | 0 complexity | 654f4dec3d4cdeaa1b81df0182c316fb MD5 | raw file
 1package com.razie.pubstage.components;
 2
 3import java.lang.annotation.ElementType;
 4import java.lang.annotation.Inherited;
 5import java.lang.annotation.Retention;
 6import java.lang.annotation.RetentionPolicy;
 7import java.lang.annotation.Target;
 8
 9/**
10 * a function of a component - like a method call or the main functionality or...
11 * 
12 * the idea is that this is a point that can be hooked up in a logical diagram and results sent
13 * elsewhere...
14 * 
15 */
16@Retention(RetentionPolicy.RUNTIME)
17@Target( { ElementType.METHOD })
18@Inherited
19public @interface RazFunction {
20    String name();
21
22    String descr();
23
24    String[] inputs() default {};// parms and optional types, see AA
25
26    String[] outputs() default {};// parms and optional types, see AA
27}