Skip to content

Update .EAP file to reflect consensus on changes from C# source discussions #4

@karensmiley

Description

@karensmiley

This issue is to update the .EAP file after consensus is reached on #2 .

Main revisions made to code since auto-generating from the revised .EAP file are:

  • Initialize all List<> and string properties to default empty values (instead of defaulting to nulls)
  • Define and reference static string lists for the allowed values for Trend, Timing, and ProductionMethodology
  • Consolidate the auto-generated KPI_Definition_Time_Range, KPI_Instance_Time_Range, and KPI_Value_Time_Range classes into a single KPI_Time_Range class
  • Modify Recurrence and Duration from DateTime to string in KPI_Time_Range
  • Pencil in a HierarchyScope element (inclusion in schema to be decided in Resolve whether to add HierarchyScope to schema #3 )
  • For each object referenceable by ID, change the auto-generated List to List

    There's also a bit of confusion in the .EAP around references between Definitions, Instances, and Values. Some minor points are documented in the source code files of the addCSharpSource branch.

    Goal is to keep the .EAP file as close as possible to one that can auto-generate C# (and Java) going forward, via the EA MDG plugin. Some of these items (eg initializations to empty) may not be possible in EAP. They should be scriptable, though.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions