Annotation Type Operation
-
@Retention(RUNTIME) @Target(METHOD) public @interface Operation
Indicates that the annotated Java operation is a QVT operation, typically owned by aModule(Library,OperationalTransformation).- Since:
- 2.0
- See Also:
Operation.Kind
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleancontextualIndicates whether the associated operation iscontextualor not.StringdescriptionThe textual description for the annotated operation, typically representing the detail semantics information, useful for a tooling support.Operation.KindkindIndicates the operation kind specified for the annotated Java operationbooleanwithExecutionContextIndicates whether the associated operation would receive execution context (oforg.eclipse.m2m.qvt.oml.util.IContextclass) as the first parameter.
-
-
-
-
withExecutionContext
boolean withExecutionContext
Indicates whether the associated operation would receive execution context (oforg.eclipse.m2m.qvt.oml.util.IContextclass) as the first parameter.- Returns:
trueif the associated operation receives execution context as the first parameter, otherwisefalse(default value).- Since:
- 3.0
- Default:
- false
-
-
-
kind
Operation.Kind kind
Indicates the operation kind specified for the annotated Java operation- Returns:
- the kind object
- Default:
- org.eclipse.m2m.qvt.oml.blackbox.java.Operation.Kind.HELPER
-
-
-
description
String description
The textual description for the annotated operation, typically representing the detail semantics information, useful for a tooling support.- Returns:
- the String object (empty string if nothing has been explicitly specified)
- Default:
- ""
-
-