Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions engine-contract.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,20 @@
"kind": "package",
"consumers": []
},
{
"name": "MigrationMetadata::AppliedStereotype",
"kind": "metadata",
"attributes": [
"stereotype",
"profile",
"tags"
],
"migratorEmitted": true,
"consumers": [
"internal/semantic/semantics/synthesized_name.go",
"internal/translate/migrate/migrate.go"
]
},
{
"name": "MigrationMetadata::DeferredEvent",
"kind": "metadata",
Expand Down
12 changes: 12 additions & 0 deletions libraries/MigrationMetadata.sysml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ library package MigrationMetadata {
attribute sourceName : ScalarValues::String;
}

metadata def AppliedStereotype {
doc /* The annotated element carried the named stereotype in the
* source, and its v2 form does not: the element is itself the
* stereotype's form, as a dependency is a «Trace»'s, or the
* stereotype comes from a profile the migration did not write,
* named by profile. tags keeps, as `tag = value`, the tag values
* no v2 feature holds. */
attribute stereotype : ScalarValues::String;
attribute profile : ScalarValues::String[0..1];
attribute tags : ScalarValues::String[0..*];
}

metadata def StandIn {
doc /* The annotated element stands for no element of the source: the
* migration made it up to write what the source left implicit,
Expand Down
Loading