Skip to content

Package: VRuleEntry

VRuleEntry

Coverage

1: /**
2: * Copyright (c) 2011-2016 EclipseSource Muenchen GmbH 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: * Eugen Neufeld - initial API and implementation
13: */
14: package org.eclipse.emfforms.spi.rulerepository.model;
15:
16: import org.eclipse.emf.common.util.EList;
17: import org.eclipse.emf.ecore.EObject;
18: import org.eclipse.emf.ecp.view.spi.model.VElement;
19: import org.eclipse.emf.ecp.view.spi.rule.model.Rule;
20:
21: /**
22: * <!-- begin-user-doc --> A representation of the model object '
23: * <em><b>Rule Entry</b></em>'. <!-- end-user-doc -->
24: *
25: * <p>
26: * The following features are supported:
27: * </p>
28: * <ul>
29: * <li>{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getName <em>Name</em>}</li>
30: * <li>{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getRule <em>Rule</em>}</li>
31: * <li>{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getElements <em>Elements</em>}</li>
32: * <li>{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getMergeType <em>Merge Type</em>}</li>
33: * </ul>
34: *
35: * @see org.eclipse.emfforms.spi.rulerepository.model.VRulerepositoryPackage#getRuleEntry()
36: * @model
37: * @generated
38: */
39: public interface VRuleEntry extends EObject {
40:         /**
41:          * Returns the value of the '<em><b>Name</b></em>' attribute.
42:          * <!-- begin-user-doc -->
43:          * <p>
44:          * If the meaning of the '<em>Name</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>Name</em>' attribute.
50:          * @see #setName(String)
51:          * @see org.eclipse.emfforms.spi.rulerepository.model.VRulerepositoryPackage#getRuleEntry_Name()
52:          * @model
53:          * @generated
54:          */
55:         String getName();
56:
57:         /**
58:          * Sets the value of the '{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getName <em>Name</em>}'
59:          * attribute.
60:          * <!-- begin-user-doc -->
61:          * <!-- end-user-doc -->
62:          *
63:          * @param value the new value of the '<em>Name</em>' attribute.
64:          * @see #getName()
65:          * @generated
66:          */
67:         void setName(String value);
68:
69:         /**
70:          * Returns the value of the '<em><b>Rule</b></em>' containment reference.
71:          * <!-- begin-user-doc -->
72:          * <p>
73:          * If the meaning of the '<em>Rule</em>' containment reference isn't clear,
74:          * there really should be more of a description here...
75:          * </p>
76:          * <!-- end-user-doc -->
77:          *
78:          * @return the value of the '<em>Rule</em>' containment reference.
79:          * @see #setRule(Rule)
80:          * @see org.eclipse.emfforms.spi.rulerepository.model.VRulerepositoryPackage#getRuleEntry_Rule()
81:          * @model containment="true" required="true"
82:          * @generated
83:          */
84:         Rule getRule();
85:
86:         /**
87:          * Sets the value of the '{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getRule <em>Rule</em>}'
88:          * containment reference.
89:          * <!-- begin-user-doc --> <!--
90:          * end-user-doc -->
91:          *
92:          * @param value the new value of the '<em>Rule</em>' containment reference.
93:          * @see #getRule()
94:          * @generated
95:          */
96:         void setRule(Rule value);
97:
98:         /**
99:          * Returns the value of the '<em><b>Elements</b></em>' reference list.
100:          * The list contents are of type {@link org.eclipse.emf.ecp.view.spi.model.VElement}.
101:          * <!-- begin-user-doc
102:          * -->
103:          * <p>
104:          * If the meaning of the '<em>Elements</em>' reference list 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>Elements</em>' reference list.
110:          * @see org.eclipse.emfforms.spi.rulerepository.model.VRulerepositoryPackage#getRuleEntry_Elements()
111:          * @model
112:          * @generated
113:          */
114:         EList<VElement> getElements();
115:
116:         /**
117:          * Returns the value of the '<em><b>Merge Type</b></em>' attribute.
118:          * The default value is <code>"Or"</code>.
119:          * The literals are from the enumeration {@link org.eclipse.emfforms.spi.rulerepository.model.MergeType}.
120:          * <!-- begin-user-doc -->
121:          * <p>
122:          * If the meaning of the '<em>Merge Type</em>' attribute isn't clear,
123:          * there really should be more of a description here...
124:          * </p>
125:          * <!-- end-user-doc -->
126:          *
127:          * @return the value of the '<em>Merge Type</em>' attribute.
128:          * @see org.eclipse.emfforms.spi.rulerepository.model.MergeType
129:          * @see #setMergeType(MergeType)
130:          * @see org.eclipse.emfforms.spi.rulerepository.model.VRulerepositoryPackage#getRuleEntry_MergeType()
131:          * @model default="Or" required="true"
132:          * @generated
133:          */
134:         MergeType getMergeType();
135:
136:         /**
137:          * Sets the value of the '{@link org.eclipse.emfforms.spi.rulerepository.model.VRuleEntry#getMergeType <em>Merge
138:          * Type</em>}' attribute.
139:          * <!-- begin-user-doc -->
140:          * <!-- end-user-doc -->
141:          *
142:          * @param value the new value of the '<em>Merge Type</em>' attribute.
143:          * @see org.eclipse.emfforms.spi.rulerepository.model.MergeType
144:          * @see #getMergeType()
145:          * @generated
146:          */
147:         void setMergeType(MergeType value);
148:
149: } // VRuleEntry