blob: f288df03cb314b6727276d396a9604be7064a1aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/**
*/
package rba.core.impl;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import rba.core.OrOperator;
import rba.core.RBACorePackage;
/**
* <!-- begin-user-doc --> An implementation of the model object '<em><b>Or Operator</b></em>'. <!-- end-user-doc -->
*
* @generated
*/
public class OrOperatorImpl extends LogicalOperatorImpl implements OrOperator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected OrOperatorImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return RBACorePackage.Literals.OR_OPERATOR;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public String getSymbol() {
return "OR";
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
switch (operationID) {
case RBACorePackage.OR_OPERATOR___GET_SYMBOL:
return getSymbol();
}
return super.eInvoke(operationID, arguments);
}
} // OrOperatorImpl
|