Skip to content

Package: Computer

Computer

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: * Eugen Neufeld - initial API and implementation
13: *******************************************************************************/
14: package org.eclipse.emf.ecp.view.validation.test.model;
15:
16: import org.eclipse.emf.common.util.EList;
17: import org.eclipse.emf.ecore.EObject;
18:
19: /**
20: * <!-- begin-user-doc -->
21: * A representation of the model object '<em><b>Computer</b></em>'.
22: * <!-- end-user-doc -->
23: *
24: * <p>
25: * The following features are supported:
26: * </p>
27: * <ul>
28: * <li>{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getMainboard <em>Mainboard</em>}</li>
29: * <li>{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getName <em>Name</em>}</li>
30: * <li>{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getPowerBlock <em>Power Block</em>}</li>
31: * <li>{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getColors <em>Colors</em>}</li>
32: * </ul>
33: *
34: * @see org.eclipse.emf.ecp.view.validation.test.model.TestPackage#getComputer()
35: * @model
36: * @generated
37: */
38: public interface Computer extends EObject {
39:         /**
40:          * Returns the value of the '<em><b>Mainboard</b></em>' containment reference.
41:          * <!-- begin-user-doc -->
42:          * <p>
43:          * If the meaning of the '<em>Mainboard</em>' reference isn't clear, there really should be more of a description
44:          * here...
45:          * </p>
46:          * <!-- end-user-doc -->
47:          *
48:          * @return the value of the '<em>Mainboard</em>' containment reference.
49:          * @see #setMainboard(Mainboard)
50:          * @see org.eclipse.emf.ecp.view.validation.test.model.TestPackage#getComputer_Mainboard()
51:          * @model containment="true"
52:          * @generated
53:          */
54:         Mainboard getMainboard();
55:
56:         /**
57:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getMainboard
58:          * <em>Mainboard</em>}' containment reference.
59:          * <!-- begin-user-doc -->
60:          * <!-- end-user-doc -->
61:          *
62:          * @param value the new value of the '<em>Mainboard</em>' containment reference.
63:          * @see #getMainboard()
64:          * @generated
65:          */
66:         void setMainboard(Mainboard value);
67:
68:         /**
69:          * Returns the value of the '<em><b>Name</b></em>' attribute.
70:          * <!-- begin-user-doc -->
71:          * <p>
72:          * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
73:          * </p>
74:          * <!-- end-user-doc -->
75:          *
76:          * @return the value of the '<em>Name</em>' attribute.
77:          * @see #setName(String)
78:          * @see org.eclipse.emf.ecp.view.validation.test.model.TestPackage#getComputer_Name()
79:          * @model required="true"
80:          * @generated
81:          */
82:         String getName();
83:
84:         /**
85:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getName <em>Name</em>}'
86:          * attribute.
87:          * <!-- begin-user-doc -->
88:          * <!-- end-user-doc -->
89:          *
90:          * @param value the new value of the '<em>Name</em>' attribute.
91:          * @see #getName()
92:          * @generated
93:          */
94:         void setName(String value);
95:
96:         /**
97:          * Returns the value of the '<em><b>Power Block</b></em>' containment reference.
98:          * <!-- begin-user-doc -->
99:          * <p>
100:          * If the meaning of the '<em>Power Block</em>' reference isn't clear, there really should be more of a description
101:          * here...
102:          * </p>
103:          * <!-- end-user-doc -->
104:          *
105:          * @return the value of the '<em>Power Block</em>' containment reference.
106:          * @see #setPowerBlock(PowerBlock)
107:          * @see org.eclipse.emf.ecp.view.validation.test.model.TestPackage#getComputer_PowerBlock()
108:          * @model containment="true"
109:          * @generated
110:          */
111:         PowerBlock getPowerBlock();
112:
113:         /**
114:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.validation.test.model.Computer#getPowerBlock <em>Power
115:          * Block</em>}' containment reference.
116:          * <!-- begin-user-doc -->
117:          * <!-- end-user-doc -->
118:          *
119:          * @param value the new value of the '<em>Power Block</em>' containment reference.
120:          * @see #getPowerBlock()
121:          * @generated
122:          */
123:         void setPowerBlock(PowerBlock value);
124:
125:         /**
126:          * Returns the value of the '<em><b>Colors</b></em>' attribute list.
127:          * The list contents are of type {@link org.eclipse.emf.ecp.view.validation.test.model.Color}.
128:          * The literals are from the enumeration {@link org.eclipse.emf.ecp.view.validation.test.model.Color}.
129:          * <!-- begin-user-doc -->
130:          * <p>
131:          * If the meaning of the '<em>Colors</em>' attribute list isn't clear,
132:          * there really should be more of a description here...
133:          * </p>
134:          * <!-- end-user-doc -->
135:          *
136:          * @return the value of the '<em>Colors</em>' attribute list.
137:          * @see org.eclipse.emf.ecp.view.validation.test.model.Color
138:          * @see org.eclipse.emf.ecp.view.validation.test.model.TestPackage#getComputer_Colors()
139:          * @model
140:          * @generated
141:          */
142:         EList<Color> getColors();
143:
144: } // Computer