Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » AddStructuralFeatureValue constraint
AddStructuralFeatureValue constraint [message #625958] Fri, 01 February 2008 12:20
Krzysztof Kaczmarski is currently offline Krzysztof KaczmarskiFriend
Messages: 88
Registered: July 2009
Hi All,

I found the following constraint on InputPin's value

self.value.type = self.structuralFeature.featuringClassifier

in the WriteStructuralFeatureAction which is used in other specialized
actions (AddStructualFeatureValueAction). The question is, does this
constraint allow to assign a value of a specialized type to a more
general property type?
Like to put a Student object in a property of Person type?
If such an assignment is not allowed, what is the reason?

Thanks for any suggestions,
Previous Topic:Getting complex stereotype properties values
Next Topic:Componen element as a lifeline?
Goto Forum:

Current Time: Mon Aug 08 23:49:05 GMT 2022

Powered by FUDForum. Page generated in 0.02208 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top