Replies: 1 comment 11 replies
-
Hi @scottrudy: Thanks for posting your question and its a good one that I'm sure others may be interested in the answer as well. First off, the CIM itself, by design, is intended to serve purely as an information model for our particular domain. As such, in this CIM "information world", we also have de facto rules and conventions that we enforce that all of our supporting tooling is expected to adhere to as well. This is one of those areas. So, to directly address your question the answer is "Yes", CIMTool does enforce at the profiling level this rule of only 0..1 or 1..1 (i.e. enforces a max cardinality of 1) for attributes within a class (see: ). Hopefully this helps. Again, thanks for using the discussion forum to get answers to your questions. It's helps the community in general so we appreciate it. As for the use of associations to these types of classes, this is not allowed. From the modeling guide: |
Beta Was this translation helpful? Give feedback.
-
I know there is a rule that states attributes must have a multiplicity of
0..1
in the model. I noticed that the CImTool also seems to enforce that restriction on profiles. So in order to get a type in a Profile with a<<Primitive>>
or<<Compound>>
stereotype to show up as an XSD element where themaxOccurs="unbounded"
I'm forced to create an association in the model. Is that by design?Beta Was this translation helpful? Give feedback.
All reactions