Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarValidator.java Wed Aug 24 14:34:34 2005
@@ -1,474 +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
+/**
+ * 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:eol-style = native
Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/AutoIncrementTableType.java Wed Aug 24 14:34:34 2005
@@ -1,106 +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
+/**
+ * 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:eol-style = native
Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/CustomGeneratorType.java Wed Aug 24 14:34:34 2005
@@ -1,100 +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
+/**
+ * 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:eol-style = native
Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DatabaseGeneratedType.java Wed Aug 24 14:34:34 2005
@@ -1,68 +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
+/**
+ * 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:eol-style = native
Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/DocumentRoot.java Wed Aug 24 14:34:34 2005
@@ -1,124 +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
+/**
+ * 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:eol-style = native
|