/** | |
* ******************************************************************************* | |
* Copyright (c) 2009 Mia-Software. | |
* 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: | |
* | |
* Fabien Giquel (Mia-Software) - initial API and implementation | |
* Gregoire DUPE (Mia-Software) - initial API and implementation | |
* ******************************************************************************* | |
* | |
* $Id$ | |
*/ | |
package org.eclipse.gmt.modisco.java.cdo.impl; | |
import org.eclipse.emf.ecore.EClass; | |
import org.eclipse.emf.internal.cdo.CDOObjectImpl; | |
import org.eclipse.gmt.modisco.java.ManifestAttribute; | |
import org.eclipse.gmt.modisco.java.cdo.meta.JavaPackage; | |
/** | |
* <!-- begin-user-doc --> | |
* An implementation of the model object '<em><b>Manifest Attribute</b></em>'. | |
* <!-- end-user-doc --> | |
* <p> | |
* The following features are implemented: | |
* <ul> | |
* <li>{@link org.eclipse.gmt.modisco.java.cdo.impl.ManifestAttributeImpl#getKey <em>Key</em>}</li> | |
* <li>{@link org.eclipse.gmt.modisco.java.cdo.impl.ManifestAttributeImpl#getValue <em>Value</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @generated | |
*/ | |
public class ManifestAttributeImpl extends CDOObjectImpl implements ManifestAttribute { | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
protected ManifestAttributeImpl() { | |
super(); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
protected EClass eStaticClass() { | |
return JavaPackage.eINSTANCE.getManifestAttribute(); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
protected int eStaticFeatureCount() { | |
return 0; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public String getKey() { | |
return (String)eGet(JavaPackage.eINSTANCE.getManifestAttribute_Key(), true); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setKey(String newKey) { | |
eSet(JavaPackage.eINSTANCE.getManifestAttribute_Key(), newKey); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public String getValue() { | |
return (String)eGet(JavaPackage.eINSTANCE.getManifestAttribute_Value(), true); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setValue(String newValue) { | |
eSet(JavaPackage.eINSTANCE.getManifestAttribute_Value(), newValue); | |
} | |
} //ManifestAttributeImpl |