/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

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