blob: 9c957def7eea2b12dd99d57ce84457bb01649366 (
plain) (
blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
/**
* generated by Xtext 2.18.0.M3
*/
package org.eclipse.viatra.solver.language.solverLanguage;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Constraint</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getPolarity <em>Polarity</em>}</li>
* <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getSymbol <em>Symbol</em>}</li>
* <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getParams <em>Params</em>}</li>
* <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getClosureType <em>Closure Type</em>}</li>
* </ul>
*
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConstraint()
* @model
* @generated
*/
public interface Constraint extends EObject
{
/**
* Returns the value of the '<em><b>Polarity</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Polarity</em>' containment reference.
* @see #setPolarity(Polarity)
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConstraint_Polarity()
* @model containment="true"
* @generated
*/
Polarity getPolarity();
/**
* Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getPolarity <em>Polarity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Polarity</em>' containment reference.
* @see #getPolarity()
* @generated
*/
void setPolarity(Polarity value);
/**
* Returns the value of the '<em><b>Symbol</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Symbol</em>' containment reference.
* @see #setSymbol(ModelSymbol)
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConstraint_Symbol()
* @model containment="true"
* @generated
*/
ModelSymbol getSymbol();
/**
* Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getSymbol <em>Symbol</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Symbol</em>' containment reference.
* @see #getSymbol()
* @generated
*/
void setSymbol(ModelSymbol value);
/**
* Returns the value of the '<em><b>Params</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Literal}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Params</em>' containment reference list.
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConstraint_Params()
* @model containment="true"
* @generated
*/
EList<Literal> getParams();
/**
* Returns the value of the '<em><b>Closure Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Closure Type</em>' containment reference.
* @see #setClosureType(ClosureType)
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConstraint_ClosureType()
* @model containment="true"
* @generated
*/
ClosureType getClosureType();
/**
* Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Constraint#getClosureType <em>Closure Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Closure Type</em>' containment reference.
* @see #getClosureType()
* @generated
*/
void setClosureType(ClosureType value);
} // Constraint
|