blob: e3f163ce6b5da7643e0c97d3fcbb2472d64a8ba5 [file] [log] [blame]
/*
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: DerivedUnionEObjectEList.java,v 1.3.2.1 2006/10/18 18:43:54 khussey Exp $
*/
package org.eclipse.uml2.common.util;
import java.util.List;
import java.util.ListIterator;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.InternalEObject;
/**
* @since 1.2
*/
public class DerivedUnionEObjectEList
extends DerivedEObjectEList {
public DerivedUnionEObjectEList(Class dataClass, InternalEObject owner,
int featureID, int[] sourceFeatureIDs) {
super(dataClass, owner, featureID, sourceFeatureIDs);
}
public List basicList() {
return new DerivedUnionEObjectEList(dataClass, owner, featureID,
sourceFeatureIDs) {
public ListIterator listIterator(int index) {
return basicListIterator(index);
}
};
}
protected boolean isIncluded(EStructuralFeature feature) {
return true;
}
}