diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry')
14 files changed, 0 insertions, 3268 deletions
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java deleted file mode 100644 index 598dcb616..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/DocumentRoot.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: DocumentRoot.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry; - -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.uddiregistry.DocumentRoot#getMixed <em>Mixed</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies <em>Taxonomies</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry <em>Uddi Registry</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#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.uddiregistry.UDDIRegistryPackage#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.uddiregistry.UDDIRegistryPackage#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.uddiregistry.UDDIRegistryPackage#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>Taxonomies</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Taxonomies</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>Taxonomies</em>' containment reference. - * @see #setTaxonomies(Taxonomies) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_Taxonomies() - * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true" - * @generated - */ - Taxonomies getTaxonomies(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies <em>Taxonomies</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Taxonomies</em>' containment reference. - * @see #getTaxonomies() - * @generated - */ - void setTaxonomies(Taxonomies value); - - /** - * Returns the value of the '<em><b>Uddi Registry</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Uddi Registry</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>Uddi Registry</em>' containment reference. - * @see #setUddiRegistry(UDDIRegistry) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getDocumentRoot_UddiRegistry() - * @model containment="true" resolveProxies="false" transient="true" volatile="true" derived="true" - * @generated - */ - UDDIRegistry getUddiRegistry(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry <em>Uddi Registry</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Uddi Registry</em>' containment reference. - * @see #getUddiRegistry() - * @generated - */ - void setUddiRegistry(UDDIRegistry value); - -} // DocumentRoot diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java deleted file mode 100644 index fc7ebce71..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/Taxonomies.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Taxonomies.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Taxonomies</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies#getTaxonomy <em>Taxonomy</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getTaxonomies() - * @model - * @generated - */ -public interface Taxonomies extends EObject { - /** - * 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.uddiregistry.UDDIRegistryPackage#getTaxonomies_Taxonomy() - * @model type="org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy" containment="true" resolveProxies="false" - * @generated - */ - EList getTaxonomy(); - -} // Taxonomies diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java deleted file mode 100644 index 5cf2115e3..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistry.java +++ /dev/null @@ -1,243 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistry.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry; - -import org.eclipse.wst.ws.internal.model.v10.registry.Registry; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>UDDIRegistry</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion <em>Version</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL <em>Discovery URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL <em>Publication URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL <em>Secured Publication URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin <em>Default Login</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword <em>Default Password</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies <em>Taxonomies</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry() - * @model - * @generated - */ -public interface UDDIRegistry extends Registry { - /** - * Returns the value of the '<em><b>Version</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Version</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Version</em>' attribute. - * @see #setVersion(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_Version() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true" - * @generated - */ - String getVersion(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion <em>Version</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Version</em>' attribute. - * @see #getVersion() - * @generated - */ - void setVersion(String value); - - /** - * Returns the value of the '<em><b>Discovery URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Discovery URL</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Discovery URL</em>' attribute. - * @see #setDiscoveryURL(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_DiscoveryURL() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true" - * @generated - */ - String getDiscoveryURL(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL <em>Discovery URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Discovery URL</em>' attribute. - * @see #getDiscoveryURL() - * @generated - */ - void setDiscoveryURL(String value); - - /** - * Returns the value of the '<em><b>Publication URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Publication URL</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Publication URL</em>' attribute. - * @see #setPublicationURL(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_PublicationURL() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true" - * @generated - */ - String getPublicationURL(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL <em>Publication URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Publication URL</em>' attribute. - * @see #getPublicationURL() - * @generated - */ - void setPublicationURL(String value); - - /** - * Returns the value of the '<em><b>Secured Discovery URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Secured Discovery URL</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Secured Discovery URL</em>' attribute. - * @see #setSecuredDiscoveryURL(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_SecuredDiscoveryURL() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true" - * @generated - */ - String getSecuredDiscoveryURL(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Secured Discovery URL</em>' attribute. - * @see #getSecuredDiscoveryURL() - * @generated - */ - void setSecuredDiscoveryURL(String value); - - /** - * Returns the value of the '<em><b>Secured Publication URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Secured Publication URL</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Secured Publication URL</em>' attribute. - * @see #setSecuredPublicationURL(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_SecuredPublicationURL() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true" - * @generated - */ - String getSecuredPublicationURL(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL <em>Secured Publication URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Secured Publication URL</em>' attribute. - * @see #getSecuredPublicationURL() - * @generated - */ - void setSecuredPublicationURL(String value); - - /** - * Returns the value of the '<em><b>Default Login</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Default Login</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Default Login</em>' attribute. - * @see #setDefaultLogin(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_DefaultLogin() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true" - * @generated - */ - String getDefaultLogin(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin <em>Default Login</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Default Login</em>' attribute. - * @see #getDefaultLogin() - * @generated - */ - void setDefaultLogin(String value); - - /** - * Returns the value of the '<em><b>Default Password</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Default Password</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Default Password</em>' attribute. - * @see #setDefaultPassword(String) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_DefaultPassword() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true" - * @generated - */ - String getDefaultPassword(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword <em>Default Password</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Default Password</em>' attribute. - * @see #getDefaultPassword() - * @generated - */ - void setDefaultPassword(String value); - - /** - * Returns the value of the '<em><b>Taxonomies</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Taxonomies</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>Taxonomies</em>' containment reference. - * @see #setTaxonomies(Taxonomies) - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage#getUDDIRegistry_Taxonomies() - * @model containment="true" resolveProxies="false" - * @generated - */ - Taxonomies getTaxonomies(); - - /** - * Sets the value of the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies <em>Taxonomies</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Taxonomies</em>' containment reference. - * @see #getTaxonomies() - * @generated - */ - void setTaxonomies(Taxonomies value); - -} // UDDIRegistry diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java deleted file mode 100644 index a210c72d0..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryFactory.java +++ /dev/null @@ -1,64 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryFactory.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry; - -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.uddiregistry.UDDIRegistryPackage - * @generated - */ -public interface UDDIRegistryFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - UDDIRegistryFactory eINSTANCE = new org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryFactoryImpl(); - - /** - * 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>Taxonomies</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Taxonomies</em>'. - * @generated - */ - Taxonomies createTaxonomies(); - - /** - * Returns a new object of class '<em>UDDIRegistry</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>UDDIRegistry</em>'. - * @generated - */ - UDDIRegistry createUDDIRegistry(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - UDDIRegistryPackage getUDDIRegistryPackage(); - -} //UDDIRegistryFactory diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java deleted file mode 100644 index c1e5ae1f9..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/UDDIRegistryPackage.java +++ /dev/null @@ -1,568 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryPackage.java,v 1.2 2005/12/03 04:06:49 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry; - -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.wst.ws.internal.model.v10.registry.RegistryPackage; - -/** - * <!-- 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.uddiregistry.UDDIRegistryFactory - * @generated - */ -public interface UDDIRegistryPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "uddiregistry"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://eclipse.org/wst/ws/internal/model/v10/uddiregistry"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "uddiregistry"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - UDDIRegistryPackage eINSTANCE = org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl <em>Document Root</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl#getDocumentRoot() - * @generated - */ - int DOCUMENT_ROOT = 0; - - /** - * 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>Taxonomies</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__TAXONOMIES = 3; - - /** - * The feature id for the '<em><b>Uddi Registry</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENT_ROOT__UDDI_REGISTRY = 4; - - /** - * 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 = 5; - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.TaxonomiesImpl <em>Taxonomies</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.TaxonomiesImpl - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl#getTaxonomies() - * @generated - */ - int TAXONOMIES = 1; - - /** - * The feature id for the '<em><b>Taxonomy</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAXONOMIES__TAXONOMY = 0; - - /** - * The number of structural features of the the '<em>Taxonomies</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAXONOMIES_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl <em>UDDIRegistry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryPackageImpl#getUDDIRegistry() - * @generated - */ - int UDDI_REGISTRY = 2; - - /** - * The feature id for the '<em><b>Name</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__NAME = RegistryPackage.REGISTRY__NAME; - - /** - * The feature id for the '<em><b>Description</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__DESCRIPTION = RegistryPackage.REGISTRY__DESCRIPTION; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__ID = RegistryPackage.REGISTRY__ID; - - /** - * The feature id for the '<em><b>Location</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__LOCATION = RegistryPackage.REGISTRY__LOCATION; - - /** - * The feature id for the '<em><b>Ref</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__REF = RegistryPackage.REGISTRY__REF; - - /** - * The feature id for the '<em><b>Version</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__VERSION = RegistryPackage.REGISTRY_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Discovery URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__DISCOVERY_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Publication URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__PUBLICATION_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Secured Discovery URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__SECURED_DISCOVERY_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Secured Publication URL</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__SECURED_PUBLICATION_URL = RegistryPackage.REGISTRY_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Default Login</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__DEFAULT_LOGIN = RegistryPackage.REGISTRY_FEATURE_COUNT + 5; - - /** - * The feature id for the '<em><b>Default Password</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__DEFAULT_PASSWORD = RegistryPackage.REGISTRY_FEATURE_COUNT + 6; - - /** - * The feature id for the '<em><b>Taxonomies</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY__TAXONOMIES = RegistryPackage.REGISTRY_FEATURE_COUNT + 7; - - /** - * The number of structural features of the the '<em>UDDIRegistry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UDDI_REGISTRY_FEATURE_COUNT = RegistryPackage.REGISTRY_FEATURE_COUNT + 8; - - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.DocumentRoot - * @generated - */ - EClass getDocumentRoot(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.DocumentRoot#getMixed() - * @see #getDocumentRoot() - * @generated - */ - EAttribute getDocumentRoot_Mixed(); - - /** - * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.DocumentRoot#getXMLNSPrefixMap() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_XMLNSPrefixMap(); - - /** - * Returns the meta object for the map '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.DocumentRoot#getXSISchemaLocation() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_XSISchemaLocation(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies <em>Taxonomies</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Taxonomies</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getTaxonomies() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_Taxonomies(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry <em>Uddi Registry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Uddi Registry</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.DocumentRoot#getUddiRegistry() - * @see #getDocumentRoot() - * @generated - */ - EReference getDocumentRoot_UddiRegistry(); - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies <em>Taxonomies</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Taxonomies</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies - * @generated - */ - EClass getTaxonomies(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies#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.uddiregistry.Taxonomies#getTaxonomy() - * @see #getTaxonomies() - * @generated - */ - EReference getTaxonomies_Taxonomy(); - - /** - * Returns the meta object for class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry <em>UDDIRegistry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>UDDIRegistry</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry - * @generated - */ - EClass getUDDIRegistry(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion <em>Version</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Version</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getVersion() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_Version(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL <em>Discovery URL</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Discovery URL</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDiscoveryURL() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_DiscoveryURL(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL <em>Publication URL</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Publication URL</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getPublicationURL() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_PublicationURL(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Secured Discovery URL</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredDiscoveryURL() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_SecuredDiscoveryURL(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL <em>Secured Publication URL</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Secured Publication URL</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getSecuredPublicationURL() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_SecuredPublicationURL(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin <em>Default Login</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Default Login</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultLogin() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_DefaultLogin(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword <em>Default Password</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Default Password</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getDefaultPassword() - * @see #getUDDIRegistry() - * @generated - */ - EAttribute getUDDIRegistry_DefaultPassword(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies <em>Taxonomies</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Taxonomies</em>'. - * @see org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry#getTaxonomies() - * @see #getUDDIRegistry() - * @generated - */ - EReference getUDDIRegistry_Taxonomies(); - - /** - * 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 - */ - UDDIRegistryFactory getUDDIRegistryFactory(); - -} //UDDIRegistryPackage diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java deleted file mode 100644 index 6802d3fb2..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/DocumentRootImpl.java +++ /dev/null @@ -1,326 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: DocumentRootImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.DocumentRoot; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage; - -/** - * <!-- 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.uddiregistry.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getTaxonomies <em>Taxonomies</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.DocumentRootImpl#getUddiRegistry <em>Uddi Registry</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 UDDIRegistryPackage.eINSTANCE.getDocumentRoot(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FeatureMap getMixed() { - if (mixed == null) { - mixed = new BasicFeatureMap(this, UDDIRegistryPackage.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, UDDIRegistryPackage.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, UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); - } - return xSISchemaLocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Taxonomies getTaxonomies() { - return (Taxonomies)getMixed().get(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_Taxonomies(), true); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTaxonomies(Taxonomies newTaxonomies, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_Taxonomies(), newTaxonomies, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTaxonomies(Taxonomies newTaxonomies) { - ((FeatureMap.Internal)getMixed()).set(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_Taxonomies(), newTaxonomies); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistry getUddiRegistry() { - return (UDDIRegistry)getMixed().get(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_UddiRegistry(), true); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetUddiRegistry(UDDIRegistry newUddiRegistry, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_UddiRegistry(), newUddiRegistry, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setUddiRegistry(UDDIRegistry newUddiRegistry) { - ((FeatureMap.Internal)getMixed()).set(UDDIRegistryPackage.eINSTANCE.getDocumentRoot_UddiRegistry(), newUddiRegistry); - } - - /** - * <!-- 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 UDDIRegistryPackage.DOCUMENT_ROOT__MIXED: - return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); - case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs); - case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs); - case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES: - return basicSetTaxonomies(null, msgs); - case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY: - return basicSetUddiRegistry(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 UDDIRegistryPackage.DOCUMENT_ROOT__MIXED: - return getMixed(); - case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - return getXMLNSPrefixMap(); - case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - return getXSISchemaLocation(); - case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES: - return getTaxonomies(); - case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY: - return getUddiRegistry(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED: - getMixed().clear(); - getMixed().addAll((Collection)newValue); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - getXMLNSPrefixMap().clear(); - getXMLNSPrefixMap().addAll((Collection)newValue); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - getXSISchemaLocation().clear(); - getXSISchemaLocation().addAll((Collection)newValue); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES: - setTaxonomies((Taxonomies)newValue); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY: - setUddiRegistry((UDDIRegistry)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED: - getMixed().clear(); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - getXMLNSPrefixMap().clear(); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - getXSISchemaLocation().clear(); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES: - setTaxonomies((Taxonomies)null); - return; - case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY: - setUddiRegistry((UDDIRegistry)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.DOCUMENT_ROOT__MIXED: - return mixed != null && !mixed.isEmpty(); - case UDDIRegistryPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty(); - case UDDIRegistryPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - return xSISchemaLocation != null && !xSISchemaLocation.isEmpty(); - case UDDIRegistryPackage.DOCUMENT_ROOT__TAXONOMIES: - return getTaxonomies() != null; - case UDDIRegistryPackage.DOCUMENT_ROOT__UDDI_REGISTRY: - return getUddiRegistry() != 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/uddiregistry/impl/TaxonomiesImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/TaxonomiesImpl.java deleted file mode 100644 index 5d75bf7d5..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/TaxonomiesImpl.java +++ /dev/null @@ -1,155 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TaxonomiesImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.taxonomy.Taxonomy; - -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Taxonomies</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.TaxonomiesImpl#getTaxonomy <em>Taxonomy</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TaxonomiesImpl extends EObjectImpl implements Taxonomies { - /** - * 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 TaxonomiesImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return UDDIRegistryPackage.eINSTANCE.getTaxonomies(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getTaxonomy() { - if (taxonomy == null) { - taxonomy = new EObjectContainmentEList(Taxonomy.class, this, UDDIRegistryPackage.TAXONOMIES__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 UDDIRegistryPackage.TAXONOMIES__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 UDDIRegistryPackage.TAXONOMIES__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 UDDIRegistryPackage.TAXONOMIES__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 UDDIRegistryPackage.TAXONOMIES__TAXONOMY: - getTaxonomy().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.TAXONOMIES__TAXONOMY: - return taxonomy != null && !taxonomy.isEmpty(); - } - return eDynamicIsSet(eFeature); - } - -} //TaxonomiesImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java deleted file mode 100644 index 2e8033bb0..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryFactoryImpl.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryFactoryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class UDDIRegistryFactoryImpl extends EFactoryImpl implements UDDIRegistryFactory { - /** - * Creates and instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistryFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case UDDIRegistryPackage.DOCUMENT_ROOT: return createDocumentRoot(); - case UDDIRegistryPackage.TAXONOMIES: return createTaxonomies(); - case UDDIRegistryPackage.UDDI_REGISTRY: return createUDDIRegistry(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DocumentRoot createDocumentRoot() { - DocumentRootImpl documentRoot = new DocumentRootImpl(); - return documentRoot; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Taxonomies createTaxonomies() { - TaxonomiesImpl taxonomies = new TaxonomiesImpl(); - return taxonomies; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistry createUDDIRegistry() { - UDDIRegistryImpl uddiRegistry = new UDDIRegistryImpl(); - return uddiRegistry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistryPackage getUDDIRegistryPackage() { - return (UDDIRegistryPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - public static UDDIRegistryPackage getPackage() { - return UDDIRegistryPackage.eINSTANCE; - } - -} //UDDIRegistryFactoryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java deleted file mode 100644 index c8e38b095..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryImpl.java +++ /dev/null @@ -1,631 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.wst.ws.internal.model.v10.registry.impl.RegistryImpl; - -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>UDDIRegistry</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getVersion <em>Version</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getDiscoveryURL <em>Discovery URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getPublicationURL <em>Publication URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getSecuredDiscoveryURL <em>Secured Discovery URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getSecuredPublicationURL <em>Secured Publication URL</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getDefaultLogin <em>Default Login</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getDefaultPassword <em>Default Password</em>}</li> - * <li>{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.impl.UDDIRegistryImpl#getTaxonomies <em>Taxonomies</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class UDDIRegistryImpl extends RegistryImpl implements UDDIRegistry { - /** - * The default value of the '{@link #getVersion() <em>Version</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVersion() - * @generated - * @ordered - */ - protected static final String VERSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVersion() - * @generated - * @ordered - */ - protected String version = VERSION_EDEFAULT; - - /** - * The default value of the '{@link #getDiscoveryURL() <em>Discovery URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDiscoveryURL() - * @generated - * @ordered - */ - protected static final String DISCOVERY_URL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDiscoveryURL() <em>Discovery URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDiscoveryURL() - * @generated - * @ordered - */ - protected String discoveryURL = DISCOVERY_URL_EDEFAULT; - - /** - * The default value of the '{@link #getPublicationURL() <em>Publication URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPublicationURL() - * @generated - * @ordered - */ - protected static final String PUBLICATION_URL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPublicationURL() <em>Publication URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPublicationURL() - * @generated - * @ordered - */ - protected String publicationURL = PUBLICATION_URL_EDEFAULT; - - /** - * The default value of the '{@link #getSecuredDiscoveryURL() <em>Secured Discovery URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSecuredDiscoveryURL() - * @generated - * @ordered - */ - protected static final String SECURED_DISCOVERY_URL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSecuredDiscoveryURL() <em>Secured Discovery URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSecuredDiscoveryURL() - * @generated - * @ordered - */ - protected String securedDiscoveryURL = SECURED_DISCOVERY_URL_EDEFAULT; - - /** - * The default value of the '{@link #getSecuredPublicationURL() <em>Secured Publication URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSecuredPublicationURL() - * @generated - * @ordered - */ - protected static final String SECURED_PUBLICATION_URL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSecuredPublicationURL() <em>Secured Publication URL</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSecuredPublicationURL() - * @generated - * @ordered - */ - protected String securedPublicationURL = SECURED_PUBLICATION_URL_EDEFAULT; - - /** - * The default value of the '{@link #getDefaultLogin() <em>Default Login</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultLogin() - * @generated - * @ordered - */ - protected static final String DEFAULT_LOGIN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDefaultLogin() <em>Default Login</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultLogin() - * @generated - * @ordered - */ - protected String defaultLogin = DEFAULT_LOGIN_EDEFAULT; - - /** - * The default value of the '{@link #getDefaultPassword() <em>Default Password</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultPassword() - * @generated - * @ordered - */ - protected static final String DEFAULT_PASSWORD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDefaultPassword() <em>Default Password</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultPassword() - * @generated - * @ordered - */ - protected String defaultPassword = DEFAULT_PASSWORD_EDEFAULT; - - /** - * The cached value of the '{@link #getTaxonomies() <em>Taxonomies</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaxonomies() - * @generated - * @ordered - */ - protected Taxonomies taxonomies = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UDDIRegistryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return UDDIRegistryPackage.eINSTANCE.getUDDIRegistry(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getVersion() { - return version; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVersion(String newVersion) { - String oldVersion = version; - version = newVersion; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__VERSION, oldVersion, version)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDiscoveryURL() { - return discoveryURL; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDiscoveryURL(String newDiscoveryURL) { - String oldDiscoveryURL = discoveryURL; - discoveryURL = newDiscoveryURL; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL, oldDiscoveryURL, discoveryURL)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPublicationURL() { - return publicationURL; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPublicationURL(String newPublicationURL) { - String oldPublicationURL = publicationURL; - publicationURL = newPublicationURL; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL, oldPublicationURL, publicationURL)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSecuredDiscoveryURL() { - return securedDiscoveryURL; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSecuredDiscoveryURL(String newSecuredDiscoveryURL) { - String oldSecuredDiscoveryURL = securedDiscoveryURL; - securedDiscoveryURL = newSecuredDiscoveryURL; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL, oldSecuredDiscoveryURL, securedDiscoveryURL)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSecuredPublicationURL() { - return securedPublicationURL; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSecuredPublicationURL(String newSecuredPublicationURL) { - String oldSecuredPublicationURL = securedPublicationURL; - securedPublicationURL = newSecuredPublicationURL; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL, oldSecuredPublicationURL, securedPublicationURL)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDefaultLogin() { - return defaultLogin; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultLogin(String newDefaultLogin) { - String oldDefaultLogin = defaultLogin; - defaultLogin = newDefaultLogin; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN, oldDefaultLogin, defaultLogin)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDefaultPassword() { - return defaultPassword; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultPassword(String newDefaultPassword) { - String oldDefaultPassword = defaultPassword; - defaultPassword = newDefaultPassword; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD, oldDefaultPassword, defaultPassword)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Taxonomies getTaxonomies() { - return taxonomies; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTaxonomies(Taxonomies newTaxonomies, NotificationChain msgs) { - Taxonomies oldTaxonomies = taxonomies; - taxonomies = newTaxonomies; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, oldTaxonomies, newTaxonomies); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTaxonomies(Taxonomies newTaxonomies) { - if (newTaxonomies != taxonomies) { - NotificationChain msgs = null; - if (taxonomies != null) - msgs = ((InternalEObject)taxonomies).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, null, msgs); - if (newTaxonomies != null) - msgs = ((InternalEObject)newTaxonomies).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, null, msgs); - msgs = basicSetTaxonomies(newTaxonomies, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES, newTaxonomies, newTaxonomies)); - } - - /** - * <!-- 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 UDDIRegistryPackage.UDDI_REGISTRY__NAME: - return ((InternalEList)getName()).basicRemove(otherEnd, msgs); - case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION: - return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); - case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES: - return basicSetTaxonomies(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 UDDIRegistryPackage.UDDI_REGISTRY__NAME: - return getName(); - case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION: - return getDescription(); - case UDDIRegistryPackage.UDDI_REGISTRY__ID: - return getId(); - case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION: - return getLocation(); - case UDDIRegistryPackage.UDDI_REGISTRY__REF: - return getRef(); - case UDDIRegistryPackage.UDDI_REGISTRY__VERSION: - return getVersion(); - case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL: - return getDiscoveryURL(); - case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL: - return getPublicationURL(); - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL: - return getSecuredDiscoveryURL(); - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL: - return getSecuredPublicationURL(); - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN: - return getDefaultLogin(); - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD: - return getDefaultPassword(); - case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES: - return getTaxonomies(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.UDDI_REGISTRY__NAME: - getName().clear(); - getName().addAll((Collection)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION: - getDescription().clear(); - getDescription().addAll((Collection)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__ID: - setId((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION: - setLocation((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__REF: - setRef((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__VERSION: - setVersion((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL: - setDiscoveryURL((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL: - setPublicationURL((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL: - setSecuredDiscoveryURL((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL: - setSecuredPublicationURL((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN: - setDefaultLogin((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD: - setDefaultPassword((String)newValue); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES: - setTaxonomies((Taxonomies)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.UDDI_REGISTRY__NAME: - getName().clear(); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION: - getDescription().clear(); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__ID: - setId(ID_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION: - setLocation(LOCATION_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__REF: - setRef(REF_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__VERSION: - setVersion(VERSION_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL: - setDiscoveryURL(DISCOVERY_URL_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL: - setPublicationURL(PUBLICATION_URL_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL: - setSecuredDiscoveryURL(SECURED_DISCOVERY_URL_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL: - setSecuredPublicationURL(SECURED_PUBLICATION_URL_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN: - setDefaultLogin(DEFAULT_LOGIN_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD: - setDefaultPassword(DEFAULT_PASSWORD_EDEFAULT); - return; - case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES: - setTaxonomies((Taxonomies)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) { - switch (eDerivedStructuralFeatureID(eFeature)) { - case UDDIRegistryPackage.UDDI_REGISTRY__NAME: - return name != null && !name.isEmpty(); - case UDDIRegistryPackage.UDDI_REGISTRY__DESCRIPTION: - return description != null && !description.isEmpty(); - case UDDIRegistryPackage.UDDI_REGISTRY__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case UDDIRegistryPackage.UDDI_REGISTRY__LOCATION: - return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location); - case UDDIRegistryPackage.UDDI_REGISTRY__REF: - return REF_EDEFAULT == null ? ref != null : !REF_EDEFAULT.equals(ref); - case UDDIRegistryPackage.UDDI_REGISTRY__VERSION: - return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version); - case UDDIRegistryPackage.UDDI_REGISTRY__DISCOVERY_URL: - return DISCOVERY_URL_EDEFAULT == null ? discoveryURL != null : !DISCOVERY_URL_EDEFAULT.equals(discoveryURL); - case UDDIRegistryPackage.UDDI_REGISTRY__PUBLICATION_URL: - return PUBLICATION_URL_EDEFAULT == null ? publicationURL != null : !PUBLICATION_URL_EDEFAULT.equals(publicationURL); - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_DISCOVERY_URL: - return SECURED_DISCOVERY_URL_EDEFAULT == null ? securedDiscoveryURL != null : !SECURED_DISCOVERY_URL_EDEFAULT.equals(securedDiscoveryURL); - case UDDIRegistryPackage.UDDI_REGISTRY__SECURED_PUBLICATION_URL: - return SECURED_PUBLICATION_URL_EDEFAULT == null ? securedPublicationURL != null : !SECURED_PUBLICATION_URL_EDEFAULT.equals(securedPublicationURL); - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_LOGIN: - return DEFAULT_LOGIN_EDEFAULT == null ? defaultLogin != null : !DEFAULT_LOGIN_EDEFAULT.equals(defaultLogin); - case UDDIRegistryPackage.UDDI_REGISTRY__DEFAULT_PASSWORD: - return DEFAULT_PASSWORD_EDEFAULT == null ? defaultPassword != null : !DEFAULT_PASSWORD_EDEFAULT.equals(defaultPassword); - case UDDIRegistryPackage.UDDI_REGISTRY__TAXONOMIES: - return taxonomies != 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(" (version: "); - result.append(version); - result.append(", discoveryURL: "); - result.append(discoveryURL); - result.append(", publicationURL: "); - result.append(publicationURL); - result.append(", securedDiscoveryURL: "); - result.append(securedDiscoveryURL); - result.append(", securedPublicationURL: "); - result.append(securedPublicationURL); - result.append(", defaultLogin: "); - result.append(defaultLogin); - result.append(", defaultPassword: "); - result.append(defaultPassword); - result.append(')'); - return result.toString(); - } - -} //UDDIRegistryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java deleted file mode 100644 index 877528bb9..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/impl/UDDIRegistryPackageImpl.java +++ /dev/null @@ -1,542 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryPackageImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.RTIndexPackage; - -import org.eclipse.wst.ws.internal.model.v10.rtindex.impl.RTIndexPackageImpl; - -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.DocumentRoot; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryFactory; -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistryPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class UDDIRegistryPackageImpl extends EPackageImpl implements UDDIRegistryPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass documentRootEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass taxonomiesEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass uddiRegistryEClass = 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.uddiregistry.UDDIRegistryPackage#eNS_URI - * @see #init() - * @generated - */ - private UDDIRegistryPackageImpl() { - super(eNS_URI, UDDIRegistryFactory.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 UDDIRegistryPackage init() { - if (isInited) return (UDDIRegistryPackage)EPackage.Registry.INSTANCE.getEPackage(UDDIRegistryPackage.eNS_URI); - - // Obtain or create and register package - UDDIRegistryPackageImpl theUDDIRegistryPackage = (UDDIRegistryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof UDDIRegistryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new UDDIRegistryPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - XMLTypePackageImpl.init(); - - // Obtain or create and register interdependencies - RTIndexPackageImpl theRTIndexPackage = (RTIndexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) instanceof RTIndexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RTIndexPackage.eNS_URI) : RTIndexPackageImpl.eINSTANCE); - 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); - - // Create package meta-data objects - theUDDIRegistryPackage.createPackageContents(); - theRTIndexPackage.createPackageContents(); - theTaxonomyPackage.createPackageContents(); - theRegistryPackage.createPackageContents(); - - // Initialize created meta-data - theUDDIRegistryPackage.initializePackageContents(); - theRTIndexPackage.initializePackageContents(); - theTaxonomyPackage.initializePackageContents(); - theRegistryPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theUDDIRegistryPackage.freeze(); - - return theUDDIRegistryPackage; - } - - /** - * <!-- 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_Taxonomies() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_UddiRegistry() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTaxonomies() { - return taxonomiesEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTaxonomies_Taxonomy() { - return (EReference)taxonomiesEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUDDIRegistry() { - return uddiRegistryEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_Version() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_DiscoveryURL() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_PublicationURL() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_SecuredDiscoveryURL() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_SecuredPublicationURL() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_DefaultLogin() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUDDIRegistry_DefaultPassword() { - return (EAttribute)uddiRegistryEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getUDDIRegistry_Taxonomies() { - return (EReference)uddiRegistryEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistryFactory getUDDIRegistryFactory() { - return (UDDIRegistryFactory)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 - 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__TAXONOMIES); - createEReference(documentRootEClass, DOCUMENT_ROOT__UDDI_REGISTRY); - - taxonomiesEClass = createEClass(TAXONOMIES); - createEReference(taxonomiesEClass, TAXONOMIES__TAXONOMY); - - uddiRegistryEClass = createEClass(UDDI_REGISTRY); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__VERSION); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__DISCOVERY_URL); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__PUBLICATION_URL); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__SECURED_DISCOVERY_URL); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__SECURED_PUBLICATION_URL); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__DEFAULT_LOGIN); - createEAttribute(uddiRegistryEClass, UDDI_REGISTRY__DEFAULT_PASSWORD); - createEReference(uddiRegistryEClass, UDDI_REGISTRY__TAXONOMIES); - } - - /** - * <!-- 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 - TaxonomyPackageImpl theTaxonomyPackage = (TaxonomyPackageImpl)EPackage.Registry.INSTANCE.getEPackage(TaxonomyPackage.eNS_URI); - RegistryPackageImpl theRegistryPackage = (RegistryPackageImpl)EPackage.Registry.INSTANCE.getEPackage(RegistryPackage.eNS_URI); - XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - - // Add supertypes to classes - uddiRegistryEClass.getESuperTypes().add(theRegistryPackage.getRegistry()); - - // Initialize classes and features; add operations and parameters - 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_Taxonomies(), this.getTaxonomies(), null, "taxonomies", 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_UddiRegistry(), this.getUDDIRegistry(), null, "uddiRegistry", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - - initEClass(taxonomiesEClass, Taxonomies.class, "Taxonomies", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTaxonomies_Taxonomy(), theTaxonomyPackage.getTaxonomy(), null, "taxonomy", null, 0, -1, Taxonomies.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(uddiRegistryEClass, UDDIRegistry.class, "UDDIRegistry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUDDIRegistry_Version(), theXMLTypePackage.getString(), "version", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUDDIRegistry_DiscoveryURL(), theXMLTypePackage.getAnyURI(), "discoveryURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUDDIRegistry_PublicationURL(), theXMLTypePackage.getAnyURI(), "publicationURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUDDIRegistry_SecuredDiscoveryURL(), theXMLTypePackage.getAnyURI(), "securedDiscoveryURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUDDIRegistry_SecuredPublicationURL(), theXMLTypePackage.getAnyURI(), "securedPublicationURL", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUDDIRegistry_DefaultLogin(), theXMLTypePackage.getString(), "defaultLogin", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUDDIRegistry_DefaultPassword(), theXMLTypePackage.getString(), "defaultPassword", null, 1, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getUDDIRegistry_Taxonomies(), this.getTaxonomies(), null, "taxonomies", null, 0, 1, UDDIRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, 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 - (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_Taxonomies(), - source, - new String[] { - "kind", "element", - "name", "taxonomies", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_UddiRegistry(), - source, - new String[] { - "kind", "element", - "name", "uddiRegistry", - "namespace", "##targetNamespace" - }); - addAnnotation - (taxonomiesEClass, - source, - new String[] { - "name", "Taxonomies", - "kind", "elementOnly" - }); - addAnnotation - (getTaxonomies_Taxonomy(), - source, - new String[] { - "kind", "element", - "name", "taxonomy", - "namespace", "http://eclipse.org/wst/ws/internal/model/v10/taxonomy" - }); - addAnnotation - (uddiRegistryEClass, - source, - new String[] { - "name", "UDDIRegistry", - "kind", "elementOnly" - }); - addAnnotation - (getUDDIRegistry_Version(), - source, - new String[] { - "kind", "element", - "name", "version" - }); - addAnnotation - (getUDDIRegistry_DiscoveryURL(), - source, - new String[] { - "kind", "element", - "name", "discoveryURL" - }); - addAnnotation - (getUDDIRegistry_PublicationURL(), - source, - new String[] { - "kind", "element", - "name", "publicationURL" - }); - addAnnotation - (getUDDIRegistry_SecuredDiscoveryURL(), - source, - new String[] { - "kind", "element", - "name", "securedDiscoveryURL" - }); - addAnnotation - (getUDDIRegistry_SecuredPublicationURL(), - source, - new String[] { - "kind", "element", - "name", "securedPublicationURL" - }); - addAnnotation - (getUDDIRegistry_DefaultLogin(), - source, - new String[] { - "kind", "element", - "name", "defaultLogin" - }); - addAnnotation - (getUDDIRegistry_DefaultPassword(), - source, - new String[] { - "kind", "element", - "name", "defaultPassword" - }); - addAnnotation - (getUDDIRegistry_Taxonomies(), - source, - new String[] { - "kind", "element", - "name", "taxonomies" - }); - } - -} //UDDIRegistryPackageImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java deleted file mode 100644 index fc8e0c6fe..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryAdapterFactory.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryAdapterFactory.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.registry.Registry; - -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.*; - -/** - * <!-- 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.uddiregistry.UDDIRegistryPackage - * @generated - */ -public class UDDIRegistryAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static UDDIRegistryPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistryAdapterFactory() { - if (modelPackage == null) { - modelPackage = UDDIRegistryPackage.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 UDDIRegistrySwitch modelSwitch = - new UDDIRegistrySwitch() { - public Object caseDocumentRoot(DocumentRoot object) { - return createDocumentRootAdapter(); - } - public Object caseTaxonomies(Taxonomies object) { - return createTaxonomiesAdapter(); - } - public Object caseUDDIRegistry(UDDIRegistry object) { - return createUDDIRegistryAdapter(); - } - public Object caseRegistry(Registry object) { - return createRegistryAdapter(); - } - 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.uddiregistry.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.uddiregistry.DocumentRoot - * @generated - */ - public Adapter createDocumentRootAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies <em>Taxonomies</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.uddiregistry.Taxonomies - * @generated - */ - public Adapter createTaxonomiesAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.uddiregistry.UDDIRegistry <em>UDDIRegistry</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.uddiregistry.UDDIRegistry - * @generated - */ - public Adapter createUDDIRegistryAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.wst.ws.internal.model.v10.registry.Registry <em>Registry</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.registry.Registry - * @generated - */ - public Adapter createRegistryAdapter() { - 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; - } - -} //UDDIRegistryAdapterFactory diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java deleted file mode 100644 index 91315af76..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceFactoryImpl.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryResourceFactoryImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.util.UDDIRegistryResourceImpl - * @generated - */ -public class UDDIRegistryResourceFactoryImpl 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 UDDIRegistryResourceFactoryImpl() { - 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 UDDIRegistryResourceImpl(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; - } - -} //UDDIRegistryResourceFactoryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java deleted file mode 100644 index 6d029c674..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistryResourceImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistryResourceImpl.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.uddiregistry.util.UDDIRegistryResourceFactoryImpl - * @generated - */ -public class UDDIRegistryResourceImpl extends XMLResourceImpl { - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param uri the URI of the new resource. - * @generated - */ - public UDDIRegistryResourceImpl(URI uri) { - super(uri); - } - -} //UDDIRegistryResourceFactoryImpl diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java deleted file mode 100644 index bd3d8ae47..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/model/v10/uddiregistry/util/UDDIRegistrySwitch.java +++ /dev/null @@ -1,190 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: UDDIRegistrySwitch.java,v 1.2 2005/12/03 04:06:50 cbrealey Exp $ - */ -package org.eclipse.wst.ws.internal.model.v10.uddiregistry.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.registry.Registry; - -import org.eclipse.wst.ws.internal.model.v10.uddiregistry.*; - -/** - * <!-- 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.uddiregistry.UDDIRegistryPackage - * @generated - */ -public class UDDIRegistrySwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static UDDIRegistryPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UDDIRegistrySwitch() { - if (modelPackage == null) { - modelPackage = UDDIRegistryPackage.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 UDDIRegistryPackage.DOCUMENT_ROOT: { - DocumentRoot documentRoot = (DocumentRoot)theEObject; - Object result = caseDocumentRoot(documentRoot); - if (result == null) result = defaultCase(theEObject); - return result; - } - case UDDIRegistryPackage.TAXONOMIES: { - Taxonomies taxonomies = (Taxonomies)theEObject; - Object result = caseTaxonomies(taxonomies); - if (result == null) result = defaultCase(theEObject); - return result; - } - case UDDIRegistryPackage.UDDI_REGISTRY: { - UDDIRegistry uddiRegistry = (UDDIRegistry)theEObject; - Object result = caseUDDIRegistry(uddiRegistry); - if (result == null) result = caseRegistry(uddiRegistry); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * 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>Taxonomies</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>Taxonomies</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseTaxonomies(Taxonomies object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>UDDIRegistry</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>UDDIRegistry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseUDDIRegistry(UDDIRegistry object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Registry</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>Registry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseRegistry(Registry 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; - } - -} //UDDIRegistrySwitch |