1 | /** |
---|
2 | * <copyright> |
---|
3 | * </copyright> |
---|
4 | * |
---|
5 | * $Id$ |
---|
6 | */ |
---|
7 | package org.modelica.uml.sysml; |
---|
8 | |
---|
9 | import org.eclipse.uml2.uml.Association; |
---|
10 | import org.eclipse.uml2.uml.DirectedRelationship; |
---|
11 | |
---|
12 | /** |
---|
13 | * <!-- begin-user-doc --> |
---|
14 | * A representation of the model object '<em><b>Modelica Composition</b></em>'. |
---|
15 | * <!-- end-user-doc --> |
---|
16 | * |
---|
17 | * <p> |
---|
18 | * The following features are supported: |
---|
19 | * <ul> |
---|
20 | * <li>{@link org.modelica.uml.sysml.ModelicaComposition#isIsFlow <em>Is Flow</em>}</li> |
---|
21 | * <li>{@link org.modelica.uml.sysml.ModelicaComposition#getDirection <em>Direction</em>}</li> |
---|
22 | * <li>{@link org.modelica.uml.sysml.ModelicaComposition#getArrayDimension <em>Array Dimension</em>}</li> |
---|
23 | * <li>{@link org.modelica.uml.sysml.ModelicaComposition#getAccess <em>Access</em>}</li> |
---|
24 | * <li>{@link org.modelica.uml.sysml.ModelicaComposition#getDefault <em>Default</em>}</li> |
---|
25 | * </ul> |
---|
26 | * </p> |
---|
27 | * |
---|
28 | * @see org.modelica.uml.sysml.SysmlPackage#getModelicaComposition() |
---|
29 | * @model |
---|
30 | * @generated |
---|
31 | */ |
---|
32 | public interface ModelicaComposition extends Association, GeneralRelationship { |
---|
33 | |
---|
34 | |
---|
35 | /** |
---|
36 | * Returns the value of the '<em><b>Is Flow</b></em>' attribute. |
---|
37 | * <!-- begin-user-doc --> |
---|
38 | * <p> |
---|
39 | * If the meaning of the '<em>Is Flow</em>' attribute isn't clear, |
---|
40 | * there really should be more of a description here... |
---|
41 | * </p> |
---|
42 | * <!-- end-user-doc --> |
---|
43 | * @return the value of the '<em>Is Flow</em>' attribute. |
---|
44 | * @see #setIsFlow(boolean) |
---|
45 | * @see org.modelica.uml.sysml.SysmlPackage#getModelicaComposition_IsFlow() |
---|
46 | * @model dataType="org.eclipse.uml2.uml.Boolean" |
---|
47 | * @generated |
---|
48 | */ |
---|
49 | boolean isIsFlow(); |
---|
50 | |
---|
51 | /** |
---|
52 | * Sets the value of the '{@link org.modelica.uml.sysml.ModelicaComposition#isIsFlow <em>Is Flow</em>}' attribute. |
---|
53 | * <!-- begin-user-doc --> |
---|
54 | * <!-- end-user-doc --> |
---|
55 | * @param value the new value of the '<em>Is Flow</em>' attribute. |
---|
56 | * @see #isIsFlow() |
---|
57 | * @generated |
---|
58 | */ |
---|
59 | void setIsFlow(boolean value); |
---|
60 | |
---|
61 | /** |
---|
62 | * Returns the value of the '<em><b>Direction</b></em>' attribute. |
---|
63 | * The default value is <code>"inout"</code>. |
---|
64 | * The literals are from the enumeration {@link org.modelica.uml.sysml.FlowDirection}. |
---|
65 | * <!-- begin-user-doc --> |
---|
66 | * <p> |
---|
67 | * If the meaning of the '<em>Direction</em>' attribute isn't clear, |
---|
68 | * there really should be more of a description here... |
---|
69 | * </p> |
---|
70 | * <!-- end-user-doc --> |
---|
71 | * @return the value of the '<em>Direction</em>' attribute. |
---|
72 | * @see org.modelica.uml.sysml.FlowDirection |
---|
73 | * @see #setDirection(FlowDirection) |
---|
74 | * @see org.modelica.uml.sysml.SysmlPackage#getModelicaComposition_Direction() |
---|
75 | * @model default="inout" |
---|
76 | * @generated |
---|
77 | */ |
---|
78 | FlowDirection getDirection(); |
---|
79 | |
---|
80 | /** |
---|
81 | * Sets the value of the '{@link org.modelica.uml.sysml.ModelicaComposition#getDirection <em>Direction</em>}' attribute. |
---|
82 | * <!-- begin-user-doc --> |
---|
83 | * <!-- end-user-doc --> |
---|
84 | * @param value the new value of the '<em>Direction</em>' attribute. |
---|
85 | * @see org.modelica.uml.sysml.FlowDirection |
---|
86 | * @see #getDirection() |
---|
87 | * @generated |
---|
88 | */ |
---|
89 | void setDirection(FlowDirection value); |
---|
90 | |
---|
91 | /** |
---|
92 | * Returns the value of the '<em><b>Array Dimension</b></em>' attribute. |
---|
93 | * <!-- begin-user-doc --> |
---|
94 | * <p> |
---|
95 | * If the meaning of the '<em>Array Dimension</em>' attribute isn't clear, |
---|
96 | * there really should be more of a description here... |
---|
97 | * </p> |
---|
98 | * <!-- end-user-doc --> |
---|
99 | * @return the value of the '<em>Array Dimension</em>' attribute. |
---|
100 | * @see #setArrayDimension(String) |
---|
101 | * @see org.modelica.uml.sysml.SysmlPackage#getModelicaComposition_ArrayDimension() |
---|
102 | * @model dataType="org.eclipse.uml2.uml.String" |
---|
103 | * @generated |
---|
104 | */ |
---|
105 | String getArrayDimension(); |
---|
106 | |
---|
107 | /** |
---|
108 | * Sets the value of the '{@link org.modelica.uml.sysml.ModelicaComposition#getArrayDimension <em>Array Dimension</em>}' attribute. |
---|
109 | * <!-- begin-user-doc --> |
---|
110 | * <!-- end-user-doc --> |
---|
111 | * @param value the new value of the '<em>Array Dimension</em>' attribute. |
---|
112 | * @see #getArrayDimension() |
---|
113 | * @generated |
---|
114 | */ |
---|
115 | void setArrayDimension(String value); |
---|
116 | |
---|
117 | /** |
---|
118 | * Returns the value of the '<em><b>Access</b></em>' attribute. |
---|
119 | * The literals are from the enumeration {@link org.modelica.uml.sysml.AccessKind}. |
---|
120 | * <!-- begin-user-doc --> |
---|
121 | * <p> |
---|
122 | * If the meaning of the '<em>Access</em>' attribute isn't clear, |
---|
123 | * there really should be more of a description here... |
---|
124 | * </p> |
---|
125 | * <!-- end-user-doc --> |
---|
126 | * @return the value of the '<em>Access</em>' attribute. |
---|
127 | * @see org.modelica.uml.sysml.AccessKind |
---|
128 | * @see #setAccess(AccessKind) |
---|
129 | * @see org.modelica.uml.sysml.SysmlPackage#getModelicaComposition_Access() |
---|
130 | * @model |
---|
131 | * @generated |
---|
132 | */ |
---|
133 | AccessKind getAccess(); |
---|
134 | |
---|
135 | /** |
---|
136 | * Sets the value of the '{@link org.modelica.uml.sysml.ModelicaComposition#getAccess <em>Access</em>}' attribute. |
---|
137 | * <!-- begin-user-doc --> |
---|
138 | * <!-- end-user-doc --> |
---|
139 | * @param value the new value of the '<em>Access</em>' attribute. |
---|
140 | * @see org.modelica.uml.sysml.AccessKind |
---|
141 | * @see #getAccess() |
---|
142 | * @generated |
---|
143 | */ |
---|
144 | void setAccess(AccessKind value); |
---|
145 | |
---|
146 | /** |
---|
147 | * Returns the value of the '<em><b>Default</b></em>' attribute. |
---|
148 | * <!-- begin-user-doc --> |
---|
149 | * <p> |
---|
150 | * If the meaning of the '<em>Default</em>' attribute isn't clear, |
---|
151 | * there really should be more of a description here... |
---|
152 | * </p> |
---|
153 | * <!-- end-user-doc --> |
---|
154 | * @return the value of the '<em>Default</em>' attribute. |
---|
155 | * @see #setDefault(String) |
---|
156 | * @see org.modelica.uml.sysml.SysmlPackage#getModelicaComposition_Default() |
---|
157 | * @model dataType="org.eclipse.uml2.uml.String" |
---|
158 | * @generated |
---|
159 | */ |
---|
160 | String getDefault(); |
---|
161 | |
---|
162 | /** |
---|
163 | * Sets the value of the '{@link org.modelica.uml.sysml.ModelicaComposition#getDefault <em>Default</em>}' attribute. |
---|
164 | * <!-- begin-user-doc --> |
---|
165 | * <!-- end-user-doc --> |
---|
166 | * @param value the new value of the '<em>Default</em>' attribute. |
---|
167 | * @see #getDefault() |
---|
168 | * @generated |
---|
169 | */ |
---|
170 | void setDefault(String value); |
---|
171 | |
---|
172 | } // ModelicaComposition |
---|