/** * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) 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: * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.tests.model2.impl; import org.eclipse.emf.cdo.tests.model2.Model2Package; import org.eclipse.emf.cdo.tests.model2.Task; import org.eclipse.emf.cdo.tests.model2.TaskContainer; import org.eclipse.emf.internal.cdo.CDOObjectImpl; import org.eclipse.emf.ecore.EClass; /** * An implementation of the model object 'Task'. *

* The following features are implemented: *

*

* * @generated */ public class TaskImpl extends CDOObjectImpl implements Task { /** * * * @generated */ protected TaskImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Model2Package.Literals.TASK; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public TaskContainer getTaskContainer() { return (TaskContainer)eGet(Model2Package.Literals.TASK__TASK_CONTAINER, true); } /** * * * @generated */ public void setTaskContainer(TaskContainer newTaskContainer) { eSet(Model2Package.Literals.TASK__TASK_CONTAINER, newTaskContainer); } /** * * * @generated */ public String getDescription() { return (String)eGet(Model2Package.Literals.TASK__DESCRIPTION, true); } /** * * * @generated */ public void setDescription(String newDescription) { eSet(Model2Package.Literals.TASK__DESCRIPTION, newDescription); } /** * * * @generated */ public boolean isDone() { return (Boolean)eGet(Model2Package.Literals.TASK__DONE, true); } /** * * * @generated */ public void setDone(boolean newDone) { eSet(Model2Package.Literals.TASK__DONE, newDone); } } // TaskImpl