/******************************************************************************* | |
* Copyright (c) 2016 Fundación Tecnalia Research & Innovation. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
* Contributors: | |
* Huascar Espinoza - initial API and implementation | |
* Alejandra Ruíz - initial API and implementation | |
* Idoya Del Río - initial API and implementation | |
* Mari Carmen Palacios - initial API and implementation | |
* Angel López - initial API and implementation | |
*******************************************************************************/ | |
/** | |
*/ | |
package org.eclipse.opencert.apm.baseline.baseline.impl; | |
import org.eclipse.emf.ecore.EClass; | |
import org.eclipse.emf.internal.cdo.CDOObjectImpl; | |
import org.eclipse.opencert.infra.general.general.RequirementRelKind; | |
import org.eclipse.opencert.apm.baseline.baseline.BaseRequirement; | |
import org.eclipse.opencert.apm.baseline.baseline.BaseRequirementRel; | |
import org.eclipse.opencert.apm.baseline.baseline.BaselinePackage; | |
/** | |
* <!-- begin-user-doc --> | |
* An implementation of the model object '<em><b>Base Requirement Rel</b></em>'. | |
* <!-- end-user-doc --> | |
* <p> | |
* The following features are implemented: | |
* <ul> | |
* <li>{@link org.eclipse.opencert.apm.baseline.baseline.impl.BaseRequirementRelImpl#getTarget <em>Target</em>}</li> | |
* <li>{@link org.eclipse.opencert.apm.baseline.baseline.impl.BaseRequirementRelImpl#getSource <em>Source</em>}</li> | |
* <li>{@link org.eclipse.opencert.apm.baseline.baseline.impl.BaseRequirementRelImpl#getType <em>Type</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @generated | |
*/ | |
public class BaseRequirementRelImpl extends CDOObjectImpl implements BaseRequirementRel { | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
protected BaseRequirementRelImpl() { | |
super(); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
protected EClass eStaticClass() { | |
return BaselinePackage.Literals.BASE_REQUIREMENT_REL; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
protected int eStaticFeatureCount() { | |
return 0; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public BaseRequirement getTarget() { | |
return (BaseRequirement)eGet(BaselinePackage.Literals.BASE_REQUIREMENT_REL__TARGET, true); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setTarget(BaseRequirement newTarget) { | |
eSet(BaselinePackage.Literals.BASE_REQUIREMENT_REL__TARGET, newTarget); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public BaseRequirement getSource() { | |
return (BaseRequirement)eGet(BaselinePackage.Literals.BASE_REQUIREMENT_REL__SOURCE, true); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setSource(BaseRequirement newSource) { | |
eSet(BaselinePackage.Literals.BASE_REQUIREMENT_REL__SOURCE, newSource); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public RequirementRelKind getType() { | |
return (RequirementRelKind)eGet(BaselinePackage.Literals.BASE_REQUIREMENT_REL__TYPE, true); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setType(RequirementRelKind newType) { | |
eSet(BaselinePackage.Literals.BASE_REQUIREMENT_REL__TYPE, newType); | |
} | |
} //BaseRequirementRelImpl |