Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
14a9c2df
Commit
14a9c2df
authored
8 months ago
by
Sophie Coudert
Browse files
Options
Downloads
Patches
Plain Diff
comment detail
parent
4b2001f9
No related branches found
No related tags found
3 merge requests
!504
merge first stable version of Avatar-SysML V2
,
!503
merge the first stable version of the Avatar-SysML parser/generator
,
!501
Avatar sys ml 04 2024
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/avatartranslator/AvatarDataTypePrimitiveFields.java
+5
-0
5 additions, 0 deletions
.../java/avatartranslator/AvatarDataTypePrimitiveFields.java
with
5 additions
and
0 deletions
src/main/java/avatartranslator/AvatarDataTypePrimitiveFields.java
+
5
−
0
View file @
14a9c2df
...
...
@@ -116,6 +116,11 @@ public class AvatarDataTypePrimitiveFields {
}
map
.
put
(
dt
,
primitiveFields
);
}
/** unroll the nested datatype among the one provided as input to build the lists of primitive fields associated
* to each datatype.
* The returned result is a map that links each datatype with its primitive fields extension.
*/
public
static
HashMap
<
AvatarDataType
,
AvatarDataTypePrimitiveFields
>
buildMap
(
List
<
AvatarDataType
>
dtList
,
List
<
String
>
err
)
{
HashMap
<
AvatarDataType
,
AvatarDataTypePrimitiveFields
>
map
=
new
HashMap
<
AvatarDataType
,
AvatarDataTypePrimitiveFields
>();
for
(
AvatarDataType
dt
:
dtList
)
buildPrimitiveFields
(
dt
,
map
,
new
ArrayList
<
AvatarAttribute
>(),
err
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment