Bug 277030 - TCT27: IES Translation (org\eclipse\m2m\internal\qvt\oml\ast\parser)
Summary: TCT27: IES Translation (org\eclipse\m2m\internal\qvt\oml\ast\parser)
Status: NEW
Alias: None
Product: QVTo
Classification: Modeling
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 19:00 EDT by Tushara CLA
Modified: 2009-05-24 15:06 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tushara CLA 2009-05-19 19:00:02 EDT
Hi,

In the file eclipse\plugins\org.eclipse.m2m.qvt.oml\org\eclipse\m2m\internal\qvt\oml\ast\parser\ValidationMessages.properties, we came across the following sentence:

Name of the constructor is necessarily the name of the context type

This sentence is a little hard to understand.
Could you pls reword it for a better understanding?

Thanks a lot in advance!
Comment 1 Sergey Boyko CLA 2009-05-24 15:06:59 EDT
In reply to comment #1

Sentence "Name of the constructor is necessarily the name of the context type" was copied from the QVT specification (section 8.2.1.13 "Constructor", Notation part).

It means that name of the constructor must coincide with name of context type. For example, for the context type named MyClass name of the constructor should also be MyClass. 
In QVT script that's notated like:  MyClass::MyClass()