Using template classifier defined in a Profile [message #625677] |
Wed, 05 December 2007 21:53 |
Dave Carlson Messages: 402 Registered: July 2009 |
Senior Member |
|
|
I am looking for clarification on interpretation and use of the UML spec for
profiles, thanks for any input. In my profile (for XSD definition), I
define a DataType with a template parameter that must be used when applying
some aspects of the profile (binding to the template when defining an XSD
list datatype). Can a user model that has applied this profile create a
binding to this template that is defined in the profile?
Reading the UML spec, profiles may define or use type libraries as part of
the profile definition, and an implementation is required to enable
application of a single "logical unit" of profile + libraries. But it does
not say explicitly that classifiers defined within the profile itself can be
used, although this seems like a reasonable simplification when I have only
one template in my profile library.
I am using Rational Software Modeler (RSM) to test this design. After
applying a profile to the model, I don't find any way to create a binding
reference to the template in the profile. Is this a bug (missing
feature...) in RSM, or am I misinterpreting the spec?
Thanks,
Dave Carlson
|
|
|
Powered by
FUDForum. Page generated in 0.03040 seconds