/**
*/
package de.hub.srcrepo.repositorymodel.emffrag.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.gmt.modisco.java.NamedElement;
import de.hub.emffrag.FObjectImpl;
import de.hub.srcrepo.repositorymodel.Target;
import de.hub.srcrepo.repositorymodel.emffrag.metadata.RepositoryModelPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Target</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link de.hub.srcrepo.repositorymodel.emffrag.impl.TargetImpl#getId <em>Id</em>}</li>
* <li>{@link de.hub.srcrepo.repositorymodel.emffrag.impl.TargetImpl#getTarget <em>Target</em>}</li>
* </ul>
*
* @generated
*/
public class TargetImpl extends FObjectImpl implements Target {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected TargetImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return RepositoryModelPackage.Literals.TARGET;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getId() {
return (String)eGet(RepositoryModelPackage.Literals.TARGET__ID, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setId(String newId) {
eSet(RepositoryModelPackage.Literals.TARGET__ID, newId);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NamedElement getTarget() {
return (NamedElement)eGet(RepositoryModelPackage.Literals.TARGET__TARGET, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTarget(NamedElement newTarget) {
eSet(RepositoryModelPackage.Literals.TARGET__TARGET, newTarget);
}
} //TargetImpl