[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Complex Map Modeling

I have an abstract class that two other classes extend. I need a method in this abstract class like this:

protected abstract EMap<MyClass, ?> getMap();


Then, I have two classes (not abstract) that extend this abstract class that need to look like this:


Class 1
protected EMap<MyClass, ?> getMap();
public void setMap(EMap<MyClass, ADifferentClass>)

Class 2
protected EMap<MyClass, ?> getMap();
public void setMap(EMap<MyClass, SomeOtherClass>)


Is it possible to model something like this in EMF? I've modeled maps before but nothing like this.