directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oer...@apache.org
Subject svn commit: r519385 [4/7] - in /directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent: ./ rpm.factory.archetype/ rpm.factory.archetype/.settings/ rpm.factory.archetype/src/ rpm.factory.archetype/src/main/ rpm.factory.archetype/src/main/resources/...
Date Sat, 17 Mar 2007 18:19:24 GMT
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Package.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Package.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Package.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Package.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,630 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ *   <li>each class,</li>
+ *   <li>each feature of each class,</li>
+ *   <li>each enum,</li>
+ *   <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Factory
+ * @model kind="package"
+ * @generated
+ */
+public interface SpecV100Package extends EPackage
+{
+    /**
+     * The package name.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String eNAME = "v100";
+
+    /**
+     * The package namespace URI.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String eNS_URI = "http:/maven.apache.org/rpm.factory.model.spec";
+
+    /**
+     * The package namespace name.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String eNS_PREFIX = "spec";
+
+    /**
+     * The singleton instance of the package.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    SpecV100Package eINSTANCE = org.apache.maven.rpm.factory.model.spec.v100.impl.SpecV100PackageImpl.init();
+
+    /**
+     * The meta object id for the '{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl <em>Abstract Spec Descriptor</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl
+     * @see org.apache.maven.rpm.factory.model.spec.v100.impl.SpecV100PackageImpl#getAbstractSpecDescriptor()
+     * @generated
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR = 0;
+
+    /**
+     * The feature id for the '<em><b>Summary</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__SUMMARY = 0;
+
+    /**
+     * The feature id for the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__NAME = 1;
+
+    /**
+     * The feature id for the '<em><b>Version</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__VERSION = 2;
+
+    /**
+     * The feature id for the '<em><b>Release</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__RELEASE = 3;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION = 4;
+
+    /**
+     * The feature id for the '<em><b>License</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__LICENSE = 5;
+
+    /**
+     * The feature id for the '<em><b>Vendor</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__VENDOR = 6;
+
+    /**
+     * The feature id for the '<em><b>Url</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__URL = 7;
+
+    /**
+     * The feature id for the '<em><b>Group</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__GROUP = 8;
+
+    /**
+     * The feature id for the '<em><b>Distribution</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION = 9;
+
+    /**
+     * The feature id for the '<em><b>Build Architecture</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE = 10;
+
+    /**
+     * The number of structural features of the '<em>Abstract Spec Descriptor</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ABSTRACT_SPEC_DESCRIPTOR_FEATURE_COUNT = 11;
+
+    /**
+     * The meta object id for the '{@link org.apache.maven.rpm.factory.model.spec.v100.impl.LibrarySpecDescriptorImpl <em>Library Spec Descriptor</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.maven.rpm.factory.model.spec.v100.impl.LibrarySpecDescriptorImpl
+     * @see org.apache.maven.rpm.factory.model.spec.v100.impl.SpecV100PackageImpl#getLibrarySpecDescriptor()
+     * @generated
+     */
+    int LIBRARY_SPEC_DESCRIPTOR = 1;
+
+    /**
+     * The feature id for the '<em><b>Summary</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__SUMMARY = ABSTRACT_SPEC_DESCRIPTOR__SUMMARY;
+
+    /**
+     * The feature id for the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__NAME = ABSTRACT_SPEC_DESCRIPTOR__NAME;
+
+    /**
+     * The feature id for the '<em><b>Version</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__VERSION = ABSTRACT_SPEC_DESCRIPTOR__VERSION;
+
+    /**
+     * The feature id for the '<em><b>Release</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__RELEASE = ABSTRACT_SPEC_DESCRIPTOR__RELEASE;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__DESCRIPTION = ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION;
+
+    /**
+     * The feature id for the '<em><b>License</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__LICENSE = ABSTRACT_SPEC_DESCRIPTOR__LICENSE;
+
+    /**
+     * The feature id for the '<em><b>Vendor</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__VENDOR = ABSTRACT_SPEC_DESCRIPTOR__VENDOR;
+
+    /**
+     * The feature id for the '<em><b>Url</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__URL = ABSTRACT_SPEC_DESCRIPTOR__URL;
+
+    /**
+     * The feature id for the '<em><b>Group</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__GROUP = ABSTRACT_SPEC_DESCRIPTOR__GROUP;
+
+    /**
+     * The feature id for the '<em><b>Distribution</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__DISTRIBUTION = ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION;
+
+    /**
+     * The feature id for the '<em><b>Build Architecture</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE = ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE;
+
+    /**
+     * The feature id for the '<em><b>Requires Dependencies</b></em>' reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES = ABSTRACT_SPEC_DESCRIPTOR_FEATURE_COUNT + 0;
+
+    /**
+     * The feature id for the '<em><b>Library Directory</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY = ABSTRACT_SPEC_DESCRIPTOR_FEATURE_COUNT + 1;
+
+    /**
+     * The number of structural features of the '<em>Library Spec Descriptor</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int LIBRARY_SPEC_DESCRIPTOR_FEATURE_COUNT = ABSTRACT_SPEC_DESCRIPTOR_FEATURE_COUNT + 2;
+
+
+    /**
+     * Returns the meta object for class '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor <em>Abstract Spec Descriptor</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Abstract Spec Descriptor</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor
+     * @generated
+     */
+    EClass getAbstractSpecDescriptor();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getSummary <em>Summary</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Summary</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getSummary()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Summary();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getName <em>Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Name</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getName()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Name();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVersion <em>Version</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Version</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVersion()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Version();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getRelease <em>Release</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Release</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getRelease()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Release();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Description</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDescription()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Description();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getLicense <em>License</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>License</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getLicense()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_License();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVendor <em>Vendor</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Vendor</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVendor()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Vendor();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getUrl <em>Url</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Url</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getUrl()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Url();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getGroup <em>Group</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Group</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getGroup()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Group();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDistribution <em>Distribution</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Distribution</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDistribution()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_Distribution();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getBuildArchitecture <em>Build Architecture</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Build Architecture</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getBuildArchitecture()
+     * @see #getAbstractSpecDescriptor()
+     * @generated
+     */
+    EAttribute getAbstractSpecDescriptor_BuildArchitecture();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor <em>Library Spec Descriptor</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Library Spec Descriptor</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor
+     * @generated
+     */
+    EClass getLibrarySpecDescriptor();
+
+    /**
+     * Returns the meta object for the reference '{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getRequiresDependencies <em>Requires Dependencies</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the reference '<em>Requires Dependencies</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getRequiresDependencies()
+     * @see #getLibrarySpecDescriptor()
+     * @generated
+     */
+    EReference getLibrarySpecDescriptor_RequiresDependencies();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getLibraryDirectory <em>Library Directory</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Library Directory</em>'.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getLibraryDirectory()
+     * @see #getLibrarySpecDescriptor()
+     * @generated
+     */
+    EAttribute getLibrarySpecDescriptor_LibraryDirectory();
+
+    /**
+     * Returns the factory that creates the instances of the model.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the factory that creates the instances of the model.
+     * @generated
+     */
+    SpecV100Factory getSpecV100Factory();
+
+    /**
+     * <!-- begin-user-doc -->
+     * Defines literals for the meta objects that represent
+     * <ul>
+     *   <li>each class,</li>
+     *   <li>each feature of each class,</li>
+     *   <li>each enum,</li>
+     *   <li>and each data type</li>
+     * </ul>
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    interface Literals
+    {
+        /**
+         * The meta object literal for the '{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl <em>Abstract Spec Descriptor</em>}' class.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @see org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl
+         * @see org.apache.maven.rpm.factory.model.spec.v100.impl.SpecV100PackageImpl#getAbstractSpecDescriptor()
+         * @generated
+         */
+        EClass ABSTRACT_SPEC_DESCRIPTOR = eINSTANCE.getAbstractSpecDescriptor();
+
+        /**
+         * The meta object literal for the '<em><b>Summary</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__SUMMARY = eINSTANCE.getAbstractSpecDescriptor_Summary();
+
+        /**
+         * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__NAME = eINSTANCE.getAbstractSpecDescriptor_Name();
+
+        /**
+         * The meta object literal for the '<em><b>Version</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__VERSION = eINSTANCE.getAbstractSpecDescriptor_Version();
+
+        /**
+         * The meta object literal for the '<em><b>Release</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__RELEASE = eINSTANCE.getAbstractSpecDescriptor_Release();
+
+        /**
+         * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION = eINSTANCE.getAbstractSpecDescriptor_Description();
+
+        /**
+         * The meta object literal for the '<em><b>License</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__LICENSE = eINSTANCE.getAbstractSpecDescriptor_License();
+
+        /**
+         * The meta object literal for the '<em><b>Vendor</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__VENDOR = eINSTANCE.getAbstractSpecDescriptor_Vendor();
+
+        /**
+         * The meta object literal for the '<em><b>Url</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__URL = eINSTANCE.getAbstractSpecDescriptor_Url();
+
+        /**
+         * The meta object literal for the '<em><b>Group</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__GROUP = eINSTANCE.getAbstractSpecDescriptor_Group();
+
+        /**
+         * The meta object literal for the '<em><b>Distribution</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION = eINSTANCE.getAbstractSpecDescriptor_Distribution();
+
+        /**
+         * The meta object literal for the '<em><b>Build Architecture</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE = eINSTANCE.getAbstractSpecDescriptor_BuildArchitecture();
+
+        /**
+         * The meta object literal for the '{@link org.apache.maven.rpm.factory.model.spec.v100.impl.LibrarySpecDescriptorImpl <em>Library Spec Descriptor</em>}' class.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @see org.apache.maven.rpm.factory.model.spec.v100.impl.LibrarySpecDescriptorImpl
+         * @see org.apache.maven.rpm.factory.model.spec.v100.impl.SpecV100PackageImpl#getLibrarySpecDescriptor()
+         * @generated
+         */
+        EClass LIBRARY_SPEC_DESCRIPTOR = eINSTANCE.getLibrarySpecDescriptor();
+
+        /**
+         * The meta object literal for the '<em><b>Requires Dependencies</b></em>' reference feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EReference LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES = eINSTANCE.getLibrarySpecDescriptor_RequiresDependencies();
+
+        /**
+         * The meta object literal for the '<em><b>Library Directory</b></em>' attribute feature.
+         * <!-- begin-user-doc -->
+         * <!-- end-user-doc -->
+         * @generated
+         */
+        EAttribute LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY = eINSTANCE.getLibrarySpecDescriptor_LibraryDirectory();
+
+    }
+
+} //SpecV100Package

Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/AbstractSpecDescriptorImpl.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/AbstractSpecDescriptorImpl.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/AbstractSpecDescriptorImpl.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/AbstractSpecDescriptorImpl.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,741 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100.impl;
+
+import org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor;
+import org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Abstract Spec Descriptor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getSummary <em>Summary</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getName <em>Name</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getVersion <em>Version</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getRelease <em>Release</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getDescription <em>Description</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getLicense <em>License</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getVendor <em>Vendor</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getUrl <em>Url</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getGroup <em>Group</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getDistribution <em>Distribution</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.AbstractSpecDescriptorImpl#getBuildArchitecture <em>Build Architecture</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AbstractSpecDescriptorImpl extends EObjectImpl implements AbstractSpecDescriptor
+{
+    /**
+     * The default value of the '{@link #getSummary() <em>Summary</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSummary()
+     * @generated
+     * @ordered
+     */
+    protected static final String SUMMARY_EDEFAULT = "See Description";
+
+    /**
+     * The cached value of the '{@link #getSummary() <em>Summary</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSummary()
+     * @generated
+     * @ordered
+     */
+    protected String summary = SUMMARY_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName()
+     * @generated
+     * @ordered
+     */
+    protected static final String NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName()
+     * @generated
+     * @ordered
+     */
+    protected String name = NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getVersion()
+     * @generated
+     * @ordered
+     */
+    protected static final String VERSION_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getVersion()
+     * @generated
+     * @ordered
+     */
+    protected String version = VERSION_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getRelease() <em>Release</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRelease()
+     * @generated
+     * @ordered
+     */
+    protected static final String RELEASE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getRelease() <em>Release</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRelease()
+     * @generated
+     * @ordered
+     */
+    protected String release = RELEASE_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDescription()
+     * @generated
+     * @ordered
+     */
+    protected static final String DESCRIPTION_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDescription()
+     * @generated
+     * @ordered
+     */
+    protected String description = DESCRIPTION_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getLicense() <em>License</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLicense()
+     * @generated
+     * @ordered
+     */
+    protected static final String LICENSE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getLicense() <em>License</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLicense()
+     * @generated
+     * @ordered
+     */
+    protected String license = LICENSE_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getVendor() <em>Vendor</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getVendor()
+     * @generated
+     * @ordered
+     */
+    protected static final String VENDOR_EDEFAULT = "Maven RPM Factory";
+
+    /**
+     * The cached value of the '{@link #getVendor() <em>Vendor</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getVendor()
+     * @generated
+     * @ordered
+     */
+    protected String vendor = VENDOR_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getUrl() <em>Url</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getUrl()
+     * @generated
+     * @ordered
+     */
+    protected static final String URL_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getUrl() <em>Url</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getUrl()
+     * @generated
+     * @ordered
+     */
+    protected String url = URL_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getGroup() <em>Group</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroup()
+     * @generated
+     * @ordered
+     */
+    protected static final String GROUP_EDEFAULT = "Development/Libraries/Java";
+
+    /**
+     * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroup()
+     * @generated
+     * @ordered
+     */
+    protected String group = GROUP_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getDistribution() <em>Distribution</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDistribution()
+     * @generated
+     * @ordered
+     */
+    protected static final String DISTRIBUTION_EDEFAULT = "Maven RPM Factory";
+
+    /**
+     * The cached value of the '{@link #getDistribution() <em>Distribution</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDistribution()
+     * @generated
+     * @ordered
+     */
+    protected String distribution = DISTRIBUTION_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getBuildArchitecture() <em>Build Architecture</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getBuildArchitecture()
+     * @generated
+     * @ordered
+     */
+    protected static final String BUILD_ARCHITECTURE_EDEFAULT = "noarch";
+
+    /**
+     * The cached value of the '{@link #getBuildArchitecture() <em>Build Architecture</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getBuildArchitecture()
+     * @generated
+     * @ordered
+     */
+    protected String buildArchitecture = BUILD_ARCHITECTURE_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected AbstractSpecDescriptorImpl()
+    {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    protected EClass eStaticClass()
+    {
+        return SpecV100Package.Literals.ABSTRACT_SPEC_DESCRIPTOR;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getSummary()
+    {
+        return summary;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setSummary(String newSummary)
+    {
+        String oldSummary = summary;
+        summary = newSummary;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__SUMMARY, oldSummary, summary));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getName()
+    {
+        return name;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setName(String newName)
+    {
+        String oldName = name;
+        name = newName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getVersion()
+    {
+        return version;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setVersion(String newVersion)
+    {
+        String oldVersion = version;
+        version = newVersion;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VERSION, oldVersion, version));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getRelease()
+    {
+        return release;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setRelease(String newRelease)
+    {
+        String oldRelease = release;
+        release = newRelease;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__RELEASE, oldRelease, release));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getDescription()
+    {
+        return description;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setDescription(String newDescription)
+    {
+        String oldDescription = description;
+        description = newDescription;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION, oldDescription, description));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getLicense()
+    {
+        return license;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setLicense(String newLicense)
+    {
+        String oldLicense = license;
+        license = newLicense;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__LICENSE, oldLicense, license));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getVendor()
+    {
+        return vendor;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setVendor(String newVendor)
+    {
+        String oldVendor = vendor;
+        vendor = newVendor;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VENDOR, oldVendor, vendor));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getUrl()
+    {
+        return url;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setUrl(String newUrl)
+    {
+        String oldUrl = url;
+        url = newUrl;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__URL, oldUrl, url));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getGroup()
+    {
+        return group;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setGroup(String newGroup)
+    {
+        String oldGroup = group;
+        group = newGroup;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__GROUP, oldGroup, group));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getDistribution()
+    {
+        return distribution;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setDistribution(String newDistribution)
+    {
+        String oldDistribution = distribution;
+        distribution = newDistribution;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION, oldDistribution, distribution));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getBuildArchitecture()
+    {
+        return buildArchitecture;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setBuildArchitecture(String newBuildArchitecture)
+    {
+        String oldBuildArchitecture = buildArchitecture;
+        buildArchitecture = newBuildArchitecture;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE, oldBuildArchitecture, buildArchitecture));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public Object eGet(int featureID, boolean resolve, boolean coreType)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__SUMMARY:
+                return getSummary();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__NAME:
+                return getName();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VERSION:
+                return getVersion();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__RELEASE:
+                return getRelease();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION:
+                return getDescription();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__LICENSE:
+                return getLicense();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VENDOR:
+                return getVendor();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__URL:
+                return getUrl();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__GROUP:
+                return getGroup();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION:
+                return getDistribution();
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE:
+                return getBuildArchitecture();
+        }
+        return super.eGet(featureID, resolve, coreType);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public void eSet(int featureID, Object newValue)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__SUMMARY:
+                setSummary((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__NAME:
+                setName((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VERSION:
+                setVersion((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__RELEASE:
+                setRelease((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION:
+                setDescription((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__LICENSE:
+                setLicense((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VENDOR:
+                setVendor((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__URL:
+                setUrl((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__GROUP:
+                setGroup((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION:
+                setDistribution((String)newValue);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE:
+                setBuildArchitecture((String)newValue);
+                return;
+        }
+        super.eSet(featureID, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public void eUnset(int featureID)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__SUMMARY:
+                setSummary(SUMMARY_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VERSION:
+                setVersion(VERSION_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__RELEASE:
+                setRelease(RELEASE_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION:
+                setDescription(DESCRIPTION_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__LICENSE:
+                setLicense(LICENSE_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VENDOR:
+                setVendor(VENDOR_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__URL:
+                setUrl(URL_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__GROUP:
+                setGroup(GROUP_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION:
+                setDistribution(DISTRIBUTION_EDEFAULT);
+                return;
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE:
+                setBuildArchitecture(BUILD_ARCHITECTURE_EDEFAULT);
+                return;
+        }
+        super.eUnset(featureID);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public boolean eIsSet(int featureID)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__SUMMARY:
+                return SUMMARY_EDEFAULT == null ? summary != null : !SUMMARY_EDEFAULT.equals(summary);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VERSION:
+                return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__RELEASE:
+                return RELEASE_EDEFAULT == null ? release != null : !RELEASE_EDEFAULT.equals(release);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION:
+                return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__LICENSE:
+                return LICENSE_EDEFAULT == null ? license != null : !LICENSE_EDEFAULT.equals(license);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__VENDOR:
+                return VENDOR_EDEFAULT == null ? vendor != null : !VENDOR_EDEFAULT.equals(vendor);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__URL:
+                return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__GROUP:
+                return GROUP_EDEFAULT == null ? group != null : !GROUP_EDEFAULT.equals(group);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION:
+                return DISTRIBUTION_EDEFAULT == null ? distribution != null : !DISTRIBUTION_EDEFAULT.equals(distribution);
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE:
+                return BUILD_ARCHITECTURE_EDEFAULT == null ? buildArchitecture != null : !BUILD_ARCHITECTURE_EDEFAULT.equals(buildArchitecture);
+        }
+        return super.eIsSet(featureID);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public String toString()
+    {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (summary: ");
+        result.append(summary);
+        result.append(", name: ");
+        result.append(name);
+        result.append(", version: ");
+        result.append(version);
+        result.append(", release: ");
+        result.append(release);
+        result.append(", description: ");
+        result.append(description);
+        result.append(", license: ");
+        result.append(license);
+        result.append(", vendor: ");
+        result.append(vendor);
+        result.append(", url: ");
+        result.append(url);
+        result.append(", group: ");
+        result.append(group);
+        result.append(", distribution: ");
+        result.append(distribution);
+        result.append(", buildArchitecture: ");
+        result.append(buildArchitecture);
+        result.append(')');
+        return result.toString();
+    }
+
+} //AbstractSpecDescriptorImpl

Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/LibrarySpecDescriptorImpl.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/LibrarySpecDescriptorImpl.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/LibrarySpecDescriptorImpl.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/LibrarySpecDescriptorImpl.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,253 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100.impl;
+
+import java.util.Collection;
+
+import org.apache.maven.model.emf.pom.v400.DependenciesType;
+
+import org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor;
+import org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Library Spec Descriptor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.LibrarySpecDescriptorImpl#getRequiresDependencies <em>Requires Dependencies</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.impl.LibrarySpecDescriptorImpl#getLibraryDirectory <em>Library Directory</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class LibrarySpecDescriptorImpl extends AbstractSpecDescriptorImpl implements LibrarySpecDescriptor
+{
+    /**
+     * The cached value of the '{@link #getRequiresDependencies() <em>Requires Dependencies</em>}' reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRequiresDependencies()
+     * @generated
+     * @ordered
+     */
+    protected DependenciesType requiresDependencies;
+
+    /**
+     * The default value of the '{@link #getLibraryDirectory() <em>Library Directory</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLibraryDirectory()
+     * @generated
+     * @ordered
+     */
+    protected static final String LIBRARY_DIRECTORY_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getLibraryDirectory() <em>Library Directory</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLibraryDirectory()
+     * @generated
+     * @ordered
+     */
+    protected String libraryDirectory = LIBRARY_DIRECTORY_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected LibrarySpecDescriptorImpl()
+    {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    protected EClass eStaticClass()
+    {
+        return SpecV100Package.Literals.LIBRARY_SPEC_DESCRIPTOR;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DependenciesType getRequiresDependencies()
+    {
+        if (requiresDependencies != null && requiresDependencies.eIsProxy())
+        {
+            InternalEObject oldRequiresDependencies = (InternalEObject)requiresDependencies;
+            requiresDependencies = (DependenciesType)eResolveProxy(oldRequiresDependencies);
+            if (requiresDependencies != oldRequiresDependencies)
+            {
+                if (eNotificationRequired())
+                    eNotify(new ENotificationImpl(this, Notification.RESOLVE, SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES, oldRequiresDependencies, requiresDependencies));
+            }
+        }
+        return requiresDependencies;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DependenciesType basicGetRequiresDependencies()
+    {
+        return requiresDependencies;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setRequiresDependencies(DependenciesType newRequiresDependencies)
+    {
+        DependenciesType oldRequiresDependencies = requiresDependencies;
+        requiresDependencies = newRequiresDependencies;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES, oldRequiresDependencies, requiresDependencies));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getLibraryDirectory()
+    {
+        return libraryDirectory;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setLibraryDirectory(String newLibraryDirectory)
+    {
+        String oldLibraryDirectory = libraryDirectory;
+        libraryDirectory = newLibraryDirectory;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY, oldLibraryDirectory, libraryDirectory));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public Object eGet(int featureID, boolean resolve, boolean coreType)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES:
+                if (resolve) return getRequiresDependencies();
+                return basicGetRequiresDependencies();
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY:
+                return getLibraryDirectory();
+        }
+        return super.eGet(featureID, resolve, coreType);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @SuppressWarnings("unchecked")
+    @Override
+    public void eSet(int featureID, Object newValue)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES:
+                setRequiresDependencies((DependenciesType)newValue);
+                return;
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY:
+                setLibraryDirectory((String)newValue);
+                return;
+        }
+        super.eSet(featureID, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public void eUnset(int featureID)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES:
+                setRequiresDependencies((DependenciesType)null);
+                return;
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY:
+                setLibraryDirectory(LIBRARY_DIRECTORY_EDEFAULT);
+                return;
+        }
+        super.eUnset(featureID);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public boolean eIsSet(int featureID)
+    {
+        switch (featureID)
+        {
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES:
+                return requiresDependencies != null;
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY:
+                return LIBRARY_DIRECTORY_EDEFAULT == null ? libraryDirectory != null : !LIBRARY_DIRECTORY_EDEFAULT.equals(libraryDirectory);
+        }
+        return super.eIsSet(featureID);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public String toString()
+    {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (libraryDirectory: ");
+        result.append(libraryDirectory);
+        result.append(')');
+        return result.toString();
+    }
+
+} //LibrarySpecDescriptorImpl

Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100FactoryImpl.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100FactoryImpl.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100FactoryImpl.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100FactoryImpl.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,122 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100.impl;
+
+import org.apache.maven.rpm.factory.model.spec.v100.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class SpecV100FactoryImpl extends EFactoryImpl implements SpecV100Factory
+{
+    /**
+     * Creates the default factory implementation.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static SpecV100Factory init()
+    {
+        try
+        {
+            SpecV100Factory theSpecV100Factory = (SpecV100Factory)EPackage.Registry.INSTANCE.getEFactory("http:/maven.apache.org/rpm.factory.model.spec"); 
+            if (theSpecV100Factory != null)
+            {
+                return theSpecV100Factory;
+            }
+        }
+        catch (Exception exception)
+        {
+            EcorePlugin.INSTANCE.log(exception);
+        }
+        return new SpecV100FactoryImpl();
+    }
+
+    /**
+     * Creates an instance of the factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public SpecV100FactoryImpl()
+    {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public EObject create(EClass eClass)
+    {
+        switch (eClass.getClassifierID())
+        {
+            case SpecV100Package.ABSTRACT_SPEC_DESCRIPTOR: return createAbstractSpecDescriptor();
+            case SpecV100Package.LIBRARY_SPEC_DESCRIPTOR: return createLibrarySpecDescriptor();
+            default:
+                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+        }
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public AbstractSpecDescriptor createAbstractSpecDescriptor()
+    {
+        AbstractSpecDescriptorImpl abstractSpecDescriptor = new AbstractSpecDescriptorImpl();
+        return abstractSpecDescriptor;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public LibrarySpecDescriptor createLibrarySpecDescriptor()
+    {
+        LibrarySpecDescriptorImpl librarySpecDescriptor = new LibrarySpecDescriptorImpl();
+        return librarySpecDescriptor;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public SpecV100Package getSpecV100Package()
+    {
+        return (SpecV100Package)getEPackage();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @deprecated
+     * @generated
+     */
+    @Deprecated
+    public static SpecV100Package getPackage()
+    {
+        return SpecV100Package.eINSTANCE;
+    }
+
+} //SpecV100FactoryImpl

Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100PackageImpl.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100PackageImpl.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100PackageImpl.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100PackageImpl.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,372 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100.impl;
+
+import org.apache.maven.model.emf.pom.v400.PomV400Package;
+
+import org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor;
+import org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor;
+import org.apache.maven.rpm.factory.model.spec.v100.SpecV100Factory;
+import org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class SpecV100PackageImpl extends EPackageImpl implements SpecV100Package
+{
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private EClass abstractSpecDescriptorEClass = null;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private EClass librarySpecDescriptorEClass = null;
+
+    /**
+     * Creates an instance of the model <b>Package</b>, registered with
+     * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+     * package URI value.
+     * <p>Note: the correct way to create the package is via the static
+     * factory method {@link #init init()}, which also performs
+     * initialization of the package, or returns the registered package,
+     * if one already exists.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.eclipse.emf.ecore.EPackage.Registry
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#eNS_URI
+     * @see #init()
+     * @generated
+     */
+    private SpecV100PackageImpl()
+    {
+        super(eNS_URI, SpecV100Factory.eINSTANCE);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private static boolean isInited = false;
+
+    /**
+     * Creates, registers, and initializes the <b>Package</b> for this
+     * model, and for any others upon which it depends.  Simple
+     * dependencies are satisfied by calling this method on all
+     * dependent packages before doing anything else.  This method drives
+     * initialization for interdependent packages directly, in parallel
+     * with this package, itself.
+     * <p>Of this package and its interdependencies, all packages which
+     * have not yet been registered by their URI values are first created
+     * and registered.  The packages are then initialized in two steps:
+     * meta-model objects for all of the packages are created before any
+     * are initialized, since one package's meta-model objects may refer to
+     * those of another.
+     * <p>Invocation of this method will not affect any packages that have
+     * already been initialized.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #eNS_URI
+     * @see #createPackageContents()
+     * @see #initializePackageContents()
+     * @generated
+     */
+    public static SpecV100Package init()
+    {
+        if (isInited) return (SpecV100Package)EPackage.Registry.INSTANCE.getEPackage(SpecV100Package.eNS_URI);
+
+        // Obtain or create and register package
+        SpecV100PackageImpl theSpecV100Package = (SpecV100PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof SpecV100PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new SpecV100PackageImpl());
+
+        isInited = true;
+
+        // Initialize simple dependencies
+        PomV400Package.eINSTANCE.eClass();
+
+        // Create package meta-data objects
+        theSpecV100Package.createPackageContents();
+
+        // Initialize created meta-data
+        theSpecV100Package.initializePackageContents();
+
+        // Mark meta-data to indicate it can't be changed
+        theSpecV100Package.freeze();
+
+        return theSpecV100Package;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EClass getAbstractSpecDescriptor()
+    {
+        return abstractSpecDescriptorEClass;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Summary()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(0);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Name()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(1);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Version()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(2);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Release()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(3);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Description()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(4);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_License()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(5);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Vendor()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(6);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Url()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(7);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Group()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(8);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_Distribution()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(9);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getAbstractSpecDescriptor_BuildArchitecture()
+    {
+        return (EAttribute)abstractSpecDescriptorEClass.getEStructuralFeatures().get(10);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EClass getLibrarySpecDescriptor()
+    {
+        return librarySpecDescriptorEClass;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EReference getLibrarySpecDescriptor_RequiresDependencies()
+    {
+        return (EReference)librarySpecDescriptorEClass.getEStructuralFeatures().get(0);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EAttribute getLibrarySpecDescriptor_LibraryDirectory()
+    {
+        return (EAttribute)librarySpecDescriptorEClass.getEStructuralFeatures().get(1);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public SpecV100Factory getSpecV100Factory()
+    {
+        return (SpecV100Factory)getEFactoryInstance();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private boolean isCreated = false;
+
+    /**
+     * Creates the meta-model objects for the package.  This method is
+     * guarded to have no affect on any invocation but its first.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void createPackageContents()
+    {
+        if (isCreated) return;
+        isCreated = true;
+
+        // Create classes and their features
+        abstractSpecDescriptorEClass = createEClass(ABSTRACT_SPEC_DESCRIPTOR);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__SUMMARY);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__NAME);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__VERSION);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__RELEASE);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__DESCRIPTION);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__LICENSE);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__VENDOR);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__URL);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__GROUP);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__DISTRIBUTION);
+        createEAttribute(abstractSpecDescriptorEClass, ABSTRACT_SPEC_DESCRIPTOR__BUILD_ARCHITECTURE);
+
+        librarySpecDescriptorEClass = createEClass(LIBRARY_SPEC_DESCRIPTOR);
+        createEReference(librarySpecDescriptorEClass, LIBRARY_SPEC_DESCRIPTOR__REQUIRES_DEPENDENCIES);
+        createEAttribute(librarySpecDescriptorEClass, LIBRARY_SPEC_DESCRIPTOR__LIBRARY_DIRECTORY);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private boolean isInitialized = false;
+
+    /**
+     * Complete the initialization of the package and its meta-model.  This
+     * method is guarded to have no affect on any invocation but its first.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void initializePackageContents()
+    {
+        if (isInitialized) return;
+        isInitialized = true;
+
+        // Initialize package
+        setName(eNAME);
+        setNsPrefix(eNS_PREFIX);
+        setNsURI(eNS_URI);
+
+        // Obtain other dependent packages
+        PomV400Package thePomV400Package = (PomV400Package)EPackage.Registry.INSTANCE.getEPackage(PomV400Package.eNS_URI);
+
+        // Create type parameters
+
+        // Set bounds for type parameters
+
+        // Add supertypes to classes
+        librarySpecDescriptorEClass.getESuperTypes().add(this.getAbstractSpecDescriptor());
+
+        // Initialize classes and features; add operations and parameters
+        initEClass(abstractSpecDescriptorEClass, AbstractSpecDescriptor.class, "AbstractSpecDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+        initEAttribute(getAbstractSpecDescriptor_Summary(), ecorePackage.getEString(), "summary", "See Description", 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Name(), ecorePackage.getEString(), "name", null, 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Version(), ecorePackage.getEString(), "version", null, 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Release(), ecorePackage.getEString(), "release", null, 0, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Description(), ecorePackage.getEString(), "description", null, 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_License(), ecorePackage.getEString(), "license", null, 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Vendor(), ecorePackage.getEString(), "vendor", "Maven RPM Factory", 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Url(), ecorePackage.getEString(), "url", null, 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Group(), ecorePackage.getEString(), "group", "Development/Libraries/Java", 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_Distribution(), ecorePackage.getEString(), "distribution", "Maven RPM Factory", 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getAbstractSpecDescriptor_BuildArchitecture(), ecorePackage.getEString(), "buildArchitecture", "noarch", 1, 1, AbstractSpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+        initEClass(librarySpecDescriptorEClass, LibrarySpecDescriptor.class, "LibrarySpecDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+        initEReference(getLibrarySpecDescriptor_RequiresDependencies(), thePomV400Package.getDependenciesType(), null, "requiresDependencies", null, 0, 1, LibrarySpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+        initEAttribute(getLibrarySpecDescriptor_LibraryDirectory(), ecorePackage.getEString(), "libraryDirectory", null, 1, 1, LibrarySpecDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+        // Create resource
+        createResource(eNS_URI);
+    }
+
+} //SpecV100PackageImpl

Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/util/SpecV100AdapterFactory.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/util/SpecV100AdapterFactory.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/util/SpecV100AdapterFactory.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/util/SpecV100AdapterFactory.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,156 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100.util;
+
+import org.apache.maven.rpm.factory.model.spec.v100.*;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package
+ * @generated
+ */
+public class SpecV100AdapterFactory extends AdapterFactoryImpl
+{
+    /**
+     * The cached model package.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static SpecV100Package modelPackage;
+
+    /**
+     * Creates an instance of the adapter factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public SpecV100AdapterFactory()
+    {
+        if (modelPackage == null)
+        {
+            modelPackage = SpecV100Package.eINSTANCE;
+        }
+    }
+
+    /**
+     * Returns whether this factory is applicable for the type of the object.
+     * <!-- begin-user-doc -->
+     * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+     * <!-- end-user-doc -->
+     * @return whether this factory is applicable for the type of the object.
+     * @generated
+     */
+    @Override
+    public boolean isFactoryForType(Object object)
+    {
+        if (object == modelPackage)
+        {
+            return true;
+        }
+        if (object instanceof EObject)
+        {
+            return ((EObject)object).eClass().getEPackage() == modelPackage;
+        }
+        return false;
+    }
+
+    /**
+     * The switch the delegates to the <code>createXXX</code> methods.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected SpecV100Switch<Adapter> modelSwitch =
+        new SpecV100Switch<Adapter>()
+        {
+            @Override
+            public Adapter caseAbstractSpecDescriptor(AbstractSpecDescriptor object)
+            {
+                return createAbstractSpecDescriptorAdapter();
+            }
+            @Override
+            public Adapter caseLibrarySpecDescriptor(LibrarySpecDescriptor object)
+            {
+                return createLibrarySpecDescriptorAdapter();
+            }
+            @Override
+            public Adapter defaultCase(EObject object)
+            {
+                return createEObjectAdapter();
+            }
+        };
+
+    /**
+     * Creates an adapter for the <code>target</code>.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param target the object to adapt.
+     * @return the adapter for the <code>target</code>.
+     * @generated
+     */
+    @Override
+    public Adapter createAdapter(Notifier target)
+    {
+        return modelSwitch.doSwitch((EObject)target);
+    }
+
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor <em>Abstract Spec Descriptor</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor
+     * @generated
+     */
+    public Adapter createAbstractSpecDescriptorAdapter()
+    {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor <em>Library Spec Descriptor</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor
+     * @generated
+     */
+    public Adapter createLibrarySpecDescriptorAdapter()
+    {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for the default case.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @generated
+     */
+    public Adapter createEObjectAdapter()
+    {
+        return null;
+    }
+
+} //SpecV100AdapterFactory



Mime
View raw message