1 17 package org.eclipse.emf.ecore.util; 18 19 20 import org.eclipse.emf.ecore.EObject; 21 import org.eclipse.emf.ecore.InternalEObject; 22 23 24 public class EObjectResolvingEList extends EObjectEList 25 { 26 public static class Unsettable extends EObjectEList.Unsettable 27 { 28 public Unsettable(Class dataClass, InternalEObject owner, int featureID) 29 { 30 super(dataClass, owner, featureID); 31 } 32 33 protected boolean hasProxies() 34 { 35 return true; 36 } 37 38 protected Object resolve(int index, Object object) 39 { 40 return ((EcoreEList)this).resolve(index, (EObject)object); 42 } 43 } 44 45 public EObjectResolvingEList(Class dataClass, InternalEObject owner, int featureID) 46 { 47 super(dataClass, owner, featureID); 48 } 49 50 protected boolean hasProxies() 51 { 52 return true; 53 } 54 55 protected Object resolve(int index, Object object) 56 { 57 return ((EcoreEList)this).resolve(index, (EObject)object); 59 } 60 } 61 | Popular Tags |