Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 25369 invoked from network); 14 Sep 2005 19:03:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2005 19:03:26 -0000 Received: (qmail 96058 invoked by uid 500); 14 Sep 2005 19:03:05 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 95978 invoked by uid 500); 14 Sep 2005 19:03:05 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 95722 invoked by uid 99); 14 Sep 2005 19:03:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 12:03:02 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Sep 2005 12:02:53 -0700 Received: (qmail 24271 invoked by uid 65534); 14 Sep 2005 19:02:37 -0000 Message-ID: <20050914190237.24270.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r280909 [19/52] - in /geronimo/devtools/trunk/modules/eclipse-plugin: ./ features/ features/org.apache.geronimo.feature/ org.apache.geronimo.core/ org.apache.geronimo.deployment.model/ org.apache.geronimo.feature/ org.apache.geronimo.runtim... Date: Wed, 14 Sep 2005 19:01:03 -0000 To: scm@geronimo.apache.org From: sppatel@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationPackage.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationPackage.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationPackage.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationPackage.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,904 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + +import java.lang.String; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * + * + * Schema for Geronimo Services deployment plans. + * Instance documents should begin with the element: + * + * >gbeans xmlns="http://geronimo.apache.org/xml/ns/deployment"< + * + * + * 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 or xml:space 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/03/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/2004/10/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/2004/10/xml.xsd will not change. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationFactory + * @model kind="package" + * @generated + */ +public interface ApplicationPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "application"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://geronimo.apache.org/xml/ns/j2ee/application"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "application"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ApplicationPackage eINSTANCE = org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl.init(); + + /** + * The meta object id for the '{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationTypeImpl Type}' class. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationTypeImpl + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl#getApplicationType() + * @generated + */ + int APPLICATION_TYPE = 0; + + /** + * The feature id for the 'Dependency' containment reference list. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__DEPENDENCY = 0; + + /** + * The feature id for the 'Module' containment reference list. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__MODULE = 1; + + /** + * The feature id for the 'Ext Module' containment reference list. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__EXT_MODULE = 2; + + /** + * The feature id for the 'Security' containment reference. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__SECURITY = 3; + + /** + * The feature id for the 'Gbean' containment reference list. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__GBEAN = 4; + + /** + * The feature id for the 'Application Name' attribute. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__APPLICATION_NAME = 5; + + /** + * The feature id for the 'Config Id' attribute. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__CONFIG_ID = 6; + + /** + * The feature id for the 'Parent Id' attribute. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE__PARENT_ID = 7; + + /** + * The number of structural features of the the 'Type' class. + * + * + * @generated + * @ordered + */ + int APPLICATION_TYPE_FEATURE_COUNT = 8; + + /** + * The meta object id for the '{@link org.apache.geronimo.xml.ns.j2ee.application.impl.DocumentRootImpl Document Root}' class. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.DocumentRootImpl + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl#getDocumentRoot() + * @generated + */ + int DOCUMENT_ROOT = 1; + + /** + * The feature id for the 'Mixed' attribute list. + * + * + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MIXED = 0; + + /** + * The feature id for the 'XMLNS Prefix Map' map. + * + * + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1; + + /** + * The feature id for the 'XSI Schema Location' map. + * + * + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2; + + /** + * The feature id for the 'Application' containment reference. + * + * + * @generated + * @ordered + */ + int DOCUMENT_ROOT__APPLICATION = 3; + + /** + * The number of structural features of the the 'Document Root' class. + * + * + * @generated + * @ordered + */ + int DOCUMENT_ROOT_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ExtModuleTypeImpl Ext Module Type}' class. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ExtModuleTypeImpl + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl#getExtModuleType() + * @generated + */ + int EXT_MODULE_TYPE = 2; + + /** + * The feature id for the 'Connector' containment reference. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__CONNECTOR = 0; + + /** + * The feature id for the 'Ejb' containment reference. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__EJB = 1; + + /** + * The feature id for the 'Java' containment reference. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__JAVA = 2; + + /** + * The feature id for the 'Web' containment reference. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__WEB = 3; + + /** + * The feature id for the 'Internal Path' attribute. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__INTERNAL_PATH = 4; + + /** + * The feature id for the 'External Path' attribute. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__EXTERNAL_PATH = 5; + + /** + * The feature id for the 'Any' attribute list. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE__ANY = 6; + + /** + * The number of structural features of the the 'Ext Module Type' class. + * + * + * @generated + * @ordered + */ + int EXT_MODULE_TYPE_FEATURE_COUNT = 7; + + /** + * The meta object id for the '{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl Module Type}' class. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl#getModuleType() + * @generated + */ + int MODULE_TYPE = 3; + + /** + * The feature id for the 'Connector' containment reference. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE__CONNECTOR = 0; + + /** + * The feature id for the 'Ejb' containment reference. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE__EJB = 1; + + /** + * The feature id for the 'Java' containment reference. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE__JAVA = 2; + + /** + * The feature id for the 'Web' containment reference. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE__WEB = 3; + + /** + * The feature id for the 'Alt Dd' containment reference. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE__ALT_DD = 4; + + /** + * The feature id for the 'Any' attribute list. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE__ANY = 5; + + /** + * The number of structural features of the the 'Module Type' class. + * + * + * @generated + * @ordered + */ + int MODULE_TYPE_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link org.apache.geronimo.xml.ns.j2ee.application.impl.StringImpl String}' class. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.StringImpl + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl#getString() + * @generated + */ + int STRING = 5; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int STRING__VALUE = 0; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int STRING__ID = 1; + + /** + * The number of structural features of the the 'String' class. + * + * + * @generated + * @ordered + */ + int STRING_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.apache.geronimo.xml.ns.j2ee.application.impl.PathTypeImpl Path Type}' class. + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.PathTypeImpl + * @see org.apache.geronimo.xml.ns.j2ee.application.impl.ApplicationPackageImpl#getPathType() + * @generated + */ + int PATH_TYPE = 4; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int PATH_TYPE__VALUE = STRING__VALUE; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int PATH_TYPE__ID = STRING__ID; + + /** + * The number of structural features of the the 'Path Type' class. + * + * + * @generated + * @ordered + */ + int PATH_TYPE_FEATURE_COUNT = STRING_FEATURE_COUNT + 0; + + + /** + * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType Type}'. + * + * + * @return the meta object for class 'Type'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType + * @generated + */ + EClass getApplicationType(); + + /** + * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getDependency Dependency}'. + * + * + * @return the meta object for the containment reference list 'Dependency'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getDependency() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_Dependency(); + + /** + * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getModule Module}'. + * + * + * @return the meta object for the containment reference list 'Module'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getModule() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_Module(); + + /** + * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getExtModule Ext Module}'. + * + * + * @return the meta object for the containment reference list 'Ext Module'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getExtModule() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_ExtModule(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getSecurity Security}'. + * + * + * @return the meta object for the containment reference 'Security'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getSecurity() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_Security(); + + /** + * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getGbean Gbean}'. + * + * + * @return the meta object for the containment reference list 'Gbean'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getGbean() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_Gbean(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getApplicationName Application Name}'. + * + * + * @return the meta object for the attribute 'Application Name'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getApplicationName() + * @see #getApplicationType() + * @generated + */ + EAttribute getApplicationType_ApplicationName(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getConfigId Config Id}'. + * + * + * @return the meta object for the attribute 'Config Id'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getConfigId() + * @see #getApplicationType() + * @generated + */ + EAttribute getApplicationType_ConfigId(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getParentId Parent Id}'. + * + * + * @return the meta object for the attribute 'Parent Id'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getParentId() + * @see #getApplicationType() + * @generated + */ + EAttribute getApplicationType_ParentId(); + + /** + * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot Document Root}'. + * + * + * @return the meta object for class 'Document Root'. + * @see org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot + * @generated + */ + EClass getDocumentRoot(); + + /** + * Returns the meta object for the attribute list '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getMixed Mixed}'. + * + * + * @return the meta object for the attribute list 'Mixed'. + * @see org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getMixed() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_Mixed(); + + /** + * Returns the meta object for the map '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getXMLNSPrefixMap XMLNS Prefix Map}'. + * + * + * @return the meta object for the map 'XMLNS Prefix Map'. + * @see org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getXMLNSPrefixMap() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_XMLNSPrefixMap(); + + /** + * Returns the meta object for the map '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getXSISchemaLocation XSI Schema Location}'. + * + * + * @return the meta object for the map 'XSI Schema Location'. + * @see org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getXSISchemaLocation() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_XSISchemaLocation(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getApplication Application}'. + * + * + * @return the meta object for the containment reference 'Application'. + * @see org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getApplication() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Application(); + + /** + * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType Ext Module Type}'. + * + * + * @return the meta object for class 'Ext Module Type'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType + * @generated + */ + EClass getExtModuleType(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getConnector Connector}'. + * + * + * @return the meta object for the containment reference 'Connector'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getConnector() + * @see #getExtModuleType() + * @generated + */ + EReference getExtModuleType_Connector(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getEjb Ejb}'. + * + * + * @return the meta object for the containment reference 'Ejb'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getEjb() + * @see #getExtModuleType() + * @generated + */ + EReference getExtModuleType_Ejb(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getJava Java}'. + * + * + * @return the meta object for the containment reference 'Java'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getJava() + * @see #getExtModuleType() + * @generated + */ + EReference getExtModuleType_Java(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getWeb Web}'. + * + * + * @return the meta object for the containment reference 'Web'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getWeb() + * @see #getExtModuleType() + * @generated + */ + EReference getExtModuleType_Web(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getInternalPath Internal Path}'. + * + * + * @return the meta object for the attribute 'Internal Path'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getInternalPath() + * @see #getExtModuleType() + * @generated + */ + EAttribute getExtModuleType_InternalPath(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getExternalPath External Path}'. + * + * + * @return the meta object for the attribute 'External Path'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getExternalPath() + * @see #getExtModuleType() + * @generated + */ + EAttribute getExtModuleType_ExternalPath(); + + /** + * Returns the meta object for the attribute list '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getAny Any}'. + * + * + * @return the meta object for the attribute list 'Any'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getAny() + * @see #getExtModuleType() + * @generated + */ + EAttribute getExtModuleType_Any(); + + /** + * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType Module Type}'. + * + * + * @return the meta object for class 'Module Type'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType + * @generated + */ + EClass getModuleType(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getConnector Connector}'. + * + * + * @return the meta object for the containment reference 'Connector'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getConnector() + * @see #getModuleType() + * @generated + */ + EReference getModuleType_Connector(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getEjb Ejb}'. + * + * + * @return the meta object for the containment reference 'Ejb'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getEjb() + * @see #getModuleType() + * @generated + */ + EReference getModuleType_Ejb(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getJava Java}'. + * + * + * @return the meta object for the containment reference 'Java'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getJava() + * @see #getModuleType() + * @generated + */ + EReference getModuleType_Java(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getWeb Web}'. + * + * + * @return the meta object for the containment reference 'Web'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getWeb() + * @see #getModuleType() + * @generated + */ + EReference getModuleType_Web(); + + /** + * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAltDd Alt Dd}'. + * + * + * @return the meta object for the containment reference 'Alt Dd'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAltDd() + * @see #getModuleType() + * @generated + */ + EReference getModuleType_AltDd(); + + /** + * Returns the meta object for the attribute list '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAny Any}'. + * + * + * @return the meta object for the attribute list 'Any'. + * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAny() + * @see #getModuleType() + * @generated + */ + EAttribute getModuleType_Any(); + + /** + * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.j2ee.application.PathType Path Type}'. + * + * + * @return the meta object for class 'Path Type'. + * @see org.apache.geronimo.xml.ns.j2ee.application.PathType + * @generated + */ + EClass getPathType(); + + /** + * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.j2ee.application.String String}'. + * + * + * @return the meta object for class 'String'. + * @see org.apache.geronimo.xml.ns.j2ee.application.String + * @generated + */ + EClass getString(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.String#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.apache.geronimo.xml.ns.j2ee.application.String#getValue() + * @see #getString() + * @generated + */ + EAttribute getString_Value(); + + /** + * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.j2ee.application.String#getId Id}'. + * + * + * @return the meta object for the attribute 'Id'. + * @see org.apache.geronimo.xml.ns.j2ee.application.String#getId() + * @see #getString() + * @generated + */ + EAttribute getString_Id(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ApplicationFactory getApplicationFactory(); + +} //ApplicationPackage Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationType.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationType.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationType.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ApplicationType.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,226 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + +import java.lang.String; + +import org.apache.geronimo.xml.ns.security.SecurityType; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Type'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getDependency Dependency}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getModule Module}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getExtModule Ext Module}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getSecurity Security}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getGbean Gbean}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getApplicationName Application Name}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getConfigId Config Id}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getParentId Parent Id}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType() + * @model extendedMetaData="name='applicationType' kind='elementOnly'" + * @generated + */ +public interface ApplicationType extends EObject { + /** + * Returns the value of the 'Dependency' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.DependencyType}. + * + *

