View Issue Details

IDProjectCategoryView StatusLast Update
0000481CaseTalk ModelerRepositorypublic2016-01-26 11:32
ReporterwobbenAssigned Towobben 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Version 
Target VersionFutureFixed in Version 
Summary0000481: Implement stereotypes for pattern re-use
DescriptionImplementing stereotypes would benefit easier modeling for repeating facts.

For instance modeling facts like:
- created on
- created by
- updated on
- updated by

Would benefit if these patterns could be supported by 'stereotyping'.
Additional InformationExample:

Basetype:
"<basetype> is created on <date>"
"<basetype> is created by <user>"

Something:
"<Something> exists"

Stereotyping can add related fact expressions:

Something: Stereotype=Basetype
"<Something> exists"
"<Something> is created on <date>"
"<Something> is created by <user>"
TagsNo tags attached.
CaseTalk Edition

Activities

wobben

wobben

2015-12-11 14:10

administrator   ~0000487

During GLR the pattern should be added to every stereotype in the model, and than transformed. The pattern name can be set using the custom attributes.
wobben

wobben

2016-01-26 11:26

administrator   ~0000505

Last edited: 2016-01-26 11:32

View 6 revisions

The FactType should not have an attribute being a stereotype of a certain basetype. The merging needs to be done at the expression level. Therefor the stereotype should have a OTE which is hooked to an OTE (possibly from another model or namespace).

------

[Template.Basetype]
O1: '<basetype>'

[Template.CreatedOn]
F1: "<O1:basetype> is created on <date>"

[Template.CreatedBy]
F2: "<O1:basetype> is created by <user>"

------

Model.Something:
F99: "<Something> exists"
O98: '<Something>'
#O98 extend with pattern from <Template:O1>

------

Applying patterns will result in new facts

[Model.Something]
F99: "<Something> exists"
O98: '<Something>'

[Model.CreatedOn]
F100: "<O98:Something> is created on <date>"
#namespace=Template

[Model.CreatedBy]
F101: "<O98:Something> is created by <user>"
#namespace=Template

Issue History

Date Modified Username Field Change
2014-05-20 10:02 wobben New Issue
2014-05-20 10:02 wobben Status new => assigned
2014-05-20 10:02 wobben Assigned To => wobben
2015-12-11 14:10 wobben Note Added: 0000487
2016-01-26 11:26 wobben Note Added: 0000505
2016-01-26 11:28 wobben Note Edited: 0000505 View Revisions
2016-01-26 11:29 wobben Note Edited: 0000505 View Revisions
2016-01-26 11:32 wobben Note Edited: 0000505 View Revisions
2016-01-26 11:32 wobben Note Edited: 0000505 View Revisions
2016-01-26 11:32 wobben Note Edited: 0000505 View Revisions