|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.carbide.cpp.internal.pi.util.config.gen.PIConfig; |
|
19 |
|
20 import org.eclipse.emf.ecore.EObject; |
|
21 |
|
22 /** |
|
23 * <!-- begin-user-doc --> |
|
24 * A representation of the model object '<em><b>Mapping Type</b></em>'. |
|
25 * <!-- end-user-doc --> |
|
26 * |
|
27 * <p> |
|
28 * The following features are supported: |
|
29 * <ul> |
|
30 * <li>{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getEnumString <em>Enum String</em>}</li> |
|
31 * <li>{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getKeyCode <em>Key Code</em>}</li> |
|
32 * <li>{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getLabel <em>Label</em>}</li> |
|
33 * </ul> |
|
34 * </p> |
|
35 * |
|
36 * @see com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.PIConfigPackage#getMappingType() |
|
37 * @model extendedMetaData="name='mapping_._type' kind='empty'" |
|
38 * @generated |
|
39 */ |
|
40 public interface MappingType extends EObject { |
|
41 /** |
|
42 * Returns the value of the '<em><b>Enum String</b></em>' attribute. |
|
43 * <!-- begin-user-doc --> |
|
44 * <p> |
|
45 * If the meaning of the '<em>Enum String</em>' attribute isn't clear, |
|
46 * there really should be more of a description here... |
|
47 * </p> |
|
48 * <!-- end-user-doc --> |
|
49 * @return the value of the '<em>Enum String</em>' attribute. |
|
50 * @see #setEnumString(String) |
|
51 * @see com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.PIConfigPackage#getMappingType_EnumString() |
|
52 * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
|
53 * extendedMetaData="kind='attribute' name='enumString' namespace='##targetNamespace'" |
|
54 * @generated |
|
55 */ |
|
56 String getEnumString(); |
|
57 |
|
58 /** |
|
59 * Sets the value of the '{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getEnumString <em>Enum String</em>}' attribute. |
|
60 * <!-- begin-user-doc --> |
|
61 * <!-- end-user-doc --> |
|
62 * @param value the new value of the '<em>Enum String</em>' attribute. |
|
63 * @see #getEnumString() |
|
64 * @generated |
|
65 */ |
|
66 void setEnumString(String value); |
|
67 |
|
68 /** |
|
69 * Returns the value of the '<em><b>Key Code</b></em>' attribute. |
|
70 * <!-- begin-user-doc --> |
|
71 * <p> |
|
72 * If the meaning of the '<em>Key Code</em>' attribute isn't clear, |
|
73 * there really should be more of a description here... |
|
74 * </p> |
|
75 * <!-- end-user-doc --> |
|
76 * @return the value of the '<em>Key Code</em>' attribute. |
|
77 * @see #isSetKeyCode() |
|
78 * @see #unsetKeyCode() |
|
79 * @see #setKeyCode(long) |
|
80 * @see com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.PIConfigPackage#getMappingType_KeyCode() |
|
81 * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.UnsignedInt" |
|
82 * extendedMetaData="kind='attribute' name='keyCode' namespace='##targetNamespace'" |
|
83 * @generated |
|
84 */ |
|
85 long getKeyCode(); |
|
86 |
|
87 /** |
|
88 * Sets the value of the '{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getKeyCode <em>Key Code</em>}' attribute. |
|
89 * <!-- begin-user-doc --> |
|
90 * <!-- end-user-doc --> |
|
91 * @param value the new value of the '<em>Key Code</em>' attribute. |
|
92 * @see #isSetKeyCode() |
|
93 * @see #unsetKeyCode() |
|
94 * @see #getKeyCode() |
|
95 * @generated |
|
96 */ |
|
97 void setKeyCode(long value); |
|
98 |
|
99 /** |
|
100 * Unsets the value of the '{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getKeyCode <em>Key Code</em>}' attribute. |
|
101 * <!-- begin-user-doc --> |
|
102 * <!-- end-user-doc --> |
|
103 * @see #isSetKeyCode() |
|
104 * @see #getKeyCode() |
|
105 * @see #setKeyCode(long) |
|
106 * @generated |
|
107 */ |
|
108 void unsetKeyCode(); |
|
109 |
|
110 /** |
|
111 * Returns whether the value of the '{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getKeyCode <em>Key Code</em>}' attribute is set. |
|
112 * <!-- begin-user-doc --> |
|
113 * <!-- end-user-doc --> |
|
114 * @return whether the value of the '<em>Key Code</em>' attribute is set. |
|
115 * @see #unsetKeyCode() |
|
116 * @see #getKeyCode() |
|
117 * @see #setKeyCode(long) |
|
118 * @generated |
|
119 */ |
|
120 boolean isSetKeyCode(); |
|
121 |
|
122 /** |
|
123 * Returns the value of the '<em><b>Label</b></em>' attribute. |
|
124 * <!-- begin-user-doc --> |
|
125 * <p> |
|
126 * If the meaning of the '<em>Label</em>' attribute isn't clear, |
|
127 * there really should be more of a description here... |
|
128 * </p> |
|
129 * <!-- end-user-doc --> |
|
130 * @return the value of the '<em>Label</em>' attribute. |
|
131 * @see #setLabel(String) |
|
132 * @see com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.PIConfigPackage#getMappingType_Label() |
|
133 * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
|
134 * extendedMetaData="kind='attribute' name='label' namespace='##targetNamespace'" |
|
135 * @generated |
|
136 */ |
|
137 String getLabel(); |
|
138 |
|
139 /** |
|
140 * Sets the value of the '{@link com.nokia.carbide.cpp.pi.util.config.gen.PIConfig.MappingType#getLabel <em>Label</em>}' attribute. |
|
141 * <!-- begin-user-doc --> |
|
142 * <!-- end-user-doc --> |
|
143 * @param value the new value of the '<em>Label</em>' attribute. |
|
144 * @see #getLabel() |
|
145 * @generated |
|
146 */ |
|
147 void setLabel(String value); |
|
148 |
|
149 } // MappingType |