public static enum Operation.Kind extends Enum<Operation.Kind>
kind
of the annotated operation with respect
to semantics in the QVT Abstract Syntax meta-model.Operation
Enum Constant and Description |
---|
CONSTRUCTOR
The operation is defined as contextual
constructor . |
HELPER
The operation is defined as
helper , an imperative operation with possible side-effect. |
MAPPING
The operation is defined as operational
mapping . |
OPERATION
The operation is defined as normal operation.
|
QUERY
The operation is defined as
query , a side-effect free imperative operation. |
TRANSFORMATION
The operation is defined as operational
transformation . |
Modifier and Type | Method and Description |
---|---|
static Operation.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation.Kind HELPER
helper
, an imperative operation with possible side-effect.public static final Operation.Kind QUERY
query
, a side-effect free imperative operation.public static final Operation.Kind MAPPING
mapping
.public static final Operation.Kind CONSTRUCTOR
constructor
.public static final Operation.Kind TRANSFORMATION
transformation
.public static final Operation.Kind OPERATION
contextual
, the Typedef class is used to represent it as additional operation
in the owning Module
class.public static Operation.Kind[] values()
for (Operation.Kind c : Operation.Kind.values()) System.out.println(c);
public static Operation.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.