[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [plcs-dex] Classification of View_definition_context
I agree with David. The strings are nearly always hidden in mapping paths or usage guides etc. I think that the RD is a better approach. The allowable string values are documented and agreed and stored in one place – the RDL. After all, we have been advocating the approach in PLCS since the beginning.
(BTW – this email contains diagrams – if anyone does not receive the diagrams please let us know as I am not sure if I am using too much Microsoft specific stuff to create the email)
I would advocate using both strings and classification as shown in the diagram below You can deduce which classification is the application_domain and which is the life_cycle stage by looking at the super classes in the reference data. The only rule is that the entity string values should be the same as the class names.
We do have the option to use attribute classification as shown in the diagram below. However, I am not sure what benefit this brings as we can achieve exactly the same affect using classification assignment as described above. Hence we agreed a while back that we would avoid using attribute classcifcation – this is documented in Capability (C010): assigning_reference_data
Regards ------------------------------------------- -----Original Message-----
All,
I’d say one benefit to the RD approach is that users can debate and agree on domain and life cycle stage and then, most importantly, easily *share* that agreement. Attribute value constraints could well be hidden in text or EXPRESS rules or not agreed at all if RD isn’t used. Even if pilots decide agree to use the attribute values for some reason (e.g. they only ever use one domain and life cycle stage), publishing the RD as the source of the standard values is still useful.
Cheers, David
-----Original Message-----
The strings are just listing the possible exchange values. The RDL route does the same but allows the list of possibles to expand...
However, that aside, and assuming the RDL route, your example would then become either;
#230=VIEW_DEFINITION_CONTEXT('application_domain', 'life_cycle_stage', 'part definition'); #231=CLASSIFICATION_ASSIGNMENT(#232, (#230), ''); #232=EXTERNAL_CLASS($, 'product life cycle support', $, $); #233=CLASSIFICATION_ASSIGNMENT(#234, (#230), ''); #234=EXTERNAL_CLASS($, 'design', $, $); OR; #230=VIEW_DEFINITION_CONTEXT('', '', 'part definition'); #231=CLASSIFICATION_ASSIGNMENT(#232, (#230), ''); #232=EXTERNAL_CLASS($, 'product life cycle support', $, $); #233=CLASSIFICATION_ASSIGNMENT(#234, (#230), ''); #234=EXTERNAL_CLASS($, 'design', $, $); I don't really see the benefit of one over the other (or in expanding from 1 instance to 5 for that matter!). The former just documents the attribute name (class) which we already know from the model & is therefore, arguably redundant. Neither case dictates any order in which the assignments should be read in terms of the attributes of #230, other than their position in the file, so to remove any ambiguity we probably have to use another mechanism. Although not ideal (semantically), Identification_assignment could be used as in the following .. #230=VIEW_DEFINITION_CONTEXT('', '', 'part definition'); #231=IDENTIFICATION_ASSIGNMENT('application_domain', '', $, (#230)); #232=CLASSIFICATION_ASSIGNMENT(#233, (#231), ''); #233=EXTERNAL_CLASS($, 'product life cycle support', $, $); #234=IDENTIFICATION_ASSIGNMENT('life_cycle_stage', '', $, (#230)); #235=CLASSIFICATION_ASSIGNMENT(#236, (#234), ''); #236=EXTERNAL_CLASS($, 'design', $, $); However, maybe there's a property or attribute classification that's better suited to this. I can't comment on the pilot's usage, so I'll leave that to others. kind regards, Tim
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]