Skip to content

Package: TestElement

TestElement

Coverage

1: /**
2: * Copyright (c) 2011-2013 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: * Edgar Mueller - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.dynamictree.model;
15:
16: import java.util.Map;
17:
18: import org.eclipse.emf.common.util.DiagnosticChain;
19: import org.eclipse.emf.common.util.EList;
20: import org.eclipse.emf.ecore.EObject;
21:
22: /**
23: * <!-- begin-user-doc -->
24: * A representation of the model object '<em><b>Test Element</b></em>'.
25: * <!-- end-user-doc -->
26: *
27: * <p>
28: * The following features are supported:
29: * <ul>
30: * <li>{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getId <em>Id</em>}</li>
31: * <li>{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getElements <em>Elements</em>}</li>
32: * <li>{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getParentId <em>Parent Id</em>}</li>
33: * <li>{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getName <em>Name</em>}</li>
34: * </ul>
35: * </p>
36: *
37: * @see org.eclipse.emf.ecp.view.dynamictree.model.ModelPackage#getTestElement()
38: * @model
39: * @generated
40: */
41: public interface TestElement extends EObject {
42:         /**
43:          * Returns the value of the '<em><b>Id</b></em>' attribute.
44:          * <!-- begin-user-doc -->
45:          * <p>
46:          * If the meaning of the '<em>Id</em>' attribute isn't clear, there really should be more of a description here...
47:          * </p>
48:          * <!-- end-user-doc -->
49:          *
50:          * @return the value of the '<em>Id</em>' attribute.
51:          * @see #setId(String)
52:          * @see org.eclipse.emf.ecp.view.dynamictree.model.ModelPackage#getTestElement_Id()
53:          * @model
54:          * @generated
55:          */
56:         String getId();
57:
58:         /**
59:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getId <em>Id</em>}'
60:          * attribute.
61:          * <!-- begin-user-doc -->
62:          * <!-- end-user-doc -->
63:          *
64:          * @param value the new value of the '<em>Id</em>' attribute.
65:          * @see #getId()
66:          * @generated
67:          */
68:         void setId(String value);
69:
70:         /**
71:          * Returns the value of the '<em><b>Elements</b></em>' containment reference list.
72:          * The list contents are of type {@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement}.
73:          * <!-- begin-user-doc -->
74:          * <p>
75:          * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of
76:          * a description here...
77:          * </p>
78:          * <!-- end-user-doc -->
79:          *
80:          * @return the value of the '<em>Elements</em>' containment reference list.
81:          * @see org.eclipse.emf.ecp.view.dynamictree.model.ModelPackage#getTestElement_Elements()
82:          * @model containment="true"
83:          * @generated
84:          */
85:         EList<TestElement> getElements();
86:
87:         /**
88:          * Returns the value of the '<em><b>Parent Id</b></em>' attribute.
89:          * <!-- begin-user-doc -->
90:          * <p>
91:          * If the meaning of the '<em>Parent Id</em>' attribute isn't clear, there really should be more of a description
92:          * here...
93:          * </p>
94:          * <!-- end-user-doc -->
95:          *
96:          * @return the value of the '<em>Parent Id</em>' attribute.
97:          * @see #setParentId(String)
98:          * @see org.eclipse.emf.ecp.view.dynamictree.model.ModelPackage#getTestElement_ParentId()
99:          * @model
100:          * @generated
101:          */
102:         String getParentId();
103:
104:         /**
105:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getParentId
106:          * <em>Parent Id</em>}' attribute.
107:          * <!-- begin-user-doc -->
108:          * <!-- end-user-doc -->
109:          *
110:          * @param value the new value of the '<em>Parent Id</em>' attribute.
111:          * @see #getParentId()
112:          * @generated
113:          */
114:         void setParentId(String value);
115:
116:         /**
117:          * Returns the value of the '<em><b>Name</b></em>' attribute.
118:          * <!-- begin-user-doc -->
119:          * <p>
120:          * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
121:          * </p>
122:          * <!-- end-user-doc -->
123:          *
124:          * @return the value of the '<em>Name</em>' attribute.
125:          * @see #setName(String)
126:          * @see org.eclipse.emf.ecp.view.dynamictree.model.ModelPackage#getTestElement_Name()
127:          * @model
128:          * @generated
129:          */
130:         String getName();
131:
132:         /**
133:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.dynamictree.model.TestElement#getName <em>Name</em>}'
134:          * attribute.
135:          * <!-- begin-user-doc -->
136:          * <!-- end-user-doc -->
137:          *
138:          * @param value the new value of the '<em>Name</em>' attribute.
139:          * @see #getName()
140:          * @generated
141:          */
142:         void setName(String value);
143:
144:         /**
145:          * <!-- begin-user-doc -->
146:          * <!-- end-user-doc -->
147:          *
148:          * @model
149:          * @generated
150:          */
151:         boolean validate(DiagnosticChain diagnostic, Map<?, ?> context);
152:
153: } // TestElement