Menu

#44 Constraining classification of public properties

open
nobody
XMI (11)
5
2012-12-20
2012-05-07
No

Constraining classification of public properties is currently done using XML in the template.xml -- we should try to work out the OCL to express this constraint

E,g, Template "Part"
The id is constrained as
RDL constraint 1:
There must be one identifier that is the part number.
The reference data for:
OASIS:Identification.class -> ClassifiedByOwlClass.class
is restricted to the following class or a subclass:
http://docs.oasis-open.org/ns/plcs/oasis-rdl-en#Part_identification_code

This would be better written in the OCL rather than the template XML

Discussion


Log in to post a comment.