Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » How to set an class extended attribute
How to set an class extended attribute [message #757792] Mon, 21 November 2011 12:20
Patricia Espada is currently offline Patricia Espada
Messages: 47
Registered: November 2011
Member
Hi

I'm trying to set an attribute that is extended in the .ecore file. I have two classes, an abstract named link, and a classe that extends the link class. Just like these:

abstract class Link {
attr String label;
...
}

class SomeLink extends Link {
...
}

I want in some way to be able to make something like these:

class SomeLink extends Link {
label = 'Some';
}


What attribute properties must I have to do this?
Previous Topic:Proper API documentation in javadoc of generated classes
Next Topic:Ecore Diagram Manipulation
Goto Forum:
  


Current Time: Thu Jul 31 23:59:57 EDT 2014

Powered by FUDForum. Page generated in 0.01661 seconds