@@ -36,7 +36,7 @@ public interface MClass extends MClassifier {
36
36
/**
37
37
* Returns the name of this class with lowercase first letter.
38
38
*/
39
- public String nameAsRolename ();
39
+ String nameAsRolename ();
40
40
41
41
/**
42
42
* Returns the set of all direct parent classes (without this class).
@@ -45,7 +45,7 @@ public interface MClass extends MClassifier {
45
45
* @return Set<MClass>
46
46
*/
47
47
@ Override
48
- public Set <? extends MClass > parents ();
48
+ Set <? extends MClass > parents ();
49
49
50
50
/**
51
51
* Returns the set of all parent classes (without this class).
@@ -55,7 +55,7 @@ public interface MClass extends MClassifier {
55
55
* @return Set<MClass>
56
56
*/
57
57
@ Override
58
- public Set <? extends MClass > allParents ();
58
+ Set <? extends MClass > allParents ();
59
59
60
60
/**
61
61
* Returns the set of all child classes (without this class). This
@@ -64,7 +64,7 @@ public interface MClass extends MClassifier {
64
64
* @return Set(MClass)
65
65
*/
66
66
@ Override
67
- public Set <? extends MClass > allChildren ();
67
+ Set <? extends MClass > allChildren ();
68
68
69
69
/**
70
70
* Returns the set of all direct child classes (without this
@@ -73,13 +73,13 @@ public interface MClass extends MClassifier {
73
73
* @return Set(MClass)
74
74
*/
75
75
@ Override
76
- public Set <? extends MClass > children ();
76
+ Set <? extends MClass > children ();
77
77
78
78
@ Override
79
- public Iterable <? extends MClass > generalizationHierachie (boolean includeThis );
79
+ Iterable <? extends MClass > generalizationHierachie (boolean includeThis );
80
80
81
81
@ Override
82
- public Iterable <? extends MClass > specializationHierachie (boolean includeThis );
82
+ Iterable <? extends MClass > specializationHierachie (boolean includeThis );
83
83
84
84
/**
85
85
* Adds an attribute. The attribute must have a unique name within
@@ -91,15 +91,15 @@ public interface MClass extends MClassifier {
91
91
* attribute with the same name or a name clash
92
92
* occurred.
93
93
*/
94
- public void addAttribute ( MAttribute attr ) throws MInvalidModelException ;
94
+ void addAttribute (MAttribute attr ) throws MInvalidModelException ;
95
95
96
96
/**
97
97
* Returns the set of all attributes (including inherited ones)
98
98
* defined for this class.
99
99
*
100
100
* @return List(MAttribute)
101
101
*/
102
- public List <MAttribute > allAttributes ();
102
+ List <MAttribute > allAttributes ();
103
103
104
104
/**
105
105
* Adds an operation. The operation name must be unique among all
@@ -109,49 +109,49 @@ public interface MClass extends MClassifier {
109
109
* @exception MInvalidModelException the operation is not unique
110
110
* or is not a valid redefinition.
111
111
*/
112
- public void addOperation ( MOperation op ) throws MInvalidModelException ;
112
+ void addOperation (MOperation op ) throws MInvalidModelException ;
113
113
114
114
/**
115
115
* Returns the set of all operations (including inherited ones)
116
116
* defined for this class.
117
117
*
118
118
* @return List(MOperation)
119
119
*/
120
- public List <MOperation > allOperations ();
120
+ List <MOperation > allOperations ();
121
121
122
122
/**
123
123
* Returns the set of associations this class directly
124
124
* participates in.
125
125
*
126
126
* @return Set(MAssociation).
127
127
*/
128
- public Set <MAssociation > associations ();
128
+ Set <MAssociation > associations ();
129
129
130
130
/**
131
131
* Returns the set of associations this class and all of its
132
132
* parents participate in.
133
133
*
134
134
* @return Set(MAssociation).
135
135
*/
136
- public Set <MAssociation > allAssociations ();
136
+ Set <MAssociation > allAssociations ();
137
137
138
138
/**
139
139
* Sets the position in the defined USE-Model.
140
140
*/
141
- public void setPositionInModel (int position );
141
+ void setPositionInModel (int position );
142
142
143
143
/**
144
144
* Process this element with visitor.
145
145
*/
146
- public void processWithVisitor ( MMVisitor v );
146
+ void processWithVisitor (MMVisitor v );
147
147
148
148
/**
149
149
* Searches for the association ends connected to this class or
150
150
* its parents with the given name.
151
151
* @param name The name of association ends to look for.
152
152
* @return A list of association ends in the order from the most specific class to the more general classes.
153
153
*/
154
- public List <MAssociationEnd > getAssociationEnd (String name );
154
+ List <MAssociationEnd > getAssociationEnd (String name );
155
155
156
156
/**
157
157
* Registers all association ends as navigable from this
@@ -167,22 +167,22 @@ public interface MClass extends MClassifier {
167
167
* Adds a new PSM to the class
168
168
* @param psm
169
169
*/
170
- public void addOwnedProtocolStateMachine (MProtocolStateMachine psm );
170
+ void addOwnedProtocolStateMachine (MProtocolStateMachine psm );
171
171
172
172
/**
173
173
* Returns all owned PSM or an empty list if no PSM is defined.
174
174
* @return
175
175
*/
176
- public Set <MProtocolStateMachine > getOwnedProtocolStateMachines ();
176
+ Set <MProtocolStateMachine > getOwnedProtocolStateMachines ();
177
177
178
178
/**
179
179
* @param operationCall
180
180
* @return
181
181
*/
182
- public boolean hasStateMachineWhichHandles (MOperationCall operationCall );
182
+ boolean hasStateMachineWhichHandles (MOperationCall operationCall );
183
183
184
184
/**
185
185
* @return
186
186
*/
187
- public Set <MProtocolStateMachine > getAllOwnedProtocolStateMachines ();
187
+ Set <MProtocolStateMachine > getAllOwnedProtocolStateMachines ();
188
188
}
0 commit comments