View Issue Details

IDProjectCategoryView StatusLast Update
0000481CaseTalk ModelerRepositorypublic2016-01-26 11:32
ReporterBCP Software Assigned ToBCP Software  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Target VersionFuture 
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

BCP Software

BCP Software

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.
BCP Software

BCP Software

2016-01-26 11:26

administrator   ~0000505

Last edited: 2016-01-26 11:32

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 BCP Software New Issue
2014-05-20 10:02 BCP Software Status new => assigned
2014-05-20 10:02 BCP Software Assigned To => BCP Software
2015-12-11 14:10 BCP Software Note Added: 0000487
2016-01-26 11:26 BCP Software Note Added: 0000505
2016-01-26 11:28 BCP Software Note Edited: 0000505
2016-01-26 11:29 BCP Software Note Edited: 0000505
2016-01-26 11:32 BCP Software Note Edited: 0000505
2016-01-26 11:32 BCP Software Note Edited: 0000505
2016-01-26 11:32 BCP Software Note Edited: 0000505