Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Xcore] overriding value of a superclass attribute
[Xcore] overriding value of a superclass attribute [message #1434624] Tue, 30 September 2014 10:58 Go to next message
Simone Di Cola is currently offline Simone Di ColaFriend
Messages: 60
Registered: February 2014
Member
Hi all,
I have this situation:

abstract class Parameter{
String name
DataType dataType
int order = "-1"
refers DataChannel[0..*] dataChannels
container Service service opposite parameters
}

class Input extends Parameter{
name = "input"
}

class Output extends Parameter{
name = "output"
}

But I have an error:
A generic type in this context must refer to a classifier or a type parameter

How can I do it? I've tried super.name = "XXX", but it doesn't work as well.

Thanks for your help
Simone
Re: [Xcore] overriding value of a superclass attribute [message #1434628 is a reply to message #1434624] Tue, 30 September 2014 11:02 Go to previous message
Simone Di Cola is currently offline Simone Di ColaFriend
Messages: 60
Registered: February 2014
Member
Sorry I did not notice that this question has been already answered: https://www.eclipse.org/forums/index.php/t/821238/
Previous Topic:[CDO] Postgres Reference List update problem
Next Topic:Copying derived attribute
Goto Forum:
  


Current Time: Tue Apr 23 17:03:51 GMT 2024

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

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

Back to the top