Package org.eclipse.emfforms.bazaar
Annotation Type Precondition
-
@Target(TYPE) @Retention(RUNTIME) public @interface Precondition
Annotation to allowVendor
s to specify aPrecondition
, which must be present in theBazaarContext
. APrecondition
specifies a key and a value, This key value pair must be present in theBazaarContext
, otherwise theVendor
is not asked for aBid
.- Author:
- jonas
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
UNASSIGNED
default for values.
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
key
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
-
-
-
Element Detail
-
key
java.lang.String key
- Returns:
- the key to be present in the
BazaarContext
-
-
-
value
java.lang.String value
- Returns:
- the value to be present in the
BazaarContext
under the specified key. Default isPrecondition
.UNASSIGNED
- Default:
- "[unassigned]"
-
-