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
Member
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,
Krzysztof
Previous Topic:Getting complex stereotype properties values
Next Topic:Componen element as a lifeline?
Goto Forum:
  


Current Time: Fri Apr 26 12:22:51 GMT 2024

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

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

Back to the top