+ * If the meaning of the 'Dependency' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Dependency' containment reference list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_Dependency() + * @model type="org.apache.geronimo.xml.ns.deployment.DependencyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='dependency' namespace='http://geronimo.apache.org/xml/ns/deployment'" + * @generated + */ + EList getDependency(); + + /** + * Returns the value of the 'Module' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType}. + * + *

+ * If the meaning of the 'Module' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Module' containment reference list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_Module() + * @model type="org.apache.geronimo.xml.ns.j2ee.application.ModuleType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='module' namespace='##targetNamespace'" + * @generated + */ + EList getModule(); + + /** + * Returns the value of the 'Ext Module' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType}. + * + *

+ * If the meaning of the 'Ext Module' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Ext Module' containment reference list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_ExtModule() + * @model type="org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='ext-module' namespace='##targetNamespace'" + * @generated + */ + EList getExtModule(); + + /** + * Returns the value of the 'Security' containment reference. + * + *

+ * If the meaning of the 'Security' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Security' containment reference. + * @see #setSecurity(SecurityType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_Security() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='security' namespace='http://geronimo.apache.org/xml/ns/security'" + * @generated + */ + SecurityType getSecurity(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getSecurity Security}' containment reference. + * + * + * @param value the new value of the 'Security' containment reference. + * @see #getSecurity() + * @generated + */ + void setSecurity(SecurityType value); + + /** + * Returns the value of the 'Gbean' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.GbeanType}. + * + *

+ * If the meaning of the 'Gbean' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Gbean' containment reference list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_Gbean() + * @model type="org.apache.geronimo.xml.ns.deployment.GbeanType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='gbean' namespace='http://geronimo.apache.org/xml/ns/deployment'" + * @generated + */ + EList getGbean(); + + /** + * Returns the value of the 'Application Name' attribute. + * + *

+ * If the meaning of the 'Application Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Application Name' attribute. + * @see #setApplicationName(String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_ApplicationName() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='application-name'" + * @generated + */ + String getApplicationName(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getApplicationName Application Name}' attribute. + * + * + * @param value the new value of the 'Application Name' attribute. + * @see #getApplicationName() + * @generated + */ + void setApplicationName(String value); + + /** + * Returns the value of the 'Config Id' attribute. + * + *

+ * If the meaning of the 'Config Id' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Config Id' attribute. + * @see #setConfigId(String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_ConfigId() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='configId'" + * @generated + */ + String getConfigId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getConfigId Config Id}' attribute. + * + * + * @param value the new value of the 'Config Id' attribute. + * @see #getConfigId() + * @generated + */ + void setConfigId(String value); + + /** + * Returns the value of the 'Parent Id' attribute. + * + *

+ * If the meaning of the 'Parent Id' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Parent Id' attribute. + * @see #setParentId(String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getApplicationType_ParentId() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='parentId'" + * @generated + */ + String getParentId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType#getParentId Parent Id}' attribute. + * + * + * @param value the new value of the 'Parent Id' attribute. + * @see #getParentId() + * @generated + */ + void setParentId(String value); + +} // ApplicationType Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/DocumentRoot.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/DocumentRoot.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/DocumentRoot.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/DocumentRoot.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,124 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + +import org.eclipse.emf.common.util.EMap; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * + * A representation of the model object 'Document Root'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getMixed Mixed}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getXMLNSPrefixMap XMLNS Prefix Map}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getXSISchemaLocation XSI Schema Location}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getApplication Application}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getDocumentRoot() + * @model extendedMetaData="name='' kind='mixed'" + * @generated + */ +public interface DocumentRoot extends EObject { + /** + * Returns the value of the 'Mixed' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * + *

