|
12 | 12 | * limitations under the License. |
13 | 13 | */ |
14 | 14 |
|
15 | | -namespace AccordProject.Concerto.Metamodel; |
| 15 | +namespace AccordProject.Concerto; |
16 | 16 | using AccordProject.Concerto; |
17 | 17 | [AccordProject.Concerto.Type(Namespace = "concerto.metamodel", Version = "1.0.0", Name = "Position")] |
18 | 18 | [Newtonsoft.Json.JsonConverter(typeof(AccordProject.Concerto.ConcertoConverterNewtonsoft))] |
@@ -102,6 +102,14 @@ public class Decorator : Concept { |
102 | 102 | [Newtonsoft.Json.JsonProperty("location")] |
103 | 103 | public Range? Location { get; set; } |
104 | 104 | } |
| 105 | +[AccordProject.Concerto.Type(Namespace = "concerto.metamodel", Version = "1.0.0", Name = "DotNetNamespace")] |
| 106 | +[Newtonsoft.Json.JsonConverter(typeof(AccordProject.Concerto.ConcertoConverterNewtonsoft))] |
| 107 | +public class DotNetNamespace : Decorator { |
| 108 | + [Newtonsoft.Json.JsonProperty("$class")] |
| 109 | + public override string _Class { get; } = "[email protected]"; |
| 110 | + [Newtonsoft.Json.JsonProperty("namespace")] |
| 111 | + public string Namespace { get; set; } |
| 112 | +} |
105 | 113 | [AccordProject.Concerto.Type(Namespace = "concerto.metamodel", Version = "1.0.0", Name = "Identified")] |
106 | 114 | [Newtonsoft.Json.JsonConverter(typeof(AccordProject.Concerto.ConcertoConverterNewtonsoft))] |
107 | 115 | public class Identified : Concept { |
@@ -431,6 +439,16 @@ public class LongDomainValidator : Concept { |
431 | 439 | [Newtonsoft.Json.JsonProperty("upper")] |
432 | 440 | public long? Upper { get; set; } |
433 | 441 | } |
| 442 | +[Type(Namespace = "concerto.metamodel", Version = "1.0.0", Name = "AliasedType")] |
| 443 | +[Newtonsoft.Json.JsonConverter(typeof(ConcertoConverterNewtonsoft))] |
| 444 | +public class AliasedType : Concept { |
| 445 | + [Newtonsoft.Json.JsonProperty("$class")] |
| 446 | + public override string _Class { get; } = "[email protected]"; |
| 447 | + [Newtonsoft.Json.JsonProperty("name")] |
| 448 | + public string Name { get; set; } |
| 449 | + [Newtonsoft.Json.JsonProperty("aliasedName")] |
| 450 | + public string AliasedName { get; set; } |
| 451 | +} |
434 | 452 | [AccordProject.Concerto.Type(Namespace = "concerto.metamodel", Version = "1.0.0", Name = "Import")] |
435 | 453 | [Newtonsoft.Json.JsonConverter(typeof(AccordProject.Concerto.ConcertoConverterNewtonsoft))] |
436 | 454 | public abstract class Import : Concept { |
@@ -462,6 +480,8 @@ public class ImportTypes : Import { |
462 | 480 | public override string _Class { get; } = "[email protected]"; |
463 | 481 | [Newtonsoft.Json.JsonProperty("types")] |
464 | 482 | public string[] Types { get; set; } |
| 483 | + [Newtonsoft.Json.JsonProperty("aliasedTypes")] |
| 484 | + public AliasedType?[] AliasedTypes { get; set; } |
465 | 485 | } |
466 | 486 | [AccordProject.Concerto.Type(Namespace = "concerto.metamodel", Version = "1.0.0", Name = "Model")] |
467 | 487 | [Newtonsoft.Json.JsonConverter(typeof(AccordProject.Concerto.ConcertoConverterNewtonsoft))] |
|
0 commit comments