Skip to main content



      Home
Home » Modeling » UML2 » AddStructuralFeatureValue constraint
AddStructuralFeatureValue constraint [message #625958] Fri, 01 February 2008 07:20
Eclipse UserFriend
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: Sun Jul 06 08:11:39 EDT 2025

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

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

Back to the top