+ * If the meaning of the 'Mixed' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Mixed' attribute list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getDocumentRoot_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the 'XMLNS Prefix Map' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * + *

+ * If the meaning of the 'XMLNS Prefix Map' map isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'XMLNS Prefix Map' map. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getDocumentRoot_XMLNSPrefixMap() + * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true" + * extendedMetaData="kind='attribute' name='xmlns:prefix'" + * @generated + */ + EMap getXMLNSPrefixMap(); + + /** + * Returns the value of the 'XSI Schema Location' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * + *

+ * If the meaning of the 'XSI Schema Location' map isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'XSI Schema Location' map. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getDocumentRoot_XSISchemaLocation() + * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true" + * extendedMetaData="kind='attribute' name='xsi:schemaLocation'" + * @generated + */ + EMap getXSISchemaLocation(); + + /** + * Returns the value of the 'Application' containment reference. + * + *

+ * If the meaning of the 'Application' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Application' containment reference. + * @see #setApplication(ApplicationType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getDocumentRoot_Application() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='application' namespace='##targetNamespace'" + * @generated + */ + ApplicationType getApplication(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot#getApplication Application}' containment reference. + * + * + * @param value the new value of the 'Application' containment reference. + * @see #getApplication() + * @generated + */ + void setApplication(ApplicationType value); + +} // DocumentRoot Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ExtModuleType.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ExtModuleType.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ExtModuleType.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ExtModuleType.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,233 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + +import java.lang.String; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * + * A representation of the model object 'Ext Module Type'. + * + * + * + * + * Mirrors the moduleType defined by application_1_4.xsd and adds an + * optional alt-dd element defining a Geronimo specific deployment descriptor. + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getConnector Connector}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getEjb Ejb}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getJava Java}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getWeb Web}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getInternalPath Internal Path}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getExternalPath External Path}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getAny Any}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType() + * @model extendedMetaData="name='ext-moduleType' kind='elementOnly'" + * @generated + */ +public interface ExtModuleType extends EObject { + /** + * Returns the value of the 'Connector' containment reference. + * + *

