Skip to content

Commit 2e0a662

Browse files
committed
ST6RI-897 Moved redefinition of isComposite defaults to constructors.
- Removed overrides of isComposite in subclasses, setting isComposite in constructors instead.
1 parent 88e7dd5 commit 2e0a662

9 files changed

Lines changed: 23 additions & 107 deletions

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/AttributeUsageImpl.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2020-2022 Model Driven Solutions, Inc.
3+
* Copyright (c) 2020-2022, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -59,10 +59,11 @@ public class AttributeUsageImpl extends UsageImpl implements AttributeUsage {
5959
/**
6060
* <!-- begin-user-doc -->
6161
* <!-- end-user-doc -->
62-
* @generated
62+
* @generated NOT
6363
*/
6464
protected AttributeUsageImpl() {
6565
super();
66+
isComposite = false;
6667
}
6768

6869
/**
@@ -115,18 +116,6 @@ public boolean isSetDefinition() {
115116
return false;
116117
}
117118

118-
// Additional overrides
119-
120-
/**
121-
* @generated NOT
122-
*/
123-
@Override
124-
public boolean isComposite() {
125-
return false;
126-
}
127-
128-
//
129-
130119
/**
131120
* <!-- begin-user-doc -->
132121
* <!-- end-user-doc -->

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/BindingConnectorAsUsageImpl.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2022, 2025 Model Driven Solutions, Inc.
3+
* Copyright (c) 2022, 2025, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -37,10 +37,11 @@ public class BindingConnectorAsUsageImpl extends ConnectorAsUsageImpl implements
3737
/**
3838
* <!-- begin-user-doc -->
3939
* <!-- end-user-doc -->
40-
* @generated
40+
* @generated NOT
4141
*/
4242
protected BindingConnectorAsUsageImpl() {
4343
super();
44+
isComposite = false;
4445
}
4546

4647
/**
@@ -53,16 +54,4 @@ protected EClass eStaticClass() {
5354
return SysMLPackage.Literals.BINDING_CONNECTOR_AS_USAGE;
5455
}
5556

56-
// Additional overrides
57-
58-
/**
59-
* @generated NOT
60-
*/
61-
@Override
62-
public boolean isComposite() {
63-
return false;
64-
}
65-
66-
//
67-
6857
} //BindingConnectorAsUsageImpl

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/EventOccurrenceUsageImpl.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2022 Model Driven Solutions, Inc.
3+
* Copyright (c) 2022, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -54,10 +54,11 @@ public class EventOccurrenceUsageImpl extends OccurrenceUsageImpl implements Eve
5454
/**
5555
* <!-- begin-user-doc -->
5656
* <!-- end-user-doc -->
57-
* @generated
57+
* @generated NOT
5858
*/
5959
protected EventOccurrenceUsageImpl() {
6060
super();
61+
isComposite = false;
6162
}
6263

6364
/**
@@ -99,18 +100,6 @@ public void setEventOccurrence(OccurrenceUsage newEventOccurrence) {
99100
EVENT_OCCURRENCE__ESETTING_DELEGATE.dynamicSet(this, null, 0, newEventOccurrence);
100101
}
101102

102-
// Additional overrides
103-
104-
/**
105-
* @generated NOT
106-
*/
107-
@Override
108-
public boolean isComposite() {
109-
return false;
110-
}
111-
112-
//
113-
114103
/**
115104
* <!-- begin-user-doc -->
116105
* <!-- end-user-doc -->

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/ExhibitStateUsageImpl.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2020-2024 Model Driven Solutions, Inc.
3+
* Copyright (c) 2020-2024, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -60,10 +60,11 @@ public class ExhibitStateUsageImpl extends StateUsageImpl implements ExhibitStat
6060
/**
6161
* <!-- begin-user-doc -->
6262
* <!-- end-user-doc -->
63-
* @generated
63+
* @generated NOT
6464
*/
6565
protected ExhibitStateUsageImpl() {
6666
super();
67+
isComposite = false;
6768
}
6869

6970
/**
@@ -192,18 +193,6 @@ public boolean isSetPerformedAction() {
192193
return false;
193194
}
194195

195-
// Additional overrides
196-
197-
/**
198-
* @generated NOT
199-
*/
200-
@Override
201-
public boolean isComposite() {
202-
return false;
203-
}
204-
205-
//
206-
207196
/**
208197
* <!-- begin-user-doc -->
209198
* <!-- end-user-doc -->

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/FeatureImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2020-2024 Model Driven Solutions, Inc.
3+
* Copyright (c) 2020-2024, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/IncludeUseCaseUsageImpl.java

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2022, 2024 Model Driven Solutions, Inc.
3+
* Copyright (c) 2022, 2024, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -62,6 +62,7 @@ public class IncludeUseCaseUsageImpl extends UseCaseUsageImpl implements Include
6262
*/
6363
protected IncludeUseCaseUsageImpl() {
6464
super();
65+
isComposite = false;
6566
}
6667

6768
/**
@@ -192,18 +193,6 @@ public boolean isSetEventOccurrence() {
192193
return false;
193194
}
194195

195-
// Additional overrides
196-
197-
/**
198-
* @generated NOT
199-
*/
200-
@Override
201-
public boolean isComposite() {
202-
return false;
203-
}
204-
205-
//
206-
207196
/**
208197
* <!-- begin-user-doc -->
209198
* <!-- end-user-doc -->

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/PerformActionUsageImpl.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2020-2024 Model Driven Solutions, Inc.
3+
* Copyright (c) 2020-2024, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -59,10 +59,11 @@ public class PerformActionUsageImpl extends ActionUsageImpl implements PerformAc
5959
/**
6060
* <!-- begin-user-doc -->
6161
* <!-- end-user-doc -->
62-
* @generated
62+
* @generated NOT
6363
*/
6464
protected PerformActionUsageImpl() {
6565
super();
66+
isComposite = false;
6667
}
6768

6869
/**
@@ -152,18 +153,6 @@ public boolean isSetEventOccurrence() {
152153
return false;
153154
}
154155

155-
// Additional overrides
156-
157-
/**
158-
* @generated NOT
159-
*/
160-
@Override
161-
public boolean isComposite() {
162-
return false;
163-
}
164-
165-
//
166-
167156
/**
168157
* <!-- begin-user-doc -->
169158
* <!-- end-user-doc -->

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/ReferenceUsageImpl.java

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2020-2022 Model Driven Solutions, Inc.
3+
* Copyright (c) 2020-2022, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -41,6 +41,7 @@ public class ReferenceUsageImpl extends UsageImpl implements ReferenceUsage {
4141
*/
4242
protected ReferenceUsageImpl() {
4343
super();
44+
isComposite = false;
4445
}
4546

4647
/**
@@ -53,14 +54,4 @@ protected EClass eStaticClass() {
5354
return SysMLPackage.Literals.REFERENCE_USAGE;
5455
}
5556

56-
// Additional overrides
57-
58-
/**
59-
* @generated NOT
60-
*/
61-
@Override
62-
public boolean isComposite() {
63-
return false;
64-
}
65-
6657
} //ReferenceUsageImpl

org.omg.sysml/syntax-gen/org/omg/sysml/lang/sysml/impl/SuccessionAsUsageImpl.java

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
3-
* Copyright (c) 2022 Model Driven Solutions, Inc.
3+
* Copyright (c) 2022, 2026 Model Driven Solutions, Inc.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU Lesser General Public License as published by
@@ -36,10 +36,11 @@ public class SuccessionAsUsageImpl extends ConnectorAsUsageImpl implements Succe
3636
/**
3737
* <!-- begin-user-doc -->
3838
* <!-- end-user-doc -->
39-
* @generated
39+
* @generated NOT
4040
*/
4141
protected SuccessionAsUsageImpl() {
4242
super();
43+
isComposite = false;
4344
}
4445

4546
/**
@@ -52,14 +53,4 @@ protected EClass eStaticClass() {
5253
return SysMLPackage.Literals.SUCCESSION_AS_USAGE;
5354
}
5455

55-
// Additional overrides
56-
57-
/**
58-
* @generated NOT
59-
*/
60-
@Override
61-
public boolean isComposite() {
62-
return false;
63-
}
64-
6556
} //SuccessionAsUsageImpl

0 commit comments

Comments
 (0)