Package one.xingyi.core.annotations
Annotation Type Field
-
@Target(METHOD) @Retention(RUNTIME) public @interface Field
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringjavascriptoverrides the defn associated with this view field (the default is to call the lensjava.lang.StringlensNameThe lens name associated with the view.java.lang.StringlensPathThe actual lens into the object.booleanreadOnlycan only be read in this view.booleantemplated
-
-
-
-
lensPath
java.lang.String lensPath
The actual lens into the object. Defaults to 'fieldName'. Syntax is xxx.yyy. these are field names in the entity. special values of xxx include- {firstItem} if we have a list
- {identity} which is used when the field used to be in a child but is now 'here'
- {itemAsList} which turns a single child into a list (of size 1)
- Default:
- ""
-
-