+ * If the meaning of the 'Connector' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Connector' containment reference. + * @see #setConnector(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_Connector() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='connector' namespace='##targetNamespace'" + * @generated + */ + PathType getConnector(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getConnector Connector}' containment reference. + * + * + * @param value the new value of the 'Connector' containment reference. + * @see #getConnector() + * @generated + */ + void setConnector(PathType value); + + /** + * Returns the value of the 'Ejb' containment reference. + * + *

+ * If the meaning of the 'Ejb' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Ejb' containment reference. + * @see #setEjb(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_Ejb() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='ejb' namespace='##targetNamespace'" + * @generated + */ + PathType getEjb(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getEjb Ejb}' containment reference. + * + * + * @param value the new value of the 'Ejb' containment reference. + * @see #getEjb() + * @generated + */ + void setEjb(PathType value); + + /** + * Returns the value of the 'Java' containment reference. + * + *

+ * If the meaning of the 'Java' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Java' containment reference. + * @see #setJava(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_Java() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='java' namespace='##targetNamespace'" + * @generated + */ + PathType getJava(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getJava Java}' containment reference. + * + * + * @param value the new value of the 'Java' containment reference. + * @see #getJava() + * @generated + */ + void setJava(PathType value); + + /** + * Returns the value of the 'Web' containment reference. + * + *

+ * If the meaning of the 'Web' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Web' containment reference. + * @see #setWeb(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_Web() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='web' namespace='##targetNamespace'" + * @generated + */ + PathType getWeb(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getWeb Web}' containment reference. + * + * + * @param value the new value of the 'Web' containment reference. + * @see #getWeb() + * @generated + */ + void setWeb(PathType value); + + /** + * Returns the value of the 'Internal Path' attribute. + * + *

