diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex')
16 files changed, 0 insertions, 3253 deletions
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java deleted file mode 100644 index 857763088..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Description.java +++ /dev/null @@ -1,81 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Description.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Description</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDescription() - * @model - * @generated - */ -public interface Description extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDescription_Value() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - - /** - * Returns the value of the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Lang</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Lang</em>' attribute. - * @see #setLang(String) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDescription_Lang() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language" - * @generated - */ - String getLang(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lang</em>' attribute. - * @see #getLang() - * @generated - */ - void setLang(String value); - -} // Description diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java deleted file mode 100644 index 653388c58..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/DocumentRoot.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: DocumentRoot.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex; - -import org.eclipse.emf.common.util.EMap; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.emf.ecore.util.FeatureMap; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Document Root</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getMixed <em>Mixed</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex <em>Index</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot() - * @model - * @generated - */ -public interface DocumentRoot extends EObject { - /** - * Returns the value of the '<em><b>Mixed</b></em>' attribute list. - * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Mixed</em>' attribute list. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Mixed() - * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" - * @generated - */ - FeatureMap getMixed(); - - /** - * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map. - * The key is of type {@link java.lang.String}, - * and the value is of type {@link java.lang.String}, - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>XMLNS Prefix Map</em>' map. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_XMLNSPrefixMap() - * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true" - * @generated - */ - EMap getXMLNSPrefixMap(); - - /** - * Returns the value of the '<em><b>XSI Schema Location</b></em>' map. - * The key is of type {@link java.lang.String}, - * and the value is of type {@link java.lang.String}, - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>XSI Schema Location</em>' map. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_XSISchemaLocation() - * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true" - * @generated - */ - EMap getXSISchemaLocation(); - - /** - * Returns the value of the '<em><b>Description</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Description</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Description</em>' containment reference. - * @see #setDescription(Description) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Description() - * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true" - * @generated - */ - Description getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription <em>Description</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Description</em>' containment reference. - * @see #getDescription() - * @generated - */ - void setDescription(Description value); - - /** - * Returns the value of the '<em><b>Index</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Index</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Index</em>' containment reference. - * @see #setIndex(Index) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Index() - * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true" - * @generated - */ - Index getIndex(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex <em>Index</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Index</em>' containment reference. - * @see #getIndex() - * @generated - */ - void setIndex(Index value); - - /** - * Returns the value of the '<em><b>Name</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' containment reference. - * @see #setName(Name) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getDocumentRoot_Name() - * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true" - * @generated - */ - Name getName(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName <em>Name</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' containment reference. - * @see #getName() - * @generated - */ - void setName(Name value); - -} // DocumentRoot diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java deleted file mode 100644 index e8aa4aa83..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Index.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Index.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Index</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getRegistry <em>Registry</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getTaxonomy <em>Taxonomy</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex() - * @model - * @generated - */ -public interface Index extends EObject { - /** - * Returns the value of the '<em><b>Name</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' containment reference list. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Name() - * @model type="org.eclipse.wst.ws.internal.model.v10.rtindex.Name" containment="true" resolveProxies="false" required="true" - * @generated - */ - EList getName(); - - /** - * Returns the value of the '<em><b>Description</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Description</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Description</em>' containment reference list. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Description() - * @model type="org.eclipse.wst.ws.internal.model.v10.rtindex.Description" containment="true" resolveProxies="false" required="true" - * @generated - */ - EList getDescription(); - - /** - * Returns the value of the '<em><b>Registry</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.registry.Registry}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Registry</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Registry</em>' containment reference list. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Registry() - * @model type="org.eclipse.wst.ws.internal.model.v10.registry.Registry" containment="true" resolveProxies="false" - * @generated - */ - EList getRegistry(); - - /** - * Returns the value of the '<em><b>Taxonomy</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Taxonomy</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Taxonomy</em>' containment reference list. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getIndex_Taxonomy() - * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy" containment="true" resolveProxies="false" - * @generated - */ - EList getTaxonomy(); - -} // Index diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java deleted file mode 100644 index d145fb3e8..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/Name.java +++ /dev/null @@ -1,81 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Name.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Name</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getName_() - * @model - * @generated - */ -public interface Name extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getName_Value() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - - /** - * Returns the value of the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Lang</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Lang</em>' attribute. - * @see #setLang(String) - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#getName_Lang() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language" - * @generated - */ - String getLang(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lang</em>' attribute. - * @see #getLang() - * @generated - */ - void setLang(String value); - -} // Name diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java deleted file mode 100644 index 74db708e0..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexFactory.java +++ /dev/null @@ -1,73 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexFactory.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex; - -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.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage - * @generated - */ -public interface RTIndexFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - RTIndexFactory eINSTANCE = new org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexFactoryImpl(); - - /** - * Returns a new object of class '<em>Description</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Description</em>'. - * @generated - */ - Description createDescription(); - - /** - * Returns a new object of class '<em>Document Root</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Document Root</em>'. - * @generated - */ - DocumentRoot createDocumentRoot(); - - /** - * Returns a new object of class '<em>Index</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Index</em>'. - * @generated - */ - Index createIndex(); - - /** - * Returns a new object of class '<em>Name</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Name</em>'. - * @generated - */ - Name createName(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - RTIndexPackage getRTIndexPackage(); - -} //RTIndexFactory diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java deleted file mode 100644 index 3ad2bd13b..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/RTIndexPackage.java +++ /dev/null @@ -1,550 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexPackage.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex; - -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 --> - * <!-- begin-model-doc --> - * - * See http://www.w3.org/XML/1998/namespace.html and - * http://www.w3.org/TR/REC-xml for information about this namespace. - * - * This schema document describes the XML namespace, in a form - * suitable for import by other schema documents. - * - * Note that local names in this namespace are intended to be defined - * only by the World Wide Web Consortium or its subgroups. The - * following names are currently defined in this namespace and should - * not be used with conflicting semantics by any Working Group, - * specification, or document instance: - * - * base (as an attribute name): denotes an attribute whose value - * provides a URI to be used as the base for interpreting any - * relative URIs in the scope of the element on which it - * appears; its value is inherited. This name is reserved - * by virtue of its definition in the XML Base specification. - * - * id (as an attribute name): denotes an attribute whose value - * should be interpreted as if declared to be of type ID. - * The xml:id specification is not yet a W3C Recommendation, - * but this attribute is included here to facilitate experimentation - * with the mechanisms it proposes. Note that it is _not_ included - * in the specialAttrs attribute group. - * - * lang (as an attribute name): denotes an attribute whose value - * is a language code for the natural language of the content of - * any element; its value is inherited. This name is reserved - * by virtue of its definition in the XML specification. - * - * space (as an attribute name): denotes an attribute whose - * value is a keyword indicating what whitespace processing - * discipline is intended for the content of the element; its - * value is inherited. This name is reserved by virtue of its - * definition in the XML specification. - * - * Father (in any context at all): denotes Jon Bosak, the chair of - * the original XML Working Group. This name is reserved by - * the following decision of the W3C XML Plenary and - * XML Coordination groups: - * - * In appreciation for his vision, leadership and dedication - * the W3C XML Plenary on this 10th day of February, 2000 - * reserves for Jon Bosak in perpetuity the XML name - * xml:Father - * - * This schema defines attributes and an attribute group - * suitable for use by - * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id - * attributes on elements they define. - * - * To enable this, such a schema must import this schema - * for the XML namespace, e.g. as follows: - * <schema . . .> - * . . . - * <import namespace="http://www.w3.org/XML/1998/namespace" - * schemaLocation="http://www.w3.org/2001/xml.xsd"/> - * - * Subsequently, qualified reference to any of the attributes - * or the group defined below will have the desired effect, e.g. - * - * <type . . .> - * . . . - * <attributeGroup ref="xml:specialAttrs"/> - * - * will define a type which will schema-validate an instance - * element with any of those attributes - * In keeping with the XML Schema WG's standard versioning - * policy, this schema document will persist at - * http://www.w3.org/2005/08/xml.xsd. - * At the date of issue it can also be found at - * http://www.w3.org/2001/xml.xsd. - * The schema document at that URI may however change in the future, - * in order to remain compatible with the latest version of XML Schema - * itself, or with the XML namespace itself. In other words, if the XML - * Schema or XML namespaces change, the version of this document at - * http://www.w3.org/2001/xml.xsd will change - * accordingly; the version at - * http://www.w3.org/2005/08/xml.xsd will not change. - * - * <!-- end-model-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexFactory - * @generated - */ -public interface RTIndexPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "rtindex"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://eclipse.org/wst/ws/internal/model/v10/rtindex"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "rtindex"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - RTIndexPackage eINSTANCE = org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl <em>Description</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getDescription() - * @generated - */ - int DESCRIPTION = 0; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DESCRIPTION__VALUE = 0; - - /** - * The feature id for the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DESCRIPTION__LANG = 1; - - /** - * The number of structural features of the the '<em>Description</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DESCRIPTION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl <em>Document Root</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getDocumentRoot() - * @generated - */ - int DOCUMENT_ROOT = 1; - - /** - * The feature id for the '<em><b>Mixed</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__MIXED = 0; - - /** - * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1; - - /** - * The feature id for the '<em><b>XSI Schema Location</b></em>' map. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2; - - /** - * The feature id for the '<em><b>Description</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__DESCRIPTION = 3; - - /** - * The feature id for the '<em><b>Index</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__INDEX = 4; - - /** - * The feature id for the '<em><b>Name</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__NAME = 5; - - /** - * The number of structural features of the the '<em>Document Root</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT_FEATURE_COUNT = 6; - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl <em>Index</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getIndex() - * @generated - */ - int INDEX = 2; - - /** - * The feature id for the '<em><b>Name</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INDEX__NAME = 0; - - /** - * The feature id for the '<em><b>Description</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INDEX__DESCRIPTION = 1; - - /** - * The feature id for the '<em><b>Registry</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INDEX__REGISTRY = 2; - - /** - * The feature id for the '<em><b>Taxonomy</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INDEX__TAXONOMY = 3; - - /** - * The number of structural features of the the '<em>Index</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INDEX_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl <em>Name</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl#getName_() - * @generated - */ - int NAME = 3; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAME__VALUE = 0; - - /** - * The feature id for the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAME__LANG = 1; - - /** - * The number of structural features of the the '<em>Name</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAME_FEATURE_COUNT = 2; - - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Description</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description - * @generated - */ - EClass getDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getValue() - * @see #getDescription() - * @generated - */ - EAttribute getDescription_Value(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang <em>Lang</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lang</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Description#getLang() - * @see #getDescription() - * @generated - */ - EAttribute getDescription_Lang(); - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot <em>Document Root</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Document Root</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot - * @generated - */ - EClass getDocumentRoot(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getMixed <em>Mixed</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Mixed</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getMixed() - * @see #getDocumentRoot() - * @generated - */ - EAttribute getDocumentRoot_Mixed(); - - /** - * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the map '<em>XMLNS Prefix Map</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXMLNSPrefixMap() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_XMLNSPrefixMap(); - - /** - * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the map '<em>XSI Schema Location</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getXSISchemaLocation() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_XSISchemaLocation(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Description</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getDescription() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_Description(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex <em>Index</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Index</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getIndex() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_Index(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Name</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot#getName() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_Name(); - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index <em>Index</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Index</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index - * @generated - */ - EClass getIndex(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Name</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getName() - * @see #getIndex() - * @generated - */ - EReference getIndex_Name(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getDescription <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Description</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getDescription() - * @see #getIndex() - * @generated - */ - EReference getIndex_Description(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getRegistry <em>Registry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Registry</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getRegistry() - * @see #getIndex() - * @generated - */ - EReference getIndex_Registry(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getTaxonomy <em>Taxonomy</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Taxonomy</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Index#getTaxonomy() - * @see #getIndex() - * @generated - */ - EReference getIndex_Taxonomy(); - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Name</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name - * @generated - */ - EClass getName_(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getValue() - * @see #getName_() - * @generated - */ - EAttribute getName_Value(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang <em>Lang</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lang</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.Name#getLang() - * @see #getName_() - * @generated - */ - EAttribute getName_Lang(); - - /** - * 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 - */ - RTIndexFactory getRTIndexFactory(); - -} //RTIndexPackage diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java deleted file mode 100644 index 0f8cb524c..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DescriptionImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: DescriptionImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.Description; -import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Description</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DescriptionImpl#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DescriptionImpl extends EObjectImpl implements Description { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected static final String LANG_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected String lang = LANG_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DescriptionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return RTIndexPackage.eINSTANCE.getDescription(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.DESCRIPTION__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLang() { - return lang; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLang(String newLang) { - String oldLang = lang; - lang = newLang; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.DESCRIPTION__LANG, oldLang, lang)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DESCRIPTION__VALUE: - return getValue(); - case RTIndexPackage.DESCRIPTION__LANG: - return getLang(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DESCRIPTION__VALUE: - setValue((String)newValue); - return; - case RTIndexPackage.DESCRIPTION__LANG: - setLang((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DESCRIPTION__VALUE: - setValue(VALUE_EDEFAULT); - return; - case RTIndexPackage.DESCRIPTION__LANG: - setLang(LANG_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DESCRIPTION__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - case RTIndexPackage.DESCRIPTION__LANG: - return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(", lang: "); - result.append(lang); - result.append(')'); - return result.toString(); - } - -} //DescriptionImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java deleted file mode 100644 index 448dbc14e..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/DocumentRootImpl.java +++ /dev/null @@ -1,367 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: DocumentRootImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EMap; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; - -import org.eclipse.emf.ecore.util.BasicFeatureMap; -import org.eclipse.emf.ecore.util.EcoreEMap; -import org.eclipse.emf.ecore.util.FeatureMap; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.Description; -import org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot; -import org.eclipse.wst.ws.internal.model.v10.rtindex.Index; -import org.eclipse.wst.ws.internal.model.v10.rtindex.Name; -import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Document Root</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getIndex <em>Index</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.DocumentRootImpl#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DocumentRootImpl extends EObjectImpl implements DocumentRoot { - /** - * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMixed() - * @generated - * @ordered - */ - protected FeatureMap mixed = null; - - /** - * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXMLNSPrefixMap() - * @generated - * @ordered - */ - protected EMap xMLNSPrefixMap = null; - - /** - * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXSISchemaLocation() - * @generated - * @ordered - */ - protected EMap xSISchemaLocation = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DocumentRootImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return RTIndexPackage.eINSTANCE.getDocumentRoot(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FeatureMap getMixed() { - if (mixed == null) { - mixed = new BasicFeatureMap(this, RTIndexPackage.DOCUMENT_ROOT__MIXED); - } - return mixed; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EMap getXMLNSPrefixMap() { - if (xMLNSPrefixMap == null) { - xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP); - } - return xMLNSPrefixMap; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EMap getXSISchemaLocation() { - if (xSISchemaLocation == null) { - xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); - } - return xSISchemaLocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Description getDescription() { - return (Description)getMixed().get(RTIndexPackage.eINSTANCE.getDocumentRoot_Description(), true); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(RTIndexPackage.eINSTANCE.getDocumentRoot_Description(), newDescription, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDescription(Description newDescription) { - ((FeatureMap.Internal)getMixed()).set(RTIndexPackage.eINSTANCE.getDocumentRoot_Description(), newDescription); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Index getIndex() { - return (Index)getMixed().get(RTIndexPackage.eINSTANCE.getDocumentRoot_Index(), true); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetIndex(Index newIndex, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(RTIndexPackage.eINSTANCE.getDocumentRoot_Index(), newIndex, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIndex(Index newIndex) { - ((FeatureMap.Internal)getMixed()).set(RTIndexPackage.eINSTANCE.getDocumentRoot_Index(), newIndex); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Name getName() { - return (Name)getMixed().get(RTIndexPackage.eINSTANCE.getDocumentRoot_Name(), true); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetName(Name newName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(RTIndexPackage.eINSTANCE.getDocumentRoot_Name(), newName, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(Name newName) { - ((FeatureMap.Internal)getMixed()).set(RTIndexPackage.eINSTANCE.getDocumentRoot_Name(), newName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case RTIndexPackage.DOCUMENT_ROOT__MIXED: - return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); - case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs); - case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs); - case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION: - return basicSetDescription(null, msgs); - case RTIndexPackage.DOCUMENT_ROOT__INDEX: - return basicSetIndex(null, msgs); - case RTIndexPackage.DOCUMENT_ROOT__NAME: - return basicSetName(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DOCUMENT_ROOT__MIXED: - return getMixed(); - case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - return getXMLNSPrefixMap(); - case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - return getXSISchemaLocation(); - case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION: - return getDescription(); - case RTIndexPackage.DOCUMENT_ROOT__INDEX: - return getIndex(); - case RTIndexPackage.DOCUMENT_ROOT__NAME: - return getName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DOCUMENT_ROOT__MIXED: - getMixed().clear(); - getMixed().addAll((Collection)newValue); - return; - case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - getXMLNSPrefixMap().clear(); - getXMLNSPrefixMap().addAll((Collection)newValue); - return; - case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - getXSISchemaLocation().clear(); - getXSISchemaLocation().addAll((Collection)newValue); - return; - case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION: - setDescription((Description)newValue); - return; - case RTIndexPackage.DOCUMENT_ROOT__INDEX: - setIndex((Index)newValue); - return; - case RTIndexPackage.DOCUMENT_ROOT__NAME: - setName((Name)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DOCUMENT_ROOT__MIXED: - getMixed().clear(); - return; - case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - getXMLNSPrefixMap().clear(); - return; - case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - getXSISchemaLocation().clear(); - return; - case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION: - setDescription((Description)null); - return; - case RTIndexPackage.DOCUMENT_ROOT__INDEX: - setIndex((Index)null); - return; - case RTIndexPackage.DOCUMENT_ROOT__NAME: - setName((Name)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.DOCUMENT_ROOT__MIXED: - return mixed != null && !mixed.isEmpty(); - case RTIndexPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty(); - case RTIndexPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - return xSISchemaLocation != null && !xSISchemaLocation.isEmpty(); - case RTIndexPackage.DOCUMENT_ROOT__DESCRIPTION: - return getDescription() != null; - case RTIndexPackage.DOCUMENT_ROOT__INDEX: - return getIndex() != null; - case RTIndexPackage.DOCUMENT_ROOT__NAME: - return getName() != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (mixed: "); - result.append(mixed); - result.append(')'); - return result.toString(); - } - -} //DocumentRootImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java deleted file mode 100644 index 98dc08e65..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/IndexImpl.java +++ /dev/null @@ -1,267 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: IndexImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.wst.ws.internal.model.v10.registry.Registry; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.Description; -import org.eclipse.wst.ws.internal.model.v10.rtindex.Index; -import org.eclipse.wst.ws.internal.model.v10.rtindex.Name; -import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage; - -import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Index</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getRegistry <em>Registry</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.IndexImpl#getTaxonomy <em>Taxonomy</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class IndexImpl extends EObjectImpl implements Index { - /** - * The cached value of the '{@link #getName() <em>Name</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected EList name = null; - - /** - * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected EList description = null; - - /** - * The cached value of the '{@link #getRegistry() <em>Registry</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRegistry() - * @generated - * @ordered - */ - protected EList registry = null; - - /** - * The cached value of the '{@link #getTaxonomy() <em>Taxonomy</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaxonomy() - * @generated - * @ordered - */ - protected EList taxonomy = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IndexImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return RTIndexPackage.eINSTANCE.getIndex(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getName() { - if (name == null) { - name = new EObjectContainmentEList(Name.class, this, RTIndexPackage.INDEX__NAME); - } - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDescription() { - if (description == null) { - description = new EObjectContainmentEList(Description.class, this, RTIndexPackage.INDEX__DESCRIPTION); - } - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getRegistry() { - if (registry == null) { - registry = new EObjectContainmentEList(Registry.class, this, RTIndexPackage.INDEX__REGISTRY); - } - return registry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getTaxonomy() { - if (taxonomy == null) { - taxonomy = new EObjectContainmentEList(Taxonomy.class, this, RTIndexPackage.INDEX__TAXONOMY); - } - return taxonomy; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { - if (featureID >= 0) { - switch (eDerivedStructuralFeatureID(featureID, baseClass)) { - case RTIndexPackage.INDEX__NAME: - return ((InternalEList)getName()).basicRemove(otherEnd, msgs); - case RTIndexPackage.INDEX__DESCRIPTION: - return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); - case RTIndexPackage.INDEX__REGISTRY: - return ((InternalEList)getRegistry()).basicRemove(otherEnd, msgs); - case RTIndexPackage.INDEX__TAXONOMY: - return ((InternalEList)getTaxonomy()).basicRemove(otherEnd, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.INDEX__NAME: - return getName(); - case RTIndexPackage.INDEX__DESCRIPTION: - return getDescription(); - case RTIndexPackage.INDEX__REGISTRY: - return getRegistry(); - case RTIndexPackage.INDEX__TAXONOMY: - return getTaxonomy(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.INDEX__NAME: - getName().clear(); - getName().addAll((Collection)newValue); - return; - case RTIndexPackage.INDEX__DESCRIPTION: - getDescription().clear(); - getDescription().addAll((Collection)newValue); - return; - case RTIndexPackage.INDEX__REGISTRY: - getRegistry().clear(); - getRegistry().addAll((Collection)newValue); - return; - case RTIndexPackage.INDEX__TAXONOMY: - getTaxonomy().clear(); - getTaxonomy().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.INDEX__NAME: - getName().clear(); - return; - case RTIndexPackage.INDEX__DESCRIPTION: - getDescription().clear(); - return; - case RTIndexPackage.INDEX__REGISTRY: - getRegistry().clear(); - return; - case RTIndexPackage.INDEX__TAXONOMY: - getTaxonomy().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.INDEX__NAME: - return name != null && !name.isEmpty(); - case RTIndexPackage.INDEX__DESCRIPTION: - return description != null && !description.isEmpty(); - case RTIndexPackage.INDEX__REGISTRY: - return registry != null && !registry.isEmpty(); - case RTIndexPackage.INDEX__TAXONOMY: - return taxonomy != null && !taxonomy.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - -} //IndexImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java deleted file mode 100644 index 3b6852492..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/NameImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: NameImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.Name; -import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.rtindex.impl.NameImpl#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class NameImpl extends EObjectImpl implements Name { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected static final String LANG_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected String lang = LANG_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NameImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return RTIndexPackage.eINSTANCE.getName_(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.NAME__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLang() { - return lang; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLang(String newLang) { - String oldLang = lang; - lang = newLang; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RTIndexPackage.NAME__LANG, oldLang, lang)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.NAME__VALUE: - return getValue(); - case RTIndexPackage.NAME__LANG: - return getLang(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.NAME__VALUE: - setValue((String)newValue); - return; - case RTIndexPackage.NAME__LANG: - setLang((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.NAME__VALUE: - setValue(VALUE_EDEFAULT); - return; - case RTIndexPackage.NAME__LANG: - setLang(LANG_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case RTIndexPackage.NAME__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - case RTIndexPackage.NAME__LANG: - return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(", lang: "); - result.append(lang); - result.append(')'); - return result.toString(); - } - -} //NameImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java deleted file mode 100644 index 1efa33a99..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexFactoryImpl.java +++ /dev/null @@ -1,108 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexFactoryImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class RTIndexFactoryImpl extends EFactoryImpl implements RTIndexFactory { - /** - * Creates and instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RTIndexFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case RTIndexPackage.DESCRIPTION: return createDescription(); - case RTIndexPackage.DOCUMENT_ROOT: return createDocumentRoot(); - case RTIndexPackage.INDEX: return createIndex(); - case RTIndexPackage.NAME: return createName(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Description createDescription() { - DescriptionImpl description = new DescriptionImpl(); - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DocumentRoot createDocumentRoot() { - DocumentRootImpl documentRoot = new DocumentRootImpl(); - return documentRoot; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Index createIndex() { - IndexImpl index = new IndexImpl(); - return index; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Name createName() { - NameImpl name = new NameImpl(); - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RTIndexPackage getRTIndexPackage() { - return (RTIndexPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - public static RTIndexPackage getPackage() { - return RTIndexPackage.eINSTANCE; - } - -} //RTIndexFactoryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java deleted file mode 100644 index e99755de3..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/impl/RTIndexPackageImpl.java +++ /dev/null @@ -1,573 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexPackageImpl.java,v 1.2 2005/12/03 04:06:48 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.impl; - -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; - -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; - -import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl; - -import org.eclipse.wst.ws.internal.model.v10.registry.RegistryPackage; - -import org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryPackageImpl; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.Description; -import org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot; -import org.eclipse.wst.ws.internal.model.v10.rtindex.Index; -import org.eclipse.wst.ws.internal.model.v10.rtindex.Name; -import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexFactory; -import org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage; - -import org.eclipse.wst.ws.internal.model.v10.taxonomy.TaxonomyPackage; - -import org.eclipse.wst.ws.internal.model.v10.taxonomy.impl.TaxonomyPackageImpl; - -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage; - -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class RTIndexPackageImpl extends EPackageImpl implements RTIndexPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass descriptionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass documentRootEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass indexEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass nameEClass = 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.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage#eNS_URI - * @see #init() - * @generated - */ - private RTIndexPackageImpl() { - super(eNS_URI, RTIndexFactory.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 RTIndexPackage init() { - if (isInited) return (RTIndexPackage)EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI); - - // Obtain or create and register package - RTIndexPackageImpl theRTIndexPackage = (RTIndexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof RTIndexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new RTIndexPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - XMLTypePackageImpl.init(); - - // Obtain or create and register interdependencies - TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) instanceof TaxonomyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI) : TaxonomyPackageImpl.eINSTANCE); - RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) instanceof RegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI) : RegistryPackageImpl.eINSTANCE); - UDDIRegistryPackageImpl theUDDIRegistryPackage = (UDDIRegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) instanceof UDDIRegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI) : UDDIRegistryPackageImpl.eINSTANCE); - - // Create package meta-data objects - theRTIndexPackage.createPackageContents(); - theTaxonomyPackage.createPackageContents(); - theRegistryPackage.createPackageContents(); - theUDDIRegistryPackage.createPackageContents(); - - // Initialize created meta-data - theRTIndexPackage.initializePackageContents(); - theTaxonomyPackage.initializePackageContents(); - theRegistryPackage.initializePackageContents(); - theUDDIRegistryPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theRTIndexPackage.freeze(); - - return theRTIndexPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDescription() { - return descriptionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDescription_Value() { - return (EAttribute)descriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDescription_Lang() { - return (EAttribute)descriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDocumentRoot() { - return documentRootEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDocumentRoot_Mixed() { - return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_XMLNSPrefixMap() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_XSISchemaLocation() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Description() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Index() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Name() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIndex() { - return indexEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getIndex_Name() { - return (EReference)indexEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getIndex_Description() { - return (EReference)indexEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getIndex_Registry() { - return (EReference)indexEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getIndex_Taxonomy() { - return (EReference)indexEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getName_() { - return nameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getName_Value() { - return (EAttribute)nameEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getName_Lang() { - return (EAttribute)nameEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RTIndexFactory getRTIndexFactory() { - return (RTIndexFactory)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 - descriptionEClass = createEClass(DESCRIPTION); - createEAttribute(descriptionEClass, DESCRIPTION__VALUE); - createEAttribute(descriptionEClass, DESCRIPTION__LANG); - - documentRootEClass = createEClass(DOCUMENT_ROOT); - createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); - createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); - createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); - createEReference(documentRootEClass, DOCUMENT_ROOT__DESCRIPTION); - createEReference(documentRootEClass, DOCUMENT_ROOT__INDEX); - createEReference(documentRootEClass, DOCUMENT_ROOT__NAME); - - indexEClass = createEClass(INDEX); - createEReference(indexEClass, INDEX__NAME); - createEReference(indexEClass, INDEX__DESCRIPTION); - createEReference(indexEClass, INDEX__REGISTRY); - createEReference(indexEClass, INDEX__TAXONOMY); - - nameEClass = createEClass(NAME); - createEAttribute(nameEClass, NAME__VALUE); - createEAttribute(nameEClass, NAME__LANG); - } - - /** - * <!-- 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 - XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI); - TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI); - - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDescription_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDescription_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_Description(), this.getDescription(), null, "description", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_Index(), this.getIndex(), null, "index", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_Name(), this.getName_(), null, "name", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - - initEClass(indexEClass, Index.class, "Index", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIndex_Name(), this.getName_(), null, "name", null, 1, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIndex_Description(), this.getDescription(), null, "description", null, 1, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIndex_Registry(), theRegistryPackage.getRegistry(), null, "registry", null, 0, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIndex_Taxonomy(), theTaxonomyPackage.getTaxonomy(), null, "taxonomy", null, 0, -1, Index.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(nameEClass, Name.class, "Name", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getName_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, Name.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http:///org/eclipse/emf/ecore/util/ExtendedMetaData - createExtendedMetaDataAnnotations(); - } - - /** - * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createExtendedMetaDataAnnotations() { - String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; - addAnnotation - (descriptionEClass, - source, - new String[] { - "name", "Description", - "kind", "simple" - }); - addAnnotation - (getDescription_Value(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getDescription_Lang(), - source, - new String[] { - "kind", "attribute", - "name", "lang", - "namespace", "http://www.w3.org/XML/1998/namespace" - }); - addAnnotation - (documentRootEClass, - source, - new String[] { - "name", "", - "kind", "mixed" - }); - addAnnotation - (getDocumentRoot_Mixed(), - source, - new String[] { - "kind", "elementWildcard", - "name", ":mixed" - }); - addAnnotation - (getDocumentRoot_XMLNSPrefixMap(), - source, - new String[] { - "kind", "attribute", - "name", "xmlns:prefix" - }); - addAnnotation - (getDocumentRoot_XSISchemaLocation(), - source, - new String[] { - "kind", "attribute", - "name", "xsi:schemaLocation" - }); - addAnnotation - (getDocumentRoot_Description(), - source, - new String[] { - "kind", "element", - "name", "description", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_Index(), - source, - new String[] { - "kind", "element", - "name", "index", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_Name(), - source, - new String[] { - "kind", "element", - "name", "name", - "namespace", "##targetNamespace" - }); - addAnnotation - (indexEClass, - source, - new String[] { - "name", "Index", - "kind", "elementOnly" - }); - addAnnotation - (getIndex_Name(), - source, - new String[] { - "kind", "element", - "name", "name" - }); - addAnnotation - (getIndex_Description(), - source, - new String[] { - "kind", "element", - "name", "description" - }); - addAnnotation - (getIndex_Registry(), - source, - new String[] { - "kind", "element", - "name", "registry", - "namespace", "http://eclipse.org/wst/ws/internal/model/v10/registry" - }); - addAnnotation - (getIndex_Taxonomy(), - source, - new String[] { - "kind", "element", - "name", "taxonomy", - "namespace", "http://eclipse.org/wst/ws/internal/model/v10/taxonomy" - }); - addAnnotation - (nameEClass, - source, - new String[] { - "name", "Name", - "kind", "simple" - }); - addAnnotation - (getName_Value(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getName_Lang(), - source, - new String[] { - "kind", "attribute", - "name", "lang", - "namespace", "http://www.w3.org/XML/1998/namespace" - }); - } - -} //RTIndexPackageImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java deleted file mode 100644 index 09de415a7..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexAdapterFactory.java +++ /dev/null @@ -1,171 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexAdapterFactory.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.util; - -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; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.*; - -/** - * <!-- 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.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage - * @generated - */ -public class RTIndexAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static RTIndexPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RTIndexAdapterFactory() { - if (modelPackage == null) { - modelPackage = RTIndexPackage.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 - */ - 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 RTIndexSwitch modelSwitch = - new RTIndexSwitch() { - public Object caseDescription(Description object) { - return createDescriptionAdapter(); - } - public Object caseDocumentRoot(DocumentRoot object) { - return createDocumentRootAdapter(); - } - public Object caseIndex(Index object) { - return createIndexAdapter(); - } - public Object caseName(Name object) { - return createNameAdapter(); - } - public Object 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 - */ - public Adapter createAdapter(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Description <em>Description</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.eclipse.wst.ws.internal.model.v10.rtindex.Description - * @generated - */ - public Adapter createDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot <em>Document Root</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.eclipse.wst.ws.internal.model.v10.rtindex.DocumentRoot - * @generated - */ - public Adapter createDocumentRootAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Index <em>Index</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.eclipse.wst.ws.internal.model.v10.rtindex.Index - * @generated - */ - public Adapter createIndexAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.rtindex.Name <em>Name</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.eclipse.wst.ws.internal.model.v10.rtindex.Name - * @generated - */ - public Adapter createNameAdapter() { - 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; - } - -} //RTIndexAdapterFactory diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java deleted file mode 100644 index 6d09fcc4c..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceFactoryImpl.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexResourceFactoryImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.util; - -import org.eclipse.emf.common.util.URI; - -import org.eclipse.emf.ecore.resource.Resource; - -import org.eclipse.emf.ecore.util.ExtendedMetaData; - -import org.eclipse.emf.ecore.xmi.XMLResource; - -import org.eclipse.emf.ecore.xmi.impl.XMLResourceFactoryImpl; - -/** - * <!-- begin-user-doc --> - * The <b>Resource Factory</b> associated with the package. - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.util.RTIndexResourceImpl - * @generated - */ -public class RTIndexResourceFactoryImpl extends XMLResourceFactoryImpl { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExtendedMetaData extendedMetaData; - - /** - * Creates an instance of the resource factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RTIndexResourceFactoryImpl() { - super(); - extendedMetaData = ExtendedMetaData.INSTANCE; - } - - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Resource createResource(URI uri) { - XMLResource result = new RTIndexResourceImpl(uri); - result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData); - result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetaData); - - result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); - result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); - - result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); - return result; - } - -} //RTIndexResourceFactoryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java deleted file mode 100644 index 9e3164857..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexResourceImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexResourceImpl.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.util; - -import org.eclipse.emf.common.util.URI; - -import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; - -/** - * <!-- begin-user-doc --> - * The <b>Resource </b> associated with the package. - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.util.RTIndexResourceFactoryImpl - * @generated - */ -public class RTIndexResourceImpl extends XMLResourceImpl { - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param uri the URI of the new resource. - * @generated - */ - public RTIndexResourceImpl(URI uri) { - super(uri); - } - -} //RTIndexResourceFactoryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java deleted file mode 100644 index be85be382..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/rtindex/util/RTIndexSwitch.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: RTIndexSwitch.java,v 1.2 2005/12/03 04:06:47 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.rtindex.util; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.rtindex.RTIndexPackage - * @generated - */ -public class RTIndexSwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static RTIndexPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RTIndexSwitch() { - if (modelPackage == null) { - modelPackage = RTIndexPackage.eINSTANCE; - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - public Object doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch((EClass)eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case RTIndexPackage.DESCRIPTION: { - Description description = (Description)theEObject; - Object result = caseDescription(description); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RTIndexPackage.DOCUMENT_ROOT: { - DocumentRoot documentRoot = (DocumentRoot)theEObject; - Object result = caseDocumentRoot(documentRoot); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RTIndexPackage.INDEX: { - Index index = (Index)theEObject; - Object result = caseIndex(index); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RTIndexPackage.NAME: { - Name name = (Name)theEObject; - Object result = caseName(name); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Description</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Description</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseDescription(Description object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Document Root</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseDocumentRoot(DocumentRoot object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Index</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Index</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseIndex(Index object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Name</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Name</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseName(Name object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public Object defaultCase(EObject object) { - return null; - } - -} //RTIndexSwitch |