diff --git a/EA-ModelKit/Model/Slims/SlimElement.cs b/EA-ModelKit/Model/Slims/SlimElement.cs index c59dede..b873c74 100644 --- a/EA-ModelKit/Model/Slims/SlimElement.cs +++ b/EA-ModelKit/Model/Slims/SlimElement.cs @@ -40,12 +40,24 @@ public SlimElement(Element element, IReadOnlyList taggedValues) this.Name = element.Name; this.Notes = element.Notes; this.Alias = element.Alias; - this.ElementKind = string.IsNullOrEmpty(element.Stereotype) ? element.Type : element.Stereotype; + this.ElementType = element.Type; + this.Stereotype = element.Stereotype; + this.ElementKind = string.IsNullOrEmpty(this.Stereotype) ? this.ElementType : this.Stereotype; this.TaggedValues = taggedValues.GroupBy(x => x.Name) .ToDictionary(x => x.Key, IReadOnlyList (x) => x.ToList()); } + /// + /// Gets the type of the + /// + public string ElementType { get; } + + /// + /// Gets the applied stereotype to the associated + /// + public string Stereotype { get; } + /// /// Gets the kind of Element that is represented /// diff --git a/EA-ModelKit/Services/Writer/ExcelWriter.cs b/EA-ModelKit/Services/Writer/ExcelWriter.cs index 9f76e38..c74b413 100644 --- a/EA-ModelKit/Services/Writer/ExcelWriter.cs +++ b/EA-ModelKit/Services/Writer/ExcelWriter.cs @@ -63,7 +63,7 @@ public Task WriteAsync(IReadOnlyDictionary exportableObjects) { var headerContent = exportableObjects[0].Headers; - var workSheet = workBook.AddWorksheet(workSheetName); + var workSheet = workBook.AddWorksheet(workSheetName.Replace("/", "")); WriteHeader(workSheet, headerContent); WorkSheetContent(workSheet, headerContent, exportableObjects);