You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2005/08/17 00:40:54 UTC
svn commit: r233071 [19/22] - in /geronimo/trunk/sandbox/eclipse-plugin:
org.apache.geronimo.core/
org.apache.geronimo.core/src/org/apache/geronimo/core/internal/
org.apache.geronimo.deployment.model/META-INF/
org.apache.geronimo.deployment.model/emf/ ...
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,474 @@
+/**
+ * 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.openejb.xml.ns.openejb.jar.util;
+
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.EObjectValidator;
+
+import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator;
+
+import org.openejb.xml.ns.openejb.jar.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Validator</b> for the model.
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage
+ * @generated
+ */
+public class JarValidator extends EObjectValidator {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final JarValidator INSTANCE = new JarValidator();
+
+ /**
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.common.util.Diagnostic#getSource()
+ * @see org.eclipse.emf.common.util.Diagnostic#getCode()
+ * @generated
+ */
+ public static final String DIAGNOSTIC_SOURCE = "org.openejb.xml.ns.openejb.jar";
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 0;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
+
+ /**
+ * The cached base package validator.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XMLTypeValidator xmlTypeValidator;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JarValidator() {
+ super();
+ xmlTypeValidator = XMLTypeValidator.INSTANCE;
+ }
+
+ /**
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EPackage getEPackage() {
+ return JarPackage.eINSTANCE;
+ }
+
+ /**
+ * Calls <code>validateXXX</code> for the corresonding classifier of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context) {
+ switch (classifierID) {
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE:
+ return validateActivationConfigPropertyType((ActivationConfigPropertyType)value, diagnostics, context);
+ case JarPackage.ACTIVATION_CONFIG_TYPE:
+ return validateActivationConfigType((ActivationConfigType)value, diagnostics, context);
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE:
+ return validateCmpFieldGroupMappingType((CmpFieldGroupMappingType)value, diagnostics, context);
+ case JarPackage.CMP_FIELD_MAPPING_TYPE:
+ return validateCmpFieldMappingType((CmpFieldMappingType)value, diagnostics, context);
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE:
+ return validateCmrFieldGroupMappingType((CmrFieldGroupMappingType)value, diagnostics, context);
+ case JarPackage.CMR_FIELD_MAPPING_TYPE:
+ return validateCmrFieldMappingType((CmrFieldMappingType)value, diagnostics, context);
+ case JarPackage.CMR_FIELD_TYPE:
+ return validateCmrFieldType((CmrFieldType)value, diagnostics, context);
+ case JarPackage.CMR_FIELD_TYPE1:
+ return validateCmrFieldType1((CmrFieldType1)value, diagnostics, context);
+ case JarPackage.DOCUMENT_ROOT:
+ return validateDocumentRoot((DocumentRoot)value, diagnostics, context);
+ case JarPackage.EJB_RELATIONSHIP_ROLE_TYPE:
+ return validateEjbRelationshipRoleType((EjbRelationshipRoleType)value, diagnostics, context);
+ case JarPackage.EJB_RELATION_TYPE:
+ return validateEjbRelationType((EjbRelationType)value, diagnostics, context);
+ case JarPackage.ENTERPRISE_BEANS_TYPE:
+ return validateEnterpriseBeansType((EnterpriseBeansType)value, diagnostics, context);
+ case JarPackage.ENTITY_BEAN_TYPE:
+ return validateEntityBeanType((EntityBeanType)value, diagnostics, context);
+ case JarPackage.ENTITY_GROUP_MAPPING_TYPE:
+ return validateEntityGroupMappingType((EntityGroupMappingType)value, diagnostics, context);
+ case JarPackage.GROUP_TYPE:
+ return validateGroupType((GroupType)value, diagnostics, context);
+ case JarPackage.MESSAGE_DRIVEN_BEAN_TYPE:
+ return validateMessageDrivenBeanType((MessageDrivenBeanType)value, diagnostics, context);
+ case JarPackage.METHOD_PARAMS_TYPE:
+ return validateMethodParamsType((MethodParamsType)value, diagnostics, context);
+ case JarPackage.OPENEJB_JAR_TYPE:
+ return validateOpenejbJarType((OpenejbJarType)value, diagnostics, context);
+ case JarPackage.PREFETCH_GROUP_TYPE:
+ return validatePrefetchGroupType((PrefetchGroupType)value, diagnostics, context);
+ case JarPackage.QUERY_METHOD_TYPE:
+ return validateQueryMethodType((QueryMethodType)value, diagnostics, context);
+ case JarPackage.QUERY_TYPE:
+ return validateQueryType((QueryType)value, diagnostics, context);
+ case JarPackage.RELATIONSHIP_ROLE_SOURCE_TYPE:
+ return validateRelationshipRoleSourceType((RelationshipRoleSourceType)value, diagnostics, context);
+ case JarPackage.RELATIONSHIPS_TYPE:
+ return validateRelationshipsType((RelationshipsType)value, diagnostics, context);
+ case JarPackage.ROLE_MAPPING_TYPE:
+ return validateRoleMappingType((RoleMappingType)value, diagnostics, context);
+ case JarPackage.SESSION_BEAN_TYPE:
+ return validateSessionBeanType((SessionBeanType)value, diagnostics, context);
+ case JarPackage.TSS_TYPE:
+ return validateTssType((TssType)value, diagnostics, context);
+ case JarPackage.WEB_SERVICE_SECURITY_TYPE:
+ return validateWebServiceSecurityType((WebServiceSecurityType)value, diagnostics, context);
+ case JarPackage.TRANSPORT_GUARANTEE_TYPE:
+ return validateTransportGuaranteeType((Object)value, diagnostics, context);
+ case JarPackage.AUTH_METHOD_TYPE:
+ return validateAuthMethodType((String)value, diagnostics, context);
+ case JarPackage.TRANSPORT_GUARANTEE_TYPE_OBJECT:
+ return validateTransportGuaranteeTypeObject((TransportGuaranteeType)value, diagnostics, context);
+ default:
+ return true;
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateActivationConfigPropertyType(ActivationConfigPropertyType activationConfigPropertyType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(activationConfigPropertyType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateActivationConfigType(ActivationConfigType activationConfigType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(activationConfigType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateCmpFieldGroupMappingType(CmpFieldGroupMappingType cmpFieldGroupMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmpFieldGroupMappingType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateCmpFieldMappingType(CmpFieldMappingType cmpFieldMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmpFieldMappingType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateCmrFieldGroupMappingType(CmrFieldGroupMappingType cmrFieldGroupMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldGroupMappingType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateCmrFieldMappingType(CmrFieldMappingType cmrFieldMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldMappingType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateCmrFieldType(CmrFieldType cmrFieldType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateCmrFieldType1(CmrFieldType1 cmrFieldType1, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldType1, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(documentRoot, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEjbRelationshipRoleType(EjbRelationshipRoleType ejbRelationshipRoleType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(ejbRelationshipRoleType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEjbRelationType(EjbRelationType ejbRelationType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(ejbRelationType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEnterpriseBeansType(EnterpriseBeansType enterpriseBeansType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(enterpriseBeansType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEntityBeanType(EntityBeanType entityBeanType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(entityBeanType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEntityGroupMappingType(EntityGroupMappingType entityGroupMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(entityGroupMappingType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateGroupType(GroupType groupType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(groupType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateMessageDrivenBeanType(MessageDrivenBeanType messageDrivenBeanType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(messageDrivenBeanType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateMethodParamsType(MethodParamsType methodParamsType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(methodParamsType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateOpenejbJarType(OpenejbJarType openejbJarType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(openejbJarType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validatePrefetchGroupType(PrefetchGroupType prefetchGroupType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(prefetchGroupType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateQueryMethodType(QueryMethodType queryMethodType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(queryMethodType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateQueryType(QueryType queryType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(queryType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateRelationshipRoleSourceType(RelationshipRoleSourceType relationshipRoleSourceType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(relationshipRoleSourceType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateRelationshipsType(RelationshipsType relationshipsType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(relationshipsType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateRoleMappingType(RoleMappingType roleMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(roleMappingType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateSessionBeanType(SessionBeanType sessionBeanType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(sessionBeanType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateTssType(TssType tssType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(tssType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateWebServiceSecurityType(WebServiceSecurityType webServiceSecurityType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(webServiceSecurityType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateTransportGuaranteeType(Object transportGuaranteeType, DiagnosticChain diagnostics, Map context) {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateAuthMethodType(String authMethodType, DiagnosticChain diagnostics, Map context) {
+ boolean result = validateAuthMethodType_Enumeration(authMethodType, diagnostics, context);
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validateAuthMethodType_Enumeration
+ */
+ public static final Collection AUTH_METHOD_TYPE__ENUMERATION__VALUES =
+ wrapEnumerationValues
+ (new Object[] {
+ "BASIC",
+ "DIGEST",
+ "CLIENT-CERT",
+ "NONE"
+ });
+
+ /**
+ * Validates the Enumeration constraint of '<em>Auth Method Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateAuthMethodType_Enumeration(String authMethodType, DiagnosticChain diagnostics, Map context) {
+ boolean result = AUTH_METHOD_TYPE__ENUMERATION__VALUES.contains(authMethodType);
+ if (!result && diagnostics != null)
+ reportEnumerationViolation(JarPackage.eINSTANCE.getAuthMethodType(), authMethodType, AUTH_METHOD_TYPE__ENUMERATION__VALUES, diagnostics, context);
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateTransportGuaranteeTypeObject(TransportGuaranteeType transportGuaranteeTypeObject, DiagnosticChain diagnostics, Map context) {
+ return true;
+ }
+
+} //JarValidator
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,106 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Auto Increment Table Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Handles the case where an arbitrary SQL statement is executed,
+ * and the JDBC driver returns a new automatically generated ID.
+ * This should not be used when the destination table itself
+ * generates the ID (see database-generatedType), but it could be
+ * used for a web session ID or something where there is no
+ * naturally matching database table (but you could create one
+ * with an AUTO_INCREMENT key, specify an insert statement here,
+ * and then capture the newly returned ID and use it as your
+ * web session ID).
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType#getSql <em>Sql</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType#getReturnType <em>Return Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getAutoIncrementTableType()
+ * @model extendedMetaData="name='auto-increment-tableType' kind='elementOnly'"
+ * @generated
+ */
+public interface AutoIncrementTableType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Sql</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sql</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sql</em>' attribute.
+ * @see #setSql(String)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getAutoIncrementTableType_Sql()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='sql' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getSql();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType#getSql <em>Sql</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sql</em>' attribute.
+ * @see #getSql()
+ * @generated
+ */
+ void setSql(String value);
+
+ /**
+ * Returns the value of the '<em><b>Return Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Return Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Return Type</em>' attribute.
+ * @see #setReturnType(String)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getAutoIncrementTableType_ReturnType()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='return-type' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getReturnType();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType#getReturnType <em>Return Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Return Type</em>' attribute.
+ * @see #getReturnType()
+ * @generated
+ */
+ void setReturnType(String value);
+
+} // AutoIncrementTableType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,100 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Custom Generator Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Handles a user-provided generator. You deploy any old generator
+ * as a GBean, and then point to that GBean here. The generator
+ * should implement org.tranql.pkgenerator.PrimaryKeyGenerator.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.pkgen.CustomGeneratorType#getGeneratorName <em>Generator Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.CustomGeneratorType#getPrimaryKeyClass <em>Primary Key Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getCustomGeneratorType()
+ * @model extendedMetaData="name='custom-generatorType' kind='elementOnly'"
+ * @generated
+ */
+public interface CustomGeneratorType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Generator Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Generator Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Generator Name</em>' attribute.
+ * @see #setGeneratorName(String)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getCustomGeneratorType_GeneratorName()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='generator-name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getGeneratorName();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.CustomGeneratorType#getGeneratorName <em>Generator Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Generator Name</em>' attribute.
+ * @see #getGeneratorName()
+ * @generated
+ */
+ void setGeneratorName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Primary Key Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Primary Key Class</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Primary Key Class</em>' attribute.
+ * @see #setPrimaryKeyClass(String)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getCustomGeneratorType_PrimaryKeyClass()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='primary-key-class' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getPrimaryKeyClass();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.CustomGeneratorType#getPrimaryKeyClass <em>Primary Key Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Primary Key Class</em>' attribute.
+ * @see #getPrimaryKeyClass()
+ * @generated
+ */
+ void setPrimaryKeyClass(String value);
+
+} // CustomGeneratorType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,68 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Database Generated Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Indicates that the database automatically populates a primary key
+ * ID in the listed column(s). Typically this is used for columns
+ * with an AUTO_INCREMENT flag or the equivalent. This only makes
+ * sense if this key generator is used for an EJB or something else
+ * with a corresponding database table (not if it's meant to generate
+ * unique web session IDs or something like that -- see
+ * auto-increment-tableType for that case).
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.pkgen.DatabaseGeneratedType#getIdentityColumn <em>Identity Column</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getDatabaseGeneratedType()
+ * @model extendedMetaData="name='database-generatedType' kind='elementOnly'"
+ * @generated
+ */
+public interface DatabaseGeneratedType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Identity Column</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identity Column</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>Identity Column</em>' attribute list.
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getDatabaseGeneratedType_IdentityColumn()
+ * @model type="java.lang.String" unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='identity-column' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList getIdentityColumn();
+
+} // DatabaseGeneratedType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java Tue Aug 16 15:39:15 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.openejb.xml.ns.pkgen;
+
+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.openejb.xml.ns.pkgen.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.DocumentRoot#getKeyGenerator <em>Key Generator</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @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.openejb.xml.ns.pkgen.PkgenPackage#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 '<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.openejb.xml.ns.pkgen.PkgenPackage#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 '<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.openejb.xml.ns.pkgen.PkgenPackage#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 '<em><b>Key Generator</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Key Generator</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>Key Generator</em>' containment reference.
+ * @see #setKeyGenerator(KeyGeneratorType)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getDocumentRoot_KeyGenerator()
+ * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='key-generator' namespace='##targetNamespace'"
+ * @generated
+ */
+ KeyGeneratorType getKeyGenerator();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.DocumentRoot#getKeyGenerator <em>Key Generator</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Key Generator</em>' containment reference.
+ * @see #getKeyGenerator()
+ * @generated
+ */
+ void setKeyGenerator(KeyGeneratorType value);
+
+} // DocumentRoot
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/KeyGeneratorType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/KeyGeneratorType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/KeyGeneratorType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/KeyGeneratorType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,157 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Key Generator Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Primary Key generation element.
+ *
+ * If this is present, a key generator GBean will be created
+ * and configured to generate IDs for the surrounding object.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getSequenceTable <em>Sequence Table</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getAutoIncrementTable <em>Auto Increment Table</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getSqlGenerator <em>Sql Generator</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getCustomGenerator <em>Custom Generator</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getKeyGeneratorType()
+ * @model extendedMetaData="name='key-generatorType' kind='elementOnly'"
+ * @generated
+ */
+public interface KeyGeneratorType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Sequence Table</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence Table</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>Sequence Table</em>' containment reference.
+ * @see #setSequenceTable(SequenceTableType)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getKeyGeneratorType_SequenceTable()
+ * @model containment="true" resolveProxies="false"
+ * extendedMetaData="kind='element' name='sequence-table' namespace='##targetNamespace'"
+ * @generated
+ */
+ SequenceTableType getSequenceTable();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getSequenceTable <em>Sequence Table</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence Table</em>' containment reference.
+ * @see #getSequenceTable()
+ * @generated
+ */
+ void setSequenceTable(SequenceTableType value);
+
+ /**
+ * Returns the value of the '<em><b>Auto Increment Table</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Auto Increment Table</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>Auto Increment Table</em>' containment reference.
+ * @see #setAutoIncrementTable(AutoIncrementTableType)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getKeyGeneratorType_AutoIncrementTable()
+ * @model containment="true" resolveProxies="false"
+ * extendedMetaData="kind='element' name='auto-increment-table' namespace='##targetNamespace'"
+ * @generated
+ */
+ AutoIncrementTableType getAutoIncrementTable();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getAutoIncrementTable <em>Auto Increment Table</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auto Increment Table</em>' containment reference.
+ * @see #getAutoIncrementTable()
+ * @generated
+ */
+ void setAutoIncrementTable(AutoIncrementTableType value);
+
+ /**
+ * Returns the value of the '<em><b>Sql Generator</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sql Generator</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>Sql Generator</em>' containment reference.
+ * @see #setSqlGenerator(SqlGeneratorType)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getKeyGeneratorType_SqlGenerator()
+ * @model containment="true" resolveProxies="false"
+ * extendedMetaData="kind='element' name='sql-generator' namespace='##targetNamespace'"
+ * @generated
+ */
+ SqlGeneratorType getSqlGenerator();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getSqlGenerator <em>Sql Generator</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sql Generator</em>' containment reference.
+ * @see #getSqlGenerator()
+ * @generated
+ */
+ void setSqlGenerator(SqlGeneratorType value);
+
+ /**
+ * Returns the value of the '<em><b>Custom Generator</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Custom Generator</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>Custom Generator</em>' containment reference.
+ * @see #setCustomGenerator(CustomGeneratorType)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getKeyGeneratorType_CustomGenerator()
+ * @model containment="true" resolveProxies="false"
+ * extendedMetaData="kind='element' name='custom-generator' namespace='##targetNamespace'"
+ * @generated
+ */
+ CustomGeneratorType getCustomGenerator();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getCustomGenerator <em>Custom Generator</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Custom Generator</em>' containment reference.
+ * @see #getCustomGenerator()
+ * @generated
+ */
+ void setCustomGenerator(CustomGeneratorType value);
+
+} // KeyGeneratorType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/KeyGeneratorType.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenFactory.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenFactory.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenFactory.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenFactory.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,109 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+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.openejb.xml.ns.pkgen.PkgenPackage
+ * @generated
+ */
+public interface PkgenFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ PkgenFactory eINSTANCE = new org.openejb.xml.ns.pkgen.impl.PkgenFactoryImpl();
+
+ /**
+ * Returns a new object of class '<em>Auto Increment Table Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Auto Increment Table Type</em>'.
+ * @generated
+ */
+ AutoIncrementTableType createAutoIncrementTableType();
+
+ /**
+ * Returns a new object of class '<em>Custom Generator Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Custom Generator Type</em>'.
+ * @generated
+ */
+ CustomGeneratorType createCustomGeneratorType();
+
+ /**
+ * Returns a new object of class '<em>Database Generated Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Database Generated Type</em>'.
+ * @generated
+ */
+ DatabaseGeneratedType createDatabaseGeneratedType();
+
+ /**
+ * 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>Key Generator Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Key Generator Type</em>'.
+ * @generated
+ */
+ KeyGeneratorType createKeyGeneratorType();
+
+ /**
+ * Returns a new object of class '<em>Sequence Table Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sequence Table Type</em>'.
+ * @generated
+ */
+ SequenceTableType createSequenceTableType();
+
+ /**
+ * Returns a new object of class '<em>Sql Generator Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sql Generator Type</em>'.
+ * @generated
+ */
+ SqlGeneratorType createSqlGeneratorType();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ PkgenPackage getPkgenPackage();
+
+} //PkgenFactory
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenFactory.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenPackage.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenPackage.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenPackage.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenPackage.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,644 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.PkgenFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface PkgenPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "pkgen";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.openejb.org/xml/ns/pkgen";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "pkgen";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ PkgenPackage eINSTANCE = org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.AutoIncrementTableTypeImpl <em>Auto Increment Table Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.AutoIncrementTableTypeImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getAutoIncrementTableType()
+ * @generated
+ */
+ int AUTO_INCREMENT_TABLE_TYPE = 0;
+
+ /**
+ * The feature id for the '<em><b>Sql</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUTO_INCREMENT_TABLE_TYPE__SQL = 0;
+
+ /**
+ * The feature id for the '<em><b>Return Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE = 1;
+
+ /**
+ * The number of structural features of the the '<em>Auto Increment Table Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int AUTO_INCREMENT_TABLE_TYPE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.CustomGeneratorTypeImpl <em>Custom Generator Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.CustomGeneratorTypeImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getCustomGeneratorType()
+ * @generated
+ */
+ int CUSTOM_GENERATOR_TYPE = 1;
+
+ /**
+ * The feature id for the '<em><b>Generator Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CUSTOM_GENERATOR_TYPE__GENERATOR_NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Primary Key Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS = 1;
+
+ /**
+ * The number of structural features of the the '<em>Custom Generator Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CUSTOM_GENERATOR_TYPE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.DatabaseGeneratedTypeImpl <em>Database Generated Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.DatabaseGeneratedTypeImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getDatabaseGeneratedType()
+ * @generated
+ */
+ int DATABASE_GENERATED_TYPE = 2;
+
+ /**
+ * The feature id for the '<em><b>Identity Column</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATABASE_GENERATED_TYPE__IDENTITY_COLUMN = 0;
+
+ /**
+ * The number of structural features of the the '<em>Database Generated Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATABASE_GENERATED_TYPE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.DocumentRootImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 3;
+
+ /**
+ * 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>Key Generator</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__KEY_GENERATOR = 3;
+
+ /**
+ * 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 = 4;
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.KeyGeneratorTypeImpl <em>Key Generator Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.KeyGeneratorTypeImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getKeyGeneratorType()
+ * @generated
+ */
+ int KEY_GENERATOR_TYPE = 4;
+
+ /**
+ * The feature id for the '<em><b>Sequence Table</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int KEY_GENERATOR_TYPE__SEQUENCE_TABLE = 0;
+
+ /**
+ * The feature id for the '<em><b>Auto Increment Table</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int KEY_GENERATOR_TYPE__AUTO_INCREMENT_TABLE = 1;
+
+ /**
+ * The feature id for the '<em><b>Sql Generator</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int KEY_GENERATOR_TYPE__SQL_GENERATOR = 2;
+
+ /**
+ * The feature id for the '<em><b>Custom Generator</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int KEY_GENERATOR_TYPE__CUSTOM_GENERATOR = 3;
+
+ /**
+ * The number of structural features of the the '<em>Key Generator Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int KEY_GENERATOR_TYPE_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.SequenceTableTypeImpl <em>Sequence Table Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.SequenceTableTypeImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getSequenceTableType()
+ * @generated
+ */
+ int SEQUENCE_TABLE_TYPE = 5;
+
+ /**
+ * The feature id for the '<em><b>Table Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_TABLE_TYPE__TABLE_NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Sequence Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_TABLE_TYPE__SEQUENCE_NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Batch Size</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_TABLE_TYPE__BATCH_SIZE = 2;
+
+ /**
+ * The number of structural features of the the '<em>Sequence Table Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEQUENCE_TABLE_TYPE_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.openejb.xml.ns.pkgen.impl.SqlGeneratorTypeImpl <em>Sql Generator Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.pkgen.impl.SqlGeneratorTypeImpl
+ * @see org.openejb.xml.ns.pkgen.impl.PkgenPackageImpl#getSqlGeneratorType()
+ * @generated
+ */
+ int SQL_GENERATOR_TYPE = 6;
+
+ /**
+ * The feature id for the '<em><b>Sql</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SQL_GENERATOR_TYPE__SQL = 0;
+
+ /**
+ * The feature id for the '<em><b>Return Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SQL_GENERATOR_TYPE__RETURN_TYPE = 1;
+
+ /**
+ * The number of structural features of the the '<em>Sql Generator Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SQL_GENERATOR_TYPE_FEATURE_COUNT = 2;
+
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType <em>Auto Increment Table Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Auto Increment Table Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.AutoIncrementTableType
+ * @generated
+ */
+ EClass getAutoIncrementTableType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType#getSql <em>Sql</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sql</em>'.
+ * @see org.openejb.xml.ns.pkgen.AutoIncrementTableType#getSql()
+ * @see #getAutoIncrementTableType()
+ * @generated
+ */
+ EAttribute getAutoIncrementTableType_Sql();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.AutoIncrementTableType#getReturnType <em>Return Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Return Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.AutoIncrementTableType#getReturnType()
+ * @see #getAutoIncrementTableType()
+ * @generated
+ */
+ EAttribute getAutoIncrementTableType_ReturnType();
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.CustomGeneratorType <em>Custom Generator Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Custom Generator Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.CustomGeneratorType
+ * @generated
+ */
+ EClass getCustomGeneratorType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.CustomGeneratorType#getGeneratorName <em>Generator Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Generator Name</em>'.
+ * @see org.openejb.xml.ns.pkgen.CustomGeneratorType#getGeneratorName()
+ * @see #getCustomGeneratorType()
+ * @generated
+ */
+ EAttribute getCustomGeneratorType_GeneratorName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.CustomGeneratorType#getPrimaryKeyClass <em>Primary Key Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Primary Key Class</em>'.
+ * @see org.openejb.xml.ns.pkgen.CustomGeneratorType#getPrimaryKeyClass()
+ * @see #getCustomGeneratorType()
+ * @generated
+ */
+ EAttribute getCustomGeneratorType_PrimaryKeyClass();
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.DatabaseGeneratedType <em>Database Generated Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Database Generated Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.DatabaseGeneratedType
+ * @generated
+ */
+ EClass getDatabaseGeneratedType();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.openejb.xml.ns.pkgen.DatabaseGeneratedType#getIdentityColumn <em>Identity Column</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Identity Column</em>'.
+ * @see org.openejb.xml.ns.pkgen.DatabaseGeneratedType#getIdentityColumn()
+ * @see #getDatabaseGeneratedType()
+ * @generated
+ */
+ EAttribute getDatabaseGeneratedType_IdentityColumn();
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.openejb.xml.ns.pkgen.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.openejb.xml.ns.pkgen.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.openejb.xml.ns.pkgen.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.openejb.xml.ns.pkgen.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.openejb.xml.ns.pkgen.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.openejb.xml.ns.pkgen.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.openejb.xml.ns.pkgen.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openejb.xml.ns.pkgen.DocumentRoot#getKeyGenerator <em>Key Generator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Key Generator</em>'.
+ * @see org.openejb.xml.ns.pkgen.DocumentRoot#getKeyGenerator()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_KeyGenerator();
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType <em>Key Generator Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Key Generator Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.KeyGeneratorType
+ * @generated
+ */
+ EClass getKeyGeneratorType();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getSequenceTable <em>Sequence Table</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Sequence Table</em>'.
+ * @see org.openejb.xml.ns.pkgen.KeyGeneratorType#getSequenceTable()
+ * @see #getKeyGeneratorType()
+ * @generated
+ */
+ EReference getKeyGeneratorType_SequenceTable();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getAutoIncrementTable <em>Auto Increment Table</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Auto Increment Table</em>'.
+ * @see org.openejb.xml.ns.pkgen.KeyGeneratorType#getAutoIncrementTable()
+ * @see #getKeyGeneratorType()
+ * @generated
+ */
+ EReference getKeyGeneratorType_AutoIncrementTable();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getSqlGenerator <em>Sql Generator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Sql Generator</em>'.
+ * @see org.openejb.xml.ns.pkgen.KeyGeneratorType#getSqlGenerator()
+ * @see #getKeyGeneratorType()
+ * @generated
+ */
+ EReference getKeyGeneratorType_SqlGenerator();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openejb.xml.ns.pkgen.KeyGeneratorType#getCustomGenerator <em>Custom Generator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Custom Generator</em>'.
+ * @see org.openejb.xml.ns.pkgen.KeyGeneratorType#getCustomGenerator()
+ * @see #getKeyGeneratorType()
+ * @generated
+ */
+ EReference getKeyGeneratorType_CustomGenerator();
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.SequenceTableType <em>Sequence Table Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sequence Table Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.SequenceTableType
+ * @generated
+ */
+ EClass getSequenceTableType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getTableName <em>Table Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Table Name</em>'.
+ * @see org.openejb.xml.ns.pkgen.SequenceTableType#getTableName()
+ * @see #getSequenceTableType()
+ * @generated
+ */
+ EAttribute getSequenceTableType_TableName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getSequenceName <em>Sequence Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sequence Name</em>'.
+ * @see org.openejb.xml.ns.pkgen.SequenceTableType#getSequenceName()
+ * @see #getSequenceTableType()
+ * @generated
+ */
+ EAttribute getSequenceTableType_SequenceName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getBatchSize <em>Batch Size</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Batch Size</em>'.
+ * @see org.openejb.xml.ns.pkgen.SequenceTableType#getBatchSize()
+ * @see #getSequenceTableType()
+ * @generated
+ */
+ EAttribute getSequenceTableType_BatchSize();
+
+ /**
+ * Returns the meta object for class '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType <em>Sql Generator Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sql Generator Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.SqlGeneratorType
+ * @generated
+ */
+ EClass getSqlGeneratorType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getSql <em>Sql</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sql</em>'.
+ * @see org.openejb.xml.ns.pkgen.SqlGeneratorType#getSql()
+ * @see #getSqlGeneratorType()
+ * @generated
+ */
+ EAttribute getSqlGeneratorType_Sql();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getReturnType <em>Return Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Return Type</em>'.
+ * @see org.openejb.xml.ns.pkgen.SqlGeneratorType#getReturnType()
+ * @see #getSqlGeneratorType()
+ * @generated
+ */
+ EAttribute getSqlGeneratorType_ReturnType();
+
+ /**
+ * 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
+ */
+ PkgenFactory getPkgenFactory();
+
+} //PkgenPackage
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/PkgenPackage.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SequenceTableType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SequenceTableType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SequenceTableType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SequenceTableType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,154 @@
+/**
+ * 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.openejb.xml.ns.pkgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sequence Table Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Indicates that a separate table holds a list of table name/ID
+ * pairs and the server should fetch the next ID from that table.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.pkgen.SequenceTableType#getTableName <em>Table Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.SequenceTableType#getSequenceName <em>Sequence Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.pkgen.SequenceTableType#getBatchSize <em>Batch Size</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSequenceTableType()
+ * @model extendedMetaData="name='sequence-tableType' kind='elementOnly'"
+ * @generated
+ */
+public interface SequenceTableType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Table Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Table Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Table Name</em>' attribute.
+ * @see #setTableName(String)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSequenceTableType_TableName()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='table-name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getTableName();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getTableName <em>Table Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Table Name</em>' attribute.
+ * @see #getTableName()
+ * @generated
+ */
+ void setTableName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence Name</em>' attribute.
+ * @see #setSequenceName(String)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSequenceTableType_SequenceName()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='sequence-name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getSequenceName();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getSequenceName <em>Sequence Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence Name</em>' attribute.
+ * @see #getSequenceName()
+ * @generated
+ */
+ void setSequenceName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Batch Size</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Batch Size</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Batch Size</em>' attribute.
+ * @see #isSetBatchSize()
+ * @see #unsetBatchSize()
+ * @see #setBatchSize(int)
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSequenceTableType_BatchSize()
+ * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" required="true"
+ * extendedMetaData="kind='element' name='batch-size' namespace='##targetNamespace'"
+ * @generated
+ */
+ int getBatchSize();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getBatchSize <em>Batch Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Batch Size</em>' attribute.
+ * @see #isSetBatchSize()
+ * @see #unsetBatchSize()
+ * @see #getBatchSize()
+ * @generated
+ */
+ void setBatchSize(int value);
+
+ /**
+ * Unsets the value of the '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getBatchSize <em>Batch Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetBatchSize()
+ * @see #getBatchSize()
+ * @see #setBatchSize(int)
+ * @generated
+ */
+ void unsetBatchSize();
+
+ /**
+ * Returns whether the value of the '{@link org.openejb.xml.ns.pkgen.SequenceTableType#getBatchSize <em>Batch Size</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Batch Size</em>' attribute is set.
+ * @see #unsetBatchSize()
+ * @see #getBatchSize()
+ * @see #setBatchSize(int)
+ * @generated
+ */
+ boolean isSetBatchSize();
+
+} // SequenceTableType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SequenceTableType.java
------------------------------------------------------------------------------
svn:executable = *