+ * If the meaning of the 'Internal Path' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Internal Path' attribute. + * @see #setInternalPath(String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_InternalPath() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Token" + * extendedMetaData="kind='element' name='internal-path' namespace='##targetNamespace'" + * @generated + */ + String getInternalPath(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getInternalPath Internal Path}' attribute. + * + * + * @param value the new value of the 'Internal Path' attribute. + * @see #getInternalPath() + * @generated + */ + void setInternalPath(String value); + + /** + * Returns the value of the 'External Path' attribute. + * + *

+ * If the meaning of the 'External Path' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'External Path' attribute. + * @see #setExternalPath(String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_ExternalPath() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Token" + * extendedMetaData="kind='element' name='external-path' namespace='##targetNamespace'" + * @generated + */ + String getExternalPath(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType#getExternalPath External Path}' attribute. + * + * + * @param value the new value of the 'External Path' attribute. + * @see #getExternalPath() + * @generated + */ + void setExternalPath(String value); + + /** + * Returns the value of the 'Any' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * + *

+ * If the meaning of the 'Any' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Any' attribute list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getExtModuleType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" required="true" + * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':6' processing='lax'" + * @generated + */ + FeatureMap getAny(); + +} // ExtModuleType Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ModuleType.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ModuleType.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ModuleType.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/ModuleType.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,205 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * + * A representation of the model object 'Module Type'. + * + * + * + * + * Mirrors the moduleType defined by application_1_4.xsd and adds an + * optional alt-dd element defining a Geronimo specific deployment descriptor. + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getConnector Connector}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getEjb Ejb}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getJava Java}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getWeb Web}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAltDd Alt Dd}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAny Any}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType() + * @model extendedMetaData="name='moduleType' kind='elementOnly'" + * @generated + */ +public interface ModuleType extends EObject { + /** + * Returns the value of the 'Connector' containment reference. + * + *

+ * If the meaning of the 'Connector' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Connector' containment reference. + * @see #setConnector(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType_Connector() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='connector' namespace='##targetNamespace'" + * @generated + */ + PathType getConnector(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getConnector Connector}' containment reference. + * + * + * @param value the new value of the 'Connector' containment reference. + * @see #getConnector() + * @generated + */ + void setConnector(PathType value); + + /** + * Returns the value of the 'Ejb' containment reference. + * + *

+ * If the meaning of the 'Ejb' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Ejb' containment reference. + * @see #setEjb(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType_Ejb() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='ejb' namespace='##targetNamespace'" + * @generated + */ + PathType getEjb(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getEjb Ejb}' containment reference. + * + * + * @param value the new value of the 'Ejb' containment reference. + * @see #getEjb() + * @generated + */ + void setEjb(PathType value); + + /** + * Returns the value of the 'Java' containment reference. + * + *

+ * If the meaning of the 'Java' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Java' containment reference. + * @see #setJava(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType_Java() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='java' namespace='##targetNamespace'" + * @generated + */ + PathType getJava(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getJava Java}' containment reference. + * + * + * @param value the new value of the 'Java' containment reference. + * @see #getJava() + * @generated + */ + void setJava(PathType value); + + /** + * Returns the value of the 'Web' containment reference. + * + *

+ * If the meaning of the 'Web' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Web' containment reference. + * @see #setWeb(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType_Web() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='web' namespace='##targetNamespace'" + * @generated + */ + PathType getWeb(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getWeb Web}' containment reference. + * + * + * @param value the new value of the 'Web' containment reference. + * @see #getWeb() + * @generated + */ + void setWeb(PathType value); + + /** + * Returns the value of the 'Alt Dd' containment reference. + * + * + * + * + * Specifies an optional URI to the post-assembly version of the Geronimo + * specific deployment descriptor file for a particular J2EE module. + * + * + * @return the value of the 'Alt Dd' containment reference. + * @see #setAltDd(PathType) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType_AltDd() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='alt-dd' namespace='##targetNamespace'" + * @generated + */ + PathType getAltDd(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType#getAltDd Alt Dd}' containment reference. + * + * + * @param value the new value of the 'Alt Dd' containment reference. + * @see #getAltDd() + * @generated + */ + void setAltDd(PathType value); + + /** + * Returns the value of the 'Any' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * + *

