Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [Epsilon] Problems using HUTN with UML metamodel
[Epsilon] Problems using HUTN with UML metamodel [message #618110] Tue, 01 July 2008 07:58
Pau Giner is currently offline Pau GinerFriend
Messages: 18
Registered: July 2009
Junior Member
Hello,
I've experienced problems with HUTN when trying to define a UML model.
The problem I guess is that UML metamodel uses its own dataTypes. So
HUTN cannot convert strings to the UML-defined String datatype.


For example, if I define the following:

@Spec {
MetaModel "uml" {
nsUri = "http://www.eclipse.org/uml2/2.1.0/UML"
}
}

Packages {
Package "Pk" {
name: "package"
nestedPackage: Profile "Pr" { name: "profile" }
ownedType: Class "C" { name: "class" }
}
}



I get the following error:

[Line: 9, Column: 5, Reason: Expected String for: name, Line: 10,
Column: 35, Reason: Expected String for: name, Line: 11, Column: 28,
Reason: Expected String for: name]

Is there any construct to handle the creation of these datatypes?

--Pau
Previous Topic:[MOFScript] loading Metamodel
Next Topic:[AM3] Emfatic zoo
Goto Forum:
  


Current Time: Tue Apr 16 21:55:02 GMT 2024

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

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

Back to the top