Skip to content

Package: IterateCondition

IterateCondition

Coverage

1: /**
2: * Copyright (c) 2017 Christian W. Damus and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Christian W. Damus - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.spi.rule.model;
15:
16: import org.eclipse.emf.ecp.view.spi.model.VDomainModelReference;
17:
18: /**
19: * <!-- begin-user-doc -->
20: * A representation of the model object '<em><b>Iterate Condition</b></em>'.
21: * <!-- end-user-doc -->
22: *
23: * <p>
24: * The following features are supported:
25: * </p>
26: * <ul>
27: * <li>{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#getQuantifier <em>Quantifier</em>}</li>
28: * <li>{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#isIfEmpty <em>If Empty</em>}</li>
29: * <li>{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#getItemReference <em>Item Reference</em>}</li>
30: * <li>{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#getItemCondition <em>Item Condition</em>}</li>
31: * </ul>
32: *
33: * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIterateCondition()
34: * @model
35: * @generated
36: */
37: public interface IterateCondition extends Condition {
38:         /**
39:          * Returns the value of the '<em><b>Quantifier</b></em>' attribute.
40:          * The default value is <code>"all"</code>.
41:          * The literals are from the enumeration {@link org.eclipse.emf.ecp.view.spi.rule.model.Quantifier}.
42:          * <!-- begin-user-doc -->
43:          * <p>
44:          * If the meaning of the '<em>Quantifier</em>' attribute isn't clear,
45:          * there really should be more of a description here...
46:          * </p>
47:          * <!-- end-user-doc -->
48:          *
49:          * @return the value of the '<em>Quantifier</em>' attribute.
50:          * @see org.eclipse.emf.ecp.view.spi.rule.model.Quantifier
51:          * @see #setQuantifier(Quantifier)
52:          * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIterateCondition_Quantifier()
53:          * @model default="all" required="true"
54:          * @generated
55:          */
56:         Quantifier getQuantifier();
57:
58:         /**
59:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#getQuantifier
60:          * <em>Quantifier</em>}' attribute.
61:          * <!-- begin-user-doc -->
62:          * <!-- end-user-doc -->
63:          *
64:          * @param value the new value of the '<em>Quantifier</em>' attribute.
65:          * @see org.eclipse.emf.ecp.view.spi.rule.model.Quantifier
66:          * @see #getQuantifier()
67:          * @generated
68:          */
69:         void setQuantifier(Quantifier value);
70:
71:         /**
72:          * Returns the value of the '<em><b>If Empty</b></em>' attribute.
73:          * <!-- begin-user-doc -->
74:          * <p>
75:          * If the meaning of the '<em>If Empty</em>' attribute isn't clear,
76:          * there really should be more of a description here...
77:          * </p>
78:          * <!-- end-user-doc -->
79:          *
80:          * @return the value of the '<em>If Empty</em>' attribute.
81:          * @see #setIfEmpty(boolean)
82:          * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIterateCondition_IfEmpty()
83:          * @model required="true"
84:          * @generated
85:          */
86:         boolean isIfEmpty();
87:
88:         /**
89:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#isIfEmpty <em>If
90:          * Empty</em>}' attribute.
91:          * <!-- begin-user-doc -->
92:          * <!-- end-user-doc -->
93:          *
94:          * @param value the new value of the '<em>If Empty</em>' attribute.
95:          * @see #isIfEmpty()
96:          * @generated
97:          */
98:         void setIfEmpty(boolean value);
99:
100:         /**
101:          * Returns the value of the '<em><b>Item Reference</b></em>' containment reference.
102:          * <!-- begin-user-doc -->
103:          * <p>
104:          * If the meaning of the '<em>Item Reference</em>' containment reference isn't clear,
105:          * there really should be more of a description here...
106:          * </p>
107:          * <!-- end-user-doc -->
108:          *
109:          * @return the value of the '<em>Item Reference</em>' containment reference.
110:          * @see #setItemReference(VDomainModelReference)
111:          * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIterateCondition_ItemReference()
112:          * @model containment="true" required="true"
113:          * @generated
114:          */
115:         VDomainModelReference getItemReference();
116:
117:         /**
118:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#getItemReference <em>Item
119:          * Reference</em>}' containment reference.
120:          * <!-- begin-user-doc -->
121:          * <!-- end-user-doc -->
122:          *
123:          * @param value the new value of the '<em>Item Reference</em>' containment reference.
124:          * @see #getItemReference()
125:          * @generated
126:          */
127:         void setItemReference(VDomainModelReference value);
128:
129:         /**
130:          * Returns the value of the '<em><b>Item Condition</b></em>' containment reference.
131:          * <!-- begin-user-doc -->
132:          * <p>
133:          * If the meaning of the '<em>Item Condition</em>' containment reference isn't clear,
134:          * there really should be more of a description here...
135:          * </p>
136:          * <!-- end-user-doc -->
137:          *
138:          * @return the value of the '<em>Item Condition</em>' containment reference.
139:          * @see #setItemCondition(Condition)
140:          * @see org.eclipse.emf.ecp.view.spi.rule.model.RulePackage#getIterateCondition_ItemCondition()
141:          * @model containment="true" required="true"
142:          * @generated
143:          */
144:         Condition getItemCondition();
145:
146:         /**
147:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.rule.model.IterateCondition#getItemCondition <em>Item
148:          * Condition</em>}' containment reference.
149:          * <!-- begin-user-doc -->
150:          * <!-- end-user-doc -->
151:          *
152:          * @param value the new value of the '<em>Item Condition</em>' containment reference.
153:          * @see #getItemCondition()
154:          * @generated
155:          */
156:         void setItemCondition(Condition value);
157:
158: } // IterateCondition