Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » OCL expr as an initializer
OCL expr as an initializer [message #625344] Wed, 31 October 2007 08:20
Krzysztof Kaczmarski is currently offline Krzysztof KaczmarskiFriend
Messages: 88
Registered: July 2009
Member
Hi All,

in the OCL standard description there is an information that OCL
expression may be used as an initialization expression for UML class
attributes. I suppose that in such case Property's defaultValue is set
to ExpressionInOCL object.
My question is how are the types and values mapped between OCL and
UML. If we have a Property that is a collection ( dogs:Dog[0..*] ) are
the values from a resulting OCL matched automatically?

This question has a little deeper meaning for me. If we use
ExpressionInOCL as a ValueSpecification in a UML Action (for example
ValueSpecificationAction) and we need to use OutputPin and ObjectFlow
to actually consume resulting values. How is the OCL collection
interpreted then?

Thanks in advance,
Krzysztof
Previous Topic:Re: Model Instances of a UML2 metamodel extension does not work for me [XMI coding problems]
Next Topic:OCL expr as an initializer
Goto Forum:
  


Current Time: Thu Sep 26 09:18:59 GMT 2024

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

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

Back to the top