+ * If the meaning of the 'Any' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Any' attribute list. + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getModuleType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" + * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':5' processing='lax'" + * @generated + */ + FeatureMap getAny(); + +} // ModuleType Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/PathType.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/PathType.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/PathType.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/PathType.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,36 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + + +/** + * + * A representation of the model object 'Path Type'. + * + * + * + * + * Mirrors j2ee:pathType. + * + * + * + * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getPathType() + * @model extendedMetaData="name='pathType' kind='simple'" + * @generated + */ +public interface PathType extends org.apache.geronimo.xml.ns.j2ee.application.String { +} // PathType Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/String.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/String.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/String.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/String.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,98 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'String'. + * + * + * + * + * Mirrors j2ee:string. + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.String#getValue Value}
  • + *
  • {@link org.apache.geronimo.xml.ns.j2ee.application.String#getId Id}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getString() + * @model extendedMetaData="name='string' kind='simple'" + * @generated + */ +public interface String extends EObject { + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(java.lang.String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getString_Value() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Token" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + java.lang.String getValue(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.String#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(java.lang.String value); + + /** + * Returns the value of the 'Id' attribute. + * + *

+ * If the meaning of the 'Id' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Id' attribute. + * @see #setId(java.lang.String) + * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage#getString_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id'" + * @generated + */ + java.lang.String getId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.j2ee.application.String#getId Id}' attribute. + * + * + * @param value the new value of the 'Id' attribute. + * @see #getId() + * @generated + */ + void setId(java.lang.String value); + +} // String Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ApplicationFactoryImpl.java URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ApplicationFactoryImpl.java?rev=280909&view=auto ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ApplicationFactoryImpl.java (added) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ApplicationFactoryImpl.java Wed Sep 14 11:59:30 2005 @@ -0,0 +1,145 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.j2ee.application.impl; + +import org.apache.geronimo.xml.ns.j2ee.application.ApplicationFactory; +import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage; +import org.apache.geronimo.xml.ns.j2ee.application.ApplicationType; +import org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot; +import org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType; +import org.apache.geronimo.xml.ns.j2ee.application.ModuleType; +import org.apache.geronimo.xml.ns.j2ee.application.PathType; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ApplicationFactoryImpl extends EFactoryImpl implements ApplicationFactory { + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ApplicationFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ApplicationPackage.APPLICATION_TYPE: return createApplicationType(); + case ApplicationPackage.DOCUMENT_ROOT: return createDocumentRoot(); + case ApplicationPackage.EXT_MODULE_TYPE: return createExtModuleType(); + case ApplicationPackage.MODULE_TYPE: return createModuleType(); + case ApplicationPackage.PATH_TYPE: return createPathType(); + case ApplicationPackage.STRING: return createString(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public ApplicationType createApplicationType() { + ApplicationTypeImpl applicationType = new ApplicationTypeImpl(); + return applicationType; + } + + /** + * + * + * @generated + */ + public DocumentRoot createDocumentRoot() { + DocumentRootImpl documentRoot = new DocumentRootImpl(); + return documentRoot; + } + + /** + * + * + * @generated + */ + public ExtModuleType createExtModuleType() { + ExtModuleTypeImpl extModuleType = new ExtModuleTypeImpl(); + return extModuleType; + } + + /** + * + * + * @generated + */ + public ModuleType createModuleType() { + ModuleTypeImpl moduleType = new ModuleTypeImpl(); + return moduleType; + } + + /** + * + * + * @generated + */ + public PathType createPathType() { + PathTypeImpl pathType = new PathTypeImpl(); + return pathType; + } + + /** + * + * + * @generated + */ + public org.apache.geronimo.xml.ns.j2ee.application.String createString() { + StringImpl string = new StringImpl(); + return string; + } + + /** + * + * + * @generated + */ + public ApplicationPackage getApplicationPackage() { + return (ApplicationPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + public static ApplicationPackage getPackage() { + return ApplicationPackage.eINSTANCE; + } + +} //ApplicationFactoryImpl