title: How to access certain EStructuralFeatures of an EMF Model?
body: <p>I know that there are ways to access an <code>EAttribute</code> of an Eclipse EMF model by its <code>featureID</code> or by its name via different indirect approaches. For that I found the following: <a href="https://stackoverflow.com/questions/13370773/eclipse-emf-how-to-get-access-eattribute-by-name/19861549#19861549">Eclipse EMF: How to get access EAttribute by name?</a></p>
  
  <p>But what if I don't know the name of the attribute I want to get? Let's say, based on the design, the model has some fixed attributes by the developer, along with the features that can be set dynamically by the user.</p>
  
  <p>So, for the time being I use the <code>getEAllStructuralFeatures()</code> and use indexes via <code>get()</code> to reach to the by-the-user-created attributes, since I know that the list I get will have the fixed attributes of the model as its first elements beginning with the index 0. But I find this solution unclear and inefficient. Also in some cases, that I want to work, not suitable.</p>
  
  <p>E.g: <code>IEMFEditProperty prop = EMFEditProperties.list(editingDomain, EMFMODELPackage.Literals.EMFMODEL.getEAllStructuralFeatures().get(X));</code></p>
  
  <p>Do you know a solution or a workaround for this problem? As far as I can see, there are no direct methods to get such dynamically created features of the model.</p>
  
  <p>Every help will be appreciated.</p>