Return-Path:
- * The following features are supported:
- * validateXXX
for the corresonding classifier of the model.
- *
- *
- * @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;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateActivationConfigPropertyType(ActivationConfigPropertyType activationConfigPropertyType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(activationConfigPropertyType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateActivationConfigType(ActivationConfigType activationConfigType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(activationConfigType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateCmpFieldGroupMappingType(CmpFieldGroupMappingType cmpFieldGroupMappingType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(cmpFieldGroupMappingType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateCmpFieldMappingType(CmpFieldMappingType cmpFieldMappingType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(cmpFieldMappingType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateCmrFieldGroupMappingType(CmrFieldGroupMappingType cmrFieldGroupMappingType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(cmrFieldGroupMappingType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateCmrFieldMappingType(CmrFieldMappingType cmrFieldMappingType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(cmrFieldMappingType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateCmrFieldType(CmrFieldType cmrFieldType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(cmrFieldType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateCmrFieldType1(CmrFieldType1 cmrFieldType1, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(cmrFieldType1, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(documentRoot, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateEjbRelationshipRoleType(EjbRelationshipRoleType ejbRelationshipRoleType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(ejbRelationshipRoleType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateEjbRelationType(EjbRelationType ejbRelationType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(ejbRelationType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateEnterpriseBeansType(EnterpriseBeansType enterpriseBeansType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(enterpriseBeansType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateEntityBeanType(EntityBeanType entityBeanType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(entityBeanType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateEntityGroupMappingType(EntityGroupMappingType entityGroupMappingType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(entityGroupMappingType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateGroupType(GroupType groupType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(groupType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateMessageDrivenBeanType(MessageDrivenBeanType messageDrivenBeanType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(messageDrivenBeanType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateMethodParamsType(MethodParamsType methodParamsType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(methodParamsType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateOpenejbJarType(OpenejbJarType openejbJarType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(openejbJarType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validatePrefetchGroupType(PrefetchGroupType prefetchGroupType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(prefetchGroupType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateQueryMethodType(QueryMethodType queryMethodType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(queryMethodType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateQueryType(QueryType queryType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(queryType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateRelationshipRoleSourceType(RelationshipRoleSourceType relationshipRoleSourceType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(relationshipRoleSourceType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateRelationshipsType(RelationshipsType relationshipsType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(relationshipsType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateRoleMappingType(RoleMappingType roleMappingType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(roleMappingType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateSessionBeanType(SessionBeanType sessionBeanType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(sessionBeanType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateTssType(TssType tssType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(tssType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateWebServiceSecurityType(WebServiceSecurityType webServiceSecurityType, DiagnosticChain diagnostics, Map context) {
- return validate_EveryDefaultConstraint(webServiceSecurityType, diagnostics, context);
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateTransportGuaranteeType(Object transportGuaranteeType, DiagnosticChain diagnostics, Map context) {
- return true;
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean validateAuthMethodType(String authMethodType, DiagnosticChain diagnostics, Map context) {
- boolean result = validateAuthMethodType_Enumeration(authMethodType, diagnostics, context);
- return result;
- }
-
- /**
- *
- *
- * @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 'Auth Method Type'.
- *
- *
- * @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;
- }
-
- /**
- *
- *
- * @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.*;
+
+/**
+ *
+ * The Validator for the model.
+ *
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage
+ * @generated
+ */
+public class JarValidator extends EObjectValidator {
+ /**
+ * The cached model package
+ *
+ *
+ * @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.
+ *
+ *
+ * @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.
+ *
+ *
+ * @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.
+ *
+ *
+ * @generated
+ */
+ protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
+
+ /**
+ * The cached base package validator.
+ *
+ *
+ * @generated
+ */
+ protected XMLTypeValidator xmlTypeValidator;
+
+ /**
+ * Creates an instance of the switch.
+ *
+ *
+ * @generated
+ */
+ public JarValidator() {
+ super();
+ xmlTypeValidator = XMLTypeValidator.INSTANCE;
+ }
+
+ /**
+ * Returns the package of this validator switch.
+ *
+ *
+ * @generated
+ */
+ protected EPackage getEPackage() {
+ return JarPackage.eINSTANCE;
+ }
+
+ /**
+ * Calls validateXXX
for the corresonding classifier of the model.
+ *
+ *
+ * @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;
+ }
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateActivationConfigPropertyType(ActivationConfigPropertyType activationConfigPropertyType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(activationConfigPropertyType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateActivationConfigType(ActivationConfigType activationConfigType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(activationConfigType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateCmpFieldGroupMappingType(CmpFieldGroupMappingType cmpFieldGroupMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmpFieldGroupMappingType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateCmpFieldMappingType(CmpFieldMappingType cmpFieldMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmpFieldMappingType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateCmrFieldGroupMappingType(CmrFieldGroupMappingType cmrFieldGroupMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldGroupMappingType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateCmrFieldMappingType(CmrFieldMappingType cmrFieldMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldMappingType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateCmrFieldType(CmrFieldType cmrFieldType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateCmrFieldType1(CmrFieldType1 cmrFieldType1, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(cmrFieldType1, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(documentRoot, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateEjbRelationshipRoleType(EjbRelationshipRoleType ejbRelationshipRoleType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(ejbRelationshipRoleType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateEjbRelationType(EjbRelationType ejbRelationType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(ejbRelationType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateEnterpriseBeansType(EnterpriseBeansType enterpriseBeansType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(enterpriseBeansType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateEntityBeanType(EntityBeanType entityBeanType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(entityBeanType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateEntityGroupMappingType(EntityGroupMappingType entityGroupMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(entityGroupMappingType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateGroupType(GroupType groupType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(groupType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateMessageDrivenBeanType(MessageDrivenBeanType messageDrivenBeanType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(messageDrivenBeanType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateMethodParamsType(MethodParamsType methodParamsType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(methodParamsType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateOpenejbJarType(OpenejbJarType openejbJarType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(openejbJarType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validatePrefetchGroupType(PrefetchGroupType prefetchGroupType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(prefetchGroupType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateQueryMethodType(QueryMethodType queryMethodType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(queryMethodType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateQueryType(QueryType queryType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(queryType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateRelationshipRoleSourceType(RelationshipRoleSourceType relationshipRoleSourceType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(relationshipRoleSourceType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateRelationshipsType(RelationshipsType relationshipsType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(relationshipsType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateRoleMappingType(RoleMappingType roleMappingType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(roleMappingType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateSessionBeanType(SessionBeanType sessionBeanType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(sessionBeanType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateTssType(TssType tssType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(tssType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateWebServiceSecurityType(WebServiceSecurityType webServiceSecurityType, DiagnosticChain diagnostics, Map context) {
+ return validate_EveryDefaultConstraint(webServiceSecurityType, diagnostics, context);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateTransportGuaranteeType(Object transportGuaranteeType, DiagnosticChain diagnostics, Map context) {
+ return true;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean validateAuthMethodType(String authMethodType, DiagnosticChain diagnostics, Map context) {
+ boolean result = validateAuthMethodType_Enumeration(authMethodType, diagnostics, context);
+ return result;
+ }
+
+ /**
+ *
+ *
+ * @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 'Auth Method Type'.
+ *
+ *
+ * @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;
+ }
+
+ /**
+ *
+ *
+ * @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;
-
-/**
- *
- * A representation of the model object 'Auto Increment Table Type'.
- *
- *
- *
- *
- * 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).
- *
- *
- *
- *
- *
- *
- * If the meaning of the 'Sql' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Sql' 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 Sql}' attribute. - * - * - * @param value the new value of the 'Sql' attribute. - * @see #getSql() - * @generated - */ - void setSql(String value); - - /** - * Returns the value of the 'Return Type' attribute. - * - *- * If the meaning of the 'Return Type' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Return Type' 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 Return Type}' attribute. - * - * - * @param value the new value of the 'Return Type' 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; + +/** + * + * A representation of the model object 'Auto Increment Table Type'. + * + * + * + * + * 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). + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Sql' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sql' 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 Sql}' attribute. + * + * + * @param value the new value of the 'Sql' attribute. + * @see #getSql() + * @generated + */ + void setSql(String value); + + /** + * Returns the value of the 'Return Type' attribute. + * + *+ * If the meaning of the 'Return Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Return Type' 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 Return Type}' attribute. + * + * + * @param value the new value of the 'Return Type' 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; - -/** - * - * A representation of the model object 'Custom Generator Type'. - * - * - * - * - * 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. - * - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Generator Name' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Generator Name' 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 Generator Name}' attribute. - * - * - * @param value the new value of the 'Generator Name' attribute. - * @see #getGeneratorName() - * @generated - */ - void setGeneratorName(String value); - - /** - * Returns the value of the 'Primary Key Class' attribute. - * - *- * If the meaning of the 'Primary Key Class' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Primary Key Class' 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 Primary Key Class}' attribute. - * - * - * @param value the new value of the 'Primary Key Class' 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; + +/** + * + * A representation of the model object 'Custom Generator Type'. + * + * + * + * + * 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. + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Generator Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Generator Name' 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 Generator Name}' attribute. + * + * + * @param value the new value of the 'Generator Name' attribute. + * @see #getGeneratorName() + * @generated + */ + void setGeneratorName(String value); + + /** + * Returns the value of the 'Primary Key Class' attribute. + * + *+ * If the meaning of the 'Primary Key Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Primary Key Class' 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 Primary Key Class}' attribute. + * + * + * @param value the new value of the 'Primary Key Class' 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; - -/** - * - * A representation of the model object 'Database Generated Type'. - * - * - * - * - * 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). - * - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Identity Column' attribute list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Identity Column' 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; + +/** + * + * A representation of the model object 'Database Generated Type'. + * + * + * + * + * 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). + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Identity Column' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Identity Column' 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; - -/** - * - * A representation of the model object 'Document Root'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Mixed' attribute list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Mixed' attribute list. - * @see org.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 'XMLNS Prefix Map' map. - * The key is of type {@link java.lang.String}, - * and the value is of type {@link java.lang.String}, - * - *- * If the meaning of the 'XMLNS Prefix Map' map isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'XMLNS Prefix Map' map. - * @see org.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 'XSI Schema Location' map. - * The key is of type {@link java.lang.String}, - * and the value is of type {@link java.lang.String}, - * - *- * If the meaning of the 'XSI Schema Location' map isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'XSI Schema Location' map. - * @see org.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 'Key Generator' containment reference. - * - *- * If the meaning of the 'Key Generator' containment reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Key Generator' 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 Key Generator}' containment reference. - * - * - * @param value the new value of the 'Key Generator' 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; + +/** + * + * A representation of the model object 'Document Root'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Mixed' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Mixed' attribute list. + * @see org.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 'XMLNS Prefix Map' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * + *+ * If the meaning of the 'XMLNS Prefix Map' map isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'XMLNS Prefix Map' map. + * @see org.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 'XSI Schema Location' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * + *+ * If the meaning of the 'XSI Schema Location' map isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'XSI Schema Location' map. + * @see org.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 'Key Generator' containment reference. + * + *+ * If the meaning of the 'Key Generator' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Key Generator' 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 Key Generator}' containment reference. + * + * + * @param value the new value of the 'Key Generator' 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