Skip to content

Commit eea4221

Browse files
committed
Merge branch 'release/2020-12-rc1'
2 parents 013f02a + 1b2bdda commit eea4221

317 files changed

Lines changed: 17818 additions & 998 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* SysML v2 REST/HTTP Pilot Implementation
3+
* Copyright (C) 2020 InterCAX LLC
4+
* Copyright (C) 2020 California Institute of Technology ("Caltech")
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU Lesser General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*
19+
* @license LGPL-3.0-or-later <http://spdx.org/licenses/LGPL-3.0-or-later>
20+
*/
21+
22+
package org.omg.sysml.metamodel;
23+
24+
import java.util.Collection;
25+
import java.util.List;
26+
import java.util.Set;
27+
28+
public interface AnnotatingFeature extends AnnotatingElement, Feature, MofObject {
29+
DataType getMetadataType();
30+
31+
Collection<? extends MetadataFeature> getOwnedMetadata();
32+
}

app/org/omg/sysml/metamodel/Definition.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,6 @@ public interface Definition extends Classifier, MofObject {
7777
Collection<? extends RenderingUsage> getOwnedRendering();
7878

7979
Collection<? extends VerificationCaseUsage> getOwnedVerificationCase();
80+
81+
Collection<? extends EnumerationUsage> getOwnedEnumeration();
8082
}

app/org/omg/sysml/metamodel/Element.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface Element extends MofObject {
3232

3333
java.util.UUID getIdentifier();
3434

35-
Package getOwningNamespace();
35+
Namespace getOwningNamespace();
3636

3737
String getName();
3838

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* SysML v2 REST/HTTP Pilot Implementation
3+
* Copyright (C) 2020 InterCAX LLC
4+
* Copyright (C) 2020 California Institute of Technology ("Caltech")
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU Lesser General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*
19+
* @license LGPL-3.0-or-later <http://spdx.org/licenses/LGPL-3.0-or-later>
20+
*/
21+
22+
package org.omg.sysml.metamodel;
23+
24+
import java.util.Collection;
25+
import java.util.List;
26+
import java.util.Set;
27+
28+
public interface ElementFilter extends Relationship, MofObject {
29+
MetadataCondition getCondition();
30+
31+
Package getFilteredPackage();
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* SysML v2 REST/HTTP Pilot Implementation
3+
* Copyright (C) 2020 InterCAX LLC
4+
* Copyright (C) 2020 California Institute of Technology ("Caltech")
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU Lesser General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*
19+
* @license LGPL-3.0-or-later <http://spdx.org/licenses/LGPL-3.0-or-later>
20+
*/
21+
22+
package org.omg.sysml.metamodel;
23+
24+
import java.util.Collection;
25+
import java.util.List;
26+
import java.util.Set;
27+
28+
public interface EnumerationDefinition extends AttributeDefinition, MofObject {
29+
Collection<? extends EnumerationUsage> getEnumeratedValue();
30+
31+
Boolean getIsVariation();
32+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* SysML v2 REST/HTTP Pilot Implementation
3+
* Copyright (C) 2020 InterCAX LLC
4+
* Copyright (C) 2020 California Institute of Technology ("Caltech")
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU Lesser General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*
19+
* @license LGPL-3.0-or-later <http://spdx.org/licenses/LGPL-3.0-or-later>
20+
*/
21+
22+
package org.omg.sysml.metamodel;
23+
24+
import java.util.Collection;
25+
import java.util.List;
26+
import java.util.Set;
27+
28+
public interface EnumerationUsage extends AttributeUsage, MofObject {
29+
EnumerationDefinition getEnumerationDefinition();
30+
}

app/org/omg/sysml/metamodel/Expose.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
import java.util.Set;
2727

2828
public interface Expose extends Import, MofObject {
29-
ModelQuery getModelQuery();
29+
3030
}

app/org/omg/sysml/metamodel/Import.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
import java.util.Set;
2727

2828
public interface Import extends Relationship, MofObject {
29-
Package getImportedPackage();
29+
Namespace getImportedNamespace();
3030

31-
Package getImportOwningPackage();
31+
Namespace getImportOwningNamespace();
3232

3333
VisibilityKind getVisibility();
34+
35+
Boolean getIsRecursive();
3436
}

app/org/omg/sysml/metamodel/LiteralExpression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
import java.util.List;
2626
import java.util.Set;
2727

28-
public interface LiteralExpression extends Expression, MofObject {
28+
public interface LiteralExpression extends MetadataExpression, MofObject {
2929

3030
}

app/org/omg/sysml/metamodel/Membership.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ public interface Membership extends Relationship, MofObject {
3434

3535
Element getOwnedMemberElement();
3636

37-
Package getMembershipOwningPackage();
37+
Namespace getMembershipOwningNamespace();
3838
}

0 commit comments

Comments
 (0)