Project

General

Profile

CIM Issues #5015

Create validation constaints for the UML model and profile

Added by Herbert Falk over 2 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Author/Contact Info:
Kendall Demaree
Base Release:
Solution to be Applied To:
Solution Version:
Solution Applied By:
Completion Date:
CIM Keywords:
Breaking Change:
No
Breaking Change Description:
CIM Impacted Groups:
WG13
Requestor:
Standard(s):

61970-501

Version:
v2
Clause:
Sub-Clause:
Paragraph:
Table:
Originally Closed in Version:
Origination Date:
10/05/2016
Origination ID:
13_269
Originally Assigned To:
Svein Harald Olsen

Description

There is a need to describe constraints to the information model and profiles. Using static model (classes and attributes) for modeling constraints is not recommended. Object Constraint Language (OCL) is part of UML 2.0 and are to some degree supported by Sparx EA.


Proposed Solution

The Sparx EA usage and support is outside the scope of 61970-501, and will be follow up as part of the requirement to the modeling and profiling tool. As we are using semantic web languages RDFS-plus for the vocabulary it would make to use Shapes Constraint Language (SHACL) (https://www.w3.org/TR/shacl/) for the validation and constraints. It is also a strong believe it will be easier to convert from SHACL to OCL than the other way. However, we might need to see in the dialog with Sparx how the constrains can be model the easiest to make it possible to be exported as SHACL.


Decision

[2022-09-22: The use of SHACL as part of the 501 profiles will be added to Ed2 fo 501. Need to evaluate the need to include OCL -> SHACL transformation.]

#1

Updated by Eric Stephan over 2 years ago

  • Subject changed from Specify validation constaints like via OCL Add constraints to Specify validation constaints like via OCLAdd constraints
  • Decision updated (diff)
#2

Updated by Svein Olsen over 1 year ago

  • Description updated (diff)
  • Base Release deleted (CIM16)
  • Proposed Solution updated (diff)
  • Standard(s) set to 61970-501
  • Decision updated (diff)
  • Originally Assigned To set to Svein Harald Olsen

The original description:
"
Specify validation constaints like via OCL
Add constraints to the UML model in something like the form of OCL constraints. CGMES has already started doing something similar.
"
This is changed to:
"
There is a need to describe constraints to the information model and profiles. Using static model (classes and attributes) for modeling constraints is not recommended. Object Constraint Language (OCL) is part of UML 2.0 and are to some degree supported by Sparx EA.
"

#3

Updated by Svein Olsen over 1 year ago

  • Subject changed from Specify validation constaints like via OCLAdd constraints to Create validation constaints for the UML model and profile
#4

Updated by Eric Stephan over 1 year ago

  • Status changed from Open to In Progress
  • Version set to v2

Also available in: Atom PDF