Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
696 bytes
|
Line | |
---|
1 | package com.framsticks.params.annotations; |
---|
2 | |
---|
3 | import java.lang.annotation.ElementType; |
---|
4 | import java.lang.annotation.Retention; |
---|
5 | import java.lang.annotation.RetentionPolicy; |
---|
6 | import java.lang.annotation.Target; |
---|
7 | |
---|
8 | import com.framsticks.params.Param; |
---|
9 | |
---|
10 | @Retention(RetentionPolicy.RUNTIME) |
---|
11 | @Target({ElementType.FIELD, ElementType.METHOD}) |
---|
12 | public @interface ParamAnnotation { |
---|
13 | String name() default ""; |
---|
14 | String id() default ""; |
---|
15 | |
---|
16 | Class<? extends Param> paramType() default Param.class; |
---|
17 | String stringType() default ""; |
---|
18 | |
---|
19 | String def() default ""; |
---|
20 | String min() default ""; |
---|
21 | String max() default ""; |
---|
22 | |
---|
23 | String help() default ""; |
---|
24 | int flags() default 0; |
---|
25 | int extra() default 0; |
---|
26 | // String group() default ""; |
---|
27 | } |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.