|AddStructuralFeatureValue constraint [message #625958]
||Fri, 01 February 2008 12:20
| Krzysztof Kaczmarski
Registered: July 2009
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,
Powered by FUDForum
. Page generated in 0.02208 seconds