/** * <copyright> * * Copyright (c) 2005-2006 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 * * </copyright> * * $Id: BorrowerImpl.java,v 1.4 2007/02/20 17:41:55 emerks Exp $ */ package org.eclipse.emf.examples.extlibrary.impl; import java.util.Collection; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; import org.eclipse.emf.ecore.util.InternalEList; import org.eclipse.emf.examples.extlibrary.Borrower; import org.eclipse.emf.examples.extlibrary.EXTLibraryPackage; import org.eclipse.emf.examples.extlibrary.Lendable; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Borrower</b></em>'. * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> * <li>{@link org.eclipse.emf.examples.extlibrary.impl.BorrowerImpl#getBorrowed <em>Borrowed</em>}</li> * </ul> * </p> * * @generated */ public class BorrowerImpl extends PersonImpl implements Borrower { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected BorrowerImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return EXTLibraryPackage.Literals.BORROWER; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") public EList<Lendable> getBorrowed() { return (EList<Lendable>)eGet(EXTLibraryPackage.Literals.BORROWER__BORROWED, true); } } //BorrowerImpl