directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oer...@apache.org
Subject svn commit: r518765 [3/7] - in /directory/sandbox/oersoy/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/ rpm.factory.arc...
Date Thu, 15 Mar 2007 21:50:37 GMT
Added: directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/AbstractSpecDescriptor.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/AbstractSpecDescriptor.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/AbstractSpecDescriptor.java (added)
+++ directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/AbstractSpecDescriptor.java Thu Mar 15 14:50:22 2007
@@ -0,0 +1,330 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Abstract Spec Descriptor</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getSummary <em>Summary</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getName <em>Name</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVersion <em>Version</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getRelease <em>Release</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDescription <em>Description</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getLicense <em>License</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVendor <em>Vendor</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getUrl <em>Url</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getGroup <em>Group</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDistribution <em>Distribution</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getBuildArchitecture <em>Build Architecture</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor()
+ * @model
+ * @generated
+ */
+public interface AbstractSpecDescriptor extends EObject
+{
+    /**
+     * Returns the value of the '<em><b>Summary</b></em>' attribute.
+     * The default value is <code>"See Description"</code>.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Summary</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Summary</em>' attribute.
+     * @see #setSummary(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Summary()
+     * @model default="See Description" required="true"
+     * @generated
+     */
+    String getSummary();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getSummary <em>Summary</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Summary</em>' attribute.
+     * @see #getSummary()
+     * @generated
+     */
+    void setSummary(String value);
+
+    /**
+     * Returns the value of the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Name</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Name</em>' attribute.
+     * @see #setName(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Name()
+     * @model required="true"
+     * @generated
+     */
+    String getName();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getName <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Name</em>' attribute.
+     * @see #getName()
+     * @generated
+     */
+    void setName(String value);
+
+    /**
+     * Returns the value of the '<em><b>Version</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Version</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Version</em>' attribute.
+     * @see #setVersion(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Version()
+     * @model required="true"
+     * @generated
+     */
+    String getVersion();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVersion <em>Version</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Version</em>' attribute.
+     * @see #getVersion()
+     * @generated
+     */
+    void setVersion(String value);
+
+    /**
+     * Returns the value of the '<em><b>Release</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Release</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Release</em>' attribute.
+     * @see #setRelease(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Release()
+     * @model
+     * @generated
+     */
+    String getRelease();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getRelease <em>Release</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Release</em>' attribute.
+     * @see #getRelease()
+     * @generated
+     */
+    void setRelease(String value);
+
+    /**
+     * Returns the value of the '<em><b>Description</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Description</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Description</em>' attribute.
+     * @see #setDescription(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Description()
+     * @model required="true"
+     * @generated
+     */
+    String getDescription();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDescription <em>Description</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Description</em>' attribute.
+     * @see #getDescription()
+     * @generated
+     */
+    void setDescription(String value);
+
+    /**
+     * Returns the value of the '<em><b>License</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>License</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>License</em>' attribute.
+     * @see #setLicense(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_License()
+     * @model required="true"
+     * @generated
+     */
+    String getLicense();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getLicense <em>License</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>License</em>' attribute.
+     * @see #getLicense()
+     * @generated
+     */
+    void setLicense(String value);
+
+    /**
+     * Returns the value of the '<em><b>Vendor</b></em>' attribute.
+     * The default value is <code>"Maven RPM Factory"</code>.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Vendor</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Vendor</em>' attribute.
+     * @see #setVendor(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Vendor()
+     * @model default="Maven RPM Factory" required="true"
+     * @generated
+     */
+    String getVendor();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getVendor <em>Vendor</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Vendor</em>' attribute.
+     * @see #getVendor()
+     * @generated
+     */
+    void setVendor(String value);
+
+    /**
+     * Returns the value of the '<em><b>Url</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Url</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Url</em>' attribute.
+     * @see #setUrl(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Url()
+     * @model required="true"
+     * @generated
+     */
+    String getUrl();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getUrl <em>Url</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Url</em>' attribute.
+     * @see #getUrl()
+     * @generated
+     */
+    void setUrl(String value);
+
+    /**
+     * Returns the value of the '<em><b>Group</b></em>' attribute.
+     * The default value is <code>"Development/Libraries/Java"</code>.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Group</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Group</em>' attribute.
+     * @see #setGroup(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Group()
+     * @model default="Development/Libraries/Java" required="true"
+     * @generated
+     */
+    String getGroup();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getGroup <em>Group</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Group</em>' attribute.
+     * @see #getGroup()
+     * @generated
+     */
+    void setGroup(String value);
+
+    /**
+     * Returns the value of the '<em><b>Distribution</b></em>' attribute.
+     * The default value is <code>"Maven RPM Factory"</code>.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Distribution</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Distribution</em>' attribute.
+     * @see #setDistribution(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_Distribution()
+     * @model default="Maven RPM Factory" required="true"
+     * @generated
+     */
+    String getDistribution();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getDistribution <em>Distribution</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Distribution</em>' attribute.
+     * @see #getDistribution()
+     * @generated
+     */
+    void setDistribution(String value);
+
+    /**
+     * Returns the value of the '<em><b>Build Architecture</b></em>' attribute.
+     * The default value is <code>"noarch"</code>.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Build Architecture</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Build Architecture</em>' attribute.
+     * @see #setBuildArchitecture(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getAbstractSpecDescriptor_BuildArchitecture()
+     * @model default="noarch" required="true"
+     * @generated
+     */
+    String getBuildArchitecture();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.AbstractSpecDescriptor#getBuildArchitecture <em>Build Architecture</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Build Architecture</em>' attribute.
+     * @see #getBuildArchitecture()
+     * @generated
+     */
+    void setBuildArchitecture(String value);
+
+} // AbstractSpecDescriptor

Added: directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/LibrarySpecDescriptor.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/LibrarySpecDescriptor.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/LibrarySpecDescriptor.java (added)
+++ directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/LibrarySpecDescriptor.java Thu Mar 15 14:50:22 2007
@@ -0,0 +1,84 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100;
+
+import org.apache.maven.model.emf.pom.v400.DependenciesType;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Library Spec Descriptor</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getRequiresDependencies <em>Requires Dependencies</em>}</li>
+ *   <li>{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getLibraryDirectory <em>Library Directory</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getLibrarySpecDescriptor()
+ * @model
+ * @generated
+ */
+public interface LibrarySpecDescriptor extends AbstractSpecDescriptor
+{
+    /**
+     * Returns the value of the '<em><b>Requires Dependencies</b></em>' reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Requires Dependencies</em>' reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Requires Dependencies</em>' reference.
+     * @see #setRequiresDependencies(DependenciesType)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getLibrarySpecDescriptor_RequiresDependencies()
+     * @model
+     * @generated
+     */
+    DependenciesType getRequiresDependencies();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getRequiresDependencies <em>Requires Dependencies</em>}' reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Requires Dependencies</em>' reference.
+     * @see #getRequiresDependencies()
+     * @generated
+     */
+    void setRequiresDependencies(DependenciesType value);
+
+    /**
+     * Returns the value of the '<em><b>Library Directory</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Library Directory</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Library Directory</em>' attribute.
+     * @see #setLibraryDirectory(String)
+     * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package#getLibrarySpecDescriptor_LibraryDirectory()
+     * @model required="true"
+     * @generated
+     */
+    String getLibraryDirectory();
+
+    /**
+     * Sets the value of the '{@link org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor#getLibraryDirectory <em>Library Directory</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Library Directory</em>' attribute.
+     * @see #getLibraryDirectory()
+     * @generated
+     */
+    void setLibraryDirectory(String value);
+
+} // LibrarySpecDescriptor

Added: directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Factory.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Factory.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Factory.java (added)
+++ directory/sandbox/oersoy/rpm.factory.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Factory.java Thu Mar 15 14:50:22 2007
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.maven.rpm.factory.model.spec.v100;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.apache.maven.rpm.factory.model.spec.v100.SpecV100Package
+ * @generated
+ */
+public interface SpecV100Factory extends EFactory
+{
+    /**
+     * The singleton instance of the factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    SpecV100Factory eINSTANCE = org.apache.maven.rpm.factory.model.spec.v100.impl.SpecV100FactoryImpl.init();
+
+    /**
+     * Returns a new object of class '<em>Abstract Spec Descriptor</em>'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return a new object of class '<em>Abstract Spec Descriptor</em>'.
+     * @generated
+     */
+    AbstractSpecDescriptor createAbstractSpecDescriptor();
+
+    /**
+     * Returns a new object of class '<em>Library Spec Descriptor</em>'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return a new object of class '<em>Library Spec Descriptor</em>'.
+     * @generated
+     */
+    LibrarySpecDescriptor createLibrarySpecDescriptor();
+
+    /**
+     * Returns the package supported by this factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the package supported by this factory.
+     * @generated
+     */
+    SpecV100Package getSpecV100Package();
+
+} //SpecV100Factory

Added: directory/sandbox/oersoy/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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Package.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/SpecV100Package.java Thu Mar 15 14:50:22 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.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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/AbstractSpecDescriptorImpl.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/AbstractSpecDescriptorImpl.java Thu Mar 15 14:50:22 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.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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/LibrarySpecDescriptorImpl.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/LibrarySpecDescriptorImpl.java Thu Mar 15 14:50:22 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.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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100FactoryImpl.java?view=auto&rev=518765
==============================================================================
--- directory/sandbox/oersoy/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.parent/rpm.factory.model.spec/src/main/java/org/apache/maven/rpm/factory/model/spec/v100/impl/SpecV100FactoryImpl.java Thu Mar 15 14:50:22 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



Mime
View raw message