diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse')
102 files changed, 0 insertions, 44231 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/AbstractOseeDslRuntimeModule.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/AbstractOseeDslRuntimeModule.java deleted file mode 100644 index 7a550e50aa3..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/AbstractOseeDslRuntimeModule.java +++ /dev/null @@ -1,177 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl; - -import com.google.inject.Binder; -import com.google.inject.name.Names; -import java.util.Properties; -import org.eclipse.xtext.Constants; - -/** - * Manual modifications go to {org.eclipse.osee.framework.core.dsl.OseeDslRuntimeModule} - */ -@SuppressWarnings("all") -public abstract class AbstractOseeDslRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "org/eclipse/osee/framework/core/dsl/OseeDsl.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance( - "org.eclipse.osee.framework.core.dsl.OseeDsl"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) { - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("osee"); - } - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - @Override - public java.lang.ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { - return org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - @Override - public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() { - return org.eclipse.osee.framework.core.dsl.serializer.OseeDslSemanticSequencer.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class<? extends org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer> bindISyntacticSequencer() { - return org.eclipse.osee.framework.core.dsl.serializer.OseeDslSyntacticSequencer.class; - } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - @Override - public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() { - return org.eclipse.osee.framework.core.dsl.parser.antlr.OseeDslParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - @Override - public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { - return org.eclipse.osee.framework.core.dsl.parser.antlr.OseeDslAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() { - return org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslLexer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider<org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslLexer> provideInternalOseeDslLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create( - org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith( - com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to( - org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - @Override - public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper> bindIUnorderedGroupHelper() { - return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class; - } - - // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment - @org.eclipse.xtext.service.SingletonBinding(eager = true) - public Class<? extends org.eclipse.osee.framework.core.dsl.validation.OseeDslJavaValidator> bindOseeDslJavaValidator() { - return org.eclipse.osee.framework.core.dsl.validation.OseeDslJavaValidator.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - @Override - public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() { - return org.eclipse.osee.framework.core.dsl.scoping.OseeDslScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named( - org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to( - org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { - binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); - } - - // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment - @Override - public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { - return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - @Override - public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() { - return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() { - return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - @Override - public void configureIResourceDescriptions(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to( - org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith( - com.google.inject.name.Names.named( - org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to( - org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment - @Override - public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { - return org.eclipse.osee.framework.core.dsl.formatting.OseeDslFormatter.class; - } - - // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment - @Override - public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { - return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; - } - -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore deleted file mode 100644 index f29e3eced40..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore +++ /dev/null @@ -1,224 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="oseeDsl" nsURI="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl" - nsPrefix="oseeDsl"> - <eClassifiers xsi:type="ecore:EClass" name="OseeDsl"> - <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" - eType="#//Import" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypes" upperBound="-1" - eType="#//XArtifactType" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypes" upperBound="-1" - eType="#//XRelationType" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="attributeTypes" upperBound="-1" - eType="#//XAttributeType" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="enumTypes" upperBound="-1" - eType="#//XOseeEnumType" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="enumOverrides" upperBound="-1" - eType="#//XOseeEnumOverride" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeOverrides" - upperBound="-1" eType="#//XOseeArtifactTypeOverride" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactMatchRefs" upperBound="-1" - eType="#//XArtifactMatcher" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="accessDeclarations" upperBound="-1" - eType="#//AccessContext" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="roleDeclarations" upperBound="-1" - eType="#//Role" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Import"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OseeElement"/> - <eClassifiers xsi:type="ecore:EClass" name="OseeType" eSuperTypes="#//OseeElement"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XArtifactType" eSuperTypes="#//OseeType"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="superArtifactTypes" unique="false" - upperBound="-1" eType="#//XArtifactType"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="validAttributeTypes" upperBound="-1" - eType="#//XAttributeTypeRef" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XAttributeTypeRef"> - <eStructuralFeatures xsi:type="ecore:EReference" name="validAttributeType" eType="#//XAttributeType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="branchUuid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XAttributeType" eSuperTypes="#//OseeType"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="baseAttributeType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="override" eType="#//XAttributeType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="dataProvider" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="min" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="max" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="taggerId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="enumType" eType="#//XOseeEnumType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="fileExtension" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="mediaType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XOseeEnumType" eSuperTypes="#//OseeType"> - <eStructuralFeatures xsi:type="ecore:EReference" name="enumEntries" upperBound="-1" - eType="#//XOseeEnumEntry" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XOseeEnumEntry"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="ordinal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XOseeEnumOverride" eSuperTypes="#//OseeElement"> - <eStructuralFeatures xsi:type="ecore:EReference" name="overridenEnumType" eType="#//XOseeEnumType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="inheritAll" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="overrideOptions" upperBound="-1" - eType="#//OverrideOption" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OverrideOption"/> - <eClassifiers xsi:type="ecore:EClass" name="AddEnum" eSuperTypes="#//OverrideOption"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="enumEntry" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="ordinal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RemoveEnum" eSuperTypes="#//OverrideOption"> - <eStructuralFeatures xsi:type="ecore:EReference" name="enumEntry" eType="#//XOseeEnumEntry"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XOseeArtifactTypeOverride"> - <eStructuralFeatures xsi:type="ecore:EReference" name="overridenArtifactType" - eType="#//XArtifactType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="inheritAll" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="overrideOptions" upperBound="-1" - eType="#//AttributeOverrideOption" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="AttributeOverrideOption"/> - <eClassifiers xsi:type="ecore:EClass" name="AddAttribute" eSuperTypes="#//AttributeOverrideOption"> - <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="#//XAttributeTypeRef" - containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RemoveAttribute" eSuperTypes="#//AttributeOverrideOption"> - <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="#//XAttributeType"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="UpdateAttribute" eSuperTypes="#//AttributeOverrideOption"> - <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="#//XAttributeTypeRef" - containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XRelationType" eSuperTypes="#//OseeType"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="sideAName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="sideAArtifactType" eType="#//XArtifactType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="sideBName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="sideBArtifactType" eType="#//XArtifactType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultOrderType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiplicity" eType="#//RelationMultiplicityEnum"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="RelationMultiplicityEnum"> - <eLiterals name="ONE_TO_ONE" literal="ONE_TO_ONE"/> - <eLiterals name="ONE_TO_MANY" value="1" literal="ONE_TO_MANY"/> - <eLiterals name="MANY_TO_ONE" value="2" literal="MANY_TO_ONE"/> - <eLiterals name="MANY_TO_MANY" value="3" literal="MANY_TO_MANY"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="CompareOp"> - <eLiterals name="EQ" literal="EQ"/> - <eLiterals name="LIKE" value="1" literal="LIKE"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="XLogicOperator"> - <eLiterals name="AND" literal="AND"/> - <eLiterals name="OR" value="1" literal="OR"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="MatchField"> - <eLiterals name="artifactName" literal="artifactName"/> - <eLiterals name="artifactId" value="1" literal="artifactId"/> - <eLiterals name="branchName" value="2" literal="branchName"/> - <eLiterals name="branchUuid" value="3" literal="branchUuid"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Condition"/> - <eClassifiers xsi:type="ecore:EClass" name="SimpleCondition" eSuperTypes="#//Condition"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="field" eType="#//MatchField"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="#//CompareOp"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="expression" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="CompoundCondition" eSuperTypes="#//Condition"> - <eStructuralFeatures xsi:type="ecore:EReference" name="conditions" upperBound="-1" - eType="#//SimpleCondition" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="operators" unique="false" - upperBound="-1" eType="#//XLogicOperator"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XArtifactMatcher"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="conditions" upperBound="-1" - eType="#//Condition" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="operators" unique="false" - upperBound="-1" eType="#//XLogicOperator"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Role"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="superRoles" unique="false" - upperBound="-1" eType="#//Role"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="usersAndGroups" upperBound="-1" - eType="#//UsersAndGroups" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="referencedContexts" upperBound="-1" - eType="#//ReferencedContext" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ReferencedContext"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="accessContextRef" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="UsersAndGroups"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="userOrGroupGuid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="AccessContext"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="superAccessContexts" unique="false" - upperBound="-1" eType="#//AccessContext"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="guid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="accessRules" upperBound="-1" - eType="#//ObjectRestriction" containment="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="hierarchyRestrictions" - upperBound="-1" eType="#//HierarchyRestriction" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="HierarchyRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactMatcherRef" eType="#//XArtifactMatcher"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="accessRules" upperBound="-1" - eType="#//ObjectRestriction" containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="AccessPermissionEnum"> - <eLiterals name="ALLOW" literal="ALLOW"/> - <eLiterals name="DENY" value="1" literal="DENY"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RelationTypeArtifactTypePredicate" eSuperTypes="#//RelationTypePredicate"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="#//XArtifactType"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RelationTypeArtifactPredicate" eSuperTypes="#//RelationTypePredicate"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactMatcherRef" eType="#//XArtifactMatcher"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RelationTypePredicate"/> - <eClassifiers xsi:type="ecore:EClass" name="ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="permission" eType="#//AccessPermissionEnum"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ArtifactMatchRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactMatcherRef" eType="#//XArtifactMatcher"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ArtifactTypeRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="#//XArtifactType"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="AttributeTypeRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="attributeTypeRef" eType="#//XAttributeType"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="#//XArtifactType"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="LegacyRelationTypeRestriction"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="permission" eType="#//AccessPermissionEnum"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypeRef" eType="#//XRelationType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="restrictedToSide" eType="#//XRelationSideEnum"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactMatcherRef" eType="#//XArtifactMatcher"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RelationTypeRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="relationTypeMatch" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypeRef" eType="#//XRelationType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="restrictedToSide" eType="#//XRelationSideEnum"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="predicate" eType="#//RelationTypePredicate" - containment="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="RelationTypeMatch"> - <eLiterals name="ALL" literal="ALL"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="XRelationSideEnum"> - <eLiterals name="SIDE_A" literal="SIDE_A"/> - <eLiterals name="SIDE_B" value="1" literal="SIDE_B"/> - <eLiterals name="BOTH" value="2" literal="BOTH"/> - </eClassifiers> -</ecore:EPackage> diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.genmodel b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.genmodel deleted file mode 100644 index 10453d92f5d..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.genmodel +++ /dev/null @@ -1,200 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" - xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.osee.framework.core.dsl/src-gen" editDirectory="/org.eclipse.osee.framework.core.dsl.edit/src" - editorDirectory="/org.eclipse.osee.framework.core.dsl.editor/src" modelPluginID="org.eclipse.osee.framework.core.dsl" - forceOverwrite="true" modelName="OseeDsl" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" - complianceLevel="6.0" copyrightFields="false" editPluginID="org.eclipse.osee.framework.core.dsl.edit" - editorPluginID="org.eclipse.osee.framework.core.dsl.editor" runtimeVersion="2.12"> - <genPackages prefix="OseeDsl" basePackage="org.eclipse.osee.framework.core.dsl" - disposableProviderFactory="true" ecorePackage="OseeDsl.ecore#/"> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//RelationMultiplicityEnum"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationMultiplicityEnum/ONE_TO_ONE"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationMultiplicityEnum/ONE_TO_MANY"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationMultiplicityEnum/MANY_TO_ONE"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationMultiplicityEnum/MANY_TO_MANY"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//CompareOp"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//CompareOp/EQ"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//CompareOp/LIKE"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//XLogicOperator"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XLogicOperator/AND"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XLogicOperator/OR"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//MatchField"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//MatchField/artifactName"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//MatchField/artifactId"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//MatchField/branchName"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//MatchField/branchUuid"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//AccessPermissionEnum"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//AccessPermissionEnum/ALLOW"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//AccessPermissionEnum/DENY"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//RelationTypeMatch"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationTypeMatch/ALL"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//XRelationSideEnum"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XRelationSideEnum/SIDE_A"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XRelationSideEnum/SIDE_B"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XRelationSideEnum/BOTH"/> - </genEnums> - <genClasses ecoreClass="OseeDsl.ecore#//OseeDsl"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/imports"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/artifactTypes"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/relationTypes"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/attributeTypes"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/enumTypes"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/enumOverrides"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/artifactTypeOverrides"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/artifactMatchRefs"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/accessDeclarations"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/roleDeclarations"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//Import"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//Import/importURI"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//OseeElement"/> - <genClasses ecoreClass="OseeDsl.ecore#//OseeType"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//OseeType/name"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//OseeType/id"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XArtifactType"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XArtifactType/abstract"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XArtifactType/superArtifactTypes"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XArtifactType/validAttributeTypes"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XAttributeTypeRef"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XAttributeTypeRef/validAttributeType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeTypeRef/branchUuid"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XAttributeType"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/baseAttributeType"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XAttributeType/override"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/dataProvider"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/min"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/max"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/taggerId"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XAttributeType/enumType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/description"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/defaultValue"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/fileExtension"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XAttributeType/mediaType"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XOseeEnumType"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XOseeEnumType/enumEntries"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XOseeEnumEntry"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XOseeEnumEntry/name"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XOseeEnumEntry/ordinal"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XOseeEnumEntry/description"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XOseeEnumOverride"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XOseeEnumOverride/overridenEnumType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XOseeEnumOverride/inheritAll"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XOseeEnumOverride/overrideOptions"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//OverrideOption"/> - <genClasses ecoreClass="OseeDsl.ecore#//AddEnum"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//AddEnum/enumEntry"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//AddEnum/ordinal"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//AddEnum/description"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//RemoveEnum"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RemoveEnum/enumEntry"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XOseeArtifactTypeOverride"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XOseeArtifactTypeOverride/overridenArtifactType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XOseeArtifactTypeOverride/inheritAll"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XOseeArtifactTypeOverride/overrideOptions"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//AttributeOverrideOption"/> - <genClasses ecoreClass="OseeDsl.ecore#//AddAttribute"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AddAttribute/attribute"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//RemoveAttribute"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RemoveAttribute/attribute"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//UpdateAttribute"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//UpdateAttribute/attribute"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XRelationType"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XRelationType/sideAName"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XRelationType/sideAArtifactType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XRelationType/sideBName"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XRelationType/sideBArtifactType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XRelationType/defaultOrderType"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XRelationType/multiplicity"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//Condition"/> - <genClasses ecoreClass="OseeDsl.ecore#//SimpleCondition"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//SimpleCondition/field"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//SimpleCondition/op"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//SimpleCondition/expression"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//CompoundCondition"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//CompoundCondition/conditions"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//CompoundCondition/operators"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XArtifactMatcher"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XArtifactMatcher/name"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//XArtifactMatcher/conditions"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XArtifactMatcher/operators"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//Role"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//Role/name"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//Role/superRoles"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//Role/usersAndGroups"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//Role/referencedContexts"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//ReferencedContext"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//ReferencedContext/accessContextRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//UsersAndGroups"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//UsersAndGroups/userOrGroupGuid"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//AccessContext"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//AccessContext/name"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AccessContext/superAccessContexts"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//AccessContext/guid"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AccessContext/accessRules"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AccessContext/hierarchyRestrictions"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//HierarchyRestriction"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//HierarchyRestriction/artifactMatcherRef"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//HierarchyRestriction/accessRules"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//RelationTypeArtifactTypePredicate"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RelationTypeArtifactTypePredicate/artifactTypeRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//RelationTypeArtifactPredicate"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RelationTypeArtifactPredicate/artifactMatcherRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//RelationTypePredicate"/> - <genClasses ecoreClass="OseeDsl.ecore#//ObjectRestriction"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//ObjectRestriction/permission"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//ArtifactMatchRestriction"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//ArtifactMatchRestriction/artifactMatcherRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//ArtifactTypeRestriction"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//ArtifactTypeRestriction/artifactTypeRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//AttributeTypeRestriction"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AttributeTypeRestriction/attributeTypeRef"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AttributeTypeRestriction/artifactTypeRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//LegacyRelationTypeRestriction"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//LegacyRelationTypeRestriction/permission"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//LegacyRelationTypeRestriction/relationTypeRef"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//LegacyRelationTypeRestriction/restrictedToSide"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//LegacyRelationTypeRestriction/artifactMatcherRef"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//RelationTypeRestriction"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//RelationTypeRestriction/relationTypeMatch"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RelationTypeRestriction/relationTypeRef"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//RelationTypeRestriction/restrictedToSide"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RelationTypeRestriction/predicate"/> - </genClasses> - </genPackages> -</genmodel:GenModel> diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xtextbin b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xtextbin Binary files differdeleted file mode 100644 index 6fa8f90a7e3..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xtextbin +++ /dev/null diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDslStandaloneSetupGenerated.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDslStandaloneSetupGenerated.java deleted file mode 100644 index 31412fc60b9..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDslStandaloneSetupGenerated.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.ISetup; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ -@SuppressWarnings("all") -public class OseeDslStandaloneSetupGenerated implements ISetup { - - @Override - public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new org.eclipse.osee.framework.core.dsl.OseeDslRuntimeModule()); - } - - public void register(Injector injector) { - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/osee/framework/core/dsl/OseeDsl")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/osee/framework/core/dsl/OseeDsl", org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage.eINSTANCE); - } - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("osee", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("osee", serviceProvider); - - - - - } -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java deleted file mode 100644 index 8ec5b7b3c35..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java +++ /dev/null @@ -1,131 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Access Context</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getGuid <em>Guid</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext() - * @model - * @generated - */ -public interface AccessContext extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Super Access Contexts</b></em>' reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Super Access Contexts</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Super Access Contexts</em>' reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_SuperAccessContexts() - * @model - * @generated - */ - EList<AccessContext> getSuperAccessContexts(); - - /** - * Returns the value of the '<em><b>Guid</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Guid</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Guid</em>' attribute. - * @see #setGuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_Guid() - * @model - * @generated - */ - String getGuid(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getGuid <em>Guid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Guid</em>' attribute. - * @see #getGuid() - * @generated - */ - void setGuid(String value); - - /** - * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Access Rules</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_AccessRules() - * @model containment="true" - * @generated - */ - EList<ObjectRestriction> getAccessRules(); - - /** - * Returns the value of the '<em><b>Hierarchy Restrictions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Hierarchy Restrictions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Hierarchy Restrictions</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_HierarchyRestrictions() - * @model containment="true" - * @generated - */ - EList<HierarchyRestriction> getHierarchyRestrictions(); - -} // AccessContext diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java deleted file mode 100644 index 0e97d36008c..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Access Permission Enum</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessPermissionEnum() - * @model - * @generated - */ -public enum AccessPermissionEnum implements Enumerator -{ - /** - * The '<em><b>ALLOW</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ALLOW_VALUE - * @generated - * @ordered - */ - ALLOW(0, "ALLOW", "ALLOW"), - - /** - * The '<em><b>DENY</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #DENY_VALUE - * @generated - * @ordered - */ - DENY(1, "DENY", "DENY"); - - /** - * The '<em><b>ALLOW</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ALLOW</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ALLOW - * @model - * @generated - * @ordered - */ - public static final int ALLOW_VALUE = 0; - - /** - * The '<em><b>DENY</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>DENY</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #DENY - * @model - * @generated - * @ordered - */ - public static final int DENY_VALUE = 1; - - /** - * An array of all the '<em><b>Access Permission Enum</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final AccessPermissionEnum[] VALUES_ARRAY = - new AccessPermissionEnum[] - { - ALLOW, - DENY, - }; - - /** - * A public read-only list of all the '<em><b>Access Permission Enum</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<AccessPermissionEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static AccessPermissionEnum get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - AccessPermissionEnum result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static AccessPermissionEnum getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - AccessPermissionEnum result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static AccessPermissionEnum get(int value) - { - switch (value) - { - case ALLOW_VALUE: return ALLOW; - case DENY_VALUE: return DENY; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private AccessPermissionEnum(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //AccessPermissionEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddAttribute.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddAttribute.java deleted file mode 100644 index ef385305c56..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddAttribute.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Add Attribute</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute#getAttribute <em>Attribute</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddAttribute() - * @model - * @generated - */ -public interface AddAttribute extends AttributeOverrideOption -{ - /** - * Returns the value of the '<em><b>Attribute</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Attribute</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>Attribute</em>' containment reference. - * @see #setAttribute(XAttributeTypeRef) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddAttribute_Attribute() - * @model containment="true" - * @generated - */ - XAttributeTypeRef getAttribute(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute#getAttribute <em>Attribute</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Attribute</em>' containment reference. - * @see #getAttribute() - * @generated - */ - void setAttribute(XAttributeTypeRef value); - -} // AddAttribute diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java deleted file mode 100644 index bd8855073bb..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java +++ /dev/null @@ -1,104 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Add Enum</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getDescription <em>Description</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum() - * @model - * @generated - */ -public interface AddEnum extends OverrideOption -{ - /** - * Returns the value of the '<em><b>Enum Entry</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Entry</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enum Entry</em>' attribute. - * @see #setEnumEntry(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EnumEntry() - * @model - * @generated - */ - String getEnumEntry(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Enum Entry</em>' attribute. - * @see #getEnumEntry() - * @generated - */ - void setEnumEntry(String value); - - /** - * Returns the value of the '<em><b>Ordinal</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ordinal</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ordinal</em>' attribute. - * @see #setOrdinal(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_Ordinal() - * @model - * @generated - */ - String getOrdinal(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ordinal</em>' attribute. - * @see #getOrdinal() - * @generated - */ - void setOrdinal(String value); - - /** - * Returns the value of the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Description</em>' attribute. - * @see #setDescription(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_Description() - * @model - * @generated - */ - String getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getDescription <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Description</em>' attribute. - * @see #getDescription() - * @generated - */ - void setDescription(String value); - -} // AddEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactMatchRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactMatchRestriction.java deleted file mode 100644 index f35bc3c7958..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactMatchRestriction.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Artifact Match Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactMatchRestriction() - * @model - * @generated - */ -public interface ArtifactMatchRestriction extends ObjectRestriction -{ - /** - * Returns the value of the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Matcher Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #setArtifactMatcherRef(XArtifactMatcher) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactMatchRestriction_ArtifactMatcherRef() - * @model - * @generated - */ - XArtifactMatcher getArtifactMatcherRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #getArtifactMatcherRef() - * @generated - */ - void setArtifactMatcherRef(XArtifactMatcher value); - -} // ArtifactMatchRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java deleted file mode 100644 index 28cce9cdaa1..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Artifact Type Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction() - * @model - * @generated - */ -public interface ArtifactTypeRestriction extends ObjectRestriction -{ - /** - * Returns the value of the '<em><b>Artifact Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Type Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Type Ref</em>' reference. - * @see #setArtifactTypeRef(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction_ArtifactTypeRef() - * @model - * @generated - */ - XArtifactType getArtifactTypeRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Type Ref</em>' reference. - * @see #getArtifactTypeRef() - * @generated - */ - void setArtifactTypeRef(XArtifactType value); - -} // ArtifactTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeOverrideOption.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeOverrideOption.java deleted file mode 100644 index c1981e097a0..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeOverrideOption.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Attribute Override Option</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeOverrideOption() - * @model - * @generated - */ -public interface AttributeOverrideOption extends EObject -{ -} // AttributeOverrideOption diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java deleted file mode 100644 index acc16cf6022..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Attribute Type Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeTypeRef <em>Attribute Type Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction() - * @model - * @generated - */ -public interface AttributeTypeRestriction extends ObjectRestriction -{ - /** - * Returns the value of the '<em><b>Attribute Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Attribute Type Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Attribute Type Ref</em>' reference. - * @see #setAttributeTypeRef(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction_AttributeTypeRef() - * @model - * @generated - */ - XAttributeType getAttributeTypeRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeTypeRef <em>Attribute Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Attribute Type Ref</em>' reference. - * @see #getAttributeTypeRef() - * @generated - */ - void setAttributeTypeRef(XAttributeType value); - - /** - * Returns the value of the '<em><b>Artifact Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Type Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Type Ref</em>' reference. - * @see #setArtifactTypeRef(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction_ArtifactTypeRef() - * @model - * @generated - */ - XArtifactType getArtifactTypeRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Type Ref</em>' reference. - * @see #getArtifactTypeRef() - * @generated - */ - void setArtifactTypeRef(XArtifactType value); - -} // AttributeTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/CompareOp.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/CompareOp.java deleted file mode 100644 index db769ea7343..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/CompareOp.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Compare Op</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getCompareOp() - * @model - * @generated - */ -public enum CompareOp implements Enumerator -{ - /** - * The '<em><b>EQ</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #EQ_VALUE - * @generated - * @ordered - */ - EQ(0, "EQ", "EQ"), - - /** - * The '<em><b>LIKE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LIKE_VALUE - * @generated - * @ordered - */ - LIKE(1, "LIKE", "LIKE"); - - /** - * The '<em><b>EQ</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>EQ</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #EQ - * @model - * @generated - * @ordered - */ - public static final int EQ_VALUE = 0; - - /** - * The '<em><b>LIKE</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>LIKE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #LIKE - * @model - * @generated - * @ordered - */ - public static final int LIKE_VALUE = 1; - - /** - * An array of all the '<em><b>Compare Op</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final CompareOp[] VALUES_ARRAY = - new CompareOp[] - { - EQ, - LIKE, - }; - - /** - * A public read-only list of all the '<em><b>Compare Op</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<CompareOp> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Compare Op</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static CompareOp get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CompareOp result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Compare Op</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static CompareOp getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CompareOp result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Compare Op</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static CompareOp get(int value) - { - switch (value) - { - case EQ_VALUE: return EQ; - case LIKE_VALUE: return LIKE; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private CompareOp(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //CompareOp diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/CompoundCondition.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/CompoundCondition.java deleted file mode 100644 index 682bfccfabe..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/CompoundCondition.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Compound Condition</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition#getConditions <em>Conditions</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition#getOperators <em>Operators</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getCompoundCondition() - * @model - * @generated - */ -public interface CompoundCondition extends Condition -{ - /** - * Returns the value of the '<em><b>Conditions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Conditions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Conditions</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getCompoundCondition_Conditions() - * @model containment="true" - * @generated - */ - EList<SimpleCondition> getConditions(); - - /** - * Returns the value of the '<em><b>Operators</b></em>' attribute list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator}. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Operators</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>Operators</em>' attribute list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getCompoundCondition_Operators() - * @model unique="false" - * @generated - */ - EList<XLogicOperator> getOperators(); - -} // CompoundCondition diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Condition.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Condition.java deleted file mode 100644 index 619208bfe27..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Condition.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Condition</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getCondition() - * @model - * @generated - */ -public interface Condition extends EObject -{ -} // Condition diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java deleted file mode 100644 index 60c989b3c72..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Hierarchy Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction() - * @model - * @generated - */ -public interface HierarchyRestriction extends EObject -{ - /** - * Returns the value of the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Matcher Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #setArtifactMatcherRef(XArtifactMatcher) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_ArtifactMatcherRef() - * @model - * @generated - */ - XArtifactMatcher getArtifactMatcherRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #getArtifactMatcherRef() - * @generated - */ - void setArtifactMatcherRef(XArtifactMatcher value); - - /** - * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Access Rules</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_AccessRules() - * @model containment="true" - * @generated - */ - EList<ObjectRestriction> getAccessRules(); - -} // HierarchyRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java deleted file mode 100644 index 83597258830..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Import</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getImport() - * @model - * @generated - */ -public interface Import extends EObject -{ - /** - * Returns the value of the '<em><b>Import URI</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Import URI</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Import URI</em>' attribute. - * @see #setImportURI(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getImport_ImportURI() - * @model - * @generated - */ - String getImportURI(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Import URI</em>' attribute. - * @see #getImportURI() - * @generated - */ - void setImportURI(String value); - -} // Import diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/LegacyRelationTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/LegacyRelationTypeRestriction.java deleted file mode 100644 index 05cda9a7d66..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/LegacyRelationTypeRestriction.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Legacy Relation Type Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getPermission <em>Permission</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getLegacyRelationTypeRestriction() - * @model - * @generated - */ -public interface LegacyRelationTypeRestriction extends EObject -{ - /** - * Returns the value of the '<em><b>Permission</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Permission</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Permission</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see #setPermission(AccessPermissionEnum) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getLegacyRelationTypeRestriction_Permission() - * @model - * @generated - */ - AccessPermissionEnum getPermission(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getPermission <em>Permission</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Permission</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see #getPermission() - * @generated - */ - void setPermission(AccessPermissionEnum value); - - /** - * Returns the value of the '<em><b>Relation Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Relation Type Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Relation Type Ref</em>' reference. - * @see #setRelationTypeRef(XRelationType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getLegacyRelationTypeRestriction_RelationTypeRef() - * @model - * @generated - */ - XRelationType getRelationTypeRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Relation Type Ref</em>' reference. - * @see #getRelationTypeRef() - * @generated - */ - void setRelationTypeRef(XRelationType value); - - /** - * Returns the value of the '<em><b>Restricted To Side</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Restricted To Side</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Restricted To Side</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @see #setRestrictedToSide(XRelationSideEnum) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getLegacyRelationTypeRestriction_RestrictedToSide() - * @model - * @generated - */ - XRelationSideEnum getRestrictedToSide(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Restricted To Side</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @see #getRestrictedToSide() - * @generated - */ - void setRestrictedToSide(XRelationSideEnum value); - - /** - * Returns the value of the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Matcher Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #setArtifactMatcherRef(XArtifactMatcher) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getLegacyRelationTypeRestriction_ArtifactMatcherRef() - * @model - * @generated - */ - XArtifactMatcher getArtifactMatcherRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #getArtifactMatcherRef() - * @generated - */ - void setArtifactMatcherRef(XArtifactMatcher value); - -} // LegacyRelationTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/MatchField.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/MatchField.java deleted file mode 100644 index 6a8a56b319f..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/MatchField.java +++ /dev/null @@ -1,283 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Match Field</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getMatchField() - * @model - * @generated - */ -public enum MatchField implements Enumerator -{ - /** - * The '<em><b>Artifact Name</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ARTIFACT_NAME_VALUE - * @generated - * @ordered - */ - ARTIFACT_NAME(0, "artifactName", "artifactName"), - - /** - * The '<em><b>Artifact Id</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ARTIFACT_ID_VALUE - * @generated - * @ordered - */ - ARTIFACT_ID(1, "artifactId", "artifactId"), - - /** - * The '<em><b>Branch Name</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #BRANCH_NAME_VALUE - * @generated - * @ordered - */ - BRANCH_NAME(2, "branchName", "branchName"), - - /** - * The '<em><b>Branch Uuid</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #BRANCH_UUID_VALUE - * @generated - * @ordered - */ - BRANCH_UUID(3, "branchUuid", "branchUuid"); - - /** - * The '<em><b>Artifact Name</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Artifact Name</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ARTIFACT_NAME - * @model name="artifactName" - * @generated - * @ordered - */ - public static final int ARTIFACT_NAME_VALUE = 0; - - /** - * The '<em><b>Artifact Id</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Artifact Id</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ARTIFACT_ID - * @model name="artifactId" - * @generated - * @ordered - */ - public static final int ARTIFACT_ID_VALUE = 1; - - /** - * The '<em><b>Branch Name</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Branch Name</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #BRANCH_NAME - * @model name="branchName" - * @generated - * @ordered - */ - public static final int BRANCH_NAME_VALUE = 2; - - /** - * The '<em><b>Branch Uuid</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Branch Uuid</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #BRANCH_UUID - * @model name="branchUuid" - * @generated - * @ordered - */ - public static final int BRANCH_UUID_VALUE = 3; - - /** - * An array of all the '<em><b>Match Field</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final MatchField[] VALUES_ARRAY = - new MatchField[] - { - ARTIFACT_NAME, - ARTIFACT_ID, - BRANCH_NAME, - BRANCH_UUID, - }; - - /** - * A public read-only list of all the '<em><b>Match Field</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<MatchField> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Match Field</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static MatchField get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - MatchField result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Match Field</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static MatchField getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - MatchField result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Match Field</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static MatchField get(int value) - { - switch (value) - { - case ARTIFACT_NAME_VALUE: return ARTIFACT_NAME; - case ARTIFACT_ID_VALUE: return ARTIFACT_ID; - case BRANCH_NAME_VALUE: return BRANCH_NAME; - case BRANCH_UUID_VALUE: return BRANCH_UUID; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private MatchField(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //MatchField diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java deleted file mode 100644 index 6a9e3a16645..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Object Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction#getPermission <em>Permission</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getObjectRestriction() - * @model - * @generated - */ -public interface ObjectRestriction extends EObject -{ - /** - * Returns the value of the '<em><b>Permission</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Permission</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Permission</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see #setPermission(AccessPermissionEnum) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getObjectRestriction_Permission() - * @model - * @generated - */ - AccessPermissionEnum getPermission(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction#getPermission <em>Permission</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Permission</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see #getPermission() - * @generated - */ - void setPermission(AccessPermissionEnum value); - -} // ObjectRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java deleted file mode 100644 index 2b885d89040..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Osee Dsl</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports <em>Imports</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes <em>Artifact Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes <em>Relation Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes <em>Attribute Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes <em>Enum Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides <em>Enum Overrides</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypeOverrides <em>Artifact Type Overrides</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactMatchRefs <em>Artifact Match Refs</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRoleDeclarations <em>Role Declarations</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl() - * @model - * @generated - */ -public interface OseeDsl extends EObject -{ - /** - * Returns the value of the '<em><b>Imports</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Imports</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Imports</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_Imports() - * @model containment="true" - * @generated - */ - EList<Import> getImports(); - - /** - * Returns the value of the '<em><b>Artifact Types</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Types</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactTypes() - * @model containment="true" - * @generated - */ - EList<XArtifactType> getArtifactTypes(); - - /** - * Returns the value of the '<em><b>Relation Types</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Relation Types</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Relation Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_RelationTypes() - * @model containment="true" - * @generated - */ - EList<XRelationType> getRelationTypes(); - - /** - * Returns the value of the '<em><b>Attribute Types</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Attribute Types</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Attribute Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AttributeTypes() - * @model containment="true" - * @generated - */ - EList<XAttributeType> getAttributeTypes(); - - /** - * Returns the value of the '<em><b>Enum Types</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Types</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enum Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumTypes() - * @model containment="true" - * @generated - */ - EList<XOseeEnumType> getEnumTypes(); - - /** - * Returns the value of the '<em><b>Enum Overrides</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Overrides</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enum Overrides</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumOverrides() - * @model containment="true" - * @generated - */ - EList<XOseeEnumOverride> getEnumOverrides(); - - /** - * Returns the value of the '<em><b>Artifact Type Overrides</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Type Overrides</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Type Overrides</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactTypeOverrides() - * @model containment="true" - * @generated - */ - EList<XOseeArtifactTypeOverride> getArtifactTypeOverrides(); - - /** - * Returns the value of the '<em><b>Artifact Match Refs</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Match Refs</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Match Refs</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactMatchRefs() - * @model containment="true" - * @generated - */ - EList<XArtifactMatcher> getArtifactMatchRefs(); - - /** - * Returns the value of the '<em><b>Access Declarations</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Access Declarations</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Access Declarations</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AccessDeclarations() - * @model containment="true" - * @generated - */ - EList<AccessContext> getAccessDeclarations(); - - /** - * Returns the value of the '<em><b>Role Declarations</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Role Declarations</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Role Declarations</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_RoleDeclarations() - * @model containment="true" - * @generated - */ - EList<Role> getRoleDeclarations(); - -} // OseeDsl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java deleted file mode 100644 index dbec4c73f60..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java +++ /dev/null @@ -1,367 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage - * @generated - */ -public interface OseeDslFactory extends EFactory -{ - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - OseeDslFactory eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Osee Dsl</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Osee Dsl</em>'. - * @generated - */ - OseeDsl createOseeDsl(); - - /** - * Returns a new object of class '<em>Import</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Import</em>'. - * @generated - */ - Import createImport(); - - /** - * Returns a new object of class '<em>Osee Element</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Osee Element</em>'. - * @generated - */ - OseeElement createOseeElement(); - - /** - * Returns a new object of class '<em>Osee Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Osee Type</em>'. - * @generated - */ - OseeType createOseeType(); - - /** - * Returns a new object of class '<em>XArtifact Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XArtifact Type</em>'. - * @generated - */ - XArtifactType createXArtifactType(); - - /** - * Returns a new object of class '<em>XAttribute Type Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XAttribute Type Ref</em>'. - * @generated - */ - XAttributeTypeRef createXAttributeTypeRef(); - - /** - * Returns a new object of class '<em>XAttribute Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XAttribute Type</em>'. - * @generated - */ - XAttributeType createXAttributeType(); - - /** - * Returns a new object of class '<em>XOsee Enum Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XOsee Enum Type</em>'. - * @generated - */ - XOseeEnumType createXOseeEnumType(); - - /** - * Returns a new object of class '<em>XOsee Enum Entry</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XOsee Enum Entry</em>'. - * @generated - */ - XOseeEnumEntry createXOseeEnumEntry(); - - /** - * Returns a new object of class '<em>XOsee Enum Override</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XOsee Enum Override</em>'. - * @generated - */ - XOseeEnumOverride createXOseeEnumOverride(); - - /** - * Returns a new object of class '<em>Override Option</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Override Option</em>'. - * @generated - */ - OverrideOption createOverrideOption(); - - /** - * Returns a new object of class '<em>Add Enum</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Add Enum</em>'. - * @generated - */ - AddEnum createAddEnum(); - - /** - * Returns a new object of class '<em>Remove Enum</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Remove Enum</em>'. - * @generated - */ - RemoveEnum createRemoveEnum(); - - /** - * Returns a new object of class '<em>XOsee Artifact Type Override</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XOsee Artifact Type Override</em>'. - * @generated - */ - XOseeArtifactTypeOverride createXOseeArtifactTypeOverride(); - - /** - * Returns a new object of class '<em>Attribute Override Option</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Attribute Override Option</em>'. - * @generated - */ - AttributeOverrideOption createAttributeOverrideOption(); - - /** - * Returns a new object of class '<em>Add Attribute</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Add Attribute</em>'. - * @generated - */ - AddAttribute createAddAttribute(); - - /** - * Returns a new object of class '<em>Remove Attribute</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Remove Attribute</em>'. - * @generated - */ - RemoveAttribute createRemoveAttribute(); - - /** - * Returns a new object of class '<em>Update Attribute</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Update Attribute</em>'. - * @generated - */ - UpdateAttribute createUpdateAttribute(); - - /** - * Returns a new object of class '<em>XRelation Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XRelation Type</em>'. - * @generated - */ - XRelationType createXRelationType(); - - /** - * Returns a new object of class '<em>Condition</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Condition</em>'. - * @generated - */ - Condition createCondition(); - - /** - * Returns a new object of class '<em>Simple Condition</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Simple Condition</em>'. - * @generated - */ - SimpleCondition createSimpleCondition(); - - /** - * Returns a new object of class '<em>Compound Condition</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Compound Condition</em>'. - * @generated - */ - CompoundCondition createCompoundCondition(); - - /** - * Returns a new object of class '<em>XArtifact Matcher</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>XArtifact Matcher</em>'. - * @generated - */ - XArtifactMatcher createXArtifactMatcher(); - - /** - * Returns a new object of class '<em>Role</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Role</em>'. - * @generated - */ - Role createRole(); - - /** - * Returns a new object of class '<em>Referenced Context</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Referenced Context</em>'. - * @generated - */ - ReferencedContext createReferencedContext(); - - /** - * Returns a new object of class '<em>Users And Groups</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Users And Groups</em>'. - * @generated - */ - UsersAndGroups createUsersAndGroups(); - - /** - * Returns a new object of class '<em>Access Context</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Access Context</em>'. - * @generated - */ - AccessContext createAccessContext(); - - /** - * Returns a new object of class '<em>Hierarchy Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Hierarchy Restriction</em>'. - * @generated - */ - HierarchyRestriction createHierarchyRestriction(); - - /** - * Returns a new object of class '<em>Relation Type Artifact Type Predicate</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Relation Type Artifact Type Predicate</em>'. - * @generated - */ - RelationTypeArtifactTypePredicate createRelationTypeArtifactTypePredicate(); - - /** - * Returns a new object of class '<em>Relation Type Artifact Predicate</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Relation Type Artifact Predicate</em>'. - * @generated - */ - RelationTypeArtifactPredicate createRelationTypeArtifactPredicate(); - - /** - * Returns a new object of class '<em>Relation Type Predicate</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Relation Type Predicate</em>'. - * @generated - */ - RelationTypePredicate createRelationTypePredicate(); - - /** - * Returns a new object of class '<em>Object Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Object Restriction</em>'. - * @generated - */ - ObjectRestriction createObjectRestriction(); - - /** - * Returns a new object of class '<em>Artifact Match Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Artifact Match Restriction</em>'. - * @generated - */ - ArtifactMatchRestriction createArtifactMatchRestriction(); - - /** - * Returns a new object of class '<em>Artifact Type Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Artifact Type Restriction</em>'. - * @generated - */ - ArtifactTypeRestriction createArtifactTypeRestriction(); - - /** - * Returns a new object of class '<em>Attribute Type Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Attribute Type Restriction</em>'. - * @generated - */ - AttributeTypeRestriction createAttributeTypeRestriction(); - - /** - * Returns a new object of class '<em>Legacy Relation Type Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Legacy Relation Type Restriction</em>'. - * @generated - */ - LegacyRelationTypeRestriction createLegacyRelationTypeRestriction(); - - /** - * Returns a new object of class '<em>Relation Type Restriction</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Relation Type Restriction</em>'. - * @generated - */ - RelationTypeRestriction createRelationTypeRestriction(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - OseeDslPackage getOseeDslPackage(); - -} //OseeDslFactory diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java deleted file mode 100644 index 20ab0c94dad..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java +++ /dev/null @@ -1,4311 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory - * @model kind="package" - * @generated - */ -public interface OseeDslPackage extends EPackage -{ - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "oseeDsl"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/osee/framework/core/dsl/OseeDsl"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "oseeDsl"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - OseeDslPackage eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl() - * @generated - */ - int OSEE_DSL = 0; - - /** - * The feature id for the '<em><b>Imports</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__IMPORTS = 0; - - /** - * The feature id for the '<em><b>Artifact Types</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ARTIFACT_TYPES = 1; - - /** - * The feature id for the '<em><b>Relation Types</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__RELATION_TYPES = 2; - - /** - * The feature id for the '<em><b>Attribute Types</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ATTRIBUTE_TYPES = 3; - - /** - * The feature id for the '<em><b>Enum Types</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ENUM_TYPES = 4; - - /** - * The feature id for the '<em><b>Enum Overrides</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ENUM_OVERRIDES = 5; - - /** - * The feature id for the '<em><b>Artifact Type Overrides</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ARTIFACT_TYPE_OVERRIDES = 6; - - /** - * The feature id for the '<em><b>Artifact Match Refs</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ARTIFACT_MATCH_REFS = 7; - - /** - * The feature id for the '<em><b>Access Declarations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ACCESS_DECLARATIONS = 8; - - /** - * The feature id for the '<em><b>Role Declarations</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL__ROLE_DECLARATIONS = 9; - - /** - * The number of structural features of the '<em>Osee Dsl</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_DSL_FEATURE_COUNT = 10; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl <em>Import</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getImport() - * @generated - */ - int IMPORT = 1; - - /** - * The feature id for the '<em><b>Import URI</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPORT__IMPORT_URI = 0; - - /** - * The number of structural features of the '<em>Import</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPORT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl <em>Osee Element</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeElement() - * @generated - */ - int OSEE_ELEMENT = 2; - - /** - * The number of structural features of the '<em>Osee Element</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_ELEMENT_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl <em>Osee Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeType() - * @generated - */ - int OSEE_TYPE = 3; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_TYPE__NAME = OSEE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_TYPE__ID = OSEE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Osee Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OSEE_TYPE_FEATURE_COUNT = OSEE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl <em>XArtifact Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactType() - * @generated - */ - int XARTIFACT_TYPE = 4; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_TYPE__NAME = OSEE_TYPE__NAME; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_TYPE__ID = OSEE_TYPE__ID; - - /** - * The feature id for the '<em><b>Abstract</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_TYPE__ABSTRACT = OSEE_TYPE_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Super Artifact Types</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES = OSEE_TYPE_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Valid Attribute Types</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES = OSEE_TYPE_FEATURE_COUNT + 2; - - /** - * The number of structural features of the '<em>XArtifact Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl <em>XAttribute Type Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeTypeRef() - * @generated - */ - int XATTRIBUTE_TYPE_REF = 5; - - /** - * The feature id for the '<em><b>Valid Attribute Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE = 0; - - /** - * The feature id for the '<em><b>Branch Uuid</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE_REF__BRANCH_UUID = 1; - - /** - * The number of structural features of the '<em>XAttribute Type Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE_REF_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl <em>XAttribute Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeType() - * @generated - */ - int XATTRIBUTE_TYPE = 6; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__NAME = OSEE_TYPE__NAME; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__ID = OSEE_TYPE__ID; - - /** - * The feature id for the '<em><b>Base Attribute Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE = OSEE_TYPE_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Override</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__OVERRIDE = OSEE_TYPE_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Data Provider</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__DATA_PROVIDER = OSEE_TYPE_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Min</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__MIN = OSEE_TYPE_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Max</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__MAX = OSEE_TYPE_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Tagger Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__TAGGER_ID = OSEE_TYPE_FEATURE_COUNT + 5; - - /** - * The feature id for the '<em><b>Enum Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__ENUM_TYPE = OSEE_TYPE_FEATURE_COUNT + 6; - - /** - * The feature id for the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__DESCRIPTION = OSEE_TYPE_FEATURE_COUNT + 7; - - /** - * The feature id for the '<em><b>Default Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__DEFAULT_VALUE = OSEE_TYPE_FEATURE_COUNT + 8; - - /** - * The feature id for the '<em><b>File Extension</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__FILE_EXTENSION = OSEE_TYPE_FEATURE_COUNT + 9; - - /** - * The feature id for the '<em><b>Media Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__MEDIA_TYPE = OSEE_TYPE_FEATURE_COUNT + 10; - - /** - * The number of structural features of the '<em>XAttribute Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 11; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl <em>XOsee Enum Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumType() - * @generated - */ - int XOSEE_ENUM_TYPE = 7; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_TYPE__NAME = OSEE_TYPE__NAME; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_TYPE__ID = OSEE_TYPE__ID; - - /** - * The feature id for the '<em><b>Enum Entries</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_TYPE__ENUM_ENTRIES = OSEE_TYPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>XOsee Enum Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl <em>XOsee Enum Entry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumEntry() - * @generated - */ - int XOSEE_ENUM_ENTRY = 8; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_ENTRY__NAME = 0; - - /** - * The feature id for the '<em><b>Ordinal</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_ENTRY__ORDINAL = 1; - - /** - * The feature id for the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_ENTRY__DESCRIPTION = 2; - - /** - * The number of structural features of the '<em>XOsee Enum Entry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_ENTRY_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl <em>XOsee Enum Override</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumOverride() - * @generated - */ - int XOSEE_ENUM_OVERRIDE = 9; - - /** - * The feature id for the '<em><b>Overriden Enum Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE = OSEE_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Inherit All</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_OVERRIDE__INHERIT_ALL = OSEE_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Override Options</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS = OSEE_ELEMENT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the '<em>XOsee Enum Override</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ENUM_OVERRIDE_FEATURE_COUNT = OSEE_ELEMENT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl <em>Override Option</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOverrideOption() - * @generated - */ - int OVERRIDE_OPTION = 10; - - /** - * The number of structural features of the '<em>Override Option</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OVERRIDE_OPTION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl <em>Add Enum</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddEnum() - * @generated - */ - int ADD_ENUM = 11; - - /** - * The feature id for the '<em><b>Enum Entry</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADD_ENUM__ENUM_ENTRY = OVERRIDE_OPTION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Ordinal</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADD_ENUM__ORDINAL = OVERRIDE_OPTION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADD_ENUM__DESCRIPTION = OVERRIDE_OPTION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the '<em>Add Enum</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADD_ENUM_FEATURE_COUNT = OVERRIDE_OPTION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl <em>Remove Enum</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveEnum() - * @generated - */ - int REMOVE_ENUM = 12; - - /** - * The feature id for the '<em><b>Enum Entry</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REMOVE_ENUM__ENUM_ENTRY = OVERRIDE_OPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Remove Enum</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REMOVE_ENUM_FEATURE_COUNT = OVERRIDE_OPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl <em>XOsee Artifact Type Override</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeArtifactTypeOverride() - * @generated - */ - int XOSEE_ARTIFACT_TYPE_OVERRIDE = 13; - - /** - * The feature id for the '<em><b>Overriden Artifact Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE = 0; - - /** - * The feature id for the '<em><b>Inherit All</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL = 1; - - /** - * The feature id for the '<em><b>Override Options</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS = 2; - - /** - * The number of structural features of the '<em>XOsee Artifact Type Override</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XOSEE_ARTIFACT_TYPE_OVERRIDE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeOverrideOptionImpl <em>Attribute Override Option</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeOverrideOptionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeOverrideOption() - * @generated - */ - int ATTRIBUTE_OVERRIDE_OPTION = 14; - - /** - * The number of structural features of the '<em>Attribute Override Option</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddAttributeImpl <em>Add Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddAttributeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddAttribute() - * @generated - */ - int ADD_ATTRIBUTE = 15; - - /** - * The feature id for the '<em><b>Attribute</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADD_ATTRIBUTE__ATTRIBUTE = ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Add Attribute</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADD_ATTRIBUTE_FEATURE_COUNT = ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveAttributeImpl <em>Remove Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveAttributeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveAttribute() - * @generated - */ - int REMOVE_ATTRIBUTE = 16; - - /** - * The feature id for the '<em><b>Attribute</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REMOVE_ATTRIBUTE__ATTRIBUTE = ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Remove Attribute</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REMOVE_ATTRIBUTE_FEATURE_COUNT = ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UpdateAttributeImpl <em>Update Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UpdateAttributeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getUpdateAttribute() - * @generated - */ - int UPDATE_ATTRIBUTE = 17; - - /** - * The feature id for the '<em><b>Attribute</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UPDATE_ATTRIBUTE__ATTRIBUTE = ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Update Attribute</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UPDATE_ATTRIBUTE_FEATURE_COUNT = ATTRIBUTE_OVERRIDE_OPTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl <em>XRelation Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationType() - * @generated - */ - int XRELATION_TYPE = 18; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__NAME = OSEE_TYPE__NAME; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__ID = OSEE_TYPE__ID; - - /** - * The feature id for the '<em><b>Side AName</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__SIDE_ANAME = OSEE_TYPE_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Side AArtifact Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__SIDE_AARTIFACT_TYPE = OSEE_TYPE_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Side BName</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__SIDE_BNAME = OSEE_TYPE_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Side BArtifact Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__SIDE_BARTIFACT_TYPE = OSEE_TYPE_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Default Order Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__DEFAULT_ORDER_TYPE = OSEE_TYPE_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Multiplicity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE__MULTIPLICITY = OSEE_TYPE_FEATURE_COUNT + 5; - - /** - * The number of structural features of the '<em>XRelation Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XRELATION_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 6; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ConditionImpl <em>Condition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ConditionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getCondition() - * @generated - */ - int CONDITION = 19; - - /** - * The number of structural features of the '<em>Condition</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONDITION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl <em>Simple Condition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getSimpleCondition() - * @generated - */ - int SIMPLE_CONDITION = 20; - - /** - * The feature id for the '<em><b>Field</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SIMPLE_CONDITION__FIELD = CONDITION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Op</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SIMPLE_CONDITION__OP = CONDITION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Expression</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SIMPLE_CONDITION__EXPRESSION = CONDITION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the '<em>Simple Condition</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SIMPLE_CONDITION_FEATURE_COUNT = CONDITION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.CompoundConditionImpl <em>Compound Condition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.CompoundConditionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getCompoundCondition() - * @generated - */ - int COMPOUND_CONDITION = 21; - - /** - * The feature id for the '<em><b>Conditions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPOUND_CONDITION__CONDITIONS = CONDITION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Operators</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPOUND_CONDITION__OPERATORS = CONDITION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Compound Condition</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPOUND_CONDITION_FEATURE_COUNT = CONDITION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl <em>XArtifact Matcher</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactMatcher() - * @generated - */ - int XARTIFACT_MATCHER = 22; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_MATCHER__NAME = 0; - - /** - * The feature id for the '<em><b>Conditions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_MATCHER__CONDITIONS = 1; - - /** - * The feature id for the '<em><b>Operators</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_MATCHER__OPERATORS = 2; - - /** - * The number of structural features of the '<em>XArtifact Matcher</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int XARTIFACT_MATCHER_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl <em>Role</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRole() - * @generated - */ - int ROLE = 23; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ROLE__NAME = 0; - - /** - * The feature id for the '<em><b>Super Roles</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ROLE__SUPER_ROLES = 1; - - /** - * The feature id for the '<em><b>Users And Groups</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ROLE__USERS_AND_GROUPS = 2; - - /** - * The feature id for the '<em><b>Referenced Contexts</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ROLE__REFERENCED_CONTEXTS = 3; - - /** - * The number of structural features of the '<em>Role</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ROLE_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ReferencedContextImpl <em>Referenced Context</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ReferencedContextImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getReferencedContext() - * @generated - */ - int REFERENCED_CONTEXT = 24; - - /** - * The feature id for the '<em><b>Access Context Ref</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFERENCED_CONTEXT__ACCESS_CONTEXT_REF = 0; - - /** - * The number of structural features of the '<em>Referenced Context</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFERENCED_CONTEXT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UsersAndGroupsImpl <em>Users And Groups</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UsersAndGroupsImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getUsersAndGroups() - * @generated - */ - int USERS_AND_GROUPS = 25; - - /** - * The feature id for the '<em><b>User Or Group Guid</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int USERS_AND_GROUPS__USER_OR_GROUP_GUID = 0; - - /** - * The number of structural features of the '<em>Users And Groups</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int USERS_AND_GROUPS_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl <em>Access Context</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessContext() - * @generated - */ - int ACCESS_CONTEXT = 26; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCESS_CONTEXT__NAME = 0; - - /** - * The feature id for the '<em><b>Super Access Contexts</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS = 1; - - /** - * The feature id for the '<em><b>Guid</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCESS_CONTEXT__GUID = 2; - - /** - * The feature id for the '<em><b>Access Rules</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCESS_CONTEXT__ACCESS_RULES = 3; - - /** - * The feature id for the '<em><b>Hierarchy Restrictions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS = 4; - - /** - * The number of structural features of the '<em>Access Context</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCESS_CONTEXT_FEATURE_COUNT = 5; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl <em>Hierarchy Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getHierarchyRestriction() - * @generated - */ - int HIERARCHY_RESTRICTION = 27; - - /** - * The feature id for the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF = 0; - - /** - * The feature id for the '<em><b>Access Rules</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HIERARCHY_RESTRICTION__ACCESS_RULES = 1; - - /** - * The number of structural features of the '<em>Hierarchy Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HIERARCHY_RESTRICTION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypePredicateImpl <em>Relation Type Predicate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypePredicateImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypePredicate() - * @generated - */ - int RELATION_TYPE_PREDICATE = 30; - - /** - * The number of structural features of the '<em>Relation Type Predicate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_PREDICATE_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactTypePredicateImpl <em>Relation Type Artifact Type Predicate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactTypePredicateImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeArtifactTypePredicate() - * @generated - */ - int RELATION_TYPE_ARTIFACT_TYPE_PREDICATE = 28; - - /** - * The feature id for the '<em><b>Artifact Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF = RELATION_TYPE_PREDICATE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Relation Type Artifact Type Predicate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_ARTIFACT_TYPE_PREDICATE_FEATURE_COUNT = RELATION_TYPE_PREDICATE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl <em>Relation Type Artifact Predicate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeArtifactPredicate() - * @generated - */ - int RELATION_TYPE_ARTIFACT_PREDICATE = 29; - - /** - * The feature id for the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF = RELATION_TYPE_PREDICATE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Relation Type Artifact Predicate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_ARTIFACT_PREDICATE_FEATURE_COUNT = RELATION_TYPE_PREDICATE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl <em>Object Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getObjectRestriction() - * @generated - */ - int OBJECT_RESTRICTION = 31; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OBJECT_RESTRICTION__PERMISSION = 0; - - /** - * The number of structural features of the '<em>Object Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OBJECT_RESTRICTION_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactMatchRestrictionImpl <em>Artifact Match Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactMatchRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactMatchRestriction() - * @generated - */ - int ARTIFACT_MATCH_RESTRICTION = 32; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARTIFACT_MATCH_RESTRICTION__PERMISSION = OBJECT_RESTRICTION__PERMISSION; - - /** - * The feature id for the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Artifact Match Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARTIFACT_MATCH_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl <em>Artifact Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactTypeRestriction() - * @generated - */ - int ARTIFACT_TYPE_RESTRICTION = 33; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARTIFACT_TYPE_RESTRICTION__PERMISSION = OBJECT_RESTRICTION__PERMISSION; - - /** - * The feature id for the '<em><b>Artifact Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Artifact Type Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ARTIFACT_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl <em>Attribute Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeRestriction() - * @generated - */ - int ATTRIBUTE_TYPE_RESTRICTION = 34; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_RESTRICTION__PERMISSION = OBJECT_RESTRICTION__PERMISSION; - - /** - * The feature id for the '<em><b>Attribute Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Artifact Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Attribute Type Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl <em>Legacy Relation Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getLegacyRelationTypeRestriction() - * @generated - */ - int LEGACY_RELATION_TYPE_RESTRICTION = 35; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION = 0; - - /** - * The feature id for the '<em><b>Relation Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF = 1; - - /** - * The feature id for the '<em><b>Restricted To Side</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE = 2; - - /** - * The feature id for the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF = 3; - - /** - * The number of structural features of the '<em>Legacy Relation Type Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LEGACY_RELATION_TYPE_RESTRICTION_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl <em>Relation Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeRestriction() - * @generated - */ - int RELATION_TYPE_RESTRICTION = 36; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__PERMISSION = OBJECT_RESTRICTION__PERMISSION; - - /** - * The feature id for the '<em><b>Relation Type Match</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Relation Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Restricted To Side</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE = OBJECT_RESTRICTION_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Predicate</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__PREDICATE = OBJECT_RESTRICTION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the '<em>Relation Type Restriction</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationMultiplicityEnum() - * @generated - */ - int RELATION_MULTIPLICITY_ENUM = 37; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp <em>Compare Op</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getCompareOp() - * @generated - */ - int COMPARE_OP = 38; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator <em>XLogic Operator</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXLogicOperator() - * @generated - */ - int XLOGIC_OPERATOR = 39; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField <em>Match Field</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getMatchField() - * @generated - */ - int MATCH_FIELD = 40; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessPermissionEnum() - * @generated - */ - int ACCESS_PERMISSION_ENUM = 41; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch <em>Relation Type Match</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeMatch() - * @generated - */ - int RELATION_TYPE_MATCH = 42; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum <em>XRelation Side Enum</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationSideEnum() - * @generated - */ - int XRELATION_SIDE_ENUM = 43; - - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Osee Dsl</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl - * @generated - */ - EClass getOseeDsl(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports <em>Imports</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Imports</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_Imports(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes <em>Artifact Types</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Artifact Types</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_ArtifactTypes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes <em>Relation Types</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Relation Types</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_RelationTypes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes <em>Attribute Types</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Attribute Types</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_AttributeTypes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes <em>Enum Types</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Enum Types</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_EnumTypes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides <em>Enum Overrides</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Enum Overrides</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_EnumOverrides(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypeOverrides <em>Artifact Type Overrides</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Artifact Type Overrides</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypeOverrides() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_ArtifactTypeOverrides(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactMatchRefs <em>Artifact Match Refs</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Artifact Match Refs</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactMatchRefs() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_ArtifactMatchRefs(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Access Declarations</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_AccessDeclarations(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRoleDeclarations <em>Role Declarations</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Role Declarations</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRoleDeclarations() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_RoleDeclarations(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Import</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import - * @generated - */ - EClass getImport(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Import URI</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI() - * @see #getImport() - * @generated - */ - EAttribute getImport_ImportURI(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Osee Element</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement - * @generated - */ - EClass getOseeElement(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Osee Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType - * @generated - */ - EClass getOseeType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName() - * @see #getOseeType() - * @generated - */ - EAttribute getOseeType_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getId() - * @see #getOseeType() - * @generated - */ - EAttribute getOseeType_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XArtifact Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType - * @generated - */ - EClass getXArtifactType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Abstract</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract() - * @see #getXArtifactType() - * @generated - */ - EAttribute getXArtifactType_Abstract(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Super Artifact Types</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes() - * @see #getXArtifactType() - * @generated - */ - EReference getXArtifactType_SuperArtifactTypes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Valid Attribute Types</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes() - * @see #getXArtifactType() - * @generated - */ - EReference getXArtifactType_ValidAttributeTypes(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XAttribute Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef - * @generated - */ - EClass getXAttributeTypeRef(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Valid Attribute Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType() - * @see #getXAttributeTypeRef() - * @generated - */ - EReference getXAttributeTypeRef_ValidAttributeType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchUuid <em>Branch Uuid</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Branch Uuid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchUuid() - * @see #getXAttributeTypeRef() - * @generated - */ - EAttribute getXAttributeTypeRef_BranchUuid(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XAttribute Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType - * @generated - */ - EClass getXAttributeType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Base Attribute Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_BaseAttributeType(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Override</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride() - * @see #getXAttributeType() - * @generated - */ - EReference getXAttributeType_Override(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Data Provider</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_DataProvider(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Min</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_Min(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Max</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_Max(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Tagger Id</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_TaggerId(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Enum Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType() - * @see #getXAttributeType() - * @generated - */ - EReference getXAttributeType_EnumType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Description</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_Description(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Default Value</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_DefaultValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>File Extension</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_FileExtension(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMediaType <em>Media Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Media Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMediaType() - * @see #getXAttributeType() - * @generated - */ - EAttribute getXAttributeType_MediaType(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XOsee Enum Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType - * @generated - */ - EClass getXOseeEnumType(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Enum Entries</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries() - * @see #getXOseeEnumType() - * @generated - */ - EReference getXOseeEnumType_EnumEntries(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XOsee Enum Entry</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry - * @generated - */ - EClass getXOseeEnumEntry(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName() - * @see #getXOseeEnumEntry() - * @generated - */ - EAttribute getXOseeEnumEntry_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ordinal</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal() - * @see #getXOseeEnumEntry() - * @generated - */ - EAttribute getXOseeEnumEntry_Ordinal(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getDescription <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Description</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getDescription() - * @see #getXOseeEnumEntry() - * @generated - */ - EAttribute getXOseeEnumEntry_Description(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XOsee Enum Override</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride - * @generated - */ - EClass getXOseeEnumOverride(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Overriden Enum Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType() - * @see #getXOseeEnumOverride() - * @generated - */ - EReference getXOseeEnumOverride_OverridenEnumType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Inherit All</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll() - * @see #getXOseeEnumOverride() - * @generated - */ - EAttribute getXOseeEnumOverride_InheritAll(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Override Options</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions() - * @see #getXOseeEnumOverride() - * @generated - */ - EReference getXOseeEnumOverride_OverrideOptions(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Override Option</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption - * @generated - */ - EClass getOverrideOption(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Add Enum</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum - * @generated - */ - EClass getAddEnum(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Enum Entry</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry() - * @see #getAddEnum() - * @generated - */ - EAttribute getAddEnum_EnumEntry(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ordinal</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal() - * @see #getAddEnum() - * @generated - */ - EAttribute getAddEnum_Ordinal(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getDescription <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Description</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getDescription() - * @see #getAddEnum() - * @generated - */ - EAttribute getAddEnum_Description(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Remove Enum</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum - * @generated - */ - EClass getRemoveEnum(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Enum Entry</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry() - * @see #getRemoveEnum() - * @generated - */ - EReference getRemoveEnum_EnumEntry(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride <em>XOsee Artifact Type Override</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XOsee Artifact Type Override</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride - * @generated - */ - EClass getXOseeArtifactTypeOverride(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverridenArtifactType <em>Overriden Artifact Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Overriden Artifact Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverridenArtifactType() - * @see #getXOseeArtifactTypeOverride() - * @generated - */ - EReference getXOseeArtifactTypeOverride_OverridenArtifactType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#isInheritAll <em>Inherit All</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Inherit All</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#isInheritAll() - * @see #getXOseeArtifactTypeOverride() - * @generated - */ - EAttribute getXOseeArtifactTypeOverride_InheritAll(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverrideOptions <em>Override Options</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Override Options</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverrideOptions() - * @see #getXOseeArtifactTypeOverride() - * @generated - */ - EReference getXOseeArtifactTypeOverride_OverrideOptions(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption <em>Attribute Override Option</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Attribute Override Option</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption - * @generated - */ - EClass getAttributeOverrideOption(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute <em>Add Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Add Attribute</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute - * @generated - */ - EClass getAddAttribute(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute#getAttribute <em>Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Attribute</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute#getAttribute() - * @see #getAddAttribute() - * @generated - */ - EReference getAddAttribute_Attribute(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute <em>Remove Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Remove Attribute</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute - * @generated - */ - EClass getRemoveAttribute(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute#getAttribute <em>Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Attribute</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute#getAttribute() - * @see #getRemoveAttribute() - * @generated - */ - EReference getRemoveAttribute_Attribute(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute <em>Update Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Update Attribute</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute - * @generated - */ - EClass getUpdateAttribute(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute#getAttribute <em>Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Attribute</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute#getAttribute() - * @see #getUpdateAttribute() - * @generated - */ - EReference getUpdateAttribute_Attribute(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType <em>XRelation Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XRelation Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType - * @generated - */ - EClass getXRelationType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Side AName</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName() - * @see #getXRelationType() - * @generated - */ - EAttribute getXRelationType_SideAName(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Side AArtifact Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType() - * @see #getXRelationType() - * @generated - */ - EReference getXRelationType_SideAArtifactType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Side BName</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName() - * @see #getXRelationType() - * @generated - */ - EAttribute getXRelationType_SideBName(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Side BArtifact Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType() - * @see #getXRelationType() - * @generated - */ - EReference getXRelationType_SideBArtifactType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Default Order Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType() - * @see #getXRelationType() - * @generated - */ - EAttribute getXRelationType_DefaultOrderType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Multiplicity</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity() - * @see #getXRelationType() - * @generated - */ - EAttribute getXRelationType_Multiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Condition <em>Condition</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Condition</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Condition - * @generated - */ - EClass getCondition(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition <em>Simple Condition</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Simple Condition</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition - * @generated - */ - EClass getSimpleCondition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getField <em>Field</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Field</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getField() - * @see #getSimpleCondition() - * @generated - */ - EAttribute getSimpleCondition_Field(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getOp <em>Op</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Op</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getOp() - * @see #getSimpleCondition() - * @generated - */ - EAttribute getSimpleCondition_Op(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getExpression <em>Expression</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Expression</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getExpression() - * @see #getSimpleCondition() - * @generated - */ - EAttribute getSimpleCondition_Expression(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition <em>Compound Condition</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Compound Condition</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition - * @generated - */ - EClass getCompoundCondition(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition#getConditions <em>Conditions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Conditions</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition#getConditions() - * @see #getCompoundCondition() - * @generated - */ - EReference getCompoundCondition_Conditions(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition#getOperators <em>Operators</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Operators</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition#getOperators() - * @see #getCompoundCondition() - * @generated - */ - EAttribute getCompoundCondition_Operators(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher <em>XArtifact Matcher</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>XArtifact Matcher</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher - * @generated - */ - EClass getXArtifactMatcher(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getName() - * @see #getXArtifactMatcher() - * @generated - */ - EAttribute getXArtifactMatcher_Name(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getConditions <em>Conditions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Conditions</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getConditions() - * @see #getXArtifactMatcher() - * @generated - */ - EReference getXArtifactMatcher_Conditions(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getOperators <em>Operators</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Operators</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getOperators() - * @see #getXArtifactMatcher() - * @generated - */ - EAttribute getXArtifactMatcher_Operators(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role <em>Role</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Role</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Role - * @generated - */ - EClass getRole(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getName() - * @see #getRole() - * @generated - */ - EAttribute getRole_Name(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getSuperRoles <em>Super Roles</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Super Roles</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getSuperRoles() - * @see #getRole() - * @generated - */ - EReference getRole_SuperRoles(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getUsersAndGroups <em>Users And Groups</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Users And Groups</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getUsersAndGroups() - * @see #getRole() - * @generated - */ - EReference getRole_UsersAndGroups(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getReferencedContexts <em>Referenced Contexts</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Referenced Contexts</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getReferencedContexts() - * @see #getRole() - * @generated - */ - EReference getRole_ReferencedContexts(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext <em>Referenced Context</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Referenced Context</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext - * @generated - */ - EClass getReferencedContext(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext#getAccessContextRef <em>Access Context Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Access Context Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext#getAccessContextRef() - * @see #getReferencedContext() - * @generated - */ - EAttribute getReferencedContext_AccessContextRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups <em>Users And Groups</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Users And Groups</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups - * @generated - */ - EClass getUsersAndGroups(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups#getUserOrGroupGuid <em>User Or Group Guid</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>User Or Group Guid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups#getUserOrGroupGuid() - * @see #getUsersAndGroups() - * @generated - */ - EAttribute getUsersAndGroups_UserOrGroupGuid(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext <em>Access Context</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Access Context</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext - * @generated - */ - EClass getAccessContext(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName() - * @see #getAccessContext() - * @generated - */ - EAttribute getAccessContext_Name(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Super Access Contexts</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts() - * @see #getAccessContext() - * @generated - */ - EReference getAccessContext_SuperAccessContexts(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getGuid <em>Guid</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Guid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getGuid() - * @see #getAccessContext() - * @generated - */ - EAttribute getAccessContext_Guid(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Access Rules</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules() - * @see #getAccessContext() - * @generated - */ - EReference getAccessContext_AccessRules(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Hierarchy Restrictions</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions() - * @see #getAccessContext() - * @generated - */ - EReference getAccessContext_HierarchyRestrictions(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction <em>Hierarchy Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Hierarchy Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction - * @generated - */ - EClass getHierarchyRestriction(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Matcher Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifactMatcherRef() - * @see #getHierarchyRestriction() - * @generated - */ - EReference getHierarchyRestriction_ArtifactMatcherRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Access Rules</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules() - * @see #getHierarchyRestriction() - * @generated - */ - EReference getHierarchyRestriction_AccessRules(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate <em>Relation Type Artifact Type Predicate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Relation Type Artifact Type Predicate</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate - * @generated - */ - EClass getRelationTypeArtifactTypePredicate(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate#getArtifactTypeRef <em>Artifact Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate#getArtifactTypeRef() - * @see #getRelationTypeArtifactTypePredicate() - * @generated - */ - EReference getRelationTypeArtifactTypePredicate_ArtifactTypeRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate <em>Relation Type Artifact Predicate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Relation Type Artifact Predicate</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate - * @generated - */ - EClass getRelationTypeArtifactPredicate(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Matcher Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate#getArtifactMatcherRef() - * @see #getRelationTypeArtifactPredicate() - * @generated - */ - EReference getRelationTypeArtifactPredicate_ArtifactMatcherRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate <em>Relation Type Predicate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Relation Type Predicate</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate - * @generated - */ - EClass getRelationTypePredicate(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction <em>Object Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Object Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction - * @generated - */ - EClass getObjectRestriction(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction#getPermission <em>Permission</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Permission</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction#getPermission() - * @see #getObjectRestriction() - * @generated - */ - EAttribute getObjectRestriction_Permission(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction <em>Artifact Match Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Artifact Match Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction - * @generated - */ - EClass getArtifactMatchRestriction(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Matcher Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction#getArtifactMatcherRef() - * @see #getArtifactMatchRestriction() - * @generated - */ - EReference getArtifactMatchRestriction_ArtifactMatcherRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction <em>Artifact Type Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Artifact Type Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction - * @generated - */ - EClass getArtifactTypeRestriction(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactTypeRef() - * @see #getArtifactTypeRestriction() - * @generated - */ - EReference getArtifactTypeRestriction_ArtifactTypeRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction <em>Attribute Type Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Attribute Type Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction - * @generated - */ - EClass getAttributeTypeRestriction(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeTypeRef <em>Attribute Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Attribute Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeTypeRef() - * @see #getAttributeTypeRestriction() - * @generated - */ - EReference getAttributeTypeRestriction_AttributeTypeRef(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getArtifactTypeRef() - * @see #getAttributeTypeRestriction() - * @generated - */ - EReference getAttributeTypeRestriction_ArtifactTypeRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction <em>Legacy Relation Type Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Legacy Relation Type Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction - * @generated - */ - EClass getLegacyRelationTypeRestriction(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getPermission <em>Permission</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Permission</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getPermission() - * @see #getLegacyRelationTypeRestriction() - * @generated - */ - EAttribute getLegacyRelationTypeRestriction_Permission(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Relation Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRelationTypeRef() - * @see #getLegacyRelationTypeRestriction() - * @generated - */ - EReference getLegacyRelationTypeRestriction_RelationTypeRef(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Restricted To Side</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getRestrictedToSide() - * @see #getLegacyRelationTypeRestriction() - * @generated - */ - EAttribute getLegacyRelationTypeRestriction_RestrictedToSide(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Artifact Matcher Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction#getArtifactMatcherRef() - * @see #getLegacyRelationTypeRestriction() - * @generated - */ - EReference getLegacyRelationTypeRestriction_ArtifactMatcherRef(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction <em>Relation Type Restriction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Relation Type Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction - * @generated - */ - EClass getRelationTypeRestriction(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#isRelationTypeMatch <em>Relation Type Match</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Relation Type Match</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#isRelationTypeMatch() - * @see #getRelationTypeRestriction() - * @generated - */ - EAttribute getRelationTypeRestriction_RelationTypeMatch(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Relation Type Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationTypeRef() - * @see #getRelationTypeRestriction() - * @generated - */ - EReference getRelationTypeRestriction_RelationTypeRef(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Restricted To Side</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedToSide() - * @see #getRelationTypeRestriction() - * @generated - */ - EAttribute getRelationTypeRestriction_RestrictedToSide(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getPredicate <em>Predicate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Predicate</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getPredicate() - * @see #getRelationTypeRestriction() - * @generated - */ - EReference getRelationTypeRestriction_Predicate(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Relation Multiplicity Enum</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @generated - */ - EEnum getRelationMultiplicityEnum(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp <em>Compare Op</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Compare Op</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp - * @generated - */ - EEnum getCompareOp(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator <em>XLogic Operator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>XLogic Operator</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator - * @generated - */ - EEnum getXLogicOperator(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField <em>Match Field</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Match Field</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField - * @generated - */ - EEnum getMatchField(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Access Permission Enum</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @generated - */ - EEnum getAccessPermissionEnum(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch <em>Relation Type Match</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Relation Type Match</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch - * @generated - */ - EEnum getRelationTypeMatch(); - - /** - * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum <em>XRelation Side Enum</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>XRelation Side Enum</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @generated - */ - EEnum getXRelationSideEnum(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - OseeDslFactory getOseeDslFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl() - * @generated - */ - EClass OSEE_DSL = eINSTANCE.getOseeDsl(); - - /** - * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__IMPORTS = eINSTANCE.getOseeDsl_Imports(); - - /** - * The meta object literal for the '<em><b>Artifact Types</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ARTIFACT_TYPES = eINSTANCE.getOseeDsl_ArtifactTypes(); - - /** - * The meta object literal for the '<em><b>Relation Types</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__RELATION_TYPES = eINSTANCE.getOseeDsl_RelationTypes(); - - /** - * The meta object literal for the '<em><b>Attribute Types</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ATTRIBUTE_TYPES = eINSTANCE.getOseeDsl_AttributeTypes(); - - /** - * The meta object literal for the '<em><b>Enum Types</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ENUM_TYPES = eINSTANCE.getOseeDsl_EnumTypes(); - - /** - * The meta object literal for the '<em><b>Enum Overrides</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ENUM_OVERRIDES = eINSTANCE.getOseeDsl_EnumOverrides(); - - /** - * The meta object literal for the '<em><b>Artifact Type Overrides</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ARTIFACT_TYPE_OVERRIDES = eINSTANCE.getOseeDsl_ArtifactTypeOverrides(); - - /** - * The meta object literal for the '<em><b>Artifact Match Refs</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ARTIFACT_MATCH_REFS = eINSTANCE.getOseeDsl_ArtifactMatchRefs(); - - /** - * The meta object literal for the '<em><b>Access Declarations</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ACCESS_DECLARATIONS = eINSTANCE.getOseeDsl_AccessDeclarations(); - - /** - * The meta object literal for the '<em><b>Role Declarations</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OSEE_DSL__ROLE_DECLARATIONS = eINSTANCE.getOseeDsl_RoleDeclarations(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl <em>Import</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getImport() - * @generated - */ - EClass IMPORT = eINSTANCE.getImport(); - - /** - * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl <em>Osee Element</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeElement() - * @generated - */ - EClass OSEE_ELEMENT = eINSTANCE.getOseeElement(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl <em>Osee Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeType() - * @generated - */ - EClass OSEE_TYPE = eINSTANCE.getOseeType(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute OSEE_TYPE__NAME = eINSTANCE.getOseeType_Name(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute OSEE_TYPE__ID = eINSTANCE.getOseeType_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl <em>XArtifact Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactType() - * @generated - */ - EClass XARTIFACT_TYPE = eINSTANCE.getXArtifactType(); - - /** - * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XARTIFACT_TYPE__ABSTRACT = eINSTANCE.getXArtifactType_Abstract(); - - /** - * The meta object literal for the '<em><b>Super Artifact Types</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES = eINSTANCE.getXArtifactType_SuperArtifactTypes(); - - /** - * The meta object literal for the '<em><b>Valid Attribute Types</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES = eINSTANCE.getXArtifactType_ValidAttributeTypes(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl <em>XAttribute Type Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeTypeRef() - * @generated - */ - EClass XATTRIBUTE_TYPE_REF = eINSTANCE.getXAttributeTypeRef(); - - /** - * The meta object literal for the '<em><b>Valid Attribute Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE = eINSTANCE.getXAttributeTypeRef_ValidAttributeType(); - - /** - * The meta object literal for the '<em><b>Branch Uuid</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE_REF__BRANCH_UUID = eINSTANCE.getXAttributeTypeRef_BranchUuid(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl <em>XAttribute Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeType() - * @generated - */ - EClass XATTRIBUTE_TYPE = eINSTANCE.getXAttributeType(); - - /** - * The meta object literal for the '<em><b>Base Attribute Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE = eINSTANCE.getXAttributeType_BaseAttributeType(); - - /** - * The meta object literal for the '<em><b>Override</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XATTRIBUTE_TYPE__OVERRIDE = eINSTANCE.getXAttributeType_Override(); - - /** - * The meta object literal for the '<em><b>Data Provider</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__DATA_PROVIDER = eINSTANCE.getXAttributeType_DataProvider(); - - /** - * The meta object literal for the '<em><b>Min</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__MIN = eINSTANCE.getXAttributeType_Min(); - - /** - * The meta object literal for the '<em><b>Max</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__MAX = eINSTANCE.getXAttributeType_Max(); - - /** - * The meta object literal for the '<em><b>Tagger Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__TAGGER_ID = eINSTANCE.getXAttributeType_TaggerId(); - - /** - * The meta object literal for the '<em><b>Enum Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XATTRIBUTE_TYPE__ENUM_TYPE = eINSTANCE.getXAttributeType_EnumType(); - - /** - * The meta object literal for the '<em><b>Description</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__DESCRIPTION = eINSTANCE.getXAttributeType_Description(); - - /** - * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__DEFAULT_VALUE = eINSTANCE.getXAttributeType_DefaultValue(); - - /** - * The meta object literal for the '<em><b>File Extension</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__FILE_EXTENSION = eINSTANCE.getXAttributeType_FileExtension(); - - /** - * The meta object literal for the '<em><b>Media Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XATTRIBUTE_TYPE__MEDIA_TYPE = eINSTANCE.getXAttributeType_MediaType(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl <em>XOsee Enum Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumType() - * @generated - */ - EClass XOSEE_ENUM_TYPE = eINSTANCE.getXOseeEnumType(); - - /** - * The meta object literal for the '<em><b>Enum Entries</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XOSEE_ENUM_TYPE__ENUM_ENTRIES = eINSTANCE.getXOseeEnumType_EnumEntries(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl <em>XOsee Enum Entry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumEntry() - * @generated - */ - EClass XOSEE_ENUM_ENTRY = eINSTANCE.getXOseeEnumEntry(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XOSEE_ENUM_ENTRY__NAME = eINSTANCE.getXOseeEnumEntry_Name(); - - /** - * The meta object literal for the '<em><b>Ordinal</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XOSEE_ENUM_ENTRY__ORDINAL = eINSTANCE.getXOseeEnumEntry_Ordinal(); - - /** - * The meta object literal for the '<em><b>Description</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XOSEE_ENUM_ENTRY__DESCRIPTION = eINSTANCE.getXOseeEnumEntry_Description(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl <em>XOsee Enum Override</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumOverride() - * @generated - */ - EClass XOSEE_ENUM_OVERRIDE = eINSTANCE.getXOseeEnumOverride(); - - /** - * The meta object literal for the '<em><b>Overriden Enum Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE = eINSTANCE.getXOseeEnumOverride_OverridenEnumType(); - - /** - * The meta object literal for the '<em><b>Inherit All</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XOSEE_ENUM_OVERRIDE__INHERIT_ALL = eINSTANCE.getXOseeEnumOverride_InheritAll(); - - /** - * The meta object literal for the '<em><b>Override Options</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS = eINSTANCE.getXOseeEnumOverride_OverrideOptions(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl <em>Override Option</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOverrideOption() - * @generated - */ - EClass OVERRIDE_OPTION = eINSTANCE.getOverrideOption(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl <em>Add Enum</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddEnum() - * @generated - */ - EClass ADD_ENUM = eINSTANCE.getAddEnum(); - - /** - * The meta object literal for the '<em><b>Enum Entry</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ADD_ENUM__ENUM_ENTRY = eINSTANCE.getAddEnum_EnumEntry(); - - /** - * The meta object literal for the '<em><b>Ordinal</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ADD_ENUM__ORDINAL = eINSTANCE.getAddEnum_Ordinal(); - - /** - * The meta object literal for the '<em><b>Description</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ADD_ENUM__DESCRIPTION = eINSTANCE.getAddEnum_Description(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl <em>Remove Enum</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveEnum() - * @generated - */ - EClass REMOVE_ENUM = eINSTANCE.getRemoveEnum(); - - /** - * The meta object literal for the '<em><b>Enum Entry</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REMOVE_ENUM__ENUM_ENTRY = eINSTANCE.getRemoveEnum_EnumEntry(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl <em>XOsee Artifact Type Override</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeArtifactTypeOverride() - * @generated - */ - EClass XOSEE_ARTIFACT_TYPE_OVERRIDE = eINSTANCE.getXOseeArtifactTypeOverride(); - - /** - * The meta object literal for the '<em><b>Overriden Artifact Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE = eINSTANCE.getXOseeArtifactTypeOverride_OverridenArtifactType(); - - /** - * The meta object literal for the '<em><b>Inherit All</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL = eINSTANCE.getXOseeArtifactTypeOverride_InheritAll(); - - /** - * The meta object literal for the '<em><b>Override Options</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS = eINSTANCE.getXOseeArtifactTypeOverride_OverrideOptions(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeOverrideOptionImpl <em>Attribute Override Option</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeOverrideOptionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeOverrideOption() - * @generated - */ - EClass ATTRIBUTE_OVERRIDE_OPTION = eINSTANCE.getAttributeOverrideOption(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddAttributeImpl <em>Add Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddAttributeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddAttribute() - * @generated - */ - EClass ADD_ATTRIBUTE = eINSTANCE.getAddAttribute(); - - /** - * The meta object literal for the '<em><b>Attribute</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ADD_ATTRIBUTE__ATTRIBUTE = eINSTANCE.getAddAttribute_Attribute(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveAttributeImpl <em>Remove Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveAttributeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveAttribute() - * @generated - */ - EClass REMOVE_ATTRIBUTE = eINSTANCE.getRemoveAttribute(); - - /** - * The meta object literal for the '<em><b>Attribute</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REMOVE_ATTRIBUTE__ATTRIBUTE = eINSTANCE.getRemoveAttribute_Attribute(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UpdateAttributeImpl <em>Update Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UpdateAttributeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getUpdateAttribute() - * @generated - */ - EClass UPDATE_ATTRIBUTE = eINSTANCE.getUpdateAttribute(); - - /** - * The meta object literal for the '<em><b>Attribute</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference UPDATE_ATTRIBUTE__ATTRIBUTE = eINSTANCE.getUpdateAttribute_Attribute(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl <em>XRelation Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationType() - * @generated - */ - EClass XRELATION_TYPE = eINSTANCE.getXRelationType(); - - /** - * The meta object literal for the '<em><b>Side AName</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XRELATION_TYPE__SIDE_ANAME = eINSTANCE.getXRelationType_SideAName(); - - /** - * The meta object literal for the '<em><b>Side AArtifact Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XRELATION_TYPE__SIDE_AARTIFACT_TYPE = eINSTANCE.getXRelationType_SideAArtifactType(); - - /** - * The meta object literal for the '<em><b>Side BName</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XRELATION_TYPE__SIDE_BNAME = eINSTANCE.getXRelationType_SideBName(); - - /** - * The meta object literal for the '<em><b>Side BArtifact Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XRELATION_TYPE__SIDE_BARTIFACT_TYPE = eINSTANCE.getXRelationType_SideBArtifactType(); - - /** - * The meta object literal for the '<em><b>Default Order Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XRELATION_TYPE__DEFAULT_ORDER_TYPE = eINSTANCE.getXRelationType_DefaultOrderType(); - - /** - * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XRELATION_TYPE__MULTIPLICITY = eINSTANCE.getXRelationType_Multiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ConditionImpl <em>Condition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ConditionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getCondition() - * @generated - */ - EClass CONDITION = eINSTANCE.getCondition(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl <em>Simple Condition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getSimpleCondition() - * @generated - */ - EClass SIMPLE_CONDITION = eINSTANCE.getSimpleCondition(); - - /** - * The meta object literal for the '<em><b>Field</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SIMPLE_CONDITION__FIELD = eINSTANCE.getSimpleCondition_Field(); - - /** - * The meta object literal for the '<em><b>Op</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SIMPLE_CONDITION__OP = eINSTANCE.getSimpleCondition_Op(); - - /** - * The meta object literal for the '<em><b>Expression</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SIMPLE_CONDITION__EXPRESSION = eINSTANCE.getSimpleCondition_Expression(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.CompoundConditionImpl <em>Compound Condition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.CompoundConditionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getCompoundCondition() - * @generated - */ - EClass COMPOUND_CONDITION = eINSTANCE.getCompoundCondition(); - - /** - * The meta object literal for the '<em><b>Conditions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference COMPOUND_CONDITION__CONDITIONS = eINSTANCE.getCompoundCondition_Conditions(); - - /** - * The meta object literal for the '<em><b>Operators</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COMPOUND_CONDITION__OPERATORS = eINSTANCE.getCompoundCondition_Operators(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl <em>XArtifact Matcher</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactMatcher() - * @generated - */ - EClass XARTIFACT_MATCHER = eINSTANCE.getXArtifactMatcher(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XARTIFACT_MATCHER__NAME = eINSTANCE.getXArtifactMatcher_Name(); - - /** - * The meta object literal for the '<em><b>Conditions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference XARTIFACT_MATCHER__CONDITIONS = eINSTANCE.getXArtifactMatcher_Conditions(); - - /** - * The meta object literal for the '<em><b>Operators</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute XARTIFACT_MATCHER__OPERATORS = eINSTANCE.getXArtifactMatcher_Operators(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl <em>Role</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRole() - * @generated - */ - EClass ROLE = eINSTANCE.getRole(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ROLE__NAME = eINSTANCE.getRole_Name(); - - /** - * The meta object literal for the '<em><b>Super Roles</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ROLE__SUPER_ROLES = eINSTANCE.getRole_SuperRoles(); - - /** - * The meta object literal for the '<em><b>Users And Groups</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ROLE__USERS_AND_GROUPS = eINSTANCE.getRole_UsersAndGroups(); - - /** - * The meta object literal for the '<em><b>Referenced Contexts</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ROLE__REFERENCED_CONTEXTS = eINSTANCE.getRole_ReferencedContexts(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ReferencedContextImpl <em>Referenced Context</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ReferencedContextImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getReferencedContext() - * @generated - */ - EClass REFERENCED_CONTEXT = eINSTANCE.getReferencedContext(); - - /** - * The meta object literal for the '<em><b>Access Context Ref</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REFERENCED_CONTEXT__ACCESS_CONTEXT_REF = eINSTANCE.getReferencedContext_AccessContextRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UsersAndGroupsImpl <em>Users And Groups</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UsersAndGroupsImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getUsersAndGroups() - * @generated - */ - EClass USERS_AND_GROUPS = eINSTANCE.getUsersAndGroups(); - - /** - * The meta object literal for the '<em><b>User Or Group Guid</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute USERS_AND_GROUPS__USER_OR_GROUP_GUID = eINSTANCE.getUsersAndGroups_UserOrGroupGuid(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl <em>Access Context</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessContext() - * @generated - */ - EClass ACCESS_CONTEXT = eINSTANCE.getAccessContext(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ACCESS_CONTEXT__NAME = eINSTANCE.getAccessContext_Name(); - - /** - * The meta object literal for the '<em><b>Super Access Contexts</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS = eINSTANCE.getAccessContext_SuperAccessContexts(); - - /** - * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ACCESS_CONTEXT__GUID = eINSTANCE.getAccessContext_Guid(); - - /** - * The meta object literal for the '<em><b>Access Rules</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ACCESS_CONTEXT__ACCESS_RULES = eINSTANCE.getAccessContext_AccessRules(); - - /** - * The meta object literal for the '<em><b>Hierarchy Restrictions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS = eINSTANCE.getAccessContext_HierarchyRestrictions(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl <em>Hierarchy Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getHierarchyRestriction() - * @generated - */ - EClass HIERARCHY_RESTRICTION = eINSTANCE.getHierarchyRestriction(); - - /** - * The meta object literal for the '<em><b>Artifact Matcher Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF = eINSTANCE.getHierarchyRestriction_ArtifactMatcherRef(); - - /** - * The meta object literal for the '<em><b>Access Rules</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference HIERARCHY_RESTRICTION__ACCESS_RULES = eINSTANCE.getHierarchyRestriction_AccessRules(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactTypePredicateImpl <em>Relation Type Artifact Type Predicate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactTypePredicateImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeArtifactTypePredicate() - * @generated - */ - EClass RELATION_TYPE_ARTIFACT_TYPE_PREDICATE = eINSTANCE.getRelationTypeArtifactTypePredicate(); - - /** - * The meta object literal for the '<em><b>Artifact Type Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF = eINSTANCE.getRelationTypeArtifactTypePredicate_ArtifactTypeRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl <em>Relation Type Artifact Predicate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeArtifactPredicate() - * @generated - */ - EClass RELATION_TYPE_ARTIFACT_PREDICATE = eINSTANCE.getRelationTypeArtifactPredicate(); - - /** - * The meta object literal for the '<em><b>Artifact Matcher Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF = eINSTANCE.getRelationTypeArtifactPredicate_ArtifactMatcherRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypePredicateImpl <em>Relation Type Predicate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypePredicateImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypePredicate() - * @generated - */ - EClass RELATION_TYPE_PREDICATE = eINSTANCE.getRelationTypePredicate(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl <em>Object Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getObjectRestriction() - * @generated - */ - EClass OBJECT_RESTRICTION = eINSTANCE.getObjectRestriction(); - - /** - * The meta object literal for the '<em><b>Permission</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute OBJECT_RESTRICTION__PERMISSION = eINSTANCE.getObjectRestriction_Permission(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactMatchRestrictionImpl <em>Artifact Match Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactMatchRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactMatchRestriction() - * @generated - */ - EClass ARTIFACT_MATCH_RESTRICTION = eINSTANCE.getArtifactMatchRestriction(); - - /** - * The meta object literal for the '<em><b>Artifact Matcher Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF = eINSTANCE.getArtifactMatchRestriction_ArtifactMatcherRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl <em>Artifact Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactTypeRestriction() - * @generated - */ - EClass ARTIFACT_TYPE_RESTRICTION = eINSTANCE.getArtifactTypeRestriction(); - - /** - * The meta object literal for the '<em><b>Artifact Type Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF = eINSTANCE.getArtifactTypeRestriction_ArtifactTypeRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl <em>Attribute Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeRestriction() - * @generated - */ - EClass ATTRIBUTE_TYPE_RESTRICTION = eINSTANCE.getAttributeTypeRestriction(); - - /** - * The meta object literal for the '<em><b>Attribute Type Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF = eINSTANCE.getAttributeTypeRestriction_AttributeTypeRef(); - - /** - * The meta object literal for the '<em><b>Artifact Type Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF = eINSTANCE.getAttributeTypeRestriction_ArtifactTypeRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl <em>Legacy Relation Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getLegacyRelationTypeRestriction() - * @generated - */ - EClass LEGACY_RELATION_TYPE_RESTRICTION = eINSTANCE.getLegacyRelationTypeRestriction(); - - /** - * The meta object literal for the '<em><b>Permission</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION = eINSTANCE.getLegacyRelationTypeRestriction_Permission(); - - /** - * The meta object literal for the '<em><b>Relation Type Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF = eINSTANCE.getLegacyRelationTypeRestriction_RelationTypeRef(); - - /** - * The meta object literal for the '<em><b>Restricted To Side</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE = eINSTANCE.getLegacyRelationTypeRestriction_RestrictedToSide(); - - /** - * The meta object literal for the '<em><b>Artifact Matcher Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF = eINSTANCE.getLegacyRelationTypeRestriction_ArtifactMatcherRef(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl <em>Relation Type Restriction</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeRestriction() - * @generated - */ - EClass RELATION_TYPE_RESTRICTION = eINSTANCE.getRelationTypeRestriction(); - - /** - * The meta object literal for the '<em><b>Relation Type Match</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH = eINSTANCE.getRelationTypeRestriction_RelationTypeMatch(); - - /** - * The meta object literal for the '<em><b>Relation Type Ref</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF = eINSTANCE.getRelationTypeRestriction_RelationTypeRef(); - - /** - * The meta object literal for the '<em><b>Restricted To Side</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE = eINSTANCE.getRelationTypeRestriction_RestrictedToSide(); - - /** - * The meta object literal for the '<em><b>Predicate</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RELATION_TYPE_RESTRICTION__PREDICATE = eINSTANCE.getRelationTypeRestriction_Predicate(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationMultiplicityEnum() - * @generated - */ - EEnum RELATION_MULTIPLICITY_ENUM = eINSTANCE.getRelationMultiplicityEnum(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp <em>Compare Op</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getCompareOp() - * @generated - */ - EEnum COMPARE_OP = eINSTANCE.getCompareOp(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator <em>XLogic Operator</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXLogicOperator() - * @generated - */ - EEnum XLOGIC_OPERATOR = eINSTANCE.getXLogicOperator(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField <em>Match Field</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getMatchField() - * @generated - */ - EEnum MATCH_FIELD = eINSTANCE.getMatchField(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessPermissionEnum() - * @generated - */ - EEnum ACCESS_PERMISSION_ENUM = eINSTANCE.getAccessPermissionEnum(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch <em>Relation Type Match</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeMatch() - * @generated - */ - EEnum RELATION_TYPE_MATCH = eINSTANCE.getRelationTypeMatch(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum <em>XRelation Side Enum</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationSideEnum() - * @generated - */ - EEnum XRELATION_SIDE_ENUM = eINSTANCE.getXRelationSideEnum(); - - } - -} //OseeDslPackage diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java deleted file mode 100644 index dc780059d8c..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Osee Element</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeElement() - * @model - * @generated - */ -public interface OseeElement extends EObject -{ -} // OseeElement diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java deleted file mode 100644 index aa6db78630f..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Osee Type</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getId <em>Id</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType() - * @model - * @generated - */ -public interface OseeType extends OseeElement -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_Id() - * @model - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // OseeType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java deleted file mode 100644 index 225c1fa3910..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Override Option</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOverrideOption() - * @model - * @generated - */ -public interface OverrideOption extends EObject -{ -} // OverrideOption diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ReferencedContext.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ReferencedContext.java deleted file mode 100644 index 29c8e111f0a..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ReferencedContext.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Referenced Context</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext#getAccessContextRef <em>Access Context Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getReferencedContext() - * @model - * @generated - */ -public interface ReferencedContext extends EObject -{ - /** - * Returns the value of the '<em><b>Access Context Ref</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Access Context Ref</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Access Context Ref</em>' attribute. - * @see #setAccessContextRef(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getReferencedContext_AccessContextRef() - * @model - * @generated - */ - String getAccessContextRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext#getAccessContextRef <em>Access Context Ref</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Access Context Ref</em>' attribute. - * @see #getAccessContextRef() - * @generated - */ - void setAccessContextRef(String value); - -} // ReferencedContext diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java deleted file mode 100644 index 8c83faa4abc..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java +++ /dev/null @@ -1,283 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Relation Multiplicity Enum</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationMultiplicityEnum() - * @model - * @generated - */ -public enum RelationMultiplicityEnum implements Enumerator -{ - /** - * The '<em><b>ONE TO ONE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ONE_TO_ONE_VALUE - * @generated - * @ordered - */ - ONE_TO_ONE(0, "ONE_TO_ONE", "ONE_TO_ONE"), - - /** - * The '<em><b>ONE TO MANY</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ONE_TO_MANY_VALUE - * @generated - * @ordered - */ - ONE_TO_MANY(1, "ONE_TO_MANY", "ONE_TO_MANY"), - - /** - * The '<em><b>MANY TO ONE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #MANY_TO_ONE_VALUE - * @generated - * @ordered - */ - MANY_TO_ONE(2, "MANY_TO_ONE", "MANY_TO_ONE"), - - /** - * The '<em><b>MANY TO MANY</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #MANY_TO_MANY_VALUE - * @generated - * @ordered - */ - MANY_TO_MANY(3, "MANY_TO_MANY", "MANY_TO_MANY"); - - /** - * The '<em><b>ONE TO ONE</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ONE TO ONE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ONE_TO_ONE - * @model - * @generated - * @ordered - */ - public static final int ONE_TO_ONE_VALUE = 0; - - /** - * The '<em><b>ONE TO MANY</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ONE TO MANY</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ONE_TO_MANY - * @model - * @generated - * @ordered - */ - public static final int ONE_TO_MANY_VALUE = 1; - - /** - * The '<em><b>MANY TO ONE</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>MANY TO ONE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #MANY_TO_ONE - * @model - * @generated - * @ordered - */ - public static final int MANY_TO_ONE_VALUE = 2; - - /** - * The '<em><b>MANY TO MANY</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>MANY TO MANY</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #MANY_TO_MANY - * @model - * @generated - * @ordered - */ - public static final int MANY_TO_MANY_VALUE = 3; - - /** - * An array of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final RelationMultiplicityEnum[] VALUES_ARRAY = - new RelationMultiplicityEnum[] - { - ONE_TO_ONE, - ONE_TO_MANY, - MANY_TO_ONE, - MANY_TO_MANY, - }; - - /** - * A public read-only list of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<RelationMultiplicityEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static RelationMultiplicityEnum get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - RelationMultiplicityEnum result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static RelationMultiplicityEnum getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - RelationMultiplicityEnum result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static RelationMultiplicityEnum get(int value) - { - switch (value) - { - case ONE_TO_ONE_VALUE: return ONE_TO_ONE; - case ONE_TO_MANY_VALUE: return ONE_TO_MANY; - case MANY_TO_ONE_VALUE: return MANY_TO_ONE; - case MANY_TO_MANY_VALUE: return MANY_TO_MANY; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private RelationMultiplicityEnum(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //RelationMultiplicityEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeArtifactPredicate.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeArtifactPredicate.java deleted file mode 100644 index 2e5fe7db146..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeArtifactPredicate.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Relation Type Artifact Predicate</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeArtifactPredicate() - * @model - * @generated - */ -public interface RelationTypeArtifactPredicate extends RelationTypePredicate -{ - /** - * Returns the value of the '<em><b>Artifact Matcher Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Matcher Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #setArtifactMatcherRef(XArtifactMatcher) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeArtifactPredicate_ArtifactMatcherRef() - * @model - * @generated - */ - XArtifactMatcher getArtifactMatcherRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Matcher Ref</em>' reference. - * @see #getArtifactMatcherRef() - * @generated - */ - void setArtifactMatcherRef(XArtifactMatcher value); - -} // RelationTypeArtifactPredicate diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeArtifactTypePredicate.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeArtifactTypePredicate.java deleted file mode 100644 index a6b7ac77506..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeArtifactTypePredicate.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Relation Type Artifact Type Predicate</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeArtifactTypePredicate() - * @model - * @generated - */ -public interface RelationTypeArtifactTypePredicate extends RelationTypePredicate -{ - /** - * Returns the value of the '<em><b>Artifact Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Type Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Artifact Type Ref</em>' reference. - * @see #setArtifactTypeRef(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeArtifactTypePredicate_ArtifactTypeRef() - * @model - * @generated - */ - XArtifactType getArtifactTypeRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate#getArtifactTypeRef <em>Artifact Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Artifact Type Ref</em>' reference. - * @see #getArtifactTypeRef() - * @generated - */ - void setArtifactTypeRef(XArtifactType value); - -} // RelationTypeArtifactTypePredicate diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeMatch.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeMatch.java deleted file mode 100644 index e536367da7d..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeMatch.java +++ /dev/null @@ -1,202 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Relation Type Match</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeMatch() - * @model - * @generated - */ -public enum RelationTypeMatch implements Enumerator -{ - /** - * The '<em><b>ALL</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ALL_VALUE - * @generated - * @ordered - */ - ALL(0, "ALL", "ALL"); - - /** - * The '<em><b>ALL</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ALL</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ALL - * @model - * @generated - * @ordered - */ - public static final int ALL_VALUE = 0; - - /** - * An array of all the '<em><b>Relation Type Match</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final RelationTypeMatch[] VALUES_ARRAY = - new RelationTypeMatch[] - { - ALL, - }; - - /** - * A public read-only list of all the '<em><b>Relation Type Match</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<RelationTypeMatch> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Relation Type Match</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static RelationTypeMatch get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - RelationTypeMatch result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Type Match</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static RelationTypeMatch getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - RelationTypeMatch result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Type Match</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static RelationTypeMatch get(int value) - { - switch (value) - { - case ALL_VALUE: return ALL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private RelationTypeMatch(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //RelationTypeMatch diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypePredicate.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypePredicate.java deleted file mode 100644 index bad8901c2ce..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypePredicate.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Relation Type Predicate</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypePredicate() - * @model - * @generated - */ -public interface RelationTypePredicate extends EObject -{ -} // RelationTypePredicate diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java deleted file mode 100644 index c8c6f115bc2..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java +++ /dev/null @@ -1,134 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Relation Type Restriction</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#isRelationTypeMatch <em>Relation Type Match</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getPredicate <em>Predicate</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction() - * @model - * @generated - */ -public interface RelationTypeRestriction extends ObjectRestriction -{ - /** - * Returns the value of the '<em><b>Relation Type Match</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Relation Type Match</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Relation Type Match</em>' attribute. - * @see #setRelationTypeMatch(boolean) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RelationTypeMatch() - * @model - * @generated - */ - boolean isRelationTypeMatch(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#isRelationTypeMatch <em>Relation Type Match</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Relation Type Match</em>' attribute. - * @see #isRelationTypeMatch() - * @generated - */ - void setRelationTypeMatch(boolean value); - - /** - * Returns the value of the '<em><b>Relation Type Ref</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Relation Type Ref</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Relation Type Ref</em>' reference. - * @see #setRelationTypeRef(XRelationType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RelationTypeRef() - * @model - * @generated - */ - XRelationType getRelationTypeRef(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Relation Type Ref</em>' reference. - * @see #getRelationTypeRef() - * @generated - */ - void setRelationTypeRef(XRelationType value); - - /** - * Returns the value of the '<em><b>Restricted To Side</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Restricted To Side</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Restricted To Side</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @see #setRestrictedToSide(XRelationSideEnum) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RestrictedToSide() - * @model - * @generated - */ - XRelationSideEnum getRestrictedToSide(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Restricted To Side</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum - * @see #getRestrictedToSide() - * @generated - */ - void setRestrictedToSide(XRelationSideEnum value); - - /** - * Returns the value of the '<em><b>Predicate</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Predicate</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>Predicate</em>' containment reference. - * @see #setPredicate(RelationTypePredicate) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_Predicate() - * @model containment="true" - * @generated - */ - RelationTypePredicate getPredicate(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getPredicate <em>Predicate</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Predicate</em>' containment reference. - * @see #getPredicate() - * @generated - */ - void setPredicate(RelationTypePredicate value); - -} // RelationTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveAttribute.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveAttribute.java deleted file mode 100644 index 8921d0f29aa..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveAttribute.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Remove Attribute</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute#getAttribute <em>Attribute</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveAttribute() - * @model - * @generated - */ -public interface RemoveAttribute extends AttributeOverrideOption -{ - /** - * Returns the value of the '<em><b>Attribute</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Attribute</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Attribute</em>' reference. - * @see #setAttribute(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveAttribute_Attribute() - * @model - * @generated - */ - XAttributeType getAttribute(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute#getAttribute <em>Attribute</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Attribute</em>' reference. - * @see #getAttribute() - * @generated - */ - void setAttribute(XAttributeType value); - -} // RemoveAttribute diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java deleted file mode 100644 index dbb16d3a24d..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Remove Enum</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveEnum() - * @model - * @generated - */ -public interface RemoveEnum extends OverrideOption -{ - /** - * Returns the value of the '<em><b>Enum Entry</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Entry</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enum Entry</em>' reference. - * @see #setEnumEntry(XOseeEnumEntry) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveEnum_EnumEntry() - * @model - * @generated - */ - XOseeEnumEntry getEnumEntry(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Enum Entry</em>' reference. - * @see #getEnumEntry() - * @generated - */ - void setEnumEntry(XOseeEnumEntry value); - -} // RemoveEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Role.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Role.java deleted file mode 100644 index c26240c0e72..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Role.java +++ /dev/null @@ -1,104 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Role</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getSuperRoles <em>Super Roles</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getUsersAndGroups <em>Users And Groups</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getReferencedContexts <em>Referenced Contexts</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRole() - * @model - * @generated - */ -public interface Role extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRole_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Super Roles</b></em>' reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Super Roles</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Super Roles</em>' reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRole_SuperRoles() - * @model - * @generated - */ - EList<Role> getSuperRoles(); - - /** - * Returns the value of the '<em><b>Users And Groups</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Users And Groups</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Users And Groups</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRole_UsersAndGroups() - * @model containment="true" - * @generated - */ - EList<UsersAndGroups> getUsersAndGroups(); - - /** - * Returns the value of the '<em><b>Referenced Contexts</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Referenced Contexts</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Referenced Contexts</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRole_ReferencedContexts() - * @model containment="true" - * @generated - */ - EList<ReferencedContext> getReferencedContexts(); - -} // Role diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/SimpleCondition.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/SimpleCondition.java deleted file mode 100644 index ea87be3c550..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/SimpleCondition.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Simple Condition</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getField <em>Field</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getOp <em>Op</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getExpression <em>Expression</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getSimpleCondition() - * @model - * @generated - */ -public interface SimpleCondition extends Condition -{ - /** - * Returns the value of the '<em><b>Field</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Field</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Field</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField - * @see #setField(MatchField) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getSimpleCondition_Field() - * @model - * @generated - */ - MatchField getField(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getField <em>Field</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Field</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField - * @see #getField() - * @generated - */ - void setField(MatchField value); - - /** - * Returns the value of the '<em><b>Op</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Op</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Op</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp - * @see #setOp(CompareOp) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getSimpleCondition_Op() - * @model - * @generated - */ - CompareOp getOp(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getOp <em>Op</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Op</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp - * @see #getOp() - * @generated - */ - void setOp(CompareOp value); - - /** - * Returns the value of the '<em><b>Expression</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Expression</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Expression</em>' attribute. - * @see #setExpression(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getSimpleCondition_Expression() - * @model - * @generated - */ - String getExpression(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition#getExpression <em>Expression</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Expression</em>' attribute. - * @see #getExpression() - * @generated - */ - void setExpression(String value); - -} // SimpleCondition diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/UpdateAttribute.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/UpdateAttribute.java deleted file mode 100644 index b50a48c53a4..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/UpdateAttribute.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Update Attribute</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute#getAttribute <em>Attribute</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getUpdateAttribute() - * @model - * @generated - */ -public interface UpdateAttribute extends AttributeOverrideOption -{ - /** - * Returns the value of the '<em><b>Attribute</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Attribute</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>Attribute</em>' containment reference. - * @see #setAttribute(XAttributeTypeRef) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getUpdateAttribute_Attribute() - * @model containment="true" - * @generated - */ - XAttributeTypeRef getAttribute(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute#getAttribute <em>Attribute</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Attribute</em>' containment reference. - * @see #getAttribute() - * @generated - */ - void setAttribute(XAttributeTypeRef value); - -} // UpdateAttribute diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/UsersAndGroups.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/UsersAndGroups.java deleted file mode 100644 index 57a153e016f..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/UsersAndGroups.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Users And Groups</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups#getUserOrGroupGuid <em>User Or Group Guid</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getUsersAndGroups() - * @model - * @generated - */ -public interface UsersAndGroups extends EObject -{ - /** - * Returns the value of the '<em><b>User Or Group Guid</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>User Or Group Guid</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>User Or Group Guid</em>' attribute. - * @see #setUserOrGroupGuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getUsersAndGroups_UserOrGroupGuid() - * @model - * @generated - */ - String getUserOrGroupGuid(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups#getUserOrGroupGuid <em>User Or Group Guid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>User Or Group Guid</em>' attribute. - * @see #getUserOrGroupGuid() - * @generated - */ - void setUserOrGroupGuid(String value); - -} // UsersAndGroups diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactMatcher.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactMatcher.java deleted file mode 100644 index b471b4797b9..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactMatcher.java +++ /dev/null @@ -1,89 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XArtifact Matcher</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getConditions <em>Conditions</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getOperators <em>Operators</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactMatcher() - * @model - * @generated - */ -public interface XArtifactMatcher extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactMatcher_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Conditions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.Condition}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Conditions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Conditions</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactMatcher_Conditions() - * @model containment="true" - * @generated - */ - EList<Condition> getConditions(); - - /** - * Returns the value of the '<em><b>Operators</b></em>' attribute list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator}. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Operators</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>Operators</em>' attribute list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactMatcher_Operators() - * @model unique="false" - * @generated - */ - EList<XLogicOperator> getOperators(); - -} // XArtifactMatcher diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java deleted file mode 100644 index 7b369bb2166..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XArtifact Type</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType() - * @model - * @generated - */ -public interface XArtifactType extends OseeType -{ - /** - * Returns the value of the '<em><b>Abstract</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Abstract</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Abstract</em>' attribute. - * @see #setAbstract(boolean) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_Abstract() - * @model - * @generated - */ - boolean isAbstract(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Abstract</em>' attribute. - * @see #isAbstract() - * @generated - */ - void setAbstract(boolean value); - - /** - * Returns the value of the '<em><b>Super Artifact Types</b></em>' reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Super Artifact Types</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Super Artifact Types</em>' reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_SuperArtifactTypes() - * @model - * @generated - */ - EList<XArtifactType> getSuperArtifactTypes(); - - /** - * Returns the value of the '<em><b>Valid Attribute Types</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Valid Attribute Types</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Valid Attribute Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_ValidAttributeTypes() - * @model containment="true" - * @generated - */ - EList<XAttributeTypeRef> getValidAttributeTypes(); - -} // XArtifactType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java deleted file mode 100644 index c76a1ef9da8..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java +++ /dev/null @@ -1,320 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XAttribute Type</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMediaType <em>Media Type</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType() - * @model - * @generated - */ -public interface XAttributeType extends OseeType -{ - /** - * Returns the value of the '<em><b>Base Attribute Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Attribute 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>Base Attribute Type</em>' attribute. - * @see #setBaseAttributeType(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_BaseAttributeType() - * @model - * @generated - */ - String getBaseAttributeType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Attribute Type</em>' attribute. - * @see #getBaseAttributeType() - * @generated - */ - void setBaseAttributeType(String value); - - /** - * Returns the value of the '<em><b>Override</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Override</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Override</em>' reference. - * @see #setOverride(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Override() - * @model - * @generated - */ - XAttributeType getOverride(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Override</em>' reference. - * @see #getOverride() - * @generated - */ - void setOverride(XAttributeType value); - - /** - * Returns the value of the '<em><b>Data Provider</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data Provider</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data Provider</em>' attribute. - * @see #setDataProvider(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DataProvider() - * @model - * @generated - */ - String getDataProvider(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Data Provider</em>' attribute. - * @see #getDataProvider() - * @generated - */ - void setDataProvider(String value); - - /** - * Returns the value of the '<em><b>Min</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Min</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Min</em>' attribute. - * @see #setMin(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Min() - * @model - * @generated - */ - String getMin(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Min</em>' attribute. - * @see #getMin() - * @generated - */ - void setMin(String value); - - /** - * Returns the value of the '<em><b>Max</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Max</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Max</em>' attribute. - * @see #setMax(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Max() - * @model - * @generated - */ - String getMax(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Max</em>' attribute. - * @see #getMax() - * @generated - */ - void setMax(String value); - - /** - * Returns the value of the '<em><b>Tagger Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Tagger Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Tagger Id</em>' attribute. - * @see #setTaggerId(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_TaggerId() - * @model - * @generated - */ - String getTaggerId(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Tagger Id</em>' attribute. - * @see #getTaggerId() - * @generated - */ - void setTaggerId(String value); - - /** - * Returns the value of the '<em><b>Enum Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enum Type</em>' reference. - * @see #setEnumType(XOseeEnumType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_EnumType() - * @model - * @generated - */ - XOseeEnumType getEnumType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Enum Type</em>' reference. - * @see #getEnumType() - * @generated - */ - void setEnumType(XOseeEnumType value); - - /** - * Returns the value of the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Description</em>' attribute. - * @see #setDescription(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Description() - * @model - * @generated - */ - String getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Description</em>' attribute. - * @see #getDescription() - * @generated - */ - void setDescription(String value); - - /** - * Returns the value of the '<em><b>Default Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Default Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Default Value</em>' attribute. - * @see #setDefaultValue(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DefaultValue() - * @model - * @generated - */ - String getDefaultValue(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Default Value</em>' attribute. - * @see #getDefaultValue() - * @generated - */ - void setDefaultValue(String value); - - /** - * Returns the value of the '<em><b>File Extension</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>File Extension</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>File Extension</em>' attribute. - * @see #setFileExtension(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_FileExtension() - * @model - * @generated - */ - String getFileExtension(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>File Extension</em>' attribute. - * @see #getFileExtension() - * @generated - */ - void setFileExtension(String value); - - /** - * Returns the value of the '<em><b>Media Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Media 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>Media Type</em>' attribute. - * @see #setMediaType(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_MediaType() - * @model - * @generated - */ - String getMediaType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMediaType <em>Media Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Media Type</em>' attribute. - * @see #getMediaType() - * @generated - */ - void setMediaType(String value); - -} // XAttributeType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java deleted file mode 100644 index 4b3a22a4ee5..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java +++ /dev/null @@ -1,78 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XAttribute Type Ref</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchUuid <em>Branch Uuid</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef() - * @model - * @generated - */ -public interface XAttributeTypeRef extends EObject -{ - /** - * Returns the value of the '<em><b>Valid Attribute Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Valid Attribute Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Valid Attribute Type</em>' reference. - * @see #setValidAttributeType(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_ValidAttributeType() - * @model - * @generated - */ - XAttributeType getValidAttributeType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Valid Attribute Type</em>' reference. - * @see #getValidAttributeType() - * @generated - */ - void setValidAttributeType(XAttributeType value); - - /** - * Returns the value of the '<em><b>Branch Uuid</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Branch Uuid</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Branch Uuid</em>' attribute. - * @see #setBranchUuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_BranchUuid() - * @model - * @generated - */ - String getBranchUuid(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchUuid <em>Branch Uuid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Branch Uuid</em>' attribute. - * @see #getBranchUuid() - * @generated - */ - void setBranchUuid(String value); - -} // XAttributeTypeRef diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XLogicOperator.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XLogicOperator.java deleted file mode 100644 index 14ca83911b3..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XLogicOperator.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>XLogic Operator</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXLogicOperator() - * @model - * @generated - */ -public enum XLogicOperator implements Enumerator -{ - /** - * The '<em><b>AND</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #AND_VALUE - * @generated - * @ordered - */ - AND(0, "AND", "AND"), - - /** - * The '<em><b>OR</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #OR_VALUE - * @generated - * @ordered - */ - OR(1, "OR", "OR"); - - /** - * The '<em><b>AND</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>AND</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #AND - * @model - * @generated - * @ordered - */ - public static final int AND_VALUE = 0; - - /** - * The '<em><b>OR</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>OR</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #OR - * @model - * @generated - * @ordered - */ - public static final int OR_VALUE = 1; - - /** - * An array of all the '<em><b>XLogic Operator</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final XLogicOperator[] VALUES_ARRAY = - new XLogicOperator[] - { - AND, - OR, - }; - - /** - * A public read-only list of all the '<em><b>XLogic Operator</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<XLogicOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>XLogic Operator</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static XLogicOperator get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XLogicOperator result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>XLogic Operator</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static XLogicOperator getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XLogicOperator result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>XLogic Operator</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static XLogicOperator get(int value) - { - switch (value) - { - case AND_VALUE: return AND; - case OR_VALUE: return OR; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private XLogicOperator(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XLogicOperator diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeArtifactTypeOverride.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeArtifactTypeOverride.java deleted file mode 100644 index e876cc4ef97..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeArtifactTypeOverride.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XOsee Artifact Type Override</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverridenArtifactType <em>Overriden Artifact Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#isInheritAll <em>Inherit All</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverrideOptions <em>Override Options</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeArtifactTypeOverride() - * @model - * @generated - */ -public interface XOseeArtifactTypeOverride extends EObject -{ - /** - * Returns the value of the '<em><b>Overriden Artifact Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Overriden Artifact Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Overriden Artifact Type</em>' reference. - * @see #setOverridenArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeArtifactTypeOverride_OverridenArtifactType() - * @model - * @generated - */ - XArtifactType getOverridenArtifactType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#getOverridenArtifactType <em>Overriden Artifact Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Overriden Artifact Type</em>' reference. - * @see #getOverridenArtifactType() - * @generated - */ - void setOverridenArtifactType(XArtifactType value); - - /** - * Returns the value of the '<em><b>Inherit All</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Inherit All</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Inherit All</em>' attribute. - * @see #setInheritAll(boolean) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeArtifactTypeOverride_InheritAll() - * @model - * @generated - */ - boolean isInheritAll(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride#isInheritAll <em>Inherit All</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Inherit All</em>' attribute. - * @see #isInheritAll() - * @generated - */ - void setInheritAll(boolean value); - - /** - * Returns the value of the '<em><b>Override Options</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Override Options</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Override Options</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeArtifactTypeOverride_OverrideOptions() - * @model containment="true" - * @generated - */ - EList<AttributeOverrideOption> getOverrideOptions(); - -} // XOseeArtifactTypeOverride diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java deleted file mode 100644 index 59261097882..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java +++ /dev/null @@ -1,105 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XOsee Enum Entry</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getDescription <em>Description</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry() - * @model - * @generated - */ -public interface XOseeEnumEntry extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Ordinal</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ordinal</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ordinal</em>' attribute. - * @see #setOrdinal(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Ordinal() - * @model - * @generated - */ - String getOrdinal(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ordinal</em>' attribute. - * @see #getOrdinal() - * @generated - */ - void setOrdinal(String value); - - /** - * Returns the value of the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Description</em>' attribute. - * @see #setDescription(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Description() - * @model - * @generated - */ - String getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getDescription <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Description</em>' attribute. - * @see #getDescription() - * @generated - */ - void setDescription(String value); - -} // XOseeEnumEntry diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java deleted file mode 100644 index 3e8e2ed2a5e..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XOsee Enum Override</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride() - * @model - * @generated - */ -public interface XOseeEnumOverride extends OseeElement -{ - /** - * Returns the value of the '<em><b>Overriden Enum Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Overriden Enum Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Overriden Enum Type</em>' reference. - * @see #setOverridenEnumType(XOseeEnumType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverridenEnumType() - * @model - * @generated - */ - XOseeEnumType getOverridenEnumType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Overriden Enum Type</em>' reference. - * @see #getOverridenEnumType() - * @generated - */ - void setOverridenEnumType(XOseeEnumType value); - - /** - * Returns the value of the '<em><b>Inherit All</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Inherit All</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Inherit All</em>' attribute. - * @see #setInheritAll(boolean) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_InheritAll() - * @model - * @generated - */ - boolean isInheritAll(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Inherit All</em>' attribute. - * @see #isInheritAll() - * @generated - */ - void setInheritAll(boolean value); - - /** - * Returns the value of the '<em><b>Override Options</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Override Options</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Override Options</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverrideOptions() - * @model containment="true" - * @generated - */ - EList<OverrideOption> getOverrideOptions(); - -} // XOseeEnumOverride diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java deleted file mode 100644 index aef41215fde..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XOsee Enum Type</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumType() - * @model - * @generated - */ -public interface XOseeEnumType extends OseeType -{ - /** - * Returns the value of the '<em><b>Enum Entries</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Entries</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enum Entries</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumType_EnumEntries() - * @model containment="true" - * @generated - */ - EList<XOseeEnumEntry> getEnumEntries(); - -} // XOseeEnumType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationSideEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationSideEnum.java deleted file mode 100644 index 6920d26719e..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationSideEnum.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>XRelation Side Enum</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationSideEnum() - * @model - * @generated - */ -public enum XRelationSideEnum implements Enumerator -{ - /** - * The '<em><b>SIDE A</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SIDE_A_VALUE - * @generated - * @ordered - */ - SIDE_A(0, "SIDE_A", "SIDE_A"), - - /** - * The '<em><b>SIDE B</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SIDE_B_VALUE - * @generated - * @ordered - */ - SIDE_B(1, "SIDE_B", "SIDE_B"), - - /** - * The '<em><b>BOTH</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #BOTH_VALUE - * @generated - * @ordered - */ - BOTH(2, "BOTH", "BOTH"); - - /** - * The '<em><b>SIDE A</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>SIDE A</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SIDE_A - * @model - * @generated - * @ordered - */ - public static final int SIDE_A_VALUE = 0; - - /** - * The '<em><b>SIDE B</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>SIDE B</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SIDE_B - * @model - * @generated - * @ordered - */ - public static final int SIDE_B_VALUE = 1; - - /** - * The '<em><b>BOTH</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>BOTH</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #BOTH - * @model - * @generated - * @ordered - */ - public static final int BOTH_VALUE = 2; - - /** - * An array of all the '<em><b>XRelation Side Enum</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final XRelationSideEnum[] VALUES_ARRAY = - new XRelationSideEnum[] - { - SIDE_A, - SIDE_B, - BOTH, - }; - - /** - * A public read-only list of all the '<em><b>XRelation Side Enum</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<XRelationSideEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>XRelation Side Enum</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static XRelationSideEnum get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XRelationSideEnum result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>XRelation Side Enum</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static XRelationSideEnum getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XRelationSideEnum result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>XRelation Side Enum</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static XRelationSideEnum get(int value) - { - switch (value) - { - case SIDE_A_VALUE: return SIDE_A; - case SIDE_B_VALUE: return SIDE_B; - case BOTH_VALUE: return BOTH; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private XRelationSideEnum(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() - { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XRelationSideEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java deleted file mode 100644 index 3f06b2bd326..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java +++ /dev/null @@ -1,188 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>XRelation Type</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}</li> - * </ul> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType() - * @model - * @generated - */ -public interface XRelationType extends OseeType -{ - /** - * Returns the value of the '<em><b>Side AName</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side AName</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Side AName</em>' attribute. - * @see #setSideAName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAName() - * @model - * @generated - */ - String getSideAName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Side AName</em>' attribute. - * @see #getSideAName() - * @generated - */ - void setSideAName(String value); - - /** - * Returns the value of the '<em><b>Side AArtifact Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side AArtifact Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Side AArtifact Type</em>' reference. - * @see #setSideAArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAArtifactType() - * @model - * @generated - */ - XArtifactType getSideAArtifactType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Side AArtifact Type</em>' reference. - * @see #getSideAArtifactType() - * @generated - */ - void setSideAArtifactType(XArtifactType value); - - /** - * Returns the value of the '<em><b>Side BName</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side BName</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Side BName</em>' attribute. - * @see #setSideBName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBName() - * @model - * @generated - */ - String getSideBName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Side BName</em>' attribute. - * @see #getSideBName() - * @generated - */ - void setSideBName(String value); - - /** - * Returns the value of the '<em><b>Side BArtifact Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side BArtifact Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Side BArtifact Type</em>' reference. - * @see #setSideBArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBArtifactType() - * @model - * @generated - */ - XArtifactType getSideBArtifactType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Side BArtifact Type</em>' reference. - * @see #getSideBArtifactType() - * @generated - */ - void setSideBArtifactType(XArtifactType value); - - /** - * Returns the value of the '<em><b>Default Order Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Default Order 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>Default Order Type</em>' attribute. - * @see #setDefaultOrderType(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_DefaultOrderType() - * @model - * @generated - */ - String getDefaultOrderType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Default Order Type</em>' attribute. - * @see #getDefaultOrderType() - * @generated - */ - void setDefaultOrderType(String value); - - /** - * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Multiplicity</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @see #setMultiplicity(RelationMultiplicityEnum) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_Multiplicity() - * @model - * @generated - */ - RelationMultiplicityEnum getMultiplicity(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Multiplicity</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @see #getMultiplicity() - * @generated - */ - void setMultiplicity(RelationMultiplicityEnum value); - -} // XRelationType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java deleted file mode 100644 index 8b1c2b1274a..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java +++ /dev/null @@ -1,372 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Access Context</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getSuperAccessContexts <em>Super Access Contexts</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getGuid <em>Guid</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getAccessRules <em>Access Rules</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li> - * </ul> - * - * @generated - */ -public class AccessContextImpl extends MinimalEObjectImpl.Container implements AccessContext -{ - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSuperAccessContexts() <em>Super Access Contexts</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSuperAccessContexts() - * @generated - * @ordered - */ - protected EList<AccessContext> superAccessContexts; - - /** - * The default value of the '{@link #getGuid() <em>Guid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getGuid() - * @generated - * @ordered - */ - protected static final String GUID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getGuid() <em>Guid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getGuid() - * @generated - * @ordered - */ - protected String guid = GUID_EDEFAULT; - - /** - * The cached value of the '{@link #getAccessRules() <em>Access Rules</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAccessRules() - * @generated - * @ordered - */ - protected EList<ObjectRestriction> accessRules; - - /** - * The cached value of the '{@link #getHierarchyRestrictions() <em>Hierarchy Restrictions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHierarchyRestrictions() - * @generated - * @ordered - */ - protected EList<HierarchyRestriction> hierarchyRestrictions; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AccessContextImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ACCESS_CONTEXT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ACCESS_CONTEXT__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<AccessContext> getSuperAccessContexts() - { - if (superAccessContexts == null) - { - superAccessContexts = new EObjectResolvingEList<AccessContext>(AccessContext.class, this, OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS); - } - return superAccessContexts; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getGuid() - { - return guid; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setGuid(String newGuid) - { - String oldGuid = guid; - guid = newGuid; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ACCESS_CONTEXT__GUID, oldGuid, guid)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<ObjectRestriction> getAccessRules() - { - if (accessRules == null) - { - accessRules = new EObjectContainmentEList<ObjectRestriction>(ObjectRestriction.class, this, OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES); - } - return accessRules; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<HierarchyRestriction> getHierarchyRestrictions() - { - if (hierarchyRestrictions == null) - { - hierarchyRestrictions = new EObjectContainmentEList<HierarchyRestriction>(HierarchyRestriction.class, this, OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS); - } - return hierarchyRestrictions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: - return ((InternalEList<?>)getAccessRules()).basicRemove(otherEnd, msgs); - case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: - return ((InternalEList<?>)getHierarchyRestrictions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ACCESS_CONTEXT__NAME: - return getName(); - case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: - return getSuperAccessContexts(); - case OseeDslPackage.ACCESS_CONTEXT__GUID: - return getGuid(); - case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: - return getAccessRules(); - case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: - return getHierarchyRestrictions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ACCESS_CONTEXT__NAME: - setName((String)newValue); - return; - case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: - getSuperAccessContexts().clear(); - getSuperAccessContexts().addAll((Collection<? extends AccessContext>)newValue); - return; - case OseeDslPackage.ACCESS_CONTEXT__GUID: - setGuid((String)newValue); - return; - case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: - getAccessRules().clear(); - getAccessRules().addAll((Collection<? extends ObjectRestriction>)newValue); - return; - case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: - getHierarchyRestrictions().clear(); - getHierarchyRestrictions().addAll((Collection<? extends HierarchyRestriction>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ACCESS_CONTEXT__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: - getSuperAccessContexts().clear(); - return; - case OseeDslPackage.ACCESS_CONTEXT__GUID: - setGuid(GUID_EDEFAULT); - return; - case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: - getAccessRules().clear(); - return; - case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: - getHierarchyRestrictions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ACCESS_CONTEXT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: - return superAccessContexts != null && !superAccessContexts.isEmpty(); - case OseeDslPackage.ACCESS_CONTEXT__GUID: - return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); - case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: - return accessRules != null && !accessRules.isEmpty(); - case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: - return hierarchyRestrictions != null && !hierarchyRestrictions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", guid: "); - result.append(guid); - result.append(')'); - return result.toString(); - } - -} //AccessContextImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddAttributeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddAttributeImpl.java deleted file mode 100644 index ad2a20e60db..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddAttributeImpl.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Add Attribute</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddAttributeImpl#getAttribute <em>Attribute</em>}</li> - * </ul> - * - * @generated - */ -public class AddAttributeImpl extends AttributeOverrideOptionImpl implements AddAttribute -{ - /** - * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAttribute() - * @generated - * @ordered - */ - protected XAttributeTypeRef attribute; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AddAttributeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ADD_ATTRIBUTE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeTypeRef getAttribute() - { - return attribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAttribute(XAttributeTypeRef newAttribute, NotificationChain msgs) - { - XAttributeTypeRef oldAttribute = attribute; - attribute = newAttribute; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE, oldAttribute, newAttribute); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttribute(XAttributeTypeRef newAttribute) - { - if (newAttribute != attribute) - { - NotificationChain msgs = null; - if (attribute != null) - msgs = ((InternalEObject)attribute).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE, null, msgs); - if (newAttribute != null) - msgs = ((InternalEObject)newAttribute).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE, null, msgs); - msgs = basicSetAttribute(newAttribute, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE, newAttribute, newAttribute)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE: - return basicSetAttribute(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE: - return getAttribute(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE: - setAttribute((XAttributeTypeRef)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE: - setAttribute((XAttributeTypeRef)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ADD_ATTRIBUTE__ATTRIBUTE: - return attribute != null; - } - return super.eIsSet(featureID); - } - -} //AddAttributeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java deleted file mode 100644 index 813cfec246f..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java +++ /dev/null @@ -1,288 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Add Enum</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getEnumEntry <em>Enum Entry</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getOrdinal <em>Ordinal</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getDescription <em>Description</em>}</li> - * </ul> - * - * @generated - */ -public class AddEnumImpl extends OverrideOptionImpl implements AddEnum -{ - /** - * The default value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumEntry() - * @generated - * @ordered - */ - protected static final String ENUM_ENTRY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumEntry() - * @generated - * @ordered - */ - protected String enumEntry = ENUM_ENTRY_EDEFAULT; - - /** - * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrdinal() - * @generated - * @ordered - */ - protected static final String ORDINAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrdinal() - * @generated - * @ordered - */ - protected String ordinal = ORDINAL_EDEFAULT; - - /** - * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected static final String DESCRIPTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected String description = DESCRIPTION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AddEnumImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ADD_ENUM; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEnumEntry() - { - return enumEntry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnumEntry(String newEnumEntry) - { - String oldEnumEntry = enumEntry; - enumEntry = newEnumEntry; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getOrdinal() - { - return ordinal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrdinal(String newOrdinal) - { - String oldOrdinal = ordinal; - ordinal = newOrdinal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ORDINAL, oldOrdinal, ordinal)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDescription() - { - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDescription(String newDescription) - { - String oldDescription = description; - description = newDescription; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__DESCRIPTION, oldDescription, description)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: - return getEnumEntry(); - case OseeDslPackage.ADD_ENUM__ORDINAL: - return getOrdinal(); - case OseeDslPackage.ADD_ENUM__DESCRIPTION: - return getDescription(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: - setEnumEntry((String)newValue); - return; - case OseeDslPackage.ADD_ENUM__ORDINAL: - setOrdinal((String)newValue); - return; - case OseeDslPackage.ADD_ENUM__DESCRIPTION: - setDescription((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: - setEnumEntry(ENUM_ENTRY_EDEFAULT); - return; - case OseeDslPackage.ADD_ENUM__ORDINAL: - setOrdinal(ORDINAL_EDEFAULT); - return; - case OseeDslPackage.ADD_ENUM__DESCRIPTION: - setDescription(DESCRIPTION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: - return ENUM_ENTRY_EDEFAULT == null ? enumEntry != null : !ENUM_ENTRY_EDEFAULT.equals(enumEntry); - case OseeDslPackage.ADD_ENUM__ORDINAL: - return ORDINAL_EDEFAULT == null ? ordinal != null : !ORDINAL_EDEFAULT.equals(ordinal); - case OseeDslPackage.ADD_ENUM__DESCRIPTION: - return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (enumEntry: "); - result.append(enumEntry); - result.append(", ordinal: "); - result.append(ordinal); - result.append(", description: "); - result.append(description); - result.append(')'); - return result.toString(); - } - -} //AddEnumImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactMatchRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactMatchRestrictionImpl.java deleted file mode 100644 index 9b4154aeecb..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactMatchRestrictionImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Artifact Match Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactMatchRestrictionImpl#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * </ul> - * - * @generated - */ -public class ArtifactMatchRestrictionImpl extends ObjectRestrictionImpl implements ArtifactMatchRestriction -{ - /** - * The cached value of the '{@link #getArtifactMatcherRef() <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactMatcherRef() - * @generated - * @ordered - */ - protected XArtifactMatcher artifactMatcherRef; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ArtifactMatchRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ARTIFACT_MATCH_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher getArtifactMatcherRef() - { - if (artifactMatcherRef != null && artifactMatcherRef.eIsProxy()) - { - InternalEObject oldArtifactMatcherRef = (InternalEObject)artifactMatcherRef; - artifactMatcherRef = (XArtifactMatcher)eResolveProxy(oldArtifactMatcherRef); - if (artifactMatcherRef != oldArtifactMatcherRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - } - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher basicGetArtifactMatcherRef() - { - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactMatcherRef(XArtifactMatcher newArtifactMatcherRef) - { - XArtifactMatcher oldArtifactMatcherRef = artifactMatcherRef; - artifactMatcherRef = newArtifactMatcherRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF: - if (resolve) return getArtifactMatcherRef(); - return basicGetArtifactMatcherRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF: - return artifactMatcherRef != null; - } - return super.eIsSet(featureID); - } - -} //ArtifactMatchRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java deleted file mode 100644 index f21b2f24064..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Artifact Type Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> - * </ul> - * - * @generated - */ -public class ArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements ArtifactTypeRestriction -{ - /** - * The cached value of the '{@link #getArtifactTypeRef() <em>Artifact Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactTypeRef() - * @generated - * @ordered - */ - protected XArtifactType artifactTypeRef; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ArtifactTypeRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ARTIFACT_TYPE_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType getArtifactTypeRef() - { - if (artifactTypeRef != null && artifactTypeRef.eIsProxy()) - { - InternalEObject oldArtifactTypeRef = (InternalEObject)artifactTypeRef; - artifactTypeRef = (XArtifactType)eResolveProxy(oldArtifactTypeRef); - if (artifactTypeRef != oldArtifactTypeRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef)); - } - } - return artifactTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType basicGetArtifactTypeRef() - { - return artifactTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactTypeRef(XArtifactType newArtifactTypeRef) - { - XArtifactType oldArtifactTypeRef = artifactTypeRef; - artifactTypeRef = newArtifactTypeRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - if (resolve) return getArtifactTypeRef(); - return basicGetArtifactTypeRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - setArtifactTypeRef((XArtifactType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - setArtifactTypeRef((XArtifactType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - return artifactTypeRef != null; - } - return super.eIsSet(featureID); - } - -} //ArtifactTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeOverrideOptionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeOverrideOptionImpl.java deleted file mode 100644 index 9fc89ee0f4f..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeOverrideOptionImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Attribute Override Option</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class AttributeOverrideOptionImpl extends MinimalEObjectImpl.Container implements AttributeOverrideOption -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AttributeOverrideOptionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ATTRIBUTE_OVERRIDE_OPTION; - } - -} //AttributeOverrideOptionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java deleted file mode 100644 index 2c9ab9981fd..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java +++ /dev/null @@ -1,238 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Attribute Type Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getAttributeTypeRef <em>Attribute Type Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> - * </ul> - * - * @generated - */ -public class AttributeTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeRestriction -{ - /** - * The cached value of the '{@link #getAttributeTypeRef() <em>Attribute Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAttributeTypeRef() - * @generated - * @ordered - */ - protected XAttributeType attributeTypeRef; - - /** - * The cached value of the '{@link #getArtifactTypeRef() <em>Artifact Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactTypeRef() - * @generated - * @ordered - */ - protected XArtifactType artifactTypeRef; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AttributeTypeRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ATTRIBUTE_TYPE_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType getAttributeTypeRef() - { - if (attributeTypeRef != null && attributeTypeRef.eIsProxy()) - { - InternalEObject oldAttributeTypeRef = (InternalEObject)attributeTypeRef; - attributeTypeRef = (XAttributeType)eResolveProxy(oldAttributeTypeRef); - if (attributeTypeRef != oldAttributeTypeRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF, oldAttributeTypeRef, attributeTypeRef)); - } - } - return attributeTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType basicGetAttributeTypeRef() - { - return attributeTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttributeTypeRef(XAttributeType newAttributeTypeRef) - { - XAttributeType oldAttributeTypeRef = attributeTypeRef; - attributeTypeRef = newAttributeTypeRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF, oldAttributeTypeRef, attributeTypeRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType getArtifactTypeRef() - { - if (artifactTypeRef != null && artifactTypeRef.eIsProxy()) - { - InternalEObject oldArtifactTypeRef = (InternalEObject)artifactTypeRef; - artifactTypeRef = (XArtifactType)eResolveProxy(oldArtifactTypeRef); - if (artifactTypeRef != oldArtifactTypeRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef)); - } - } - return artifactTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType basicGetArtifactTypeRef() - { - return artifactTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactTypeRef(XArtifactType newArtifactTypeRef) - { - XArtifactType oldArtifactTypeRef = artifactTypeRef; - artifactTypeRef = newArtifactTypeRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF: - if (resolve) return getAttributeTypeRef(); - return basicGetAttributeTypeRef(); - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - if (resolve) return getArtifactTypeRef(); - return basicGetArtifactTypeRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF: - setAttributeTypeRef((XAttributeType)newValue); - return; - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - setArtifactTypeRef((XArtifactType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF: - setAttributeTypeRef((XAttributeType)null); - return; - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - setArtifactTypeRef((XArtifactType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF: - return attributeTypeRef != null; - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF: - return artifactTypeRef != null; - } - return super.eIsSet(featureID); - } - -} //AttributeTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/CompoundConditionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/CompoundConditionImpl.java deleted file mode 100644 index f6c827ab5ac..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/CompoundConditionImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EDataTypeEList; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Compound Condition</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.CompoundConditionImpl#getConditions <em>Conditions</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.CompoundConditionImpl#getOperators <em>Operators</em>}</li> - * </ul> - * - * @generated - */ -public class CompoundConditionImpl extends ConditionImpl implements CompoundCondition -{ - /** - * The cached value of the '{@link #getConditions() <em>Conditions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConditions() - * @generated - * @ordered - */ - protected EList<SimpleCondition> conditions; - - /** - * The cached value of the '{@link #getOperators() <em>Operators</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperators() - * @generated - * @ordered - */ - protected EList<XLogicOperator> operators; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CompoundConditionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.COMPOUND_CONDITION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<SimpleCondition> getConditions() - { - if (conditions == null) - { - conditions = new EObjectContainmentEList<SimpleCondition>(SimpleCondition.class, this, OseeDslPackage.COMPOUND_CONDITION__CONDITIONS); - } - return conditions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XLogicOperator> getOperators() - { - if (operators == null) - { - operators = new EDataTypeEList<XLogicOperator>(XLogicOperator.class, this, OseeDslPackage.COMPOUND_CONDITION__OPERATORS); - } - return operators; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.COMPOUND_CONDITION__CONDITIONS: - return ((InternalEList<?>)getConditions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.COMPOUND_CONDITION__CONDITIONS: - return getConditions(); - case OseeDslPackage.COMPOUND_CONDITION__OPERATORS: - return getOperators(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.COMPOUND_CONDITION__CONDITIONS: - getConditions().clear(); - getConditions().addAll((Collection<? extends SimpleCondition>)newValue); - return; - case OseeDslPackage.COMPOUND_CONDITION__OPERATORS: - getOperators().clear(); - getOperators().addAll((Collection<? extends XLogicOperator>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.COMPOUND_CONDITION__CONDITIONS: - getConditions().clear(); - return; - case OseeDslPackage.COMPOUND_CONDITION__OPERATORS: - getOperators().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.COMPOUND_CONDITION__CONDITIONS: - return conditions != null && !conditions.isEmpty(); - case OseeDslPackage.COMPOUND_CONDITION__OPERATORS: - return operators != null && !operators.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (operators: "); - result.append(operators); - result.append(')'); - return result.toString(); - } - -} //CompoundConditionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ConditionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ConditionImpl.java deleted file mode 100644 index b1348122e1b..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ConditionImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.Condition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Condition</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class ConditionImpl extends MinimalEObjectImpl.Container implements Condition -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConditionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.CONDITION; - } - -} //ConditionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java deleted file mode 100644 index f176b53a717..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Hierarchy Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getAccessRules <em>Access Rules</em>}</li> - * </ul> - * - * @generated - */ -public class HierarchyRestrictionImpl extends MinimalEObjectImpl.Container implements HierarchyRestriction -{ - /** - * The cached value of the '{@link #getArtifactMatcherRef() <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactMatcherRef() - * @generated - * @ordered - */ - protected XArtifactMatcher artifactMatcherRef; - - /** - * The cached value of the '{@link #getAccessRules() <em>Access Rules</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAccessRules() - * @generated - * @ordered - */ - protected EList<ObjectRestriction> accessRules; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected HierarchyRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.HIERARCHY_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher getArtifactMatcherRef() - { - if (artifactMatcherRef != null && artifactMatcherRef.eIsProxy()) - { - InternalEObject oldArtifactMatcherRef = (InternalEObject)artifactMatcherRef; - artifactMatcherRef = (XArtifactMatcher)eResolveProxy(oldArtifactMatcherRef); - if (artifactMatcherRef != oldArtifactMatcherRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - } - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher basicGetArtifactMatcherRef() - { - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactMatcherRef(XArtifactMatcher newArtifactMatcherRef) - { - XArtifactMatcher oldArtifactMatcherRef = artifactMatcherRef; - artifactMatcherRef = newArtifactMatcherRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<ObjectRestriction> getAccessRules() - { - if (accessRules == null) - { - accessRules = new EObjectContainmentEList<ObjectRestriction>(ObjectRestriction.class, this, OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES); - } - return accessRules; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: - return ((InternalEList<?>)getAccessRules()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF: - if (resolve) return getArtifactMatcherRef(); - return basicGetArtifactMatcherRef(); - case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: - return getAccessRules(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)newValue); - return; - case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: - getAccessRules().clear(); - getAccessRules().addAll((Collection<? extends ObjectRestriction>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)null); - return; - case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: - getAccessRules().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF: - return artifactMatcherRef != null; - case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: - return accessRules != null && !accessRules.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //HierarchyRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java deleted file mode 100644 index 6d88da24196..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Import</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl#getImportURI <em>Import URI</em>}</li> - * </ul> - * - * @generated - */ -public class ImportImpl extends MinimalEObjectImpl.Container implements Import -{ - /** - * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImportURI() - * @generated - * @ordered - */ - protected static final String IMPORT_URI_EDEFAULT = null; - - /** - * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImportURI() - * @generated - * @ordered - */ - protected String importURI = IMPORT_URI_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ImportImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.IMPORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getImportURI() - { - return importURI; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setImportURI(String newImportURI) - { - String oldImportURI = importURI; - importURI = newImportURI; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.IMPORT__IMPORT_URI, oldImportURI, importURI)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.IMPORT__IMPORT_URI: - return getImportURI(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.IMPORT__IMPORT_URI: - setImportURI((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.IMPORT__IMPORT_URI: - setImportURI(IMPORT_URI_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.IMPORT__IMPORT_URI: - return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (importURI: "); - result.append(importURI); - result.append(')'); - return result.toString(); - } - -} //ImportImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/LegacyRelationTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/LegacyRelationTypeRestrictionImpl.java deleted file mode 100644 index 5c1a938537b..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/LegacyRelationTypeRestrictionImpl.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Legacy Relation Type Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl#getPermission <em>Permission</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl#getRelationTypeRef <em>Relation Type Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl#getRestrictedToSide <em>Restricted To Side</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.LegacyRelationTypeRestrictionImpl#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * </ul> - * - * @generated - */ -public class LegacyRelationTypeRestrictionImpl extends MinimalEObjectImpl.Container implements LegacyRelationTypeRestriction -{ - /** - * The default value of the '{@link #getPermission() <em>Permission</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPermission() - * @generated - * @ordered - */ - protected static final AccessPermissionEnum PERMISSION_EDEFAULT = AccessPermissionEnum.ALLOW; - - /** - * The cached value of the '{@link #getPermission() <em>Permission</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPermission() - * @generated - * @ordered - */ - protected AccessPermissionEnum permission = PERMISSION_EDEFAULT; - - /** - * The cached value of the '{@link #getRelationTypeRef() <em>Relation Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRelationTypeRef() - * @generated - * @ordered - */ - protected XRelationType relationTypeRef; - - /** - * The default value of the '{@link #getRestrictedToSide() <em>Restricted To Side</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRestrictedToSide() - * @generated - * @ordered - */ - protected static final XRelationSideEnum RESTRICTED_TO_SIDE_EDEFAULT = XRelationSideEnum.SIDE_A; - - /** - * The cached value of the '{@link #getRestrictedToSide() <em>Restricted To Side</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRestrictedToSide() - * @generated - * @ordered - */ - protected XRelationSideEnum restrictedToSide = RESTRICTED_TO_SIDE_EDEFAULT; - - /** - * The cached value of the '{@link #getArtifactMatcherRef() <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactMatcherRef() - * @generated - * @ordered - */ - protected XArtifactMatcher artifactMatcherRef; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected LegacyRelationTypeRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.LEGACY_RELATION_TYPE_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AccessPermissionEnum getPermission() - { - return permission; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPermission(AccessPermissionEnum newPermission) - { - AccessPermissionEnum oldPermission = permission; - permission = newPermission == null ? PERMISSION_EDEFAULT : newPermission; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION, oldPermission, permission)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationType getRelationTypeRef() - { - if (relationTypeRef != null && relationTypeRef.eIsProxy()) - { - InternalEObject oldRelationTypeRef = (InternalEObject)relationTypeRef; - relationTypeRef = (XRelationType)eResolveProxy(oldRelationTypeRef); - if (relationTypeRef != oldRelationTypeRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF, oldRelationTypeRef, relationTypeRef)); - } - } - return relationTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationType basicGetRelationTypeRef() - { - return relationTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRelationTypeRef(XRelationType newRelationTypeRef) - { - XRelationType oldRelationTypeRef = relationTypeRef; - relationTypeRef = newRelationTypeRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF, oldRelationTypeRef, relationTypeRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationSideEnum getRestrictedToSide() - { - return restrictedToSide; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRestrictedToSide(XRelationSideEnum newRestrictedToSide) - { - XRelationSideEnum oldRestrictedToSide = restrictedToSide; - restrictedToSide = newRestrictedToSide == null ? RESTRICTED_TO_SIDE_EDEFAULT : newRestrictedToSide; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE, oldRestrictedToSide, restrictedToSide)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher getArtifactMatcherRef() - { - if (artifactMatcherRef != null && artifactMatcherRef.eIsProxy()) - { - InternalEObject oldArtifactMatcherRef = (InternalEObject)artifactMatcherRef; - artifactMatcherRef = (XArtifactMatcher)eResolveProxy(oldArtifactMatcherRef); - if (artifactMatcherRef != oldArtifactMatcherRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - } - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher basicGetArtifactMatcherRef() - { - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactMatcherRef(XArtifactMatcher newArtifactMatcherRef) - { - XArtifactMatcher oldArtifactMatcherRef = artifactMatcherRef; - artifactMatcherRef = newArtifactMatcherRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION: - return getPermission(); - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - if (resolve) return getRelationTypeRef(); - return basicGetRelationTypeRef(); - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - return getRestrictedToSide(); - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF: - if (resolve) return getArtifactMatcherRef(); - return basicGetArtifactMatcherRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION: - setPermission((AccessPermissionEnum)newValue); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - setRelationTypeRef((XRelationType)newValue); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - setRestrictedToSide((XRelationSideEnum)newValue); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION: - setPermission(PERMISSION_EDEFAULT); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - setRelationTypeRef((XRelationType)null); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - setRestrictedToSide(RESTRICTED_TO_SIDE_EDEFAULT); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION: - return permission != PERMISSION_EDEFAULT; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - return relationTypeRef != null; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - return restrictedToSide != RESTRICTED_TO_SIDE_EDEFAULT; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF: - return artifactMatcherRef != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (permission: "); - result.append(permission); - result.append(", restrictedToSide: "); - result.append(restrictedToSide); - result.append(')'); - return result.toString(); - } - -} //LegacyRelationTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java deleted file mode 100644 index b9269fa2942..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Object Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl#getPermission <em>Permission</em>}</li> - * </ul> - * - * @generated - */ -public class ObjectRestrictionImpl extends MinimalEObjectImpl.Container implements ObjectRestriction -{ - /** - * The default value of the '{@link #getPermission() <em>Permission</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPermission() - * @generated - * @ordered - */ - protected static final AccessPermissionEnum PERMISSION_EDEFAULT = AccessPermissionEnum.ALLOW; - - /** - * The cached value of the '{@link #getPermission() <em>Permission</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPermission() - * @generated - * @ordered - */ - protected AccessPermissionEnum permission = PERMISSION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ObjectRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.OBJECT_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AccessPermissionEnum getPermission() - { - return permission; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPermission(AccessPermissionEnum newPermission) - { - AccessPermissionEnum oldPermission = permission; - permission = newPermission == null ? PERMISSION_EDEFAULT : newPermission; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OBJECT_RESTRICTION__PERMISSION, oldPermission, permission)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.OBJECT_RESTRICTION__PERMISSION: - return getPermission(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.OBJECT_RESTRICTION__PERMISSION: - setPermission((AccessPermissionEnum)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.OBJECT_RESTRICTION__PERMISSION: - setPermission(PERMISSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.OBJECT_RESTRICTION__PERMISSION: - return permission != PERMISSION_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (permission: "); - result.append(permission); - result.append(')'); - return result.toString(); - } - -} //ObjectRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java deleted file mode 100644 index 8af169cc0b8..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java +++ /dev/null @@ -1,751 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class OseeDslFactoryImpl extends EFactoryImpl implements OseeDslFactory -{ - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static OseeDslFactory init() - { - try - { - OseeDslFactory theOseeDslFactory = (OseeDslFactory)EPackage.Registry.INSTANCE.getEFactory(OseeDslPackage.eNS_URI); - if (theOseeDslFactory != null) - { - return theOseeDslFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new OseeDslFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeDslFactoryImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case OseeDslPackage.OSEE_DSL: return createOseeDsl(); - case OseeDslPackage.IMPORT: return createImport(); - case OseeDslPackage.OSEE_ELEMENT: return createOseeElement(); - case OseeDslPackage.OSEE_TYPE: return createOseeType(); - case OseeDslPackage.XARTIFACT_TYPE: return createXArtifactType(); - case OseeDslPackage.XATTRIBUTE_TYPE_REF: return createXAttributeTypeRef(); - case OseeDslPackage.XATTRIBUTE_TYPE: return createXAttributeType(); - case OseeDslPackage.XOSEE_ENUM_TYPE: return createXOseeEnumType(); - case OseeDslPackage.XOSEE_ENUM_ENTRY: return createXOseeEnumEntry(); - case OseeDslPackage.XOSEE_ENUM_OVERRIDE: return createXOseeEnumOverride(); - case OseeDslPackage.OVERRIDE_OPTION: return createOverrideOption(); - case OseeDslPackage.ADD_ENUM: return createAddEnum(); - case OseeDslPackage.REMOVE_ENUM: return createRemoveEnum(); - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE: return createXOseeArtifactTypeOverride(); - case OseeDslPackage.ATTRIBUTE_OVERRIDE_OPTION: return createAttributeOverrideOption(); - case OseeDslPackage.ADD_ATTRIBUTE: return createAddAttribute(); - case OseeDslPackage.REMOVE_ATTRIBUTE: return createRemoveAttribute(); - case OseeDslPackage.UPDATE_ATTRIBUTE: return createUpdateAttribute(); - case OseeDslPackage.XRELATION_TYPE: return createXRelationType(); - case OseeDslPackage.CONDITION: return createCondition(); - case OseeDslPackage.SIMPLE_CONDITION: return createSimpleCondition(); - case OseeDslPackage.COMPOUND_CONDITION: return createCompoundCondition(); - case OseeDslPackage.XARTIFACT_MATCHER: return createXArtifactMatcher(); - case OseeDslPackage.ROLE: return createRole(); - case OseeDslPackage.REFERENCED_CONTEXT: return createReferencedContext(); - case OseeDslPackage.USERS_AND_GROUPS: return createUsersAndGroups(); - case OseeDslPackage.ACCESS_CONTEXT: return createAccessContext(); - case OseeDslPackage.HIERARCHY_RESTRICTION: return createHierarchyRestriction(); - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE: return createRelationTypeArtifactTypePredicate(); - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE: return createRelationTypeArtifactPredicate(); - case OseeDslPackage.RELATION_TYPE_PREDICATE: return createRelationTypePredicate(); - case OseeDslPackage.OBJECT_RESTRICTION: return createObjectRestriction(); - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION: return createArtifactMatchRestriction(); - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: return createArtifactTypeRestriction(); - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: return createAttributeTypeRestriction(); - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION: return createLegacyRelationTypeRestriction(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION: return createRelationTypeRestriction(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case OseeDslPackage.RELATION_MULTIPLICITY_ENUM: - return createRelationMultiplicityEnumFromString(eDataType, initialValue); - case OseeDslPackage.COMPARE_OP: - return createCompareOpFromString(eDataType, initialValue); - case OseeDslPackage.XLOGIC_OPERATOR: - return createXLogicOperatorFromString(eDataType, initialValue); - case OseeDslPackage.MATCH_FIELD: - return createMatchFieldFromString(eDataType, initialValue); - case OseeDslPackage.ACCESS_PERMISSION_ENUM: - return createAccessPermissionEnumFromString(eDataType, initialValue); - case OseeDslPackage.RELATION_TYPE_MATCH: - return createRelationTypeMatchFromString(eDataType, initialValue); - case OseeDslPackage.XRELATION_SIDE_ENUM: - return createXRelationSideEnumFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case OseeDslPackage.RELATION_MULTIPLICITY_ENUM: - return convertRelationMultiplicityEnumToString(eDataType, instanceValue); - case OseeDslPackage.COMPARE_OP: - return convertCompareOpToString(eDataType, instanceValue); - case OseeDslPackage.XLOGIC_OPERATOR: - return convertXLogicOperatorToString(eDataType, instanceValue); - case OseeDslPackage.MATCH_FIELD: - return convertMatchFieldToString(eDataType, instanceValue); - case OseeDslPackage.ACCESS_PERMISSION_ENUM: - return convertAccessPermissionEnumToString(eDataType, instanceValue); - case OseeDslPackage.RELATION_TYPE_MATCH: - return convertRelationTypeMatchToString(eDataType, instanceValue); - case OseeDslPackage.XRELATION_SIDE_ENUM: - return convertXRelationSideEnumToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeDsl createOseeDsl() - { - OseeDslImpl oseeDsl = new OseeDslImpl(); - return oseeDsl; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Import createImport() - { - ImportImpl import_ = new ImportImpl(); - return import_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeElement createOseeElement() - { - OseeElementImpl oseeElement = new OseeElementImpl(); - return oseeElement; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeType createOseeType() - { - OseeTypeImpl oseeType = new OseeTypeImpl(); - return oseeType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType createXArtifactType() - { - XArtifactTypeImpl xArtifactType = new XArtifactTypeImpl(); - return xArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeTypeRef createXAttributeTypeRef() - { - XAttributeTypeRefImpl xAttributeTypeRef = new XAttributeTypeRefImpl(); - return xAttributeTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType createXAttributeType() - { - XAttributeTypeImpl xAttributeType = new XAttributeTypeImpl(); - return xAttributeType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumType createXOseeEnumType() - { - XOseeEnumTypeImpl xOseeEnumType = new XOseeEnumTypeImpl(); - return xOseeEnumType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumEntry createXOseeEnumEntry() - { - XOseeEnumEntryImpl xOseeEnumEntry = new XOseeEnumEntryImpl(); - return xOseeEnumEntry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumOverride createXOseeEnumOverride() - { - XOseeEnumOverrideImpl xOseeEnumOverride = new XOseeEnumOverrideImpl(); - return xOseeEnumOverride; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OverrideOption createOverrideOption() - { - OverrideOptionImpl overrideOption = new OverrideOptionImpl(); - return overrideOption; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddEnum createAddEnum() - { - AddEnumImpl addEnum = new AddEnumImpl(); - return addEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RemoveEnum createRemoveEnum() - { - RemoveEnumImpl removeEnum = new RemoveEnumImpl(); - return removeEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeArtifactTypeOverride createXOseeArtifactTypeOverride() - { - XOseeArtifactTypeOverrideImpl xOseeArtifactTypeOverride = new XOseeArtifactTypeOverrideImpl(); - return xOseeArtifactTypeOverride; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AttributeOverrideOption createAttributeOverrideOption() - { - AttributeOverrideOptionImpl attributeOverrideOption = new AttributeOverrideOptionImpl(); - return attributeOverrideOption; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddAttribute createAddAttribute() - { - AddAttributeImpl addAttribute = new AddAttributeImpl(); - return addAttribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RemoveAttribute createRemoveAttribute() - { - RemoveAttributeImpl removeAttribute = new RemoveAttributeImpl(); - return removeAttribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UpdateAttribute createUpdateAttribute() - { - UpdateAttributeImpl updateAttribute = new UpdateAttributeImpl(); - return updateAttribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationType createXRelationType() - { - XRelationTypeImpl xRelationType = new XRelationTypeImpl(); - return xRelationType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Condition createCondition() - { - ConditionImpl condition = new ConditionImpl(); - return condition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SimpleCondition createSimpleCondition() - { - SimpleConditionImpl simpleCondition = new SimpleConditionImpl(); - return simpleCondition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CompoundCondition createCompoundCondition() - { - CompoundConditionImpl compoundCondition = new CompoundConditionImpl(); - return compoundCondition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher createXArtifactMatcher() - { - XArtifactMatcherImpl xArtifactMatcher = new XArtifactMatcherImpl(); - return xArtifactMatcher; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Role createRole() - { - RoleImpl role = new RoleImpl(); - return role; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ReferencedContext createReferencedContext() - { - ReferencedContextImpl referencedContext = new ReferencedContextImpl(); - return referencedContext; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UsersAndGroups createUsersAndGroups() - { - UsersAndGroupsImpl usersAndGroups = new UsersAndGroupsImpl(); - return usersAndGroups; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AccessContext createAccessContext() - { - AccessContextImpl accessContext = new AccessContextImpl(); - return accessContext; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public HierarchyRestriction createHierarchyRestriction() - { - HierarchyRestrictionImpl hierarchyRestriction = new HierarchyRestrictionImpl(); - return hierarchyRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationTypeArtifactTypePredicate createRelationTypeArtifactTypePredicate() - { - RelationTypeArtifactTypePredicateImpl relationTypeArtifactTypePredicate = new RelationTypeArtifactTypePredicateImpl(); - return relationTypeArtifactTypePredicate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationTypeArtifactPredicate createRelationTypeArtifactPredicate() - { - RelationTypeArtifactPredicateImpl relationTypeArtifactPredicate = new RelationTypeArtifactPredicateImpl(); - return relationTypeArtifactPredicate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationTypePredicate createRelationTypePredicate() - { - RelationTypePredicateImpl relationTypePredicate = new RelationTypePredicateImpl(); - return relationTypePredicate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectRestriction createObjectRestriction() - { - ObjectRestrictionImpl objectRestriction = new ObjectRestrictionImpl(); - return objectRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ArtifactMatchRestriction createArtifactMatchRestriction() - { - ArtifactMatchRestrictionImpl artifactMatchRestriction = new ArtifactMatchRestrictionImpl(); - return artifactMatchRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ArtifactTypeRestriction createArtifactTypeRestriction() - { - ArtifactTypeRestrictionImpl artifactTypeRestriction = new ArtifactTypeRestrictionImpl(); - return artifactTypeRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AttributeTypeRestriction createAttributeTypeRestriction() - { - AttributeTypeRestrictionImpl attributeTypeRestriction = new AttributeTypeRestrictionImpl(); - return attributeTypeRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LegacyRelationTypeRestriction createLegacyRelationTypeRestriction() - { - LegacyRelationTypeRestrictionImpl legacyRelationTypeRestriction = new LegacyRelationTypeRestrictionImpl(); - return legacyRelationTypeRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationTypeRestriction createRelationTypeRestriction() - { - RelationTypeRestrictionImpl relationTypeRestriction = new RelationTypeRestrictionImpl(); - return relationTypeRestriction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationMultiplicityEnum createRelationMultiplicityEnumFromString(EDataType eDataType, String initialValue) - { - RelationMultiplicityEnum result = RelationMultiplicityEnum.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertRelationMultiplicityEnumToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CompareOp createCompareOpFromString(EDataType eDataType, String initialValue) - { - CompareOp result = CompareOp.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertCompareOpToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XLogicOperator createXLogicOperatorFromString(EDataType eDataType, String initialValue) - { - XLogicOperator result = XLogicOperator.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertXLogicOperatorToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MatchField createMatchFieldFromString(EDataType eDataType, String initialValue) - { - MatchField result = MatchField.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertMatchFieldToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AccessPermissionEnum createAccessPermissionEnumFromString(EDataType eDataType, String initialValue) - { - AccessPermissionEnum result = AccessPermissionEnum.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertAccessPermissionEnumToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationTypeMatch createRelationTypeMatchFromString(EDataType eDataType, String initialValue) - { - RelationTypeMatch result = RelationTypeMatch.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertRelationTypeMatchToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationSideEnum createXRelationSideEnumFromString(EDataType eDataType, String initialValue) - { - XRelationSideEnum result = XRelationSideEnum.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertXRelationSideEnumToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeDslPackage getOseeDslPackage() - { - return (OseeDslPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static OseeDslPackage getPackage() - { - return OseeDslPackage.eINSTANCE; - } - -} //OseeDslFactoryImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java deleted file mode 100644 index 7a70b4b42c9..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java +++ /dev/null @@ -1,518 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Role; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Osee Dsl</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getImports <em>Imports</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactTypes <em>Artifact Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getRelationTypes <em>Relation Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAttributeTypes <em>Attribute Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getEnumTypes <em>Enum Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getEnumOverrides <em>Enum Overrides</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactTypeOverrides <em>Artifact Type Overrides</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactMatchRefs <em>Artifact Match Refs</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAccessDeclarations <em>Access Declarations</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getRoleDeclarations <em>Role Declarations</em>}</li> - * </ul> - * - * @generated - */ -public class OseeDslImpl extends MinimalEObjectImpl.Container implements OseeDsl -{ - /** - * The cached value of the '{@link #getImports() <em>Imports</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImports() - * @generated - * @ordered - */ - protected EList<Import> imports; - - /** - * The cached value of the '{@link #getArtifactTypes() <em>Artifact Types</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactTypes() - * @generated - * @ordered - */ - protected EList<XArtifactType> artifactTypes; - - /** - * The cached value of the '{@link #getRelationTypes() <em>Relation Types</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRelationTypes() - * @generated - * @ordered - */ - protected EList<XRelationType> relationTypes; - - /** - * The cached value of the '{@link #getAttributeTypes() <em>Attribute Types</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAttributeTypes() - * @generated - * @ordered - */ - protected EList<XAttributeType> attributeTypes; - - /** - * The cached value of the '{@link #getEnumTypes() <em>Enum Types</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumTypes() - * @generated - * @ordered - */ - protected EList<XOseeEnumType> enumTypes; - - /** - * The cached value of the '{@link #getEnumOverrides() <em>Enum Overrides</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumOverrides() - * @generated - * @ordered - */ - protected EList<XOseeEnumOverride> enumOverrides; - - /** - * The cached value of the '{@link #getArtifactTypeOverrides() <em>Artifact Type Overrides</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactTypeOverrides() - * @generated - * @ordered - */ - protected EList<XOseeArtifactTypeOverride> artifactTypeOverrides; - - /** - * The cached value of the '{@link #getArtifactMatchRefs() <em>Artifact Match Refs</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactMatchRefs() - * @generated - * @ordered - */ - protected EList<XArtifactMatcher> artifactMatchRefs; - - /** - * The cached value of the '{@link #getAccessDeclarations() <em>Access Declarations</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAccessDeclarations() - * @generated - * @ordered - */ - protected EList<AccessContext> accessDeclarations; - - /** - * The cached value of the '{@link #getRoleDeclarations() <em>Role Declarations</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoleDeclarations() - * @generated - * @ordered - */ - protected EList<Role> roleDeclarations; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OseeDslImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.OSEE_DSL; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Import> getImports() - { - if (imports == null) - { - imports = new EObjectContainmentEList<Import>(Import.class, this, OseeDslPackage.OSEE_DSL__IMPORTS); - } - return imports; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XArtifactType> getArtifactTypes() - { - if (artifactTypes == null) - { - artifactTypes = new EObjectContainmentEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES); - } - return artifactTypes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XRelationType> getRelationTypes() - { - if (relationTypes == null) - { - relationTypes = new EObjectContainmentEList<XRelationType>(XRelationType.class, this, OseeDslPackage.OSEE_DSL__RELATION_TYPES); - } - return relationTypes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XAttributeType> getAttributeTypes() - { - if (attributeTypes == null) - { - attributeTypes = new EObjectContainmentEList<XAttributeType>(XAttributeType.class, this, OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES); - } - return attributeTypes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XOseeEnumType> getEnumTypes() - { - if (enumTypes == null) - { - enumTypes = new EObjectContainmentEList<XOseeEnumType>(XOseeEnumType.class, this, OseeDslPackage.OSEE_DSL__ENUM_TYPES); - } - return enumTypes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XOseeEnumOverride> getEnumOverrides() - { - if (enumOverrides == null) - { - enumOverrides = new EObjectContainmentEList<XOseeEnumOverride>(XOseeEnumOverride.class, this, OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES); - } - return enumOverrides; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XOseeArtifactTypeOverride> getArtifactTypeOverrides() - { - if (artifactTypeOverrides == null) - { - artifactTypeOverrides = new EObjectContainmentEList<XOseeArtifactTypeOverride>(XOseeArtifactTypeOverride.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_TYPE_OVERRIDES); - } - return artifactTypeOverrides; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XArtifactMatcher> getArtifactMatchRefs() - { - if (artifactMatchRefs == null) - { - artifactMatchRefs = new EObjectContainmentEList<XArtifactMatcher>(XArtifactMatcher.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_MATCH_REFS); - } - return artifactMatchRefs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<AccessContext> getAccessDeclarations() - { - if (accessDeclarations == null) - { - accessDeclarations = new EObjectContainmentEList<AccessContext>(AccessContext.class, this, OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS); - } - return accessDeclarations; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Role> getRoleDeclarations() - { - if (roleDeclarations == null) - { - roleDeclarations = new EObjectContainmentEList<Role>(Role.class, this, OseeDslPackage.OSEE_DSL__ROLE_DECLARATIONS); - } - return roleDeclarations; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.OSEE_DSL__IMPORTS: - return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: - return ((InternalEList<?>)getArtifactTypes()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__RELATION_TYPES: - return ((InternalEList<?>)getRelationTypes()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: - return ((InternalEList<?>)getAttributeTypes()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ENUM_TYPES: - return ((InternalEList<?>)getEnumTypes()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: - return ((InternalEList<?>)getEnumOverrides()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPE_OVERRIDES: - return ((InternalEList<?>)getArtifactTypeOverrides()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ARTIFACT_MATCH_REFS: - return ((InternalEList<?>)getArtifactMatchRefs()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - return ((InternalEList<?>)getAccessDeclarations()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ROLE_DECLARATIONS: - return ((InternalEList<?>)getRoleDeclarations()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.OSEE_DSL__IMPORTS: - return getImports(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: - return getArtifactTypes(); - case OseeDslPackage.OSEE_DSL__RELATION_TYPES: - return getRelationTypes(); - case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: - return getAttributeTypes(); - case OseeDslPackage.OSEE_DSL__ENUM_TYPES: - return getEnumTypes(); - case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: - return getEnumOverrides(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPE_OVERRIDES: - return getArtifactTypeOverrides(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_MATCH_REFS: - return getArtifactMatchRefs(); - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - return getAccessDeclarations(); - case OseeDslPackage.OSEE_DSL__ROLE_DECLARATIONS: - return getRoleDeclarations(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.OSEE_DSL__IMPORTS: - getImports().clear(); - getImports().addAll((Collection<? extends Import>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: - getArtifactTypes().clear(); - getArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue); - return; - case OseeDslPackage.OSEE_DSL__RELATION_TYPES: - getRelationTypes().clear(); - getRelationTypes().addAll((Collection<? extends XRelationType>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: - getAttributeTypes().clear(); - getAttributeTypes().addAll((Collection<? extends XAttributeType>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ENUM_TYPES: - getEnumTypes().clear(); - getEnumTypes().addAll((Collection<? extends XOseeEnumType>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: - getEnumOverrides().clear(); - getEnumOverrides().addAll((Collection<? extends XOseeEnumOverride>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPE_OVERRIDES: - getArtifactTypeOverrides().clear(); - getArtifactTypeOverrides().addAll((Collection<? extends XOseeArtifactTypeOverride>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_MATCH_REFS: - getArtifactMatchRefs().clear(); - getArtifactMatchRefs().addAll((Collection<? extends XArtifactMatcher>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - getAccessDeclarations().clear(); - getAccessDeclarations().addAll((Collection<? extends AccessContext>)newValue); - return; - case OseeDslPackage.OSEE_DSL__ROLE_DECLARATIONS: - getRoleDeclarations().clear(); - getRoleDeclarations().addAll((Collection<? extends Role>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.OSEE_DSL__IMPORTS: - getImports().clear(); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: - getArtifactTypes().clear(); - return; - case OseeDslPackage.OSEE_DSL__RELATION_TYPES: - getRelationTypes().clear(); - return; - case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: - getAttributeTypes().clear(); - return; - case OseeDslPackage.OSEE_DSL__ENUM_TYPES: - getEnumTypes().clear(); - return; - case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: - getEnumOverrides().clear(); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPE_OVERRIDES: - getArtifactTypeOverrides().clear(); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_MATCH_REFS: - getArtifactMatchRefs().clear(); - return; - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - getAccessDeclarations().clear(); - return; - case OseeDslPackage.OSEE_DSL__ROLE_DECLARATIONS: - getRoleDeclarations().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.OSEE_DSL__IMPORTS: - return imports != null && !imports.isEmpty(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: - return artifactTypes != null && !artifactTypes.isEmpty(); - case OseeDslPackage.OSEE_DSL__RELATION_TYPES: - return relationTypes != null && !relationTypes.isEmpty(); - case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: - return attributeTypes != null && !attributeTypes.isEmpty(); - case OseeDslPackage.OSEE_DSL__ENUM_TYPES: - return enumTypes != null && !enumTypes.isEmpty(); - case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: - return enumOverrides != null && !enumOverrides.isEmpty(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPE_OVERRIDES: - return artifactTypeOverrides != null && !artifactTypeOverrides.isEmpty(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_MATCH_REFS: - return artifactMatchRefs != null && !artifactMatchRefs.isEmpty(); - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - return accessDeclarations != null && !accessDeclarations.isEmpty(); - case OseeDslPackage.OSEE_DSL__ROLE_DECLARATIONS: - return roleDeclarations != null && !roleDeclarations.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //OseeDslImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java deleted file mode 100644 index 38b7465619f..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java +++ /dev/null @@ -1,2210 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp; -import org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Condition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -import org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeMatch; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Role; -import org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class OseeDslPackageImpl extends EPackageImpl implements OseeDslPackage -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass oseeDslEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass importEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass oseeElementEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass oseeTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xArtifactTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xAttributeTypeRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xAttributeTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xOseeEnumTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xOseeEnumEntryEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xOseeEnumOverrideEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass overrideOptionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass addEnumEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass removeEnumEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xOseeArtifactTypeOverrideEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass attributeOverrideOptionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass addAttributeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass removeAttributeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass updateAttributeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xRelationTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass conditionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass simpleConditionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass compoundConditionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xArtifactMatcherEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass roleEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass referencedContextEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass usersAndGroupsEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass accessContextEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass hierarchyRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass relationTypeArtifactTypePredicateEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass relationTypeArtifactPredicateEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass relationTypePredicateEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass objectRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass artifactMatchRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass artifactTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass attributeTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass legacyRelationTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass relationTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum relationMultiplicityEnumEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum compareOpEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum xLogicOperatorEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum matchFieldEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum accessPermissionEnumEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum relationTypeMatchEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum xRelationSideEnumEEnum = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#eNS_URI - * @see #init() - * @generated - */ - private OseeDslPackageImpl() - { - super(eNS_URI, OseeDslFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link OseeDslPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static OseeDslPackage init() - { - if (isInited) return (OseeDslPackage)EPackage.Registry.INSTANCE.getEPackage(OseeDslPackage.eNS_URI); - - // Obtain or create and register package - OseeDslPackageImpl theOseeDslPackage = (OseeDslPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OseeDslPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OseeDslPackageImpl()); - - isInited = true; - - // Create package meta-data objects - theOseeDslPackage.createPackageContents(); - - // Initialize created meta-data - theOseeDslPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theOseeDslPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(OseeDslPackage.eNS_URI, theOseeDslPackage); - return theOseeDslPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOseeDsl() - { - return oseeDslEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_Imports() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_ArtifactTypes() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_RelationTypes() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_AttributeTypes() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_EnumTypes() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_EnumOverrides() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_ArtifactTypeOverrides() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_ArtifactMatchRefs() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_AccessDeclarations() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOseeDsl_RoleDeclarations() - { - return (EReference)oseeDslEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getImport() - { - return importEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImport_ImportURI() - { - return (EAttribute)importEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOseeElement() - { - return oseeElementEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOseeType() - { - return oseeTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getOseeType_Name() - { - return (EAttribute)oseeTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getOseeType_Id() - { - return (EAttribute)oseeTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXArtifactType() - { - return xArtifactTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXArtifactType_Abstract() - { - return (EAttribute)xArtifactTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXArtifactType_SuperArtifactTypes() - { - return (EReference)xArtifactTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXArtifactType_ValidAttributeTypes() - { - return (EReference)xArtifactTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXAttributeTypeRef() - { - return xAttributeTypeRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXAttributeTypeRef_ValidAttributeType() - { - return (EReference)xAttributeTypeRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeTypeRef_BranchUuid() - { - return (EAttribute)xAttributeTypeRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXAttributeType() - { - return xAttributeTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_BaseAttributeType() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXAttributeType_Override() - { - return (EReference)xAttributeTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_DataProvider() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_Min() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_Max() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_TaggerId() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXAttributeType_EnumType() - { - return (EReference)xAttributeTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_Description() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_DefaultValue() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_FileExtension() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXAttributeType_MediaType() - { - return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXOseeEnumType() - { - return xOseeEnumTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXOseeEnumType_EnumEntries() - { - return (EReference)xOseeEnumTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXOseeEnumEntry() - { - return xOseeEnumEntryEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXOseeEnumEntry_Name() - { - return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXOseeEnumEntry_Ordinal() - { - return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXOseeEnumEntry_Description() - { - return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXOseeEnumOverride() - { - return xOseeEnumOverrideEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXOseeEnumOverride_OverridenEnumType() - { - return (EReference)xOseeEnumOverrideEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXOseeEnumOverride_InheritAll() - { - return (EAttribute)xOseeEnumOverrideEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXOseeEnumOverride_OverrideOptions() - { - return (EReference)xOseeEnumOverrideEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOverrideOption() - { - return overrideOptionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAddEnum() - { - return addEnumEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAddEnum_EnumEntry() - { - return (EAttribute)addEnumEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAddEnum_Ordinal() - { - return (EAttribute)addEnumEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAddEnum_Description() - { - return (EAttribute)addEnumEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRemoveEnum() - { - return removeEnumEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRemoveEnum_EnumEntry() - { - return (EReference)removeEnumEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXOseeArtifactTypeOverride() - { - return xOseeArtifactTypeOverrideEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXOseeArtifactTypeOverride_OverridenArtifactType() - { - return (EReference)xOseeArtifactTypeOverrideEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXOseeArtifactTypeOverride_InheritAll() - { - return (EAttribute)xOseeArtifactTypeOverrideEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXOseeArtifactTypeOverride_OverrideOptions() - { - return (EReference)xOseeArtifactTypeOverrideEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAttributeOverrideOption() - { - return attributeOverrideOptionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAddAttribute() - { - return addAttributeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAddAttribute_Attribute() - { - return (EReference)addAttributeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRemoveAttribute() - { - return removeAttributeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRemoveAttribute_Attribute() - { - return (EReference)removeAttributeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUpdateAttribute() - { - return updateAttributeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getUpdateAttribute_Attribute() - { - return (EReference)updateAttributeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXRelationType() - { - return xRelationTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXRelationType_SideAName() - { - return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXRelationType_SideAArtifactType() - { - return (EReference)xRelationTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXRelationType_SideBName() - { - return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXRelationType_SideBArtifactType() - { - return (EReference)xRelationTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXRelationType_DefaultOrderType() - { - return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXRelationType_Multiplicity() - { - return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCondition() - { - return conditionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSimpleCondition() - { - return simpleConditionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSimpleCondition_Field() - { - return (EAttribute)simpleConditionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSimpleCondition_Op() - { - return (EAttribute)simpleConditionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSimpleCondition_Expression() - { - return (EAttribute)simpleConditionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCompoundCondition() - { - return compoundConditionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getCompoundCondition_Conditions() - { - return (EReference)compoundConditionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCompoundCondition_Operators() - { - return (EAttribute)compoundConditionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXArtifactMatcher() - { - return xArtifactMatcherEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXArtifactMatcher_Name() - { - return (EAttribute)xArtifactMatcherEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getXArtifactMatcher_Conditions() - { - return (EReference)xArtifactMatcherEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXArtifactMatcher_Operators() - { - return (EAttribute)xArtifactMatcherEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRole() - { - return roleEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRole_Name() - { - return (EAttribute)roleEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRole_SuperRoles() - { - return (EReference)roleEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRole_UsersAndGroups() - { - return (EReference)roleEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRole_ReferencedContexts() - { - return (EReference)roleEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getReferencedContext() - { - return referencedContextEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getReferencedContext_AccessContextRef() - { - return (EAttribute)referencedContextEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUsersAndGroups() - { - return usersAndGroupsEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUsersAndGroups_UserOrGroupGuid() - { - return (EAttribute)usersAndGroupsEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAccessContext() - { - return accessContextEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAccessContext_Name() - { - return (EAttribute)accessContextEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAccessContext_SuperAccessContexts() - { - return (EReference)accessContextEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAccessContext_Guid() - { - return (EAttribute)accessContextEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAccessContext_AccessRules() - { - return (EReference)accessContextEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAccessContext_HierarchyRestrictions() - { - return (EReference)accessContextEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getHierarchyRestriction() - { - return hierarchyRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getHierarchyRestriction_ArtifactMatcherRef() - { - return (EReference)hierarchyRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getHierarchyRestriction_AccessRules() - { - return (EReference)hierarchyRestrictionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRelationTypeArtifactTypePredicate() - { - return relationTypeArtifactTypePredicateEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRelationTypeArtifactTypePredicate_ArtifactTypeRef() - { - return (EReference)relationTypeArtifactTypePredicateEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRelationTypeArtifactPredicate() - { - return relationTypeArtifactPredicateEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRelationTypeArtifactPredicate_ArtifactMatcherRef() - { - return (EReference)relationTypeArtifactPredicateEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRelationTypePredicate() - { - return relationTypePredicateEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getObjectRestriction() - { - return objectRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getObjectRestriction_Permission() - { - return (EAttribute)objectRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getArtifactMatchRestriction() - { - return artifactMatchRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getArtifactMatchRestriction_ArtifactMatcherRef() - { - return (EReference)artifactMatchRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getArtifactTypeRestriction() - { - return artifactTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getArtifactTypeRestriction_ArtifactTypeRef() - { - return (EReference)artifactTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAttributeTypeRestriction() - { - return attributeTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAttributeTypeRestriction_AttributeTypeRef() - { - return (EReference)attributeTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAttributeTypeRestriction_ArtifactTypeRef() - { - return (EReference)attributeTypeRestrictionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getLegacyRelationTypeRestriction() - { - return legacyRelationTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLegacyRelationTypeRestriction_Permission() - { - return (EAttribute)legacyRelationTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getLegacyRelationTypeRestriction_RelationTypeRef() - { - return (EReference)legacyRelationTypeRestrictionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLegacyRelationTypeRestriction_RestrictedToSide() - { - return (EAttribute)legacyRelationTypeRestrictionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getLegacyRelationTypeRestriction_ArtifactMatcherRef() - { - return (EReference)legacyRelationTypeRestrictionEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRelationTypeRestriction() - { - return relationTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRelationTypeRestriction_RelationTypeMatch() - { - return (EAttribute)relationTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRelationTypeRestriction_RelationTypeRef() - { - return (EReference)relationTypeRestrictionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRelationTypeRestriction_RestrictedToSide() - { - return (EAttribute)relationTypeRestrictionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRelationTypeRestriction_Predicate() - { - return (EReference)relationTypeRestrictionEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getRelationMultiplicityEnum() - { - return relationMultiplicityEnumEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getCompareOp() - { - return compareOpEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getXLogicOperator() - { - return xLogicOperatorEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getMatchField() - { - return matchFieldEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getAccessPermissionEnum() - { - return accessPermissionEnumEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getRelationTypeMatch() - { - return relationTypeMatchEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getXRelationSideEnum() - { - return xRelationSideEnumEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeDslFactory getOseeDslFactory() - { - return (OseeDslFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - oseeDslEClass = createEClass(OSEE_DSL); - createEReference(oseeDslEClass, OSEE_DSL__IMPORTS); - createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_TYPES); - createEReference(oseeDslEClass, OSEE_DSL__RELATION_TYPES); - createEReference(oseeDslEClass, OSEE_DSL__ATTRIBUTE_TYPES); - createEReference(oseeDslEClass, OSEE_DSL__ENUM_TYPES); - createEReference(oseeDslEClass, OSEE_DSL__ENUM_OVERRIDES); - createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_TYPE_OVERRIDES); - createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_MATCH_REFS); - createEReference(oseeDslEClass, OSEE_DSL__ACCESS_DECLARATIONS); - createEReference(oseeDslEClass, OSEE_DSL__ROLE_DECLARATIONS); - - importEClass = createEClass(IMPORT); - createEAttribute(importEClass, IMPORT__IMPORT_URI); - - oseeElementEClass = createEClass(OSEE_ELEMENT); - - oseeTypeEClass = createEClass(OSEE_TYPE); - createEAttribute(oseeTypeEClass, OSEE_TYPE__NAME); - createEAttribute(oseeTypeEClass, OSEE_TYPE__ID); - - xArtifactTypeEClass = createEClass(XARTIFACT_TYPE); - createEAttribute(xArtifactTypeEClass, XARTIFACT_TYPE__ABSTRACT); - createEReference(xArtifactTypeEClass, XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES); - createEReference(xArtifactTypeEClass, XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES); - - xAttributeTypeRefEClass = createEClass(XATTRIBUTE_TYPE_REF); - createEReference(xAttributeTypeRefEClass, XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE); - createEAttribute(xAttributeTypeRefEClass, XATTRIBUTE_TYPE_REF__BRANCH_UUID); - - xAttributeTypeEClass = createEClass(XATTRIBUTE_TYPE); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE); - createEReference(xAttributeTypeEClass, XATTRIBUTE_TYPE__OVERRIDE); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DATA_PROVIDER); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MIN); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MAX); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__TAGGER_ID); - createEReference(xAttributeTypeEClass, XATTRIBUTE_TYPE__ENUM_TYPE); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DESCRIPTION); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DEFAULT_VALUE); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__FILE_EXTENSION); - createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MEDIA_TYPE); - - xOseeEnumTypeEClass = createEClass(XOSEE_ENUM_TYPE); - createEReference(xOseeEnumTypeEClass, XOSEE_ENUM_TYPE__ENUM_ENTRIES); - - xOseeEnumEntryEClass = createEClass(XOSEE_ENUM_ENTRY); - createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__NAME); - createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__ORDINAL); - createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__DESCRIPTION); - - xOseeEnumOverrideEClass = createEClass(XOSEE_ENUM_OVERRIDE); - createEReference(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE); - createEAttribute(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__INHERIT_ALL); - createEReference(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS); - - overrideOptionEClass = createEClass(OVERRIDE_OPTION); - - addEnumEClass = createEClass(ADD_ENUM); - createEAttribute(addEnumEClass, ADD_ENUM__ENUM_ENTRY); - createEAttribute(addEnumEClass, ADD_ENUM__ORDINAL); - createEAttribute(addEnumEClass, ADD_ENUM__DESCRIPTION); - - removeEnumEClass = createEClass(REMOVE_ENUM); - createEReference(removeEnumEClass, REMOVE_ENUM__ENUM_ENTRY); - - xOseeArtifactTypeOverrideEClass = createEClass(XOSEE_ARTIFACT_TYPE_OVERRIDE); - createEReference(xOseeArtifactTypeOverrideEClass, XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE); - createEAttribute(xOseeArtifactTypeOverrideEClass, XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL); - createEReference(xOseeArtifactTypeOverrideEClass, XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS); - - attributeOverrideOptionEClass = createEClass(ATTRIBUTE_OVERRIDE_OPTION); - - addAttributeEClass = createEClass(ADD_ATTRIBUTE); - createEReference(addAttributeEClass, ADD_ATTRIBUTE__ATTRIBUTE); - - removeAttributeEClass = createEClass(REMOVE_ATTRIBUTE); - createEReference(removeAttributeEClass, REMOVE_ATTRIBUTE__ATTRIBUTE); - - updateAttributeEClass = createEClass(UPDATE_ATTRIBUTE); - createEReference(updateAttributeEClass, UPDATE_ATTRIBUTE__ATTRIBUTE); - - xRelationTypeEClass = createEClass(XRELATION_TYPE); - createEAttribute(xRelationTypeEClass, XRELATION_TYPE__SIDE_ANAME); - createEReference(xRelationTypeEClass, XRELATION_TYPE__SIDE_AARTIFACT_TYPE); - createEAttribute(xRelationTypeEClass, XRELATION_TYPE__SIDE_BNAME); - createEReference(xRelationTypeEClass, XRELATION_TYPE__SIDE_BARTIFACT_TYPE); - createEAttribute(xRelationTypeEClass, XRELATION_TYPE__DEFAULT_ORDER_TYPE); - createEAttribute(xRelationTypeEClass, XRELATION_TYPE__MULTIPLICITY); - - conditionEClass = createEClass(CONDITION); - - simpleConditionEClass = createEClass(SIMPLE_CONDITION); - createEAttribute(simpleConditionEClass, SIMPLE_CONDITION__FIELD); - createEAttribute(simpleConditionEClass, SIMPLE_CONDITION__OP); - createEAttribute(simpleConditionEClass, SIMPLE_CONDITION__EXPRESSION); - - compoundConditionEClass = createEClass(COMPOUND_CONDITION); - createEReference(compoundConditionEClass, COMPOUND_CONDITION__CONDITIONS); - createEAttribute(compoundConditionEClass, COMPOUND_CONDITION__OPERATORS); - - xArtifactMatcherEClass = createEClass(XARTIFACT_MATCHER); - createEAttribute(xArtifactMatcherEClass, XARTIFACT_MATCHER__NAME); - createEReference(xArtifactMatcherEClass, XARTIFACT_MATCHER__CONDITIONS); - createEAttribute(xArtifactMatcherEClass, XARTIFACT_MATCHER__OPERATORS); - - roleEClass = createEClass(ROLE); - createEAttribute(roleEClass, ROLE__NAME); - createEReference(roleEClass, ROLE__SUPER_ROLES); - createEReference(roleEClass, ROLE__USERS_AND_GROUPS); - createEReference(roleEClass, ROLE__REFERENCED_CONTEXTS); - - referencedContextEClass = createEClass(REFERENCED_CONTEXT); - createEAttribute(referencedContextEClass, REFERENCED_CONTEXT__ACCESS_CONTEXT_REF); - - usersAndGroupsEClass = createEClass(USERS_AND_GROUPS); - createEAttribute(usersAndGroupsEClass, USERS_AND_GROUPS__USER_OR_GROUP_GUID); - - accessContextEClass = createEClass(ACCESS_CONTEXT); - createEAttribute(accessContextEClass, ACCESS_CONTEXT__NAME); - createEReference(accessContextEClass, ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS); - createEAttribute(accessContextEClass, ACCESS_CONTEXT__GUID); - createEReference(accessContextEClass, ACCESS_CONTEXT__ACCESS_RULES); - createEReference(accessContextEClass, ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS); - - hierarchyRestrictionEClass = createEClass(HIERARCHY_RESTRICTION); - createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ARTIFACT_MATCHER_REF); - createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ACCESS_RULES); - - relationTypeArtifactTypePredicateEClass = createEClass(RELATION_TYPE_ARTIFACT_TYPE_PREDICATE); - createEReference(relationTypeArtifactTypePredicateEClass, RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF); - - relationTypeArtifactPredicateEClass = createEClass(RELATION_TYPE_ARTIFACT_PREDICATE); - createEReference(relationTypeArtifactPredicateEClass, RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF); - - relationTypePredicateEClass = createEClass(RELATION_TYPE_PREDICATE); - - objectRestrictionEClass = createEClass(OBJECT_RESTRICTION); - createEAttribute(objectRestrictionEClass, OBJECT_RESTRICTION__PERMISSION); - - artifactMatchRestrictionEClass = createEClass(ARTIFACT_MATCH_RESTRICTION); - createEReference(artifactMatchRestrictionEClass, ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF); - - artifactTypeRestrictionEClass = createEClass(ARTIFACT_TYPE_RESTRICTION); - createEReference(artifactTypeRestrictionEClass, ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF); - - attributeTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_RESTRICTION); - createEReference(attributeTypeRestrictionEClass, ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF); - createEReference(attributeTypeRestrictionEClass, ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF); - - legacyRelationTypeRestrictionEClass = createEClass(LEGACY_RELATION_TYPE_RESTRICTION); - createEAttribute(legacyRelationTypeRestrictionEClass, LEGACY_RELATION_TYPE_RESTRICTION__PERMISSION); - createEReference(legacyRelationTypeRestrictionEClass, LEGACY_RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF); - createEAttribute(legacyRelationTypeRestrictionEClass, LEGACY_RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE); - createEReference(legacyRelationTypeRestrictionEClass, LEGACY_RELATION_TYPE_RESTRICTION__ARTIFACT_MATCHER_REF); - - relationTypeRestrictionEClass = createEClass(RELATION_TYPE_RESTRICTION); - createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH); - createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF); - createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE); - createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__PREDICATE); - - // Create enums - relationMultiplicityEnumEEnum = createEEnum(RELATION_MULTIPLICITY_ENUM); - compareOpEEnum = createEEnum(COMPARE_OP); - xLogicOperatorEEnum = createEEnum(XLOGIC_OPERATOR); - matchFieldEEnum = createEEnum(MATCH_FIELD); - accessPermissionEnumEEnum = createEEnum(ACCESS_PERMISSION_ENUM); - relationTypeMatchEEnum = createEEnum(RELATION_TYPE_MATCH); - xRelationSideEnumEEnum = createEEnum(XRELATION_SIDE_ENUM); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() - { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - oseeTypeEClass.getESuperTypes().add(this.getOseeElement()); - xArtifactTypeEClass.getESuperTypes().add(this.getOseeType()); - xAttributeTypeEClass.getESuperTypes().add(this.getOseeType()); - xOseeEnumTypeEClass.getESuperTypes().add(this.getOseeType()); - xOseeEnumOverrideEClass.getESuperTypes().add(this.getOseeElement()); - addEnumEClass.getESuperTypes().add(this.getOverrideOption()); - removeEnumEClass.getESuperTypes().add(this.getOverrideOption()); - addAttributeEClass.getESuperTypes().add(this.getAttributeOverrideOption()); - removeAttributeEClass.getESuperTypes().add(this.getAttributeOverrideOption()); - updateAttributeEClass.getESuperTypes().add(this.getAttributeOverrideOption()); - xRelationTypeEClass.getESuperTypes().add(this.getOseeType()); - simpleConditionEClass.getESuperTypes().add(this.getCondition()); - compoundConditionEClass.getESuperTypes().add(this.getCondition()); - relationTypeArtifactTypePredicateEClass.getESuperTypes().add(this.getRelationTypePredicate()); - relationTypeArtifactPredicateEClass.getESuperTypes().add(this.getRelationTypePredicate()); - artifactMatchRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); - artifactTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); - attributeTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); - relationTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); - - // Initialize classes and features; add operations and parameters - initEClass(oseeDslEClass, OseeDsl.class, "OseeDsl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOseeDsl_Imports(), this.getImport(), null, "imports", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_ArtifactTypes(), this.getXArtifactType(), null, "artifactTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_RelationTypes(), this.getXRelationType(), null, "relationTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_AttributeTypes(), this.getXAttributeType(), null, "attributeTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_EnumTypes(), this.getXOseeEnumType(), null, "enumTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_EnumOverrides(), this.getXOseeEnumOverride(), null, "enumOverrides", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_ArtifactTypeOverrides(), this.getXOseeArtifactTypeOverride(), null, "artifactTypeOverrides", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_ArtifactMatchRefs(), this.getXArtifactMatcher(), null, "artifactMatchRefs", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_AccessDeclarations(), this.getAccessContext(), null, "accessDeclarations", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOseeDsl_RoleDeclarations(), this.getRole(), null, "roleDeclarations", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(oseeElementEClass, OseeElement.class, "OseeElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(oseeTypeEClass, OseeType.class, "OseeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOseeType_Name(), ecorePackage.getEString(), "name", null, 0, 1, OseeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getOseeType_Id(), ecorePackage.getEString(), "id", null, 0, 1, OseeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xArtifactTypeEClass, XArtifactType.class, "XArtifactType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXArtifactType_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXArtifactType_SuperArtifactTypes(), this.getXArtifactType(), null, "superArtifactTypes", null, 0, -1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXArtifactType_ValidAttributeTypes(), this.getXAttributeTypeRef(), null, "validAttributeTypes", null, 0, -1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xAttributeTypeRefEClass, XAttributeTypeRef.class, "XAttributeTypeRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXAttributeTypeRef_ValidAttributeType(), this.getXAttributeType(), null, "validAttributeType", null, 0, 1, XAttributeTypeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeTypeRef_BranchUuid(), ecorePackage.getEString(), "branchUuid", null, 0, 1, XAttributeTypeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xAttributeTypeEClass, XAttributeType.class, "XAttributeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXAttributeType_BaseAttributeType(), ecorePackage.getEString(), "baseAttributeType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXAttributeType_Override(), this.getXAttributeType(), null, "override", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_DataProvider(), ecorePackage.getEString(), "dataProvider", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_Min(), ecorePackage.getEString(), "min", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_Max(), ecorePackage.getEString(), "max", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_TaggerId(), ecorePackage.getEString(), "taggerId", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXAttributeType_EnumType(), this.getXOseeEnumType(), null, "enumType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_Description(), ecorePackage.getEString(), "description", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_FileExtension(), ecorePackage.getEString(), "fileExtension", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXAttributeType_MediaType(), ecorePackage.getEString(), "mediaType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xOseeEnumTypeEClass, XOseeEnumType.class, "XOseeEnumType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXOseeEnumType_EnumEntries(), this.getXOseeEnumEntry(), null, "enumEntries", null, 0, -1, XOseeEnumType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xOseeEnumEntryEClass, XOseeEnumEntry.class, "XOseeEnumEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXOseeEnumEntry_Name(), ecorePackage.getEString(), "name", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXOseeEnumEntry_Ordinal(), ecorePackage.getEString(), "ordinal", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXOseeEnumEntry_Description(), ecorePackage.getEString(), "description", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xOseeEnumOverrideEClass, XOseeEnumOverride.class, "XOseeEnumOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXOseeEnumOverride_OverridenEnumType(), this.getXOseeEnumType(), null, "overridenEnumType", null, 0, 1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXOseeEnumOverride_InheritAll(), ecorePackage.getEBoolean(), "inheritAll", null, 0, 1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXOseeEnumOverride_OverrideOptions(), this.getOverrideOption(), null, "overrideOptions", null, 0, -1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(overrideOptionEClass, OverrideOption.class, "OverrideOption", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(addEnumEClass, AddEnum.class, "AddEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAddEnum_EnumEntry(), ecorePackage.getEString(), "enumEntry", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAddEnum_Ordinal(), ecorePackage.getEString(), "ordinal", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAddEnum_Description(), ecorePackage.getEString(), "description", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(removeEnumEClass, RemoveEnum.class, "RemoveEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRemoveEnum_EnumEntry(), this.getXOseeEnumEntry(), null, "enumEntry", null, 0, 1, RemoveEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xOseeArtifactTypeOverrideEClass, XOseeArtifactTypeOverride.class, "XOseeArtifactTypeOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXOseeArtifactTypeOverride_OverridenArtifactType(), this.getXArtifactType(), null, "overridenArtifactType", null, 0, 1, XOseeArtifactTypeOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXOseeArtifactTypeOverride_InheritAll(), ecorePackage.getEBoolean(), "inheritAll", null, 0, 1, XOseeArtifactTypeOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXOseeArtifactTypeOverride_OverrideOptions(), this.getAttributeOverrideOption(), null, "overrideOptions", null, 0, -1, XOseeArtifactTypeOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(attributeOverrideOptionEClass, AttributeOverrideOption.class, "AttributeOverrideOption", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(addAttributeEClass, AddAttribute.class, "AddAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAddAttribute_Attribute(), this.getXAttributeTypeRef(), null, "attribute", null, 0, 1, AddAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(removeAttributeEClass, RemoveAttribute.class, "RemoveAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRemoveAttribute_Attribute(), this.getXAttributeType(), null, "attribute", null, 0, 1, RemoveAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(updateAttributeEClass, UpdateAttribute.class, "UpdateAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUpdateAttribute_Attribute(), this.getXAttributeTypeRef(), null, "attribute", null, 0, 1, UpdateAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xRelationTypeEClass, XRelationType.class, "XRelationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXRelationType_SideAName(), ecorePackage.getEString(), "sideAName", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXRelationType_SideAArtifactType(), this.getXArtifactType(), null, "sideAArtifactType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXRelationType_SideBName(), ecorePackage.getEString(), "sideBName", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXRelationType_SideBArtifactType(), this.getXArtifactType(), null, "sideBArtifactType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXRelationType_DefaultOrderType(), ecorePackage.getEString(), "defaultOrderType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXRelationType_Multiplicity(), this.getRelationMultiplicityEnum(), "multiplicity", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(conditionEClass, Condition.class, "Condition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(simpleConditionEClass, SimpleCondition.class, "SimpleCondition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSimpleCondition_Field(), this.getMatchField(), "field", null, 0, 1, SimpleCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleCondition_Op(), this.getCompareOp(), "op", null, 0, 1, SimpleCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleCondition_Expression(), ecorePackage.getEString(), "expression", null, 0, 1, SimpleCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(compoundConditionEClass, CompoundCondition.class, "CompoundCondition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCompoundCondition_Conditions(), this.getSimpleCondition(), null, "conditions", null, 0, -1, CompoundCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCompoundCondition_Operators(), this.getXLogicOperator(), "operators", null, 0, -1, CompoundCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xArtifactMatcherEClass, XArtifactMatcher.class, "XArtifactMatcher", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXArtifactMatcher_Name(), ecorePackage.getEString(), "name", null, 0, 1, XArtifactMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXArtifactMatcher_Conditions(), this.getCondition(), null, "conditions", null, 0, -1, XArtifactMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXArtifactMatcher_Operators(), this.getXLogicOperator(), "operators", null, 0, -1, XArtifactMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(roleEClass, Role.class, "Role", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRole_Name(), ecorePackage.getEString(), "name", null, 0, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRole_SuperRoles(), this.getRole(), null, "superRoles", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRole_UsersAndGroups(), this.getUsersAndGroups(), null, "usersAndGroups", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRole_ReferencedContexts(), this.getReferencedContext(), null, "referencedContexts", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(referencedContextEClass, ReferencedContext.class, "ReferencedContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getReferencedContext_AccessContextRef(), ecorePackage.getEString(), "accessContextRef", null, 0, 1, ReferencedContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(usersAndGroupsEClass, UsersAndGroups.class, "UsersAndGroups", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUsersAndGroups_UserOrGroupGuid(), ecorePackage.getEString(), "userOrGroupGuid", null, 0, 1, UsersAndGroups.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(accessContextEClass, AccessContext.class, "AccessContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAccessContext_Name(), ecorePackage.getEString(), "name", null, 0, 1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAccessContext_SuperAccessContexts(), this.getAccessContext(), null, "superAccessContexts", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAccessContext_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAccessContext_AccessRules(), this.getObjectRestriction(), null, "accessRules", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAccessContext_HierarchyRestrictions(), this.getHierarchyRestriction(), null, "hierarchyRestrictions", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(hierarchyRestrictionEClass, HierarchyRestriction.class, "HierarchyRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getHierarchyRestriction_ArtifactMatcherRef(), this.getXArtifactMatcher(), null, "artifactMatcherRef", null, 0, 1, HierarchyRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getHierarchyRestriction_AccessRules(), this.getObjectRestriction(), null, "accessRules", null, 0, -1, HierarchyRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(relationTypeArtifactTypePredicateEClass, RelationTypeArtifactTypePredicate.class, "RelationTypeArtifactTypePredicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRelationTypeArtifactTypePredicate_ArtifactTypeRef(), this.getXArtifactType(), null, "artifactTypeRef", null, 0, 1, RelationTypeArtifactTypePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(relationTypeArtifactPredicateEClass, RelationTypeArtifactPredicate.class, "RelationTypeArtifactPredicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRelationTypeArtifactPredicate_ArtifactMatcherRef(), this.getXArtifactMatcher(), null, "artifactMatcherRef", null, 0, 1, RelationTypeArtifactPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(relationTypePredicateEClass, RelationTypePredicate.class, "RelationTypePredicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(objectRestrictionEClass, ObjectRestriction.class, "ObjectRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getObjectRestriction_Permission(), this.getAccessPermissionEnum(), "permission", null, 0, 1, ObjectRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(artifactMatchRestrictionEClass, ArtifactMatchRestriction.class, "ArtifactMatchRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArtifactMatchRestriction_ArtifactMatcherRef(), this.getXArtifactMatcher(), null, "artifactMatcherRef", null, 0, 1, ArtifactMatchRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(artifactTypeRestrictionEClass, ArtifactTypeRestriction.class, "ArtifactTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArtifactTypeRestriction_ArtifactTypeRef(), this.getXArtifactType(), null, "artifactTypeRef", null, 0, 1, ArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(attributeTypeRestrictionEClass, AttributeTypeRestriction.class, "AttributeTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAttributeTypeRestriction_AttributeTypeRef(), this.getXAttributeType(), null, "attributeTypeRef", null, 0, 1, AttributeTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAttributeTypeRestriction_ArtifactTypeRef(), this.getXArtifactType(), null, "artifactTypeRef", null, 0, 1, AttributeTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(legacyRelationTypeRestrictionEClass, LegacyRelationTypeRestriction.class, "LegacyRelationTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getLegacyRelationTypeRestriction_Permission(), this.getAccessPermissionEnum(), "permission", null, 0, 1, LegacyRelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getLegacyRelationTypeRestriction_RelationTypeRef(), this.getXRelationType(), null, "relationTypeRef", null, 0, 1, LegacyRelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLegacyRelationTypeRestriction_RestrictedToSide(), this.getXRelationSideEnum(), "restrictedToSide", null, 0, 1, LegacyRelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getLegacyRelationTypeRestriction_ArtifactMatcherRef(), this.getXArtifactMatcher(), null, "artifactMatcherRef", null, 0, 1, LegacyRelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(relationTypeRestrictionEClass, RelationTypeRestriction.class, "RelationTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRelationTypeRestriction_RelationTypeMatch(), ecorePackage.getEBoolean(), "relationTypeMatch", null, 0, 1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRelationTypeRestriction_RelationTypeRef(), this.getXRelationType(), null, "relationTypeRef", null, 0, 1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getRelationTypeRestriction_RestrictedToSide(), this.getXRelationSideEnum(), "restrictedToSide", null, 0, 1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRelationTypeRestriction_Predicate(), this.getRelationTypePredicate(), null, "predicate", null, 0, 1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.class, "RelationMultiplicityEnum"); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_ONE); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_MANY); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_ONE); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_MANY); - - initEEnum(compareOpEEnum, CompareOp.class, "CompareOp"); - addEEnumLiteral(compareOpEEnum, CompareOp.EQ); - addEEnumLiteral(compareOpEEnum, CompareOp.LIKE); - - initEEnum(xLogicOperatorEEnum, XLogicOperator.class, "XLogicOperator"); - addEEnumLiteral(xLogicOperatorEEnum, XLogicOperator.AND); - addEEnumLiteral(xLogicOperatorEEnum, XLogicOperator.OR); - - initEEnum(matchFieldEEnum, MatchField.class, "MatchField"); - addEEnumLiteral(matchFieldEEnum, MatchField.ARTIFACT_NAME); - addEEnumLiteral(matchFieldEEnum, MatchField.ARTIFACT_ID); - addEEnumLiteral(matchFieldEEnum, MatchField.BRANCH_NAME); - addEEnumLiteral(matchFieldEEnum, MatchField.BRANCH_UUID); - - initEEnum(accessPermissionEnumEEnum, AccessPermissionEnum.class, "AccessPermissionEnum"); - addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.ALLOW); - addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.DENY); - - initEEnum(relationTypeMatchEEnum, RelationTypeMatch.class, "RelationTypeMatch"); - addEEnumLiteral(relationTypeMatchEEnum, RelationTypeMatch.ALL); - - initEEnum(xRelationSideEnumEEnum, XRelationSideEnum.class, "XRelationSideEnum"); - addEEnumLiteral(xRelationSideEnumEEnum, XRelationSideEnum.SIDE_A); - addEEnumLiteral(xRelationSideEnumEEnum, XRelationSideEnum.SIDE_B); - addEEnumLiteral(xRelationSideEnumEEnum, XRelationSideEnum.BOTH); - - // Create resource - createResource(eNS_URI); - } - -} //OseeDslPackageImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java deleted file mode 100644 index 09865d780e2..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Osee Element</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class OseeElementImpl extends MinimalEObjectImpl.Container implements OseeElement -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OseeElementImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.OSEE_ELEMENT; - } - -} //OseeElementImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java deleted file mode 100644 index 41c037c1702..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java +++ /dev/null @@ -1,232 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Osee Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl#getId <em>Id</em>}</li> - * </ul> - * - * @generated - */ -public class OseeTypeImpl extends OseeElementImpl implements OseeType -{ - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OseeTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.OSEE_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.OSEE_TYPE__NAME: - return getName(); - case OseeDslPackage.OSEE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.OSEE_TYPE__NAME: - setName((String)newValue); - return; - case OseeDslPackage.OSEE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.OSEE_TYPE__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.OSEE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.OSEE_TYPE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.OSEE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //OseeTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java deleted file mode 100644 index c3d0bbd4018..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Override Option</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class OverrideOptionImpl extends MinimalEObjectImpl.Container implements OverrideOption -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OverrideOptionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.OVERRIDE_OPTION; - } - -} //OverrideOptionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ReferencedContextImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ReferencedContextImpl.java deleted file mode 100644 index c9b73f2b962..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ReferencedContextImpl.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Referenced Context</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ReferencedContextImpl#getAccessContextRef <em>Access Context Ref</em>}</li> - * </ul> - * - * @generated - */ -public class ReferencedContextImpl extends MinimalEObjectImpl.Container implements ReferencedContext -{ - /** - * The default value of the '{@link #getAccessContextRef() <em>Access Context Ref</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAccessContextRef() - * @generated - * @ordered - */ - protected static final String ACCESS_CONTEXT_REF_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAccessContextRef() <em>Access Context Ref</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAccessContextRef() - * @generated - * @ordered - */ - protected String accessContextRef = ACCESS_CONTEXT_REF_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ReferencedContextImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.REFERENCED_CONTEXT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getAccessContextRef() - { - return accessContextRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAccessContextRef(String newAccessContextRef) - { - String oldAccessContextRef = accessContextRef; - accessContextRef = newAccessContextRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF, oldAccessContextRef, accessContextRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF: - return getAccessContextRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF: - setAccessContextRef((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF: - setAccessContextRef(ACCESS_CONTEXT_REF_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF: - return ACCESS_CONTEXT_REF_EDEFAULT == null ? accessContextRef != null : !ACCESS_CONTEXT_REF_EDEFAULT.equals(accessContextRef); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (accessContextRef: "); - result.append(accessContextRef); - result.append(')'); - return result.toString(); - } - -} //ReferencedContextImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java deleted file mode 100644 index c1d0338b163..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Relation Type Artifact Predicate</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li> - * </ul> - * - * @generated - */ -public class RelationTypeArtifactPredicateImpl extends RelationTypePredicateImpl implements RelationTypeArtifactPredicate -{ - /** - * The cached value of the '{@link #getArtifactMatcherRef() <em>Artifact Matcher Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactMatcherRef() - * @generated - * @ordered - */ - protected XArtifactMatcher artifactMatcherRef; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RelationTypeArtifactPredicateImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_PREDICATE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher getArtifactMatcherRef() - { - if (artifactMatcherRef != null && artifactMatcherRef.eIsProxy()) - { - InternalEObject oldArtifactMatcherRef = (InternalEObject)artifactMatcherRef; - artifactMatcherRef = (XArtifactMatcher)eResolveProxy(oldArtifactMatcherRef); - if (artifactMatcherRef != oldArtifactMatcherRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - } - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactMatcher basicGetArtifactMatcherRef() - { - return artifactMatcherRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactMatcherRef(XArtifactMatcher newArtifactMatcherRef) - { - XArtifactMatcher oldArtifactMatcherRef = artifactMatcherRef; - artifactMatcherRef = newArtifactMatcherRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF: - if (resolve) return getArtifactMatcherRef(); - return basicGetArtifactMatcherRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF: - setArtifactMatcherRef((XArtifactMatcher)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF: - return artifactMatcherRef != null; - } - return super.eIsSet(featureID); - } - -} //RelationTypeArtifactPredicateImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactTypePredicateImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactTypePredicateImpl.java deleted file mode 100644 index d066167f569..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactTypePredicateImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Relation Type Artifact Type Predicate</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactTypePredicateImpl#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> - * </ul> - * - * @generated - */ -public class RelationTypeArtifactTypePredicateImpl extends RelationTypePredicateImpl implements RelationTypeArtifactTypePredicate -{ - /** - * The cached value of the '{@link #getArtifactTypeRef() <em>Artifact Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArtifactTypeRef() - * @generated - * @ordered - */ - protected XArtifactType artifactTypeRef; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RelationTypeArtifactTypePredicateImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType getArtifactTypeRef() - { - if (artifactTypeRef != null && artifactTypeRef.eIsProxy()) - { - InternalEObject oldArtifactTypeRef = (InternalEObject)artifactTypeRef; - artifactTypeRef = (XArtifactType)eResolveProxy(oldArtifactTypeRef); - if (artifactTypeRef != oldArtifactTypeRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef)); - } - } - return artifactTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType basicGetArtifactTypeRef() - { - return artifactTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setArtifactTypeRef(XArtifactType newArtifactTypeRef) - { - XArtifactType oldArtifactTypeRef = artifactTypeRef; - artifactTypeRef = newArtifactTypeRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF: - if (resolve) return getArtifactTypeRef(); - return basicGetArtifactTypeRef(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF: - setArtifactTypeRef((XArtifactType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF: - setArtifactTypeRef((XArtifactType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF: - return artifactTypeRef != null; - } - return super.eIsSet(featureID); - } - -} //RelationTypeArtifactTypePredicateImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypePredicateImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypePredicateImpl.java deleted file mode 100644 index 792389da831..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypePredicateImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Relation Type Predicate</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class RelationTypePredicateImpl extends MinimalEObjectImpl.Container implements RelationTypePredicate -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RelationTypePredicateImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.RELATION_TYPE_PREDICATE; - } - -} //RelationTypePredicateImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java deleted file mode 100644 index f88fd749685..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java +++ /dev/null @@ -1,387 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Relation Type Restriction</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#isRelationTypeMatch <em>Relation Type Match</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRelationTypeRef <em>Relation Type Ref</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRestrictedToSide <em>Restricted To Side</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getPredicate <em>Predicate</em>}</li> - * </ul> - * - * @generated - */ -public class RelationTypeRestrictionImpl extends ObjectRestrictionImpl implements RelationTypeRestriction -{ - /** - * The default value of the '{@link #isRelationTypeMatch() <em>Relation Type Match</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isRelationTypeMatch() - * @generated - * @ordered - */ - protected static final boolean RELATION_TYPE_MATCH_EDEFAULT = false; - - /** - * The cached value of the '{@link #isRelationTypeMatch() <em>Relation Type Match</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isRelationTypeMatch() - * @generated - * @ordered - */ - protected boolean relationTypeMatch = RELATION_TYPE_MATCH_EDEFAULT; - - /** - * The cached value of the '{@link #getRelationTypeRef() <em>Relation Type Ref</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRelationTypeRef() - * @generated - * @ordered - */ - protected XRelationType relationTypeRef; - - /** - * The default value of the '{@link #getRestrictedToSide() <em>Restricted To Side</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRestrictedToSide() - * @generated - * @ordered - */ - protected static final XRelationSideEnum RESTRICTED_TO_SIDE_EDEFAULT = XRelationSideEnum.SIDE_A; - - /** - * The cached value of the '{@link #getRestrictedToSide() <em>Restricted To Side</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRestrictedToSide() - * @generated - * @ordered - */ - protected XRelationSideEnum restrictedToSide = RESTRICTED_TO_SIDE_EDEFAULT; - - /** - * The cached value of the '{@link #getPredicate() <em>Predicate</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPredicate() - * @generated - * @ordered - */ - protected RelationTypePredicate predicate; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RelationTypeRestrictionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.RELATION_TYPE_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isRelationTypeMatch() - { - return relationTypeMatch; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRelationTypeMatch(boolean newRelationTypeMatch) - { - boolean oldRelationTypeMatch = relationTypeMatch; - relationTypeMatch = newRelationTypeMatch; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH, oldRelationTypeMatch, relationTypeMatch)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationType getRelationTypeRef() - { - if (relationTypeRef != null && relationTypeRef.eIsProxy()) - { - InternalEObject oldRelationTypeRef = (InternalEObject)relationTypeRef; - relationTypeRef = (XRelationType)eResolveProxy(oldRelationTypeRef); - if (relationTypeRef != oldRelationTypeRef) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF, oldRelationTypeRef, relationTypeRef)); - } - } - return relationTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationType basicGetRelationTypeRef() - { - return relationTypeRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRelationTypeRef(XRelationType newRelationTypeRef) - { - XRelationType oldRelationTypeRef = relationTypeRef; - relationTypeRef = newRelationTypeRef; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF, oldRelationTypeRef, relationTypeRef)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XRelationSideEnum getRestrictedToSide() - { - return restrictedToSide; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRestrictedToSide(XRelationSideEnum newRestrictedToSide) - { - XRelationSideEnum oldRestrictedToSide = restrictedToSide; - restrictedToSide = newRestrictedToSide == null ? RESTRICTED_TO_SIDE_EDEFAULT : newRestrictedToSide; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE, oldRestrictedToSide, restrictedToSide)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationTypePredicate getPredicate() - { - return predicate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPredicate(RelationTypePredicate newPredicate, NotificationChain msgs) - { - RelationTypePredicate oldPredicate = predicate; - predicate = newPredicate; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE, oldPredicate, newPredicate); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPredicate(RelationTypePredicate newPredicate) - { - if (newPredicate != predicate) - { - NotificationChain msgs = null; - if (predicate != null) - msgs = ((InternalEObject)predicate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE, null, msgs); - if (newPredicate != null) - msgs = ((InternalEObject)newPredicate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE, null, msgs); - msgs = basicSetPredicate(newPredicate, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE, newPredicate, newPredicate)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE: - return basicSetPredicate(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH: - return isRelationTypeMatch(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - if (resolve) return getRelationTypeRef(); - return basicGetRelationTypeRef(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - return getRestrictedToSide(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE: - return getPredicate(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH: - setRelationTypeMatch((Boolean)newValue); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - setRelationTypeRef((XRelationType)newValue); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - setRestrictedToSide((XRelationSideEnum)newValue); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE: - setPredicate((RelationTypePredicate)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH: - setRelationTypeMatch(RELATION_TYPE_MATCH_EDEFAULT); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - setRelationTypeRef((XRelationType)null); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - setRestrictedToSide(RESTRICTED_TO_SIDE_EDEFAULT); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE: - setPredicate((RelationTypePredicate)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_MATCH: - return relationTypeMatch != RELATION_TYPE_MATCH_EDEFAULT; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: - return relationTypeRef != null; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - return restrictedToSide != RESTRICTED_TO_SIDE_EDEFAULT; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__PREDICATE: - return predicate != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (relationTypeMatch: "); - result.append(relationTypeMatch); - result.append(", restrictedToSide: "); - result.append(restrictedToSide); - result.append(')'); - return result.toString(); - } - -} //RelationTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveAttributeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveAttributeImpl.java deleted file mode 100644 index 9ab25d9ae41..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveAttributeImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Remove Attribute</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveAttributeImpl#getAttribute <em>Attribute</em>}</li> - * </ul> - * - * @generated - */ -public class RemoveAttributeImpl extends AttributeOverrideOptionImpl implements RemoveAttribute -{ - /** - * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAttribute() - * @generated - * @ordered - */ - protected XAttributeType attribute; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RemoveAttributeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.REMOVE_ATTRIBUTE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType getAttribute() - { - if (attribute != null && attribute.eIsProxy()) - { - InternalEObject oldAttribute = (InternalEObject)attribute; - attribute = (XAttributeType)eResolveProxy(oldAttribute); - if (attribute != oldAttribute) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.REMOVE_ATTRIBUTE__ATTRIBUTE, oldAttribute, attribute)); - } - } - return attribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType basicGetAttribute() - { - return attribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttribute(XAttributeType newAttribute) - { - XAttributeType oldAttribute = attribute; - attribute = newAttribute; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.REMOVE_ATTRIBUTE__ATTRIBUTE, oldAttribute, attribute)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ATTRIBUTE__ATTRIBUTE: - if (resolve) return getAttribute(); - return basicGetAttribute(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ATTRIBUTE__ATTRIBUTE: - setAttribute((XAttributeType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ATTRIBUTE__ATTRIBUTE: - setAttribute((XAttributeType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ATTRIBUTE__ATTRIBUTE: - return attribute != null; - } - return super.eIsSet(featureID); - } - -} //RemoveAttributeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java deleted file mode 100644 index 63b8100e10a..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Remove Enum</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl#getEnumEntry <em>Enum Entry</em>}</li> - * </ul> - * - * @generated - */ -public class RemoveEnumImpl extends OverrideOptionImpl implements RemoveEnum -{ - /** - * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumEntry() - * @generated - * @ordered - */ - protected XOseeEnumEntry enumEntry; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RemoveEnumImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.REMOVE_ENUM; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumEntry getEnumEntry() - { - if (enumEntry != null && enumEntry.eIsProxy()) - { - InternalEObject oldEnumEntry = (InternalEObject)enumEntry; - enumEntry = (XOseeEnumEntry)eResolveProxy(oldEnumEntry); - if (enumEntry != oldEnumEntry) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry)); - } - } - return enumEntry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumEntry basicGetEnumEntry() - { - return enumEntry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnumEntry(XOseeEnumEntry newEnumEntry) - { - XOseeEnumEntry oldEnumEntry = enumEntry; - enumEntry = newEnumEntry; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: - if (resolve) return getEnumEntry(); - return basicGetEnumEntry(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: - setEnumEntry((XOseeEnumEntry)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: - setEnumEntry((XOseeEnumEntry)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: - return enumEntry != null; - } - return super.eIsSet(featureID); - } - -} //RemoveEnumImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RoleImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RoleImpl.java deleted file mode 100644 index e130c353da7..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RoleImpl.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Role; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Role</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl#getSuperRoles <em>Super Roles</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl#getUsersAndGroups <em>Users And Groups</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RoleImpl#getReferencedContexts <em>Referenced Contexts</em>}</li> - * </ul> - * - * @generated - */ -public class RoleImpl extends MinimalEObjectImpl.Container implements Role -{ - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSuperRoles() <em>Super Roles</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSuperRoles() - * @generated - * @ordered - */ - protected EList<Role> superRoles; - - /** - * The cached value of the '{@link #getUsersAndGroups() <em>Users And Groups</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUsersAndGroups() - * @generated - * @ordered - */ - protected EList<UsersAndGroups> usersAndGroups; - - /** - * The cached value of the '{@link #getReferencedContexts() <em>Referenced Contexts</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getReferencedContexts() - * @generated - * @ordered - */ - protected EList<ReferencedContext> referencedContexts; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RoleImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.ROLE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ROLE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Role> getSuperRoles() - { - if (superRoles == null) - { - superRoles = new EObjectResolvingEList<Role>(Role.class, this, OseeDslPackage.ROLE__SUPER_ROLES); - } - return superRoles; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<UsersAndGroups> getUsersAndGroups() - { - if (usersAndGroups == null) - { - usersAndGroups = new EObjectContainmentEList<UsersAndGroups>(UsersAndGroups.class, this, OseeDslPackage.ROLE__USERS_AND_GROUPS); - } - return usersAndGroups; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<ReferencedContext> getReferencedContexts() - { - if (referencedContexts == null) - { - referencedContexts = new EObjectContainmentEList<ReferencedContext>(ReferencedContext.class, this, OseeDslPackage.ROLE__REFERENCED_CONTEXTS); - } - return referencedContexts; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.ROLE__USERS_AND_GROUPS: - return ((InternalEList<?>)getUsersAndGroups()).basicRemove(otherEnd, msgs); - case OseeDslPackage.ROLE__REFERENCED_CONTEXTS: - return ((InternalEList<?>)getReferencedContexts()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.ROLE__NAME: - return getName(); - case OseeDslPackage.ROLE__SUPER_ROLES: - return getSuperRoles(); - case OseeDslPackage.ROLE__USERS_AND_GROUPS: - return getUsersAndGroups(); - case OseeDslPackage.ROLE__REFERENCED_CONTEXTS: - return getReferencedContexts(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.ROLE__NAME: - setName((String)newValue); - return; - case OseeDslPackage.ROLE__SUPER_ROLES: - getSuperRoles().clear(); - getSuperRoles().addAll((Collection<? extends Role>)newValue); - return; - case OseeDslPackage.ROLE__USERS_AND_GROUPS: - getUsersAndGroups().clear(); - getUsersAndGroups().addAll((Collection<? extends UsersAndGroups>)newValue); - return; - case OseeDslPackage.ROLE__REFERENCED_CONTEXTS: - getReferencedContexts().clear(); - getReferencedContexts().addAll((Collection<? extends ReferencedContext>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ROLE__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.ROLE__SUPER_ROLES: - getSuperRoles().clear(); - return; - case OseeDslPackage.ROLE__USERS_AND_GROUPS: - getUsersAndGroups().clear(); - return; - case OseeDslPackage.ROLE__REFERENCED_CONTEXTS: - getReferencedContexts().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.ROLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.ROLE__SUPER_ROLES: - return superRoles != null && !superRoles.isEmpty(); - case OseeDslPackage.ROLE__USERS_AND_GROUPS: - return usersAndGroups != null && !usersAndGroups.isEmpty(); - case OseeDslPackage.ROLE__REFERENCED_CONTEXTS: - return referencedContexts != null && !referencedContexts.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //RoleImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/SimpleConditionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/SimpleConditionImpl.java deleted file mode 100644 index 393ba82e417..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/SimpleConditionImpl.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.CompareOp; -import org.eclipse.osee.framework.core.dsl.oseeDsl.MatchField; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Simple Condition</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl#getField <em>Field</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl#getOp <em>Op</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.SimpleConditionImpl#getExpression <em>Expression</em>}</li> - * </ul> - * - * @generated - */ -public class SimpleConditionImpl extends ConditionImpl implements SimpleCondition -{ - /** - * The default value of the '{@link #getField() <em>Field</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getField() - * @generated - * @ordered - */ - protected static final MatchField FIELD_EDEFAULT = MatchField.ARTIFACT_NAME; - - /** - * The cached value of the '{@link #getField() <em>Field</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getField() - * @generated - * @ordered - */ - protected MatchField field = FIELD_EDEFAULT; - - /** - * The default value of the '{@link #getOp() <em>Op</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOp() - * @generated - * @ordered - */ - protected static final CompareOp OP_EDEFAULT = CompareOp.EQ; - - /** - * The cached value of the '{@link #getOp() <em>Op</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOp() - * @generated - * @ordered - */ - protected CompareOp op = OP_EDEFAULT; - - /** - * The default value of the '{@link #getExpression() <em>Expression</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpression() - * @generated - * @ordered - */ - protected static final String EXPRESSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExpression() <em>Expression</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExpression() - * @generated - * @ordered - */ - protected String expression = EXPRESSION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SimpleConditionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.SIMPLE_CONDITION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MatchField getField() - { - return field; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setField(MatchField newField) - { - MatchField oldField = field; - field = newField == null ? FIELD_EDEFAULT : newField; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.SIMPLE_CONDITION__FIELD, oldField, field)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CompareOp getOp() - { - return op; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOp(CompareOp newOp) - { - CompareOp oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.SIMPLE_CONDITION__OP, oldOp, op)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getExpression() - { - return expression; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExpression(String newExpression) - { - String oldExpression = expression; - expression = newExpression; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.SIMPLE_CONDITION__EXPRESSION, oldExpression, expression)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.SIMPLE_CONDITION__FIELD: - return getField(); - case OseeDslPackage.SIMPLE_CONDITION__OP: - return getOp(); - case OseeDslPackage.SIMPLE_CONDITION__EXPRESSION: - return getExpression(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.SIMPLE_CONDITION__FIELD: - setField((MatchField)newValue); - return; - case OseeDslPackage.SIMPLE_CONDITION__OP: - setOp((CompareOp)newValue); - return; - case OseeDslPackage.SIMPLE_CONDITION__EXPRESSION: - setExpression((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.SIMPLE_CONDITION__FIELD: - setField(FIELD_EDEFAULT); - return; - case OseeDslPackage.SIMPLE_CONDITION__OP: - setOp(OP_EDEFAULT); - return; - case OseeDslPackage.SIMPLE_CONDITION__EXPRESSION: - setExpression(EXPRESSION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.SIMPLE_CONDITION__FIELD: - return field != FIELD_EDEFAULT; - case OseeDslPackage.SIMPLE_CONDITION__OP: - return op != OP_EDEFAULT; - case OseeDslPackage.SIMPLE_CONDITION__EXPRESSION: - return EXPRESSION_EDEFAULT == null ? expression != null : !EXPRESSION_EDEFAULT.equals(expression); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (field: "); - result.append(field); - result.append(", op: "); - result.append(op); - result.append(", expression: "); - result.append(expression); - result.append(')'); - return result.toString(); - } - -} //SimpleConditionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/UpdateAttributeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/UpdateAttributeImpl.java deleted file mode 100644 index 507c1fad57a..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/UpdateAttributeImpl.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Update Attribute</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UpdateAttributeImpl#getAttribute <em>Attribute</em>}</li> - * </ul> - * - * @generated - */ -public class UpdateAttributeImpl extends AttributeOverrideOptionImpl implements UpdateAttribute -{ - /** - * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAttribute() - * @generated - * @ordered - */ - protected XAttributeTypeRef attribute; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UpdateAttributeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.UPDATE_ATTRIBUTE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeTypeRef getAttribute() - { - return attribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAttribute(XAttributeTypeRef newAttribute, NotificationChain msgs) - { - XAttributeTypeRef oldAttribute = attribute; - attribute = newAttribute; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE, oldAttribute, newAttribute); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttribute(XAttributeTypeRef newAttribute) - { - if (newAttribute != attribute) - { - NotificationChain msgs = null; - if (attribute != null) - msgs = ((InternalEObject)attribute).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE, null, msgs); - if (newAttribute != null) - msgs = ((InternalEObject)newAttribute).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE, null, msgs); - msgs = basicSetAttribute(newAttribute, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE, newAttribute, newAttribute)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE: - return basicSetAttribute(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE: - return getAttribute(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE: - setAttribute((XAttributeTypeRef)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE: - setAttribute((XAttributeTypeRef)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.UPDATE_ATTRIBUTE__ATTRIBUTE: - return attribute != null; - } - return super.eIsSet(featureID); - } - -} //UpdateAttributeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/UsersAndGroupsImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/UsersAndGroupsImpl.java deleted file mode 100644 index 55c4f1a9017..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/UsersAndGroupsImpl.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Users And Groups</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.UsersAndGroupsImpl#getUserOrGroupGuid <em>User Or Group Guid</em>}</li> - * </ul> - * - * @generated - */ -public class UsersAndGroupsImpl extends MinimalEObjectImpl.Container implements UsersAndGroups -{ - /** - * The default value of the '{@link #getUserOrGroupGuid() <em>User Or Group Guid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUserOrGroupGuid() - * @generated - * @ordered - */ - protected static final String USER_OR_GROUP_GUID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUserOrGroupGuid() <em>User Or Group Guid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUserOrGroupGuid() - * @generated - * @ordered - */ - protected String userOrGroupGuid = USER_OR_GROUP_GUID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UsersAndGroupsImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.USERS_AND_GROUPS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getUserOrGroupGuid() - { - return userOrGroupGuid; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setUserOrGroupGuid(String newUserOrGroupGuid) - { - String oldUserOrGroupGuid = userOrGroupGuid; - userOrGroupGuid = newUserOrGroupGuid; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.USERS_AND_GROUPS__USER_OR_GROUP_GUID, oldUserOrGroupGuid, userOrGroupGuid)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.USERS_AND_GROUPS__USER_OR_GROUP_GUID: - return getUserOrGroupGuid(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.USERS_AND_GROUPS__USER_OR_GROUP_GUID: - setUserOrGroupGuid((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.USERS_AND_GROUPS__USER_OR_GROUP_GUID: - setUserOrGroupGuid(USER_OR_GROUP_GUID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.USERS_AND_GROUPS__USER_OR_GROUP_GUID: - return USER_OR_GROUP_GUID_EDEFAULT == null ? userOrGroupGuid != null : !USER_OR_GROUP_GUID_EDEFAULT.equals(userOrGroupGuid); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (userOrGroupGuid: "); - result.append(userOrGroupGuid); - result.append(')'); - return result.toString(); - } - -} //UsersAndGroupsImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactMatcherImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactMatcherImpl.java deleted file mode 100644 index c62b3d515ae..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactMatcherImpl.java +++ /dev/null @@ -1,280 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EDataTypeEList; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.Condition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XLogicOperator; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XArtifact Matcher</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl#getConditions <em>Conditions</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactMatcherImpl#getOperators <em>Operators</em>}</li> - * </ul> - * - * @generated - */ -public class XArtifactMatcherImpl extends MinimalEObjectImpl.Container implements XArtifactMatcher -{ - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getConditions() <em>Conditions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConditions() - * @generated - * @ordered - */ - protected EList<Condition> conditions; - - /** - * The cached value of the '{@link #getOperators() <em>Operators</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOperators() - * @generated - * @ordered - */ - protected EList<XLogicOperator> operators; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XArtifactMatcherImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XARTIFACT_MATCHER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_MATCHER__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Condition> getConditions() - { - if (conditions == null) - { - conditions = new EObjectContainmentEList<Condition>(Condition.class, this, OseeDslPackage.XARTIFACT_MATCHER__CONDITIONS); - } - return conditions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XLogicOperator> getOperators() - { - if (operators == null) - { - operators = new EDataTypeEList<XLogicOperator>(XLogicOperator.class, this, OseeDslPackage.XARTIFACT_MATCHER__OPERATORS); - } - return operators; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_MATCHER__CONDITIONS: - return ((InternalEList<?>)getConditions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_MATCHER__NAME: - return getName(); - case OseeDslPackage.XARTIFACT_MATCHER__CONDITIONS: - return getConditions(); - case OseeDslPackage.XARTIFACT_MATCHER__OPERATORS: - return getOperators(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_MATCHER__NAME: - setName((String)newValue); - return; - case OseeDslPackage.XARTIFACT_MATCHER__CONDITIONS: - getConditions().clear(); - getConditions().addAll((Collection<? extends Condition>)newValue); - return; - case OseeDslPackage.XARTIFACT_MATCHER__OPERATORS: - getOperators().clear(); - getOperators().addAll((Collection<? extends XLogicOperator>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_MATCHER__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.XARTIFACT_MATCHER__CONDITIONS: - getConditions().clear(); - return; - case OseeDslPackage.XARTIFACT_MATCHER__OPERATORS: - getOperators().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_MATCHER__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.XARTIFACT_MATCHER__CONDITIONS: - return conditions != null && !conditions.isEmpty(); - case OseeDslPackage.XARTIFACT_MATCHER__OPERATORS: - return operators != null && !operators.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", operators: "); - result.append(operators); - result.append(')'); - return result.toString(); - } - -} //XArtifactMatcherImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java deleted file mode 100644 index 8ff7ee38d6e..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java +++ /dev/null @@ -1,276 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XArtifact Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#isAbstract <em>Abstract</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getSuperArtifactTypes <em>Super Artifact Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getValidAttributeTypes <em>Valid Attribute Types</em>}</li> - * </ul> - * - * @generated - */ -public class XArtifactTypeImpl extends OseeTypeImpl implements XArtifactType -{ - /** - * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isAbstract() - * @generated - * @ordered - */ - protected static final boolean ABSTRACT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isAbstract() - * @generated - * @ordered - */ - protected boolean abstract_ = ABSTRACT_EDEFAULT; - - /** - * The cached value of the '{@link #getSuperArtifactTypes() <em>Super Artifact Types</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSuperArtifactTypes() - * @generated - * @ordered - */ - protected EList<XArtifactType> superArtifactTypes; - - /** - * The cached value of the '{@link #getValidAttributeTypes() <em>Valid Attribute Types</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValidAttributeTypes() - * @generated - * @ordered - */ - protected EList<XAttributeTypeRef> validAttributeTypes; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XArtifactTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XARTIFACT_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isAbstract() - { - return abstract_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAbstract(boolean newAbstract) - { - boolean oldAbstract = abstract_; - abstract_ = newAbstract; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_TYPE__ABSTRACT, oldAbstract, abstract_)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XArtifactType> getSuperArtifactTypes() - { - if (superArtifactTypes == null) - { - superArtifactTypes = new EObjectResolvingEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES); - } - return superArtifactTypes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XAttributeTypeRef> getValidAttributeTypes() - { - if (validAttributeTypes == null) - { - validAttributeTypes = new EObjectContainmentEList<XAttributeTypeRef>(XAttributeTypeRef.class, this, OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES); - } - return validAttributeTypes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - return ((InternalEList<?>)getValidAttributeTypes()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - return isAbstract(); - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - return getSuperArtifactTypes(); - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - return getValidAttributeTypes(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - setAbstract((Boolean)newValue); - return; - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - getSuperArtifactTypes().clear(); - getSuperArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue); - return; - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - getValidAttributeTypes().clear(); - getValidAttributeTypes().addAll((Collection<? extends XAttributeTypeRef>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - getSuperArtifactTypes().clear(); - return; - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - getValidAttributeTypes().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - return superArtifactTypes != null && !superArtifactTypes.isEmpty(); - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - return validAttributeTypes != null && !validAttributeTypes.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (abstract: "); - result.append(abstract_); - result.append(')'); - return result.toString(); - } - -} //XArtifactTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java deleted file mode 100644 index 1e919ddc1d4..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java +++ /dev/null @@ -1,756 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XAttribute Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getBaseAttributeType <em>Base Attribute Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getOverride <em>Override</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDataProvider <em>Data Provider</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMin <em>Min</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMax <em>Max</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getTaggerId <em>Tagger Id</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getEnumType <em>Enum Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDefaultValue <em>Default Value</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getFileExtension <em>File Extension</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMediaType <em>Media Type</em>}</li> - * </ul> - * - * @generated - */ -public class XAttributeTypeImpl extends OseeTypeImpl implements XAttributeType -{ - /** - * The default value of the '{@link #getBaseAttributeType() <em>Base Attribute Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBaseAttributeType() - * @generated - * @ordered - */ - protected static final String BASE_ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBaseAttributeType() <em>Base Attribute Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBaseAttributeType() - * @generated - * @ordered - */ - protected String baseAttributeType = BASE_ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getOverride() <em>Override</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOverride() - * @generated - * @ordered - */ - protected XAttributeType override; - - /** - * The default value of the '{@link #getDataProvider() <em>Data Provider</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDataProvider() - * @generated - * @ordered - */ - protected static final String DATA_PROVIDER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDataProvider() <em>Data Provider</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDataProvider() - * @generated - * @ordered - */ - protected String dataProvider = DATA_PROVIDER_EDEFAULT; - - /** - * The default value of the '{@link #getMin() <em>Min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMin() - * @generated - * @ordered - */ - protected static final String MIN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMin() - * @generated - * @ordered - */ - protected String min = MIN_EDEFAULT; - - /** - * The default value of the '{@link #getMax() <em>Max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMax() - * @generated - * @ordered - */ - protected static final String MAX_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMax() - * @generated - * @ordered - */ - protected String max = MAX_EDEFAULT; - - /** - * The default value of the '{@link #getTaggerId() <em>Tagger Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaggerId() - * @generated - * @ordered - */ - protected static final String TAGGER_ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTaggerId() <em>Tagger Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaggerId() - * @generated - * @ordered - */ - protected String taggerId = TAGGER_ID_EDEFAULT; - - /** - * The cached value of the '{@link #getEnumType() <em>Enum Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumType() - * @generated - * @ordered - */ - protected XOseeEnumType enumType; - - /** - * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected static final String DESCRIPTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected String description = DESCRIPTION_EDEFAULT; - - /** - * The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultValue() - * @generated - * @ordered - */ - protected static final String DEFAULT_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultValue() - * @generated - * @ordered - */ - protected String defaultValue = DEFAULT_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getFileExtension() <em>File Extension</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFileExtension() - * @generated - * @ordered - */ - protected static final String FILE_EXTENSION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFileExtension() <em>File Extension</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFileExtension() - * @generated - * @ordered - */ - protected String fileExtension = FILE_EXTENSION_EDEFAULT; - - /** - * The default value of the '{@link #getMediaType() <em>Media Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMediaType() - * @generated - * @ordered - */ - protected static final String MEDIA_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMediaType() <em>Media Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMediaType() - * @generated - * @ordered - */ - protected String mediaType = MEDIA_TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XAttributeTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XATTRIBUTE_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getBaseAttributeType() - { - return baseAttributeType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBaseAttributeType(String newBaseAttributeType) - { - String oldBaseAttributeType = baseAttributeType; - baseAttributeType = newBaseAttributeType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE, oldBaseAttributeType, baseAttributeType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType getOverride() - { - if (override != null && override.eIsProxy()) - { - InternalEObject oldOverride = (InternalEObject)override; - override = (XAttributeType)eResolveProxy(oldOverride); - if (override != oldOverride) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override)); - } - } - return override; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType basicGetOverride() - { - return override; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOverride(XAttributeType newOverride) - { - XAttributeType oldOverride = override; - override = newOverride; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDataProvider() - { - return dataProvider; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDataProvider(String newDataProvider) - { - String oldDataProvider = dataProvider; - dataProvider = newDataProvider; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER, oldDataProvider, dataProvider)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMin() - { - return min; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMin(String newMin) - { - String oldMin = min; - min = newMin; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MIN, oldMin, min)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMax() - { - return max; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMax(String newMax) - { - String oldMax = max; - max = newMax; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MAX, oldMax, max)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getTaggerId() - { - return taggerId; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTaggerId(String newTaggerId) - { - String oldTaggerId = taggerId; - taggerId = newTaggerId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID, oldTaggerId, taggerId)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumType getEnumType() - { - if (enumType != null && enumType.eIsProxy()) - { - InternalEObject oldEnumType = (InternalEObject)enumType; - enumType = (XOseeEnumType)eResolveProxy(oldEnumType); - if (enumType != oldEnumType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType)); - } - } - return enumType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumType basicGetEnumType() - { - return enumType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnumType(XOseeEnumType newEnumType) - { - XOseeEnumType oldEnumType = enumType; - enumType = newEnumType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDescription() - { - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDescription(String newDescription) - { - String oldDescription = description; - description = newDescription; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION, oldDescription, description)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDefaultValue() - { - return defaultValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultValue(String newDefaultValue) - { - String oldDefaultValue = defaultValue; - defaultValue = newDefaultValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE, oldDefaultValue, defaultValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getFileExtension() - { - return fileExtension; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFileExtension(String newFileExtension) - { - String oldFileExtension = fileExtension; - fileExtension = newFileExtension; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION, oldFileExtension, fileExtension)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMediaType() - { - return mediaType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMediaType(String newMediaType) - { - String oldMediaType = mediaType; - mediaType = newMediaType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MEDIA_TYPE, oldMediaType, mediaType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: - return getBaseAttributeType(); - case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: - if (resolve) return getOverride(); - return basicGetOverride(); - case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: - return getDataProvider(); - case OseeDslPackage.XATTRIBUTE_TYPE__MIN: - return getMin(); - case OseeDslPackage.XATTRIBUTE_TYPE__MAX: - return getMax(); - case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: - return getTaggerId(); - case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: - if (resolve) return getEnumType(); - return basicGetEnumType(); - case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: - return getDescription(); - case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: - return getDefaultValue(); - case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: - return getFileExtension(); - case OseeDslPackage.XATTRIBUTE_TYPE__MEDIA_TYPE: - return getMediaType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: - setBaseAttributeType((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: - setOverride((XAttributeType)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: - setDataProvider((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__MIN: - setMin((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__MAX: - setMax((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: - setTaggerId((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: - setEnumType((XOseeEnumType)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: - setDescription((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: - setDefaultValue((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: - setFileExtension((String)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__MEDIA_TYPE: - setMediaType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: - setBaseAttributeType(BASE_ATTRIBUTE_TYPE_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: - setOverride((XAttributeType)null); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: - setDataProvider(DATA_PROVIDER_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__MIN: - setMin(MIN_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__MAX: - setMax(MAX_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: - setTaggerId(TAGGER_ID_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: - setEnumType((XOseeEnumType)null); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: - setDescription(DESCRIPTION_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: - setDefaultValue(DEFAULT_VALUE_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: - setFileExtension(FILE_EXTENSION_EDEFAULT); - return; - case OseeDslPackage.XATTRIBUTE_TYPE__MEDIA_TYPE: - setMediaType(MEDIA_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: - return BASE_ATTRIBUTE_TYPE_EDEFAULT == null ? baseAttributeType != null : !BASE_ATTRIBUTE_TYPE_EDEFAULT.equals(baseAttributeType); - case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: - return override != null; - case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: - return DATA_PROVIDER_EDEFAULT == null ? dataProvider != null : !DATA_PROVIDER_EDEFAULT.equals(dataProvider); - case OseeDslPackage.XATTRIBUTE_TYPE__MIN: - return MIN_EDEFAULT == null ? min != null : !MIN_EDEFAULT.equals(min); - case OseeDslPackage.XATTRIBUTE_TYPE__MAX: - return MAX_EDEFAULT == null ? max != null : !MAX_EDEFAULT.equals(max); - case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: - return TAGGER_ID_EDEFAULT == null ? taggerId != null : !TAGGER_ID_EDEFAULT.equals(taggerId); - case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: - return enumType != null; - case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: - return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); - case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: - return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue); - case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: - return FILE_EXTENSION_EDEFAULT == null ? fileExtension != null : !FILE_EXTENSION_EDEFAULT.equals(fileExtension); - case OseeDslPackage.XATTRIBUTE_TYPE__MEDIA_TYPE: - return MEDIA_TYPE_EDEFAULT == null ? mediaType != null : !MEDIA_TYPE_EDEFAULT.equals(mediaType); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (baseAttributeType: "); - result.append(baseAttributeType); - result.append(", dataProvider: "); - result.append(dataProvider); - result.append(", min: "); - result.append(min); - result.append(", max: "); - result.append(max); - result.append(", taggerId: "); - result.append(taggerId); - result.append(", description: "); - result.append(description); - result.append(", defaultValue: "); - result.append(defaultValue); - result.append(", fileExtension: "); - result.append(fileExtension); - result.append(", mediaType: "); - result.append(mediaType); - result.append(')'); - return result.toString(); - } - -} //XAttributeTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java deleted file mode 100644 index 6618c545e40..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java +++ /dev/null @@ -1,244 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XAttribute Type Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl#getValidAttributeType <em>Valid Attribute Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl#getBranchUuid <em>Branch Uuid</em>}</li> - * </ul> - * - * @generated - */ -public class XAttributeTypeRefImpl extends MinimalEObjectImpl.Container implements XAttributeTypeRef -{ - /** - * The cached value of the '{@link #getValidAttributeType() <em>Valid Attribute Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValidAttributeType() - * @generated - * @ordered - */ - protected XAttributeType validAttributeType; - - /** - * The default value of the '{@link #getBranchUuid() <em>Branch Uuid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBranchUuid() - * @generated - * @ordered - */ - protected static final String BRANCH_UUID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBranchUuid() <em>Branch Uuid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBranchUuid() - * @generated - * @ordered - */ - protected String branchUuid = BRANCH_UUID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XAttributeTypeRefImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XATTRIBUTE_TYPE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType getValidAttributeType() - { - if (validAttributeType != null && validAttributeType.eIsProxy()) - { - InternalEObject oldValidAttributeType = (InternalEObject)validAttributeType; - validAttributeType = (XAttributeType)eResolveProxy(oldValidAttributeType); - if (validAttributeType != oldValidAttributeType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType)); - } - } - return validAttributeType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XAttributeType basicGetValidAttributeType() - { - return validAttributeType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValidAttributeType(XAttributeType newValidAttributeType) - { - XAttributeType oldValidAttributeType = validAttributeType; - validAttributeType = newValidAttributeType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getBranchUuid() - { - return branchUuid; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBranchUuid(String newBranchUuid) - { - String oldBranchUuid = branchUuid; - branchUuid = newBranchUuid; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_UUID, oldBranchUuid, branchUuid)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: - if (resolve) return getValidAttributeType(); - return basicGetValidAttributeType(); - case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_UUID: - return getBranchUuid(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: - setValidAttributeType((XAttributeType)newValue); - return; - case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_UUID: - setBranchUuid((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: - setValidAttributeType((XAttributeType)null); - return; - case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_UUID: - setBranchUuid(BRANCH_UUID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: - return validAttributeType != null; - case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_UUID: - return BRANCH_UUID_EDEFAULT == null ? branchUuid != null : !BRANCH_UUID_EDEFAULT.equals(branchUuid); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (branchUuid: "); - result.append(branchUuid); - result.append(')'); - return result.toString(); - } - -} //XAttributeTypeRefImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeArtifactTypeOverrideImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeArtifactTypeOverrideImpl.java deleted file mode 100644 index bcbe39b5164..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeArtifactTypeOverrideImpl.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XOsee Artifact Type Override</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl#getOverridenArtifactType <em>Overriden Artifact Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl#isInheritAll <em>Inherit All</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeArtifactTypeOverrideImpl#getOverrideOptions <em>Override Options</em>}</li> - * </ul> - * - * @generated - */ -public class XOseeArtifactTypeOverrideImpl extends MinimalEObjectImpl.Container implements XOseeArtifactTypeOverride -{ - /** - * The cached value of the '{@link #getOverridenArtifactType() <em>Overriden Artifact Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOverridenArtifactType() - * @generated - * @ordered - */ - protected XArtifactType overridenArtifactType; - - /** - * The default value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isInheritAll() - * @generated - * @ordered - */ - protected static final boolean INHERIT_ALL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isInheritAll() - * @generated - * @ordered - */ - protected boolean inheritAll = INHERIT_ALL_EDEFAULT; - - /** - * The cached value of the '{@link #getOverrideOptions() <em>Override Options</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOverrideOptions() - * @generated - * @ordered - */ - protected EList<AttributeOverrideOption> overrideOptions; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XOseeArtifactTypeOverrideImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XOSEE_ARTIFACT_TYPE_OVERRIDE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType getOverridenArtifactType() - { - if (overridenArtifactType != null && overridenArtifactType.eIsProxy()) - { - InternalEObject oldOverridenArtifactType = (InternalEObject)overridenArtifactType; - overridenArtifactType = (XArtifactType)eResolveProxy(oldOverridenArtifactType); - if (overridenArtifactType != oldOverridenArtifactType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE, oldOverridenArtifactType, overridenArtifactType)); - } - } - return overridenArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType basicGetOverridenArtifactType() - { - return overridenArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOverridenArtifactType(XArtifactType newOverridenArtifactType) - { - XArtifactType oldOverridenArtifactType = overridenArtifactType; - overridenArtifactType = newOverridenArtifactType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE, oldOverridenArtifactType, overridenArtifactType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isInheritAll() - { - return inheritAll; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInheritAll(boolean newInheritAll) - { - boolean oldInheritAll = inheritAll; - inheritAll = newInheritAll; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL, oldInheritAll, inheritAll)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<AttributeOverrideOption> getOverrideOptions() - { - if (overrideOptions == null) - { - overrideOptions = new EObjectContainmentEList<AttributeOverrideOption>(AttributeOverrideOption.class, this, OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS); - } - return overrideOptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS: - return ((InternalEList<?>)getOverrideOptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE: - if (resolve) return getOverridenArtifactType(); - return basicGetOverridenArtifactType(); - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL: - return isInheritAll(); - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS: - return getOverrideOptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE: - setOverridenArtifactType((XArtifactType)newValue); - return; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL: - setInheritAll((Boolean)newValue); - return; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS: - getOverrideOptions().clear(); - getOverrideOptions().addAll((Collection<? extends AttributeOverrideOption>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE: - setOverridenArtifactType((XArtifactType)null); - return; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL: - setInheritAll(INHERIT_ALL_EDEFAULT); - return; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS: - getOverrideOptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDEN_ARTIFACT_TYPE: - return overridenArtifactType != null; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__INHERIT_ALL: - return inheritAll != INHERIT_ALL_EDEFAULT; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE__OVERRIDE_OPTIONS: - return overrideOptions != null && !overrideOptions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (inheritAll: "); - result.append(inheritAll); - result.append(')'); - return result.toString(); - } - -} //XOseeArtifactTypeOverrideImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java deleted file mode 100644 index d41128b69c9..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java +++ /dev/null @@ -1,289 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XOsee Enum Entry</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getOrdinal <em>Ordinal</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getDescription <em>Description</em>}</li> - * </ul> - * - * @generated - */ -public class XOseeEnumEntryImpl extends MinimalEObjectImpl.Container implements XOseeEnumEntry -{ - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrdinal() - * @generated - * @ordered - */ - protected static final String ORDINAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrdinal() - * @generated - * @ordered - */ - protected String ordinal = ORDINAL_EDEFAULT; - - /** - * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected static final String DESCRIPTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected String description = DESCRIPTION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XOseeEnumEntryImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XOSEE_ENUM_ENTRY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() - { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getOrdinal() - { - return ordinal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrdinal(String newOrdinal) - { - String oldOrdinal = ordinal; - ordinal = newOrdinal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL, oldOrdinal, ordinal)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDescription() - { - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDescription(String newDescription) - { - String oldDescription = description; - description = newDescription; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__DESCRIPTION, oldDescription, description)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: - return getName(); - case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: - return getOrdinal(); - case OseeDslPackage.XOSEE_ENUM_ENTRY__DESCRIPTION: - return getDescription(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: - setName((String)newValue); - return; - case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: - setOrdinal((String)newValue); - return; - case OseeDslPackage.XOSEE_ENUM_ENTRY__DESCRIPTION: - setDescription((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: - setOrdinal(ORDINAL_EDEFAULT); - return; - case OseeDslPackage.XOSEE_ENUM_ENTRY__DESCRIPTION: - setDescription(DESCRIPTION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: - return ORDINAL_EDEFAULT == null ? ordinal != null : !ORDINAL_EDEFAULT.equals(ordinal); - case OseeDslPackage.XOSEE_ENUM_ENTRY__DESCRIPTION: - return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", ordinal: "); - result.append(ordinal); - result.append(", description: "); - result.append(description); - result.append(')'); - return result.toString(); - } - -} //XOseeEnumEntryImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java deleted file mode 100644 index b1059d67011..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java +++ /dev/null @@ -1,305 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XOsee Enum Override</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverridenEnumType <em>Overriden Enum Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#isInheritAll <em>Inherit All</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverrideOptions <em>Override Options</em>}</li> - * </ul> - * - * @generated - */ -public class XOseeEnumOverrideImpl extends OseeElementImpl implements XOseeEnumOverride -{ - /** - * The cached value of the '{@link #getOverridenEnumType() <em>Overriden Enum Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOverridenEnumType() - * @generated - * @ordered - */ - protected XOseeEnumType overridenEnumType; - - /** - * The default value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isInheritAll() - * @generated - * @ordered - */ - protected static final boolean INHERIT_ALL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isInheritAll() - * @generated - * @ordered - */ - protected boolean inheritAll = INHERIT_ALL_EDEFAULT; - - /** - * The cached value of the '{@link #getOverrideOptions() <em>Override Options</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOverrideOptions() - * @generated - * @ordered - */ - protected EList<OverrideOption> overrideOptions; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XOseeEnumOverrideImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XOSEE_ENUM_OVERRIDE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumType getOverridenEnumType() - { - if (overridenEnumType != null && overridenEnumType.eIsProxy()) - { - InternalEObject oldOverridenEnumType = (InternalEObject)overridenEnumType; - overridenEnumType = (XOseeEnumType)eResolveProxy(oldOverridenEnumType); - if (overridenEnumType != oldOverridenEnumType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType)); - } - } - return overridenEnumType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XOseeEnumType basicGetOverridenEnumType() - { - return overridenEnumType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOverridenEnumType(XOseeEnumType newOverridenEnumType) - { - XOseeEnumType oldOverridenEnumType = overridenEnumType; - overridenEnumType = newOverridenEnumType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isInheritAll() - { - return inheritAll; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInheritAll(boolean newInheritAll) - { - boolean oldInheritAll = inheritAll; - inheritAll = newInheritAll; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL, oldInheritAll, inheritAll)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<OverrideOption> getOverrideOptions() - { - if (overrideOptions == null) - { - overrideOptions = new EObjectContainmentEList<OverrideOption>(OverrideOption.class, this, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS); - } - return overrideOptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - return ((InternalEList<?>)getOverrideOptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - if (resolve) return getOverridenEnumType(); - return basicGetOverridenEnumType(); - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - return isInheritAll(); - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - return getOverrideOptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - setOverridenEnumType((XOseeEnumType)newValue); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - setInheritAll((Boolean)newValue); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - getOverrideOptions().clear(); - getOverrideOptions().addAll((Collection<? extends OverrideOption>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - setOverridenEnumType((XOseeEnumType)null); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - setInheritAll(INHERIT_ALL_EDEFAULT); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - getOverrideOptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - return overridenEnumType != null; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - return inheritAll != INHERIT_ALL_EDEFAULT; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - return overrideOptions != null && !overrideOptions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (inheritAll: "); - result.append(inheritAll); - result.append(')'); - return result.toString(); - } - -} //XOseeEnumOverrideImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java deleted file mode 100644 index 0b8c6d52c73..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XOsee Enum Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl#getEnumEntries <em>Enum Entries</em>}</li> - * </ul> - * - * @generated - */ -public class XOseeEnumTypeImpl extends OseeTypeImpl implements XOseeEnumType -{ - /** - * The cached value of the '{@link #getEnumEntries() <em>Enum Entries</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnumEntries() - * @generated - * @ordered - */ - protected EList<XOseeEnumEntry> enumEntries; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XOseeEnumTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XOSEE_ENUM_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<XOseeEnumEntry> getEnumEntries() - { - if (enumEntries == null) - { - enumEntries = new EObjectContainmentEList<XOseeEnumEntry>(XOseeEnumEntry.class, this, OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES); - } - return enumEntries; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: - return ((InternalEList<?>)getEnumEntries()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: - return getEnumEntries(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: - getEnumEntries().clear(); - getEnumEntries().addAll((Collection<? extends XOseeEnumEntry>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: - getEnumEntries().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: - return enumEntries != null && !enumEntries.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //XOseeEnumTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java deleted file mode 100644 index 410cb6a68f6..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java +++ /dev/null @@ -1,477 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XRelation Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAName <em>Side AName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAArtifactType <em>Side AArtifact Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBName <em>Side BName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBArtifactType <em>Side BArtifact Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getDefaultOrderType <em>Default Order Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getMultiplicity <em>Multiplicity</em>}</li> - * </ul> - * - * @generated - */ -public class XRelationTypeImpl extends OseeTypeImpl implements XRelationType -{ - /** - * The default value of the '{@link #getSideAName() <em>Side AName</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSideAName() - * @generated - * @ordered - */ - protected static final String SIDE_ANAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSideAName() <em>Side AName</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSideAName() - * @generated - * @ordered - */ - protected String sideAName = SIDE_ANAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSideAArtifactType() <em>Side AArtifact Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSideAArtifactType() - * @generated - * @ordered - */ - protected XArtifactType sideAArtifactType; - - /** - * The default value of the '{@link #getSideBName() <em>Side BName</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSideBName() - * @generated - * @ordered - */ - protected static final String SIDE_BNAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSideBName() <em>Side BName</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSideBName() - * @generated - * @ordered - */ - protected String sideBName = SIDE_BNAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSideBArtifactType() <em>Side BArtifact Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSideBArtifactType() - * @generated - * @ordered - */ - protected XArtifactType sideBArtifactType; - - /** - * The default value of the '{@link #getDefaultOrderType() <em>Default Order Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultOrderType() - * @generated - * @ordered - */ - protected static final String DEFAULT_ORDER_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDefaultOrderType() <em>Default Order Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultOrderType() - * @generated - * @ordered - */ - protected String defaultOrderType = DEFAULT_ORDER_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected static final RelationMultiplicityEnum MULTIPLICITY_EDEFAULT = RelationMultiplicityEnum.ONE_TO_ONE; - - /** - * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected RelationMultiplicityEnum multiplicity = MULTIPLICITY_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XRelationTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return OseeDslPackage.Literals.XRELATION_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSideAName() - { - return sideAName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSideAName(String newSideAName) - { - String oldSideAName = sideAName; - sideAName = newSideAName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_ANAME, oldSideAName, sideAName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType getSideAArtifactType() - { - if (sideAArtifactType != null && sideAArtifactType.eIsProxy()) - { - InternalEObject oldSideAArtifactType = (InternalEObject)sideAArtifactType; - sideAArtifactType = (XArtifactType)eResolveProxy(oldSideAArtifactType); - if (sideAArtifactType != oldSideAArtifactType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType)); - } - } - return sideAArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType basicGetSideAArtifactType() - { - return sideAArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSideAArtifactType(XArtifactType newSideAArtifactType) - { - XArtifactType oldSideAArtifactType = sideAArtifactType; - sideAArtifactType = newSideAArtifactType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSideBName() - { - return sideBName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSideBName(String newSideBName) - { - String oldSideBName = sideBName; - sideBName = newSideBName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BNAME, oldSideBName, sideBName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType getSideBArtifactType() - { - if (sideBArtifactType != null && sideBArtifactType.eIsProxy()) - { - InternalEObject oldSideBArtifactType = (InternalEObject)sideBArtifactType; - sideBArtifactType = (XArtifactType)eResolveProxy(oldSideBArtifactType); - if (sideBArtifactType != oldSideBArtifactType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType)); - } - } - return sideBArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XArtifactType basicGetSideBArtifactType() - { - return sideBArtifactType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSideBArtifactType(XArtifactType newSideBArtifactType) - { - XArtifactType oldSideBArtifactType = sideBArtifactType; - sideBArtifactType = newSideBArtifactType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDefaultOrderType() - { - return defaultOrderType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultOrderType(String newDefaultOrderType) - { - String oldDefaultOrderType = defaultOrderType; - defaultOrderType = newDefaultOrderType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE, oldDefaultOrderType, defaultOrderType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RelationMultiplicityEnum getMultiplicity() - { - return multiplicity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMultiplicity(RelationMultiplicityEnum newMultiplicity) - { - RelationMultiplicityEnum oldMultiplicity = multiplicity; - multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__MULTIPLICITY, oldMultiplicity, multiplicity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: - return getSideAName(); - case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: - if (resolve) return getSideAArtifactType(); - return basicGetSideAArtifactType(); - case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: - return getSideBName(); - case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: - if (resolve) return getSideBArtifactType(); - return basicGetSideBArtifactType(); - case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: - return getDefaultOrderType(); - case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: - return getMultiplicity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: - setSideAName((String)newValue); - return; - case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: - setSideAArtifactType((XArtifactType)newValue); - return; - case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: - setSideBName((String)newValue); - return; - case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: - setSideBArtifactType((XArtifactType)newValue); - return; - case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: - setDefaultOrderType((String)newValue); - return; - case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: - setMultiplicity((RelationMultiplicityEnum)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: - setSideAName(SIDE_ANAME_EDEFAULT); - return; - case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: - setSideAArtifactType((XArtifactType)null); - return; - case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: - setSideBName(SIDE_BNAME_EDEFAULT); - return; - case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: - setSideBArtifactType((XArtifactType)null); - return; - case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: - setDefaultOrderType(DEFAULT_ORDER_TYPE_EDEFAULT); - return; - case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: - setMultiplicity(MULTIPLICITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: - return SIDE_ANAME_EDEFAULT == null ? sideAName != null : !SIDE_ANAME_EDEFAULT.equals(sideAName); - case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: - return sideAArtifactType != null; - case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: - return SIDE_BNAME_EDEFAULT == null ? sideBName != null : !SIDE_BNAME_EDEFAULT.equals(sideBName); - case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: - return sideBArtifactType != null; - case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: - return DEFAULT_ORDER_TYPE_EDEFAULT == null ? defaultOrderType != null : !DEFAULT_ORDER_TYPE_EDEFAULT.equals(defaultOrderType); - case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: - return multiplicity != MULTIPLICITY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (sideAName: "); - result.append(sideAName); - result.append(", sideBName: "); - result.append(sideBName); - result.append(", defaultOrderType: "); - result.append(defaultOrderType); - result.append(", multiplicity: "); - result.append(multiplicity); - result.append(')'); - return result.toString(); - } - -} //XRelationTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java deleted file mode 100644 index 299e0fbe04d..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java +++ /dev/null @@ -1,852 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage - * @generated - */ -public class OseeDslAdapterFactory extends AdapterFactoryImpl -{ - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static OseeDslPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeDslAdapterFactory() - { - if (modelPackage == null) - { - modelPackage = OseeDslPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) - { - if (object == modelPackage) - { - return true; - } - if (object instanceof EObject) - { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OseeDslSwitch<Adapter> modelSwitch = - new OseeDslSwitch<Adapter>() - { - @Override - public Adapter caseOseeDsl(OseeDsl object) - { - return createOseeDslAdapter(); - } - @Override - public Adapter caseImport(Import object) - { - return createImportAdapter(); - } - @Override - public Adapter caseOseeElement(OseeElement object) - { - return createOseeElementAdapter(); - } - @Override - public Adapter caseOseeType(OseeType object) - { - return createOseeTypeAdapter(); - } - @Override - public Adapter caseXArtifactType(XArtifactType object) - { - return createXArtifactTypeAdapter(); - } - @Override - public Adapter caseXAttributeTypeRef(XAttributeTypeRef object) - { - return createXAttributeTypeRefAdapter(); - } - @Override - public Adapter caseXAttributeType(XAttributeType object) - { - return createXAttributeTypeAdapter(); - } - @Override - public Adapter caseXOseeEnumType(XOseeEnumType object) - { - return createXOseeEnumTypeAdapter(); - } - @Override - public Adapter caseXOseeEnumEntry(XOseeEnumEntry object) - { - return createXOseeEnumEntryAdapter(); - } - @Override - public Adapter caseXOseeEnumOverride(XOseeEnumOverride object) - { - return createXOseeEnumOverrideAdapter(); - } - @Override - public Adapter caseOverrideOption(OverrideOption object) - { - return createOverrideOptionAdapter(); - } - @Override - public Adapter caseAddEnum(AddEnum object) - { - return createAddEnumAdapter(); - } - @Override - public Adapter caseRemoveEnum(RemoveEnum object) - { - return createRemoveEnumAdapter(); - } - @Override - public Adapter caseXOseeArtifactTypeOverride(XOseeArtifactTypeOverride object) - { - return createXOseeArtifactTypeOverrideAdapter(); - } - @Override - public Adapter caseAttributeOverrideOption(AttributeOverrideOption object) - { - return createAttributeOverrideOptionAdapter(); - } - @Override - public Adapter caseAddAttribute(AddAttribute object) - { - return createAddAttributeAdapter(); - } - @Override - public Adapter caseRemoveAttribute(RemoveAttribute object) - { - return createRemoveAttributeAdapter(); - } - @Override - public Adapter caseUpdateAttribute(UpdateAttribute object) - { - return createUpdateAttributeAdapter(); - } - @Override - public Adapter caseXRelationType(XRelationType object) - { - return createXRelationTypeAdapter(); - } - @Override - public Adapter caseCondition(Condition object) - { - return createConditionAdapter(); - } - @Override - public Adapter caseSimpleCondition(SimpleCondition object) - { - return createSimpleConditionAdapter(); - } - @Override - public Adapter caseCompoundCondition(CompoundCondition object) - { - return createCompoundConditionAdapter(); - } - @Override - public Adapter caseXArtifactMatcher(XArtifactMatcher object) - { - return createXArtifactMatcherAdapter(); - } - @Override - public Adapter caseRole(Role object) - { - return createRoleAdapter(); - } - @Override - public Adapter caseReferencedContext(ReferencedContext object) - { - return createReferencedContextAdapter(); - } - @Override - public Adapter caseUsersAndGroups(UsersAndGroups object) - { - return createUsersAndGroupsAdapter(); - } - @Override - public Adapter caseAccessContext(AccessContext object) - { - return createAccessContextAdapter(); - } - @Override - public Adapter caseHierarchyRestriction(HierarchyRestriction object) - { - return createHierarchyRestrictionAdapter(); - } - @Override - public Adapter caseRelationTypeArtifactTypePredicate(RelationTypeArtifactTypePredicate object) - { - return createRelationTypeArtifactTypePredicateAdapter(); - } - @Override - public Adapter caseRelationTypeArtifactPredicate(RelationTypeArtifactPredicate object) - { - return createRelationTypeArtifactPredicateAdapter(); - } - @Override - public Adapter caseRelationTypePredicate(RelationTypePredicate object) - { - return createRelationTypePredicateAdapter(); - } - @Override - public Adapter caseObjectRestriction(ObjectRestriction object) - { - return createObjectRestrictionAdapter(); - } - @Override - public Adapter caseArtifactMatchRestriction(ArtifactMatchRestriction object) - { - return createArtifactMatchRestrictionAdapter(); - } - @Override - public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object) - { - return createArtifactTypeRestrictionAdapter(); - } - @Override - public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object) - { - return createAttributeTypeRestrictionAdapter(); - } - @Override - public Adapter caseLegacyRelationTypeRestriction(LegacyRelationTypeRestriction object) - { - return createLegacyRelationTypeRestrictionAdapter(); - } - @Override - public Adapter caseRelationTypeRestriction(RelationTypeRestriction object) - { - return createRelationTypeRestrictionAdapter(); - } - @Override - public Adapter defaultCase(EObject object) - { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) - { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl - * @generated - */ - public Adapter createOseeDslAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import - * @generated - */ - public Adapter createImportAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement - * @generated - */ - public Adapter createOseeElementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType - * @generated - */ - public Adapter createOseeTypeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType - * @generated - */ - public Adapter createXArtifactTypeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef - * @generated - */ - public Adapter createXAttributeTypeRefAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType - * @generated - */ - public Adapter createXAttributeTypeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType - * @generated - */ - public Adapter createXOseeEnumTypeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry - * @generated - */ - public Adapter createXOseeEnumEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride - * @generated - */ - public Adapter createXOseeEnumOverrideAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption - * @generated - */ - public Adapter createOverrideOptionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum - * @generated - */ - public Adapter createAddEnumAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum - * @generated - */ - public Adapter createRemoveEnumAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride <em>XOsee Artifact Type Override</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride - * @generated - */ - public Adapter createXOseeArtifactTypeOverrideAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption <em>Attribute Override Option</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeOverrideOption - * @generated - */ - public Adapter createAttributeOverrideOptionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute <em>Add Attribute</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute - * @generated - */ - public Adapter createAddAttributeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute <em>Remove Attribute</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute - * @generated - */ - public Adapter createRemoveAttributeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute <em>Update Attribute</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute - * @generated - */ - public Adapter createUpdateAttributeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType <em>XRelation Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType - * @generated - */ - public Adapter createXRelationTypeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Condition <em>Condition</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Condition - * @generated - */ - public Adapter createConditionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition <em>Simple Condition</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition - * @generated - */ - public Adapter createSimpleConditionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition <em>Compound Condition</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition - * @generated - */ - public Adapter createCompoundConditionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher <em>XArtifact Matcher</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher - * @generated - */ - public Adapter createXArtifactMatcherAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Role <em>Role</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Role - * @generated - */ - public Adapter createRoleAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext <em>Referenced Context</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext - * @generated - */ - public Adapter createReferencedContextAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups <em>Users And Groups</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups - * @generated - */ - public Adapter createUsersAndGroupsAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext <em>Access Context</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext - * @generated - */ - public Adapter createAccessContextAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction <em>Hierarchy Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction - * @generated - */ - public Adapter createHierarchyRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate <em>Relation Type Artifact Type Predicate</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate - * @generated - */ - public Adapter createRelationTypeArtifactTypePredicateAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate <em>Relation Type Artifact Predicate</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate - * @generated - */ - public Adapter createRelationTypeArtifactPredicateAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate <em>Relation Type Predicate</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypePredicate - * @generated - */ - public Adapter createRelationTypePredicateAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction <em>Object Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction - * @generated - */ - public Adapter createObjectRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction <em>Artifact Match Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction - * @generated - */ - public Adapter createArtifactMatchRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction <em>Artifact Type Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction - * @generated - */ - public Adapter createArtifactTypeRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction <em>Attribute Type Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction - * @generated - */ - public Adapter createAttributeTypeRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction <em>Legacy Relation Type Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction - * @generated - */ - public Adapter createLegacyRelationTypeRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction <em>Relation Type Restriction</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction - * @generated - */ - public Adapter createRelationTypeRestrictionAdapter() - { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() - { - return null; - } - -} //OseeDslAdapterFactory diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java deleted file mode 100644 index 70d873b38d9..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java +++ /dev/null @@ -1,970 +0,0 @@ -/** - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.osee.framework.core.dsl.oseeDsl.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage - * @generated - */ -public class OseeDslSwitch<T> extends Switch<T> -{ - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static OseeDslPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OseeDslSwitch() - { - if (modelPackage == null) - { - modelPackage = OseeDslPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) - { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) - { - switch (classifierID) - { - case OseeDslPackage.OSEE_DSL: - { - OseeDsl oseeDsl = (OseeDsl)theEObject; - T result = caseOseeDsl(oseeDsl); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.IMPORT: - { - Import import_ = (Import)theEObject; - T result = caseImport(import_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.OSEE_ELEMENT: - { - OseeElement oseeElement = (OseeElement)theEObject; - T result = caseOseeElement(oseeElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.OSEE_TYPE: - { - OseeType oseeType = (OseeType)theEObject; - T result = caseOseeType(oseeType); - if (result == null) result = caseOseeElement(oseeType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XARTIFACT_TYPE: - { - XArtifactType xArtifactType = (XArtifactType)theEObject; - T result = caseXArtifactType(xArtifactType); - if (result == null) result = caseOseeType(xArtifactType); - if (result == null) result = caseOseeElement(xArtifactType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XATTRIBUTE_TYPE_REF: - { - XAttributeTypeRef xAttributeTypeRef = (XAttributeTypeRef)theEObject; - T result = caseXAttributeTypeRef(xAttributeTypeRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XATTRIBUTE_TYPE: - { - XAttributeType xAttributeType = (XAttributeType)theEObject; - T result = caseXAttributeType(xAttributeType); - if (result == null) result = caseOseeType(xAttributeType); - if (result == null) result = caseOseeElement(xAttributeType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XOSEE_ENUM_TYPE: - { - XOseeEnumType xOseeEnumType = (XOseeEnumType)theEObject; - T result = caseXOseeEnumType(xOseeEnumType); - if (result == null) result = caseOseeType(xOseeEnumType); - if (result == null) result = caseOseeElement(xOseeEnumType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XOSEE_ENUM_ENTRY: - { - XOseeEnumEntry xOseeEnumEntry = (XOseeEnumEntry)theEObject; - T result = caseXOseeEnumEntry(xOseeEnumEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XOSEE_ENUM_OVERRIDE: - { - XOseeEnumOverride xOseeEnumOverride = (XOseeEnumOverride)theEObject; - T result = caseXOseeEnumOverride(xOseeEnumOverride); - if (result == null) result = caseOseeElement(xOseeEnumOverride); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.OVERRIDE_OPTION: - { - OverrideOption overrideOption = (OverrideOption)theEObject; - T result = caseOverrideOption(overrideOption); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ADD_ENUM: - { - AddEnum addEnum = (AddEnum)theEObject; - T result = caseAddEnum(addEnum); - if (result == null) result = caseOverrideOption(addEnum); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.REMOVE_ENUM: - { - RemoveEnum removeEnum = (RemoveEnum)theEObject; - T result = caseRemoveEnum(removeEnum); - if (result == null) result = caseOverrideOption(removeEnum); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE: - { - XOseeArtifactTypeOverride xOseeArtifactTypeOverride = (XOseeArtifactTypeOverride)theEObject; - T result = caseXOseeArtifactTypeOverride(xOseeArtifactTypeOverride); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ATTRIBUTE_OVERRIDE_OPTION: - { - AttributeOverrideOption attributeOverrideOption = (AttributeOverrideOption)theEObject; - T result = caseAttributeOverrideOption(attributeOverrideOption); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ADD_ATTRIBUTE: - { - AddAttribute addAttribute = (AddAttribute)theEObject; - T result = caseAddAttribute(addAttribute); - if (result == null) result = caseAttributeOverrideOption(addAttribute); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.REMOVE_ATTRIBUTE: - { - RemoveAttribute removeAttribute = (RemoveAttribute)theEObject; - T result = caseRemoveAttribute(removeAttribute); - if (result == null) result = caseAttributeOverrideOption(removeAttribute); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.UPDATE_ATTRIBUTE: - { - UpdateAttribute updateAttribute = (UpdateAttribute)theEObject; - T result = caseUpdateAttribute(updateAttribute); - if (result == null) result = caseAttributeOverrideOption(updateAttribute); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XRELATION_TYPE: - { - XRelationType xRelationType = (XRelationType)theEObject; - T result = caseXRelationType(xRelationType); - if (result == null) result = caseOseeType(xRelationType); - if (result == null) result = caseOseeElement(xRelationType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.CONDITION: - { - Condition condition = (Condition)theEObject; - T result = caseCondition(condition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.SIMPLE_CONDITION: - { - SimpleCondition simpleCondition = (SimpleCondition)theEObject; - T result = caseSimpleCondition(simpleCondition); - if (result == null) result = caseCondition(simpleCondition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.COMPOUND_CONDITION: - { - CompoundCondition compoundCondition = (CompoundCondition)theEObject; - T result = caseCompoundCondition(compoundCondition); - if (result == null) result = caseCondition(compoundCondition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.XARTIFACT_MATCHER: - { - XArtifactMatcher xArtifactMatcher = (XArtifactMatcher)theEObject; - T result = caseXArtifactMatcher(xArtifactMatcher); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ROLE: - { - Role role = (Role)theEObject; - T result = caseRole(role); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.REFERENCED_CONTEXT: - { - ReferencedContext referencedContext = (ReferencedContext)theEObject; - T result = caseReferencedContext(referencedContext); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.USERS_AND_GROUPS: - { - UsersAndGroups usersAndGroups = (UsersAndGroups)theEObject; - T result = caseUsersAndGroups(usersAndGroups); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ACCESS_CONTEXT: - { - AccessContext accessContext = (AccessContext)theEObject; - T result = caseAccessContext(accessContext); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.HIERARCHY_RESTRICTION: - { - HierarchyRestriction hierarchyRestriction = (HierarchyRestriction)theEObject; - T result = caseHierarchyRestriction(hierarchyRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE: - { - RelationTypeArtifactTypePredicate relationTypeArtifactTypePredicate = (RelationTypeArtifactTypePredicate)theEObject; - T result = caseRelationTypeArtifactTypePredicate(relationTypeArtifactTypePredicate); - if (result == null) result = caseRelationTypePredicate(relationTypeArtifactTypePredicate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE: - { - RelationTypeArtifactPredicate relationTypeArtifactPredicate = (RelationTypeArtifactPredicate)theEObject; - T result = caseRelationTypeArtifactPredicate(relationTypeArtifactPredicate); - if (result == null) result = caseRelationTypePredicate(relationTypeArtifactPredicate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.RELATION_TYPE_PREDICATE: - { - RelationTypePredicate relationTypePredicate = (RelationTypePredicate)theEObject; - T result = caseRelationTypePredicate(relationTypePredicate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.OBJECT_RESTRICTION: - { - ObjectRestriction objectRestriction = (ObjectRestriction)theEObject; - T result = caseObjectRestriction(objectRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION: - { - ArtifactMatchRestriction artifactMatchRestriction = (ArtifactMatchRestriction)theEObject; - T result = caseArtifactMatchRestriction(artifactMatchRestriction); - if (result == null) result = caseObjectRestriction(artifactMatchRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: - { - ArtifactTypeRestriction artifactTypeRestriction = (ArtifactTypeRestriction)theEObject; - T result = caseArtifactTypeRestriction(artifactTypeRestriction); - if (result == null) result = caseObjectRestriction(artifactTypeRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: - { - AttributeTypeRestriction attributeTypeRestriction = (AttributeTypeRestriction)theEObject; - T result = caseAttributeTypeRestriction(attributeTypeRestriction); - if (result == null) result = caseObjectRestriction(attributeTypeRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION: - { - LegacyRelationTypeRestriction legacyRelationTypeRestriction = (LegacyRelationTypeRestriction)theEObject; - T result = caseLegacyRelationTypeRestriction(legacyRelationTypeRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case OseeDslPackage.RELATION_TYPE_RESTRICTION: - { - RelationTypeRestriction relationTypeRestriction = (RelationTypeRestriction)theEObject; - T result = caseRelationTypeRestriction(relationTypeRestriction); - if (result == null) result = caseObjectRestriction(relationTypeRestriction); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Osee Dsl</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Osee Dsl</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOseeDsl(OseeDsl object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Import</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Import</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImport(Import object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Osee Element</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Osee Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOseeElement(OseeElement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Osee Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Osee Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOseeType(OseeType object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XArtifact Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XArtifact Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXArtifactType(XArtifactType object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXAttributeTypeRef(XAttributeTypeRef object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XAttribute Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XAttribute Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXAttributeType(XAttributeType object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeEnumType(XOseeEnumType object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeEnumEntry(XOseeEnumEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeEnumOverride(XOseeEnumOverride object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Override Option</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Override Option</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOverrideOption(OverrideOption object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Add Enum</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Add Enum</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAddEnum(AddEnum object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Remove Enum</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Remove Enum</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRemoveEnum(RemoveEnum object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Artifact Type Override</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Artifact Type Override</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeArtifactTypeOverride(XOseeArtifactTypeOverride object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Attribute Override Option</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Attribute Override Option</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAttributeOverrideOption(AttributeOverrideOption object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Add Attribute</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Add Attribute</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAddAttribute(AddAttribute object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Remove Attribute</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Remove Attribute</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRemoveAttribute(RemoveAttribute object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Update Attribute</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Update Attribute</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUpdateAttribute(UpdateAttribute object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XRelation Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XRelation Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXRelationType(XRelationType object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Condition</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Condition</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCondition(Condition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Simple Condition</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Simple Condition</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSimpleCondition(SimpleCondition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Compound Condition</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Compound Condition</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCompoundCondition(CompoundCondition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XArtifact Matcher</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XArtifact Matcher</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXArtifactMatcher(XArtifactMatcher object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Role</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Role</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRole(Role object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Referenced Context</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Referenced Context</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReferencedContext(ReferencedContext object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Users And Groups</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Users And Groups</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUsersAndGroups(UsersAndGroups object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Access Context</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Access Context</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAccessContext(AccessContext object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Hierarchy Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Hierarchy Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseHierarchyRestriction(HierarchyRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Relation Type Artifact Type Predicate</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Relation Type Artifact Type Predicate</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRelationTypeArtifactTypePredicate(RelationTypeArtifactTypePredicate object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Relation Type Artifact Predicate</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Relation Type Artifact Predicate</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRelationTypeArtifactPredicate(RelationTypeArtifactPredicate object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Relation Type Predicate</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Relation Type Predicate</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRelationTypePredicate(RelationTypePredicate object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Object Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Object Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectRestriction(ObjectRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Artifact Match Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Artifact Match Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArtifactMatchRestriction(ArtifactMatchRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Artifact Type Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Artifact Type Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArtifactTypeRestriction(ArtifactTypeRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Attribute Type Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Attribute Type Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAttributeTypeRestriction(AttributeTypeRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Legacy Relation Type Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Legacy Relation Type Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLegacyRelationTypeRestriction(LegacyRelationTypeRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Relation Type Restriction</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Relation Type Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRelationTypeRestriction(RelationTypeRestriction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) - { - return null; - } - -} //OseeDslSwitch diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/OseeDslAntlrTokenFileProvider.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/OseeDslAntlrTokenFileProvider.java deleted file mode 100644 index 6f58c55928b..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/OseeDslAntlrTokenFileProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class OseeDslAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - @Override - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.tokens"); - } -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/OseeDslParser.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/OseeDslParser.java deleted file mode 100644 index 94ca32ed49e..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/OseeDslParser.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl.parser.antlr; - -import com.google.inject.Inject; - -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; - -public class OseeDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private OseeDslGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - } - - @Override - protected org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslParser createParser(XtextTokenStream stream) { - return new org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "OseeDsl"; - } - - public OseeDslGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(OseeDslGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g deleted file mode 100644 index eb103c89dac..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g +++ /dev/null @@ -1,3491 +0,0 @@ -/* - * generated by Xtext - */ -grammar InternalOseeDsl; - -options { - superClass=AbstractInternalAntlrParser; - -} - -@lexer::header { -package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.common.util.Enumerator; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; - -} - -@parser::members { - - private OseeDslGrammarAccess grammarAccess; - - public InternalOseeDslParser(TokenStream input, OseeDslGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "OseeDsl"; - } - - @Override - protected OseeDslGrammarAccess getGrammarAccess() { - return grammarAccess; - } -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - - - - -// Entry rule entryRuleOseeDsl -entryRuleOseeDsl returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getOseeDslRule()); } - iv_ruleOseeDsl=ruleOseeDsl - { $current=$iv_ruleOseeDsl.current; } - EOF -; - -// Rule OseeDsl -ruleOseeDsl returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0()); - } - lv_imports_0_0=ruleImport { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "imports", - lv_imports_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Import"); - afterParserOrEnumRuleCall(); - } - -) -)*(( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0()); - } - lv_artifactTypes_1_0=ruleXArtifactType { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "artifactTypes", - lv_artifactTypes_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XArtifactType"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0()); - } - lv_relationTypes_2_0=ruleXRelationType { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "relationTypes", - lv_relationTypes_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XRelationType"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0()); - } - lv_attributeTypes_3_0=ruleXAttributeType { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "attributeTypes", - lv_attributeTypes_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeType"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0()); - } - lv_enumTypes_4_0=ruleXOseeEnumType { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "enumTypes", - lv_enumTypes_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumType"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0()); - } - lv_enumOverrides_5_0=ruleXOseeEnumOverride { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "enumOverrides", - lv_enumOverrides_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumOverride"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypeOverridesXOseeArtifactTypeOverrideParserRuleCall_1_5_0()); - } - lv_artifactTypeOverrides_6_0=ruleXOseeArtifactTypeOverride { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "artifactTypeOverrides", - lv_artifactTypeOverrides_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeArtifactTypeOverride"); - afterParserOrEnumRuleCall(); - } - -) -))*(( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactMatchRefsXArtifactMatcherParserRuleCall_2_0_0()); - } - lv_artifactMatchRefs_7_0=ruleXArtifactMatcher { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "artifactMatchRefs", - lv_artifactMatchRefs_7_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XArtifactMatcher"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_2_1_0()); - } - lv_accessDeclarations_8_0=ruleAccessContext { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "accessDeclarations", - lv_accessDeclarations_8_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessContext"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getOseeDslAccess().getRoleDeclarationsRoleParserRuleCall_2_2_0()); - } - lv_roleDeclarations_9_0=ruleRole { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - $current, - "roleDeclarations", - lv_roleDeclarations_9_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Role"); - afterParserOrEnumRuleCall(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleImport -entryRuleImport returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getImportRule()); } - iv_ruleImport=ruleImport - { $current=$iv_ruleImport.current; } - EOF -; - -// Rule Import -ruleImport returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); - } -( -( - lv_importURI_1_0=RULE_STRING - { - newLeafNode(lv_importURI_1_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getImportRule()); - } - setWithLastConsumed( - $current, - "importURI", - lv_importURI_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)) -; - - - - - -// Entry rule entryRuleQUALIFIED_NAME -entryRuleQUALIFIED_NAME returns [String current=null] - : - { newCompositeNode(grammarAccess.getQUALIFIED_NAMERule()); } - iv_ruleQUALIFIED_NAME=ruleQUALIFIED_NAME - { $current=$iv_ruleQUALIFIED_NAME.current.getText(); } - EOF -; - -// Rule QUALIFIED_NAME -ruleQUALIFIED_NAME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( this_ID_0=RULE_ID { - $current.merge(this_ID_0); - } - - { - newLeafNode(this_ID_0, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0()); - } -( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQUALIFIED_NAMEAccess().getFullStopKeyword_1_0()); - } - this_ID_2=RULE_ID { - $current.merge(this_ID_2); - } - - { - newLeafNode(this_ID_2, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_1_1()); - } -)*) - ; - - - - - - - -// Entry rule entryRuleOseeType -entryRuleOseeType returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getOseeTypeRule()); } - iv_ruleOseeType=ruleOseeType - { $current=$iv_ruleOseeType.current; } - EOF -; - -// Rule OseeType -ruleOseeType returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0()); - } - this_XArtifactType_0=ruleXArtifactType - { - $current = $this_XArtifactType_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1()); - } - this_XRelationType_1=ruleXRelationType - { - $current = $this_XRelationType_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2()); - } - this_XAttributeType_2=ruleXAttributeType - { - $current = $this_XAttributeType_2.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3()); - } - this_XOseeEnumType_3=ruleXOseeEnumType - { - $current = $this_XOseeEnumType_3.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleXArtifactType -entryRuleXArtifactType returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXArtifactTypeRule()); } - iv_ruleXArtifactType=ruleXArtifactType - { $current=$iv_ruleXArtifactType.current; } - EOF -; - -// Rule XArtifactType -ruleXArtifactType returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_abstract_0_0= 'abstract' - { - newLeafNode(lv_abstract_0_0, grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - setWithLastConsumed($current, "abstract", true, "abstract"); - } - -) -)? otherlv_1='artifactType' - { - newLeafNode(otherlv_1, grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1()); - } -( -( - lv_name_2_0=RULE_STRING - { - newLeafNode(lv_name_2_0, grammarAccess.getXArtifactTypeAccess().getNameSTRINGTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)( otherlv_3='extends' - { - newLeafNode(otherlv_3, grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - } - otherlv_4=RULE_STRING - { - newLeafNode(otherlv_4, grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0()); - } - -) -)( otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - } - otherlv_6=RULE_STRING - { - newLeafNode(otherlv_6, grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0()); - } - -) -))*)? otherlv_7='{' - { - newLeafNode(otherlv_7, grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4()); - } - otherlv_8='id' - { - newLeafNode(otherlv_8, grammarAccess.getXArtifactTypeAccess().getIdKeyword_5()); - } -( -( - lv_id_9_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_id_9_0, grammarAccess.getXArtifactTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_6_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - setWithLastConsumed( - $current, - "id", - lv_id_9_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0()); - } - lv_validAttributeTypes_10_0=ruleXAttributeTypeRef { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXArtifactTypeRule()); - } - add( - $current, - "validAttributeTypes", - lv_validAttributeTypes_10_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_11='}' - { - newLeafNode(otherlv_11, grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8()); - } -) -; - - - - - -// Entry rule entryRuleXAttributeTypeRef -entryRuleXAttributeTypeRef returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXAttributeTypeRefRule()); } - iv_ruleXAttributeTypeRef=ruleXAttributeTypeRef - { $current=$iv_ruleXAttributeTypeRef.current; } - EOF -; - -// Rule XAttributeTypeRef -ruleXAttributeTypeRef returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='attribute' - { - newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0()); - } - -) -)( otherlv_2='branchUuid' - { - newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeRefAccess().getBranchUuidKeyword_2_0()); - } -( -( - lv_branchUuid_3_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_branchUuid_3_0, grammarAccess.getXAttributeTypeRefAccess().getBranchUuidWHOLE_NUM_STRTerminalRuleCall_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); - } - setWithLastConsumed( - $current, - "branchUuid", - lv_branchUuid_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -))?) -; - - - - - -// Entry rule entryRuleXAttributeType -entryRuleXAttributeType returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXAttributeTypeRule()); } - iv_ruleXAttributeType=ruleXAttributeType - { $current=$iv_ruleXAttributeType.current; } - EOF -; - -// Rule XAttributeType -ruleXAttributeType returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='attributeType' - { - newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getXAttributeTypeAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)( otherlv_2='extends' - { - newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0()); - } -( -( - { - newCompositeNode(grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0()); - } - lv_baseAttributeType_3_0=ruleAttributeBaseType { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); - } - set( - $current, - "baseAttributeType", - lv_baseAttributeType_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeBaseType"); - afterParserOrEnumRuleCall(); - } - -) -))( otherlv_4='overrides' - { - newLeafNode(otherlv_4, grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - } - otherlv_5=RULE_STRING - { - newLeafNode(otherlv_5, grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0()); - } - -) -))? otherlv_6='{' - { - newLeafNode(otherlv_6, grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4()); - } - otherlv_7='id' - { - newLeafNode(otherlv_7, grammarAccess.getXAttributeTypeAccess().getIdKeyword_5()); - } -( -( - lv_id_8_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_id_8_0, grammarAccess.getXAttributeTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_6_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "id", - lv_id_8_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -) otherlv_9='dataProvider' - { - newLeafNode(otherlv_9, grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7()); - } -( -( -( - lv_dataProvider_10_1= 'DefaultAttributeDataProvider' - { - newLeafNode(lv_dataProvider_10_1, grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed($current, "dataProvider", lv_dataProvider_10_1, null); - } - - | lv_dataProvider_10_2= 'UriAttributeDataProvider' - { - newLeafNode(lv_dataProvider_10_2, grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed($current, "dataProvider", lv_dataProvider_10_2, null); - } - - | { - newCompositeNode(grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2()); - } - lv_dataProvider_10_3=ruleQUALIFIED_NAME { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); - } - set( - $current, - "dataProvider", - lv_dataProvider_10_3, - "org.eclipse.osee.framework.core.dsl.OseeDsl.QUALIFIED_NAME"); - afterParserOrEnumRuleCall(); - } - -) - -) -) otherlv_11='min' - { - newLeafNode(otherlv_11, grammarAccess.getXAttributeTypeAccess().getMinKeyword_9()); - } -( -( - lv_min_12_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_min_12_0, grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "min", - lv_min_12_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -) otherlv_13='max' - { - newLeafNode(otherlv_13, grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11()); - } -( -( -( - lv_max_14_1=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_max_14_1, grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "max", - lv_max_14_1, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - - | lv_max_14_2= 'unlimited' - { - newLeafNode(lv_max_14_2, grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed($current, "max", lv_max_14_2, null); - } - -) - -) -)( - -( - { - getUnorderedGroupHelper().enter(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ( - ( - - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 0)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 0); - } - ({true}?=>( otherlv_16='taggerId' - { - newLeafNode(otherlv_16, grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0_0()); - } -( -( -( - lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' - { - newLeafNode(lv_taggerId_17_1, grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_0_1_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed($current, "taggerId", lv_taggerId_17_1, null); - } - - | { - newCompositeNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_0_1_0_1()); - } - lv_taggerId_17_2=ruleQUALIFIED_NAME { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); - } - set( - $current, - "taggerId", - lv_taggerId_17_2, - "org.eclipse.osee.framework.core.dsl.OseeDsl.QUALIFIED_NAME"); - afterParserOrEnumRuleCall(); - } - -) - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ) - ) | - - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 1)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 1); - } - ({true}?=>( otherlv_18='enumType' - { - newLeafNode(otherlv_18, grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_13_1_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - } - otherlv_19=RULE_STRING - { - newLeafNode(otherlv_19, grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_13_1_1_0()); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ) - ) | - - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 2)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 2); - } - ({true}?=>( otherlv_20='description' - { - newLeafNode(otherlv_20, grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_13_2_0()); - } -( -( - lv_description_21_0=RULE_STRING - { - newLeafNode(lv_description_21_0, grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_13_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "description", - lv_description_21_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ) - ) | - - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 3)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 3); - } - ({true}?=>( otherlv_22='defaultValue' - { - newLeafNode(otherlv_22, grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_13_3_0()); - } -( -( - lv_defaultValue_23_0=RULE_STRING - { - newLeafNode(lv_defaultValue_23_0, grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_13_3_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "defaultValue", - lv_defaultValue_23_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ) - ) | - - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 4)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 4); - } - ({true}?=>( otherlv_24='fileExtension' - { - newLeafNode(otherlv_24, grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_13_4_0()); - } -( -( - lv_fileExtension_25_0=RULE_STRING - { - newLeafNode(lv_fileExtension_25_0, grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_13_4_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "fileExtension", - lv_fileExtension_25_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ) - ) | - - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 5)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 5); - } - ({true}?=>( otherlv_26='mediaType' - { - newLeafNode(otherlv_26, grammarAccess.getXAttributeTypeAccess().getMediaTypeKeyword_13_5_0()); - } -( -( - lv_mediaType_27_0=RULE_STRING - { - newLeafNode(lv_mediaType_27_0, grammarAccess.getXAttributeTypeAccess().getMediaTypeSTRINGTerminalRuleCall_13_5_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - $current, - "mediaType", - lv_mediaType_27_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - ) - ) - - )* - ) -) - { - getUnorderedGroupHelper().leave(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - } - -) otherlv_28='}' - { - newLeafNode(otherlv_28, grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_14()); - } -) -; - - - - - -// Entry rule entryRuleAttributeBaseType -entryRuleAttributeBaseType returns [String current=null] - : - { newCompositeNode(grammarAccess.getAttributeBaseTypeRule()); } - iv_ruleAttributeBaseType=ruleAttributeBaseType - { $current=$iv_ruleAttributeBaseType.current.getText(); } - EOF -; - -// Rule AttributeBaseType -ruleAttributeBaseType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( - kw='BooleanAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getBooleanAttributeKeyword_0()); - } - - | - kw='CompressedContentAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getCompressedContentAttributeKeyword_1()); - } - - | - kw='DateAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getDateAttributeKeyword_2()); - } - - | - kw='EnumeratedAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getEnumeratedAttributeKeyword_3()); - } - - | - kw='FloatingPointAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getFloatingPointAttributeKeyword_4()); - } - - | - kw='IntegerAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getIntegerAttributeKeyword_5()); - } - - | - kw='LongAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getLongAttributeKeyword_6()); - } - - | - kw='JavaObjectAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getJavaObjectAttributeKeyword_7()); - } - - | - kw='StringAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getStringAttributeKeyword_8()); - } - - | - kw='ArtifactReferenceAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getArtifactReferenceAttributeKeyword_9()); - } - - | - kw='BranchReferenceAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getBranchReferenceAttributeKeyword_10()); - } - - | - kw='WordAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getWordAttributeKeyword_11()); - } - - | - kw='OutlineNumberAttribute' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getOutlineNumberAttributeKeyword_12()); - } - - | - { - newCompositeNode(grammarAccess.getAttributeBaseTypeAccess().getQUALIFIED_NAMEParserRuleCall_13()); - } - this_QUALIFIED_NAME_13=ruleQUALIFIED_NAME { - $current.merge(this_QUALIFIED_NAME_13); - } - - { - afterParserOrEnumRuleCall(); - } -) - ; - - - - - -// Entry rule entryRuleXOseeEnumType -entryRuleXOseeEnumType returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXOseeEnumTypeRule()); } - iv_ruleXOseeEnumType=ruleXOseeEnumType - { $current=$iv_ruleXOseeEnumType.current; } - EOF -; - -// Rule XOseeEnumType -ruleXOseeEnumType returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='oseeEnumType' - { - newLeafNode(otherlv_0, grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getXOseeEnumTypeAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumTypeRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2()); - } - otherlv_3='id' - { - newLeafNode(otherlv_3, grammarAccess.getXOseeEnumTypeAccess().getIdKeyword_3()); - } -( -( - lv_id_4_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_id_4_0, grammarAccess.getXOseeEnumTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_4_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumTypeRule()); - } - setWithLastConsumed( - $current, - "id", - lv_id_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0()); - } - lv_enumEntries_5_0=ruleXOseeEnumEntry { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXOseeEnumTypeRule()); - } - add( - $current, - "enumEntries", - lv_enumEntries_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumEntry"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_6='}' - { - newLeafNode(otherlv_6, grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6()); - } -) -; - - - - - -// Entry rule entryRuleXOseeEnumEntry -entryRuleXOseeEnumEntry returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXOseeEnumEntryRule()); } - iv_ruleXOseeEnumEntry=ruleXOseeEnumEntry - { $current=$iv_ruleXOseeEnumEntry.current; } - EOF -; - -// Rule XOseeEnumEntry -ruleXOseeEnumEntry returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='entry' - { - newLeafNode(otherlv_0, grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getXOseeEnumEntryAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)( -( - lv_ordinal_2_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_ordinal_2_0, grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); - } - setWithLastConsumed( - $current, - "ordinal", - lv_ordinal_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -)?( otherlv_3='description' - { - newLeafNode(otherlv_3, grammarAccess.getXOseeEnumEntryAccess().getDescriptionKeyword_3_0()); - } -( -( - lv_description_4_0=RULE_STRING - { - newLeafNode(lv_description_4_0, grammarAccess.getXOseeEnumEntryAccess().getDescriptionSTRINGTerminalRuleCall_3_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); - } - setWithLastConsumed( - $current, - "description", - lv_description_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -))?) -; - - - - - -// Entry rule entryRuleXOseeEnumOverride -entryRuleXOseeEnumOverride returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXOseeEnumOverrideRule()); } - iv_ruleXOseeEnumOverride=ruleXOseeEnumOverride - { $current=$iv_ruleXOseeEnumOverride.current; } - EOF -; - -// Rule XOseeEnumOverride -ruleXOseeEnumOverride returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='overrides enum' - { - newLeafNode(otherlv_0, grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0()); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - lv_inheritAll_3_0= 'inheritAll' - { - newLeafNode(lv_inheritAll_3_0, grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); - } - setWithLastConsumed($current, "inheritAll", true, "inheritAll"); - } - -) -)?( -( - { - newCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0()); - } - lv_overrideOptions_4_0=ruleOverrideOption { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXOseeEnumOverrideRule()); - } - add( - $current, - "overrideOptions", - lv_overrideOptions_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.OverrideOption"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5()); - } -) -; - - - - - -// Entry rule entryRuleOverrideOption -entryRuleOverrideOption returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getOverrideOptionRule()); } - iv_ruleOverrideOption=ruleOverrideOption - { $current=$iv_ruleOverrideOption.current; } - EOF -; - -// Rule OverrideOption -ruleOverrideOption returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0()); - } - this_AddEnum_0=ruleAddEnum - { - $current = $this_AddEnum_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1()); - } - this_RemoveEnum_1=ruleRemoveEnum - { - $current = $this_RemoveEnum_1.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleAddEnum -entryRuleAddEnum returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getAddEnumRule()); } - iv_ruleAddEnum=ruleAddEnum - { $current=$iv_ruleAddEnum.current; } - EOF -; - -// Rule AddEnum -ruleAddEnum returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='add' - { - newLeafNode(otherlv_0, grammarAccess.getAddEnumAccess().getAddKeyword_0()); - } -( -( - lv_enumEntry_1_0=RULE_STRING - { - newLeafNode(lv_enumEntry_1_0, grammarAccess.getAddEnumAccess().getEnumEntrySTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAddEnumRule()); - } - setWithLastConsumed( - $current, - "enumEntry", - lv_enumEntry_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)( -( - lv_ordinal_2_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_ordinal_2_0, grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAddEnumRule()); - } - setWithLastConsumed( - $current, - "ordinal", - lv_ordinal_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -)?( otherlv_3='description' - { - newLeafNode(otherlv_3, grammarAccess.getAddEnumAccess().getDescriptionKeyword_3_0()); - } -( -( - lv_description_4_0=RULE_STRING - { - newLeafNode(lv_description_4_0, grammarAccess.getAddEnumAccess().getDescriptionSTRINGTerminalRuleCall_3_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAddEnumRule()); - } - setWithLastConsumed( - $current, - "description", - lv_description_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -))?) -; - - - - - -// Entry rule entryRuleRemoveEnum -entryRuleRemoveEnum returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRemoveEnumRule()); } - iv_ruleRemoveEnum=ruleRemoveEnum - { $current=$iv_ruleRemoveEnum.current; } - EOF -; - -// Rule RemoveEnum -ruleRemoveEnum returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='remove' - { - newLeafNode(otherlv_0, grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRemoveEnumRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0()); - } - -) -)) -; - - - - - -// Entry rule entryRuleXOseeArtifactTypeOverride -entryRuleXOseeArtifactTypeOverride returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXOseeArtifactTypeOverrideRule()); } - iv_ruleXOseeArtifactTypeOverride=ruleXOseeArtifactTypeOverride - { $current=$iv_ruleXOseeArtifactTypeOverride.current; } - EOF -; - -// Rule XOseeArtifactTypeOverride -ruleXOseeArtifactTypeOverride returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='overrides artifactType' - { - newLeafNode(otherlv_0, grammarAccess.getXOseeArtifactTypeOverrideAccess().getOverridesArtifactTypeKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeArtifactTypeOverrideRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getXOseeArtifactTypeOverrideAccess().getOverridenArtifactTypeXArtifactTypeCrossReference_1_0()); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getXOseeArtifactTypeOverrideAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - lv_inheritAll_3_0= 'inheritAll' - { - newLeafNode(lv_inheritAll_3_0, grammarAccess.getXOseeArtifactTypeOverrideAccess().getInheritAllInheritAllKeyword_3_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXOseeArtifactTypeOverrideRule()); - } - setWithLastConsumed($current, "inheritAll", true, "inheritAll"); - } - -) -)?( -( - { - newCompositeNode(grammarAccess.getXOseeArtifactTypeOverrideAccess().getOverrideOptionsAttributeOverrideOptionParserRuleCall_4_0()); - } - lv_overrideOptions_4_0=ruleAttributeOverrideOption { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXOseeArtifactTypeOverrideRule()); - } - add( - $current, - "overrideOptions", - lv_overrideOptions_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeOverrideOption"); - afterParserOrEnumRuleCall(); - } - -) -)+ otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getXOseeArtifactTypeOverrideAccess().getRightCurlyBracketKeyword_5()); - } -) -; - - - - - -// Entry rule entryRuleAttributeOverrideOption -entryRuleAttributeOverrideOption returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getAttributeOverrideOptionRule()); } - iv_ruleAttributeOverrideOption=ruleAttributeOverrideOption - { $current=$iv_ruleAttributeOverrideOption.current; } - EOF -; - -// Rule AttributeOverrideOption -ruleAttributeOverrideOption returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getAttributeOverrideOptionAccess().getAddAttributeParserRuleCall_0()); - } - this_AddAttribute_0=ruleAddAttribute - { - $current = $this_AddAttribute_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getAttributeOverrideOptionAccess().getRemoveAttributeParserRuleCall_1()); - } - this_RemoveAttribute_1=ruleRemoveAttribute - { - $current = $this_RemoveAttribute_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getAttributeOverrideOptionAccess().getUpdateAttributeParserRuleCall_2()); - } - this_UpdateAttribute_2=ruleUpdateAttribute - { - $current = $this_UpdateAttribute_2.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleAddAttribute -entryRuleAddAttribute returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getAddAttributeRule()); } - iv_ruleAddAttribute=ruleAddAttribute - { $current=$iv_ruleAddAttribute.current; } - EOF -; - -// Rule AddAttribute -ruleAddAttribute returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='add' - { - newLeafNode(otherlv_0, grammarAccess.getAddAttributeAccess().getAddKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getAddAttributeAccess().getAttributeXAttributeTypeRefParserRuleCall_1_0()); - } - lv_attribute_1_0=ruleXAttributeTypeRef { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAddAttributeRule()); - } - set( - $current, - "attribute", - lv_attribute_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleRemoveAttribute -entryRuleRemoveAttribute returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRemoveAttributeRule()); } - iv_ruleRemoveAttribute=ruleRemoveAttribute - { $current=$iv_ruleRemoveAttribute.current; } - EOF -; - -// Rule RemoveAttribute -ruleRemoveAttribute returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='remove' - { - newLeafNode(otherlv_0, grammarAccess.getRemoveAttributeAccess().getRemoveKeyword_0()); - } - otherlv_1='attribute' - { - newLeafNode(otherlv_1, grammarAccess.getRemoveAttributeAccess().getAttributeKeyword_1()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRemoveAttributeRule()); - } - } - otherlv_2=RULE_STRING - { - newLeafNode(otherlv_2, grammarAccess.getRemoveAttributeAccess().getAttributeXAttributeTypeCrossReference_2_0()); - } - -) -)) -; - - - - - -// Entry rule entryRuleUpdateAttribute -entryRuleUpdateAttribute returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getUpdateAttributeRule()); } - iv_ruleUpdateAttribute=ruleUpdateAttribute - { $current=$iv_ruleUpdateAttribute.current; } - EOF -; - -// Rule UpdateAttribute -ruleUpdateAttribute returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='update' - { - newLeafNode(otherlv_0, grammarAccess.getUpdateAttributeAccess().getUpdateKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getUpdateAttributeAccess().getAttributeXAttributeTypeRefParserRuleCall_1_0()); - } - lv_attribute_1_0=ruleXAttributeTypeRef { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUpdateAttributeRule()); - } - set( - $current, - "attribute", - lv_attribute_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleXRelationType -entryRuleXRelationType returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXRelationTypeRule()); } - iv_ruleXRelationType=ruleXRelationType - { $current=$iv_ruleXRelationType.current; } - EOF -; - -// Rule XRelationType -ruleXRelationType returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='relationType' - { - newLeafNode(otherlv_0, grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getXRelationTypeAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2()); - } - otherlv_3='id' - { - newLeafNode(otherlv_3, grammarAccess.getXRelationTypeAccess().getIdKeyword_3()); - } -( -( - lv_id_4_0=RULE_WHOLE_NUM_STR - { - newLeafNode(lv_id_4_0, grammarAccess.getXRelationTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_4_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - $current, - "id", - lv_id_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - } - -) -) otherlv_5='sideAName' - { - newLeafNode(otherlv_5, grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5()); - } -( -( - lv_sideAName_6_0=RULE_STRING - { - newLeafNode(lv_sideAName_6_0, grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - $current, - "sideAName", - lv_sideAName_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_7='sideAArtifactType' - { - newLeafNode(otherlv_7, grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - } - otherlv_8=RULE_STRING - { - newLeafNode(otherlv_8, grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0()); - } - -) -) otherlv_9='sideBName' - { - newLeafNode(otherlv_9, grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9()); - } -( -( - lv_sideBName_10_0=RULE_STRING - { - newLeafNode(lv_sideBName_10_0, grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - $current, - "sideBName", - lv_sideBName_10_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_11='sideBArtifactType' - { - newLeafNode(otherlv_11, grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - } - otherlv_12=RULE_STRING - { - newLeafNode(otherlv_12, grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0()); - } - -) -) otherlv_13='defaultOrderType' - { - newLeafNode(otherlv_13, grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13()); - } -( -( - { - newCompositeNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0()); - } - lv_defaultOrderType_14_0=ruleRelationOrderType { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); - } - set( - $current, - "defaultOrderType", - lv_defaultOrderType_14_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationOrderType"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_15='multiplicity' - { - newLeafNode(otherlv_15, grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15()); - } -( -( - { - newCompositeNode(grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0()); - } - lv_multiplicity_16_0=ruleRelationMultiplicityEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); - } - set( - $current, - "multiplicity", - lv_multiplicity_16_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationMultiplicityEnum"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_17='}' - { - newLeafNode(otherlv_17, grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17()); - } -) -; - - - - - -// Entry rule entryRuleRelationOrderType -entryRuleRelationOrderType returns [String current=null] - : - { newCompositeNode(grammarAccess.getRelationOrderTypeRule()); } - iv_ruleRelationOrderType=ruleRelationOrderType - { $current=$iv_ruleRelationOrderType.current.getText(); } - EOF -; - -// Rule RelationOrderType -ruleRelationOrderType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( - kw='Lexicographical_Ascending' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_AscendingKeyword_0()); - } - - | - kw='Lexicographical_Descending' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_DescendingKeyword_1()); - } - - | - kw='Unordered' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2()); - } - - | this_ID_3=RULE_ID { - $current.merge(this_ID_3); - } - - { - newLeafNode(this_ID_3, grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3()); - } -) - ; - - - - - - - -// Entry rule entryRuleCondition -entryRuleCondition returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getConditionRule()); } - iv_ruleCondition=ruleCondition - { $current=$iv_ruleCondition.current; } - EOF -; - -// Rule Condition -ruleCondition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getConditionAccess().getSimpleConditionParserRuleCall_0()); - } - this_SimpleCondition_0=ruleSimpleCondition - { - $current = $this_SimpleCondition_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getConditionAccess().getCompoundConditionParserRuleCall_1()); - } - this_CompoundCondition_1=ruleCompoundCondition - { - $current = $this_CompoundCondition_1.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleSimpleCondition -entryRuleSimpleCondition returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSimpleConditionRule()); } - iv_ruleSimpleCondition=ruleSimpleCondition - { $current=$iv_ruleSimpleCondition.current; } - EOF -; - -// Rule SimpleCondition -ruleSimpleCondition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getSimpleConditionAccess().getFieldMatchFieldEnumRuleCall_0_0()); - } - lv_field_0_0=ruleMatchField { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSimpleConditionRule()); - } - set( - $current, - "field", - lv_field_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.MatchField"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getSimpleConditionAccess().getOpCompareOpEnumRuleCall_1_0()); - } - lv_op_1_0=ruleCompareOp { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSimpleConditionRule()); - } - set( - $current, - "op", - lv_op_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.CompareOp"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - lv_expression_2_0=RULE_STRING - { - newLeafNode(lv_expression_2_0, grammarAccess.getSimpleConditionAccess().getExpressionSTRINGTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleConditionRule()); - } - setWithLastConsumed( - $current, - "expression", - lv_expression_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)) -; - - - - - -// Entry rule entryRuleCompoundCondition -entryRuleCompoundCondition returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getCompoundConditionRule()); } - iv_ruleCompoundCondition=ruleCompoundCondition - { $current=$iv_ruleCompoundCondition.current; } - EOF -; - -// Rule CompoundCondition -ruleCompoundCondition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='(' - { - newLeafNode(otherlv_0, grammarAccess.getCompoundConditionAccess().getLeftParenthesisKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getCompoundConditionAccess().getConditionsSimpleConditionParserRuleCall_1_0()); - } - lv_conditions_1_0=ruleSimpleCondition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCompoundConditionRule()); - } - add( - $current, - "conditions", - lv_conditions_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.SimpleCondition"); - afterParserOrEnumRuleCall(); - } - -) -)(( -( - { - newCompositeNode(grammarAccess.getCompoundConditionAccess().getOperatorsXLogicOperatorEnumRuleCall_2_0_0()); - } - lv_operators_2_0=ruleXLogicOperator { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCompoundConditionRule()); - } - add( - $current, - "operators", - lv_operators_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XLogicOperator"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getCompoundConditionAccess().getConditionsSimpleConditionParserRuleCall_2_1_0()); - } - lv_conditions_3_0=ruleSimpleCondition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCompoundConditionRule()); - } - add( - $current, - "conditions", - lv_conditions_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.SimpleCondition"); - afterParserOrEnumRuleCall(); - } - -) -))+ otherlv_4=')' - { - newLeafNode(otherlv_4, grammarAccess.getCompoundConditionAccess().getRightParenthesisKeyword_3()); - } -) -; - - - - - -// Entry rule entryRuleXArtifactMatcher -entryRuleXArtifactMatcher returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getXArtifactMatcherRule()); } - iv_ruleXArtifactMatcher=ruleXArtifactMatcher - { $current=$iv_ruleXArtifactMatcher.current; } - EOF -; - -// Rule XArtifactMatcher -ruleXArtifactMatcher returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='artifactMatcher' - { - newLeafNode(otherlv_0, grammarAccess.getXArtifactMatcherAccess().getArtifactMatcherKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getXArtifactMatcherAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXArtifactMatcherRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_2='where' - { - newLeafNode(otherlv_2, grammarAccess.getXArtifactMatcherAccess().getWhereKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getXArtifactMatcherAccess().getConditionsConditionParserRuleCall_3_0()); - } - lv_conditions_3_0=ruleCondition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXArtifactMatcherRule()); - } - add( - $current, - "conditions", - lv_conditions_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Condition"); - afterParserOrEnumRuleCall(); - } - -) -)(( -( - { - newCompositeNode(grammarAccess.getXArtifactMatcherAccess().getOperatorsXLogicOperatorEnumRuleCall_4_0_0()); - } - lv_operators_4_0=ruleXLogicOperator { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXArtifactMatcherRule()); - } - add( - $current, - "operators", - lv_operators_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XLogicOperator"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getXArtifactMatcherAccess().getConditionsConditionParserRuleCall_4_1_0()); - } - lv_conditions_5_0=ruleCondition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXArtifactMatcherRule()); - } - add( - $current, - "conditions", - lv_conditions_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Condition"); - afterParserOrEnumRuleCall(); - } - -) -))* otherlv_6=';' - { - newLeafNode(otherlv_6, grammarAccess.getXArtifactMatcherAccess().getSemicolonKeyword_5()); - } -) -; - - - - - -// Entry rule entryRuleRole -entryRuleRole returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRoleRule()); } - iv_ruleRole=ruleRole - { $current=$iv_ruleRole.current; } - EOF -; - -// Rule Role -ruleRole returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='role' - { - newLeafNode(otherlv_0, grammarAccess.getRoleAccess().getRoleKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getRoleAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRoleRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)( otherlv_2='extends' - { - newLeafNode(otherlv_2, grammarAccess.getRoleAccess().getExtendsKeyword_2_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRoleRule()); - } - } - otherlv_3=RULE_STRING - { - newLeafNode(otherlv_3, grammarAccess.getRoleAccess().getSuperRolesRoleCrossReference_2_1_0()); - } - -) -))? otherlv_4='{' - { - newLeafNode(otherlv_4, grammarAccess.getRoleAccess().getLeftCurlyBracketKeyword_3()); - } -(( -( - { - newCompositeNode(grammarAccess.getRoleAccess().getUsersAndGroupsUsersAndGroupsParserRuleCall_4_0_0()); - } - lv_usersAndGroups_5_0=ruleUsersAndGroups { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRoleRule()); - } - add( - $current, - "usersAndGroups", - lv_usersAndGroups_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.UsersAndGroups"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getRoleAccess().getReferencedContextsReferencedContextParserRuleCall_4_1_0()); - } - lv_referencedContexts_6_0=ruleReferencedContext { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRoleRule()); - } - add( - $current, - "referencedContexts", - lv_referencedContexts_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.ReferencedContext"); - afterParserOrEnumRuleCall(); - } - -) -))+ otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getRoleAccess().getRightCurlyBracketKeyword_5()); - } -) -; - - - - - -// Entry rule entryRuleReferencedContext -entryRuleReferencedContext returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getReferencedContextRule()); } - iv_ruleReferencedContext=ruleReferencedContext - { $current=$iv_ruleReferencedContext.current; } - EOF -; - -// Rule ReferencedContext -ruleReferencedContext returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='accessContext' - { - newLeafNode(otherlv_0, grammarAccess.getReferencedContextAccess().getAccessContextKeyword_0()); - } -( -( - lv_accessContextRef_1_0=RULE_STRING - { - newLeafNode(lv_accessContextRef_1_0, grammarAccess.getReferencedContextAccess().getAccessContextRefSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getReferencedContextRule()); - } - setWithLastConsumed( - $current, - "accessContextRef", - lv_accessContextRef_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_2=';' - { - newLeafNode(otherlv_2, grammarAccess.getReferencedContextAccess().getSemicolonKeyword_2()); - } -) -; - - - - - -// Entry rule entryRuleUsersAndGroups -entryRuleUsersAndGroups returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getUsersAndGroupsRule()); } - iv_ruleUsersAndGroups=ruleUsersAndGroups - { $current=$iv_ruleUsersAndGroups.current; } - EOF -; - -// Rule UsersAndGroups -ruleUsersAndGroups returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='guid' - { - newLeafNode(otherlv_0, grammarAccess.getUsersAndGroupsAccess().getGuidKeyword_0()); - } -( -( - lv_userOrGroupGuid_1_0=RULE_STRING - { - newLeafNode(lv_userOrGroupGuid_1_0, grammarAccess.getUsersAndGroupsAccess().getUserOrGroupGuidSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUsersAndGroupsRule()); - } - setWithLastConsumed( - $current, - "userOrGroupGuid", - lv_userOrGroupGuid_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_2=';' - { - newLeafNode(otherlv_2, grammarAccess.getUsersAndGroupsAccess().getSemicolonKeyword_2()); - } -) -; - - - - - -// Entry rule entryRuleAccessContext -entryRuleAccessContext returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getAccessContextRule()); } - iv_ruleAccessContext=ruleAccessContext - { $current=$iv_ruleAccessContext.current; } - EOF -; - -// Rule AccessContext -ruleAccessContext returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='accessContext' - { - newLeafNode(otherlv_0, grammarAccess.getAccessContextAccess().getAccessContextKeyword_0()); - } -( -( - lv_name_1_0=RULE_STRING - { - newLeafNode(lv_name_1_0, grammarAccess.getAccessContextAccess().getNameSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAccessContextRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -)( otherlv_2='extends' - { - newLeafNode(otherlv_2, grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAccessContextRule()); - } - } - otherlv_3=RULE_STRING - { - newLeafNode(otherlv_3, grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0()); - } - -) -))? otherlv_4='{' - { - newLeafNode(otherlv_4, grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3()); - } - otherlv_5='guid' - { - newLeafNode(otherlv_5, grammarAccess.getAccessContextAccess().getGuidKeyword_4()); - } -( -( - lv_guid_6_0=RULE_STRING - { - newLeafNode(lv_guid_6_0, grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAccessContextRule()); - } - setWithLastConsumed( - $current, - "guid", - lv_guid_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - } - -) -) otherlv_7=';' - { - newLeafNode(otherlv_7, grammarAccess.getAccessContextAccess().getSemicolonKeyword_6()); - } -(( -( - { - newCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0()); - } - lv_accessRules_8_0=ruleObjectRestriction { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAccessContextRule()); - } - add( - $current, - "accessRules", - lv_accessRules_8_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.ObjectRestriction"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0()); - } - lv_hierarchyRestrictions_9_0=ruleHierarchyRestriction { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAccessContextRule()); - } - add( - $current, - "hierarchyRestrictions", - lv_hierarchyRestrictions_9_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.HierarchyRestriction"); - afterParserOrEnumRuleCall(); - } - -) -))+ otherlv_10='}' - { - newLeafNode(otherlv_10, grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8()); - } -) -; - - - - - -// Entry rule entryRuleHierarchyRestriction -entryRuleHierarchyRestriction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getHierarchyRestrictionRule()); } - iv_ruleHierarchyRestriction=ruleHierarchyRestriction - { $current=$iv_ruleHierarchyRestriction.current; } - EOF -; - -// Rule HierarchyRestriction -ruleHierarchyRestriction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='childrenOf' - { - newLeafNode(otherlv_0, grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getHierarchyRestrictionRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getHierarchyRestrictionAccess().getArtifactMatcherRefXArtifactMatcherCrossReference_1_0()); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0()); - } - lv_accessRules_3_0=ruleObjectRestriction { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getHierarchyRestrictionRule()); - } - add( - $current, - "accessRules", - lv_accessRules_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.ObjectRestriction"); - afterParserOrEnumRuleCall(); - } - -) -)+ otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleRelationTypeArtifactTypePredicate -entryRuleRelationTypeArtifactTypePredicate returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRelationTypeArtifactTypePredicateRule()); } - iv_ruleRelationTypeArtifactTypePredicate=ruleRelationTypeArtifactTypePredicate - { $current=$iv_ruleRelationTypeArtifactTypePredicate.current; } - EOF -; - -// Rule RelationTypeArtifactTypePredicate -ruleRelationTypeArtifactTypePredicate returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='artifactType' - { - newLeafNode(otherlv_0, grammarAccess.getRelationTypeArtifactTypePredicateAccess().getArtifactTypeKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRelationTypeArtifactTypePredicateRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getRelationTypeArtifactTypePredicateAccess().getArtifactTypeRefXArtifactTypeCrossReference_1_0()); - } - -) -)) -; - - - - - -// Entry rule entryRuleRelationTypeArtifactPredicate -entryRuleRelationTypeArtifactPredicate returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRelationTypeArtifactPredicateRule()); } - iv_ruleRelationTypeArtifactPredicate=ruleRelationTypeArtifactPredicate - { $current=$iv_ruleRelationTypeArtifactPredicate.current; } - EOF -; - -// Rule RelationTypeArtifactPredicate -ruleRelationTypeArtifactPredicate returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='artifact' - { - newLeafNode(otherlv_0, grammarAccess.getRelationTypeArtifactPredicateAccess().getArtifactKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRelationTypeArtifactPredicateRule()); - } - } - otherlv_1=RULE_STRING - { - newLeafNode(otherlv_1, grammarAccess.getRelationTypeArtifactPredicateAccess().getArtifactMatcherRefXArtifactMatcherCrossReference_1_0()); - } - -) -)) -; - - - - - -// Entry rule entryRuleRelationTypePredicate -entryRuleRelationTypePredicate returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRelationTypePredicateRule()); } - iv_ruleRelationTypePredicate=ruleRelationTypePredicate - { $current=$iv_ruleRelationTypePredicate.current; } - EOF -; - -// Rule RelationTypePredicate -ruleRelationTypePredicate returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getRelationTypePredicateAccess().getRelationTypeArtifactPredicateParserRuleCall_0()); - } - this_RelationTypeArtifactPredicate_0=ruleRelationTypeArtifactPredicate - { - $current = $this_RelationTypeArtifactPredicate_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getRelationTypePredicateAccess().getRelationTypeArtifactTypePredicateParserRuleCall_1()); - } - this_RelationTypeArtifactTypePredicate_1=ruleRelationTypeArtifactTypePredicate - { - $current = $this_RelationTypeArtifactTypePredicate_1.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleObjectRestriction -entryRuleObjectRestriction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getObjectRestrictionRule()); } - iv_ruleObjectRestriction=ruleObjectRestriction - { $current=$iv_ruleObjectRestriction.current; } - EOF -; - -// Rule ObjectRestriction -ruleObjectRestriction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactMatchRestrictionParserRuleCall_0()); - } - this_ArtifactMatchRestriction_0=ruleArtifactMatchRestriction - { - $current = $this_ArtifactMatchRestriction_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1()); - } - this_ArtifactTypeRestriction_1=ruleArtifactTypeRestriction - { - $current = $this_ArtifactTypeRestriction_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2()); - } - this_RelationTypeRestriction_2=ruleRelationTypeRestriction - { - $current = $this_RelationTypeRestriction_2.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3()); - } - this_AttributeTypeRestriction_3=ruleAttributeTypeRestriction - { - $current = $this_AttributeTypeRestriction_3.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleArtifactMatchRestriction -entryRuleArtifactMatchRestriction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getArtifactMatchRestrictionRule()); } - iv_ruleArtifactMatchRestriction=ruleArtifactMatchRestriction - { $current=$iv_ruleArtifactMatchRestriction.current; } - EOF -; - -// Rule ArtifactMatchRestriction -ruleArtifactMatchRestriction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getArtifactMatchRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - } - lv_permission_0_0=ruleAccessPermissionEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getArtifactMatchRestrictionRule()); - } - set( - $current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_1='edit' - { - newLeafNode(otherlv_1, grammarAccess.getArtifactMatchRestrictionAccess().getEditKeyword_1()); - } - otherlv_2='artifact' - { - newLeafNode(otherlv_2, grammarAccess.getArtifactMatchRestrictionAccess().getArtifactKeyword_2()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getArtifactMatchRestrictionRule()); - } - } - otherlv_3=RULE_STRING - { - newLeafNode(otherlv_3, grammarAccess.getArtifactMatchRestrictionAccess().getArtifactMatcherRefXArtifactMatcherCrossReference_3_0()); - } - -) -) otherlv_4=';' - { - newLeafNode(otherlv_4, grammarAccess.getArtifactMatchRestrictionAccess().getSemicolonKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleArtifactTypeRestriction -entryRuleArtifactTypeRestriction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getArtifactTypeRestrictionRule()); } - iv_ruleArtifactTypeRestriction=ruleArtifactTypeRestriction - { $current=$iv_ruleArtifactTypeRestriction.current; } - EOF -; - -// Rule ArtifactTypeRestriction -ruleArtifactTypeRestriction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - } - lv_permission_0_0=ruleAccessPermissionEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getArtifactTypeRestrictionRule()); - } - set( - $current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_1='edit' - { - newLeafNode(otherlv_1, grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1()); - } - otherlv_2='artifactType' - { - newLeafNode(otherlv_2, grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getArtifactTypeRestrictionRule()); - } - } - otherlv_3=RULE_STRING - { - newLeafNode(otherlv_3, grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0()); - } - -) -) otherlv_4=';' - { - newLeafNode(otherlv_4, grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleAttributeTypeRestriction -entryRuleAttributeTypeRestriction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getAttributeTypeRestrictionRule()); } - iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction - { $current=$iv_ruleAttributeTypeRestriction.current; } - EOF -; - -// Rule AttributeTypeRestriction -ruleAttributeTypeRestriction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - } - lv_permission_0_0=ruleAccessPermissionEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAttributeTypeRestrictionRule()); - } - set( - $current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_1='edit' - { - newLeafNode(otherlv_1, grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1()); - } - otherlv_2='attributeType' - { - newLeafNode(otherlv_2, grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); - } - } - otherlv_3=RULE_STRING - { - newLeafNode(otherlv_3, grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0()); - } - -) -)( otherlv_4='of' - { - newLeafNode(otherlv_4, grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0()); - } - otherlv_5='artifactType' - { - newLeafNode(otherlv_5, grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); - } - } - otherlv_6=RULE_STRING - { - newLeafNode(otherlv_6, grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0()); - } - -) -))? otherlv_7=';' - { - newLeafNode(otherlv_7, grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5()); - } -) -; - - - - - - - -// Entry rule entryRuleRelationTypeRestriction -entryRuleRelationTypeRestriction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRelationTypeRestrictionRule()); } - iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction - { $current=$iv_ruleRelationTypeRestriction.current; } - EOF -; - -// Rule RelationTypeRestriction -ruleRelationTypeRestriction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - } - lv_permission_0_0=ruleAccessPermissionEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - $current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_1='edit' - { - newLeafNode(otherlv_1, grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1()); - } - otherlv_2='relationType' - { - newLeafNode(otherlv_2, grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2()); - } -(( -( - { - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeMatchRelationTypeMatchEnumRuleCall_3_0_0()); - } - lv_relationTypeMatch_3_0=ruleRelationTypeMatch { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - $current, - "relationTypeMatch", - true, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypeMatch"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRelationTypeRestrictionRule()); - } - } - otherlv_4=RULE_STRING - { - newLeafNode(otherlv_4, grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_1_0()); - } - -) -))( -( - { - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0()); - } - lv_restrictedToSide_5_0=ruleXRelationSideEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - $current, - "restrictedToSide", - lv_restrictedToSide_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XRelationSideEnum"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPredicateRelationTypePredicateParserRuleCall_5_0()); - } - lv_predicate_6_0=ruleRelationTypePredicate { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - $current, - "predicate", - lv_predicate_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypePredicate"); - afterParserOrEnumRuleCall(); - } - -) -)? otherlv_7=';' - { - newLeafNode(otherlv_7, grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_6()); - } -) -; - - - - - -// Rule RelationMultiplicityEnum -ruleRelationMultiplicityEnum returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -(( enumLiteral_0='ONE_TO_ONE' - { - $current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0()); - } -) - |( enumLiteral_1='ONE_TO_MANY' - { - $current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1()); - } -) - |( enumLiteral_2='MANY_TO_ONE' - { - $current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2()); - } -) - |( enumLiteral_3='MANY_TO_MANY' - { - $current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3()); - } -)); - - - -// Rule CompareOp -ruleCompareOp returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -(( enumLiteral_0='EQ' - { - $current = grammarAccess.getCompareOpAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getCompareOpAccess().getEQEnumLiteralDeclaration_0()); - } -) - |( enumLiteral_1='LIKE' - { - $current = grammarAccess.getCompareOpAccess().getLIKEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getCompareOpAccess().getLIKEEnumLiteralDeclaration_1()); - } -)); - - - -// Rule XLogicOperator -ruleXLogicOperator returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -(( enumLiteral_0='AND' - { - $current = grammarAccess.getXLogicOperatorAccess().getANDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getXLogicOperatorAccess().getANDEnumLiteralDeclaration_0()); - } -) - |( enumLiteral_1='OR' - { - $current = grammarAccess.getXLogicOperatorAccess().getOREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getXLogicOperatorAccess().getOREnumLiteralDeclaration_1()); - } -)); - - - -// Rule MatchField -ruleMatchField returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -(( enumLiteral_0='artifactName' - { - $current = grammarAccess.getMatchFieldAccess().getArtifactNameEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getMatchFieldAccess().getArtifactNameEnumLiteralDeclaration_0()); - } -) - |( enumLiteral_1='artifactId' - { - $current = grammarAccess.getMatchFieldAccess().getArtifactIdEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getMatchFieldAccess().getArtifactIdEnumLiteralDeclaration_1()); - } -) - |( enumLiteral_2='branchName' - { - $current = grammarAccess.getMatchFieldAccess().getBranchNameEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getMatchFieldAccess().getBranchNameEnumLiteralDeclaration_2()); - } -) - |( enumLiteral_3='branchUuid' - { - $current = grammarAccess.getMatchFieldAccess().getBranchUuidEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getMatchFieldAccess().getBranchUuidEnumLiteralDeclaration_3()); - } -)); - - - -// Rule AccessPermissionEnum -ruleAccessPermissionEnum returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -(( enumLiteral_0='ALLOW' - { - $current = grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0()); - } -) - |( enumLiteral_1='DENY' - { - $current = grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1()); - } -)); - - - -// Rule RelationTypeMatch -ruleRelationTypeMatch returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='ALL' - { - $current = grammarAccess.getRelationTypeMatchAccess().getALLEnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getRelationTypeMatchAccess().getALLEnumLiteralDeclaration()); - } -); - - - -// Rule XRelationSideEnum -ruleXRelationSideEnum returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -(( enumLiteral_0='SIDE_A' - { - $current = grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0()); - } -) - |( enumLiteral_1='SIDE_B' - { - $current = grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1()); - } -) - |( enumLiteral_2='BOTH' - { - $current = grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2()); - } -)); - - - -RULE_STRING : ('"' ('\\' '"'|~('"'))* '"'|'\'' ('\\' '\''|~('\''))* '\''); - -RULE_WHOLE_NUM_STR : ('0'..'9')+; - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; - - diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.tokens b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.tokens deleted file mode 100644 index abd048eff3b..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.tokens +++ /dev/null @@ -1,180 +0,0 @@ -'('=69 -')'=70 -','=17 -'.'=13 -';'=73 -'ALL'=94 -'ALLOW'=92 -'AND'=87 -'ArtifactReferenceAttribute'=47 -'BOTH'=97 -'BooleanAttribute'=38 -'BranchReferenceAttribute'=48 -'CompressedContentAttribute'=39 -'DENY'=93 -'DateAttribute'=40 -'DefaultAttributeDataProvider'=26 -'DefaultAttributeTaggerProvider'=32 -'EQ'=85 -'EnumeratedAttribute'=41 -'FloatingPointAttribute'=42 -'IntegerAttribute'=43 -'JavaObjectAttribute'=45 -'LIKE'=86 -'Lexicographical_Ascending'=66 -'Lexicographical_Descending'=67 -'LongAttribute'=44 -'MANY_TO_MANY'=84 -'MANY_TO_ONE'=83 -'ONE_TO_MANY'=82 -'ONE_TO_ONE'=81 -'OR'=88 -'OutlineNumberAttribute'=50 -'SIDE_A'=95 -'SIDE_B'=96 -'StringAttribute'=46 -'Unordered'=68 -'UriAttributeDataProvider'=27 -'WordAttribute'=49 -'abstract'=14 -'accessContext'=75 -'add'=55 -'artifact'=78 -'artifactId'=90 -'artifactMatcher'=71 -'artifactName'=89 -'artifactType'=15 -'attribute'=21 -'attributeType'=23 -'branchName'=91 -'branchUuid'=22 -'childrenOf'=77 -'dataProvider'=25 -'defaultOrderType'=64 -'defaultValue'=35 -'description'=34 -'edit'=79 -'entry'=52 -'enumType'=33 -'extends'=16 -'fileExtension'=36 -'guid'=76 -'id'=19 -'import'=12 -'inheritAll'=54 -'max'=29 -'mediaType'=37 -'min'=28 -'multiplicity'=65 -'of'=80 -'oseeEnumType'=51 -'overrides artifactType'=57 -'overrides enum'=53 -'overrides'=24 -'relationType'=59 -'remove'=56 -'role'=74 -'sideAArtifactType'=61 -'sideAName'=60 -'sideBArtifactType'=63 -'sideBName'=62 -'taggerId'=31 -'unlimited'=30 -'update'=58 -'where'=72 -'{'=18 -'}'=20 -RULE_ANY_OTHER=11 -RULE_ID=5 -RULE_INT=7 -RULE_ML_COMMENT=8 -RULE_SL_COMMENT=9 -RULE_STRING=4 -RULE_WHOLE_NUM_STR=6 -RULE_WS=10 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__26=26 -T__27=27 -T__28=28 -T__29=29 -T__30=30 -T__31=31 -T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 -T__41=41 -T__42=42 -T__43=43 -T__44=44 -T__45=45 -T__46=46 -T__47=47 -T__48=48 -T__49=49 -T__50=50 -T__51=51 -T__52=52 -T__53=53 -T__54=54 -T__55=55 -T__56=56 -T__57=57 -T__58=58 -T__59=59 -T__60=60 -T__61=61 -T__62=62 -T__63=63 -T__64=64 -T__65=65 -T__66=66 -T__67=67 -T__68=68 -T__69=69 -T__70=70 -T__71=71 -T__72=72 -T__73=73 -T__74=74 -T__75=75 -T__76=76 -T__77=77 -T__78=78 -T__79=79 -T__80=80 -T__81=81 -T__82=82 -T__83=83 -T__84=84 -T__85=85 -T__86=86 -T__87=87 -T__88=88 -T__89=89 -T__90=90 -T__91=91 -T__92=92 -T__93=93 -T__94=94 -T__95=95 -T__96=96 -T__97=97 diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDslLexer.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDslLexer.java deleted file mode 100644 index 70efafcbdaa..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDslLexer.java +++ /dev/null @@ -1,4166 +0,0 @@ -package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalOseeDslLexer extends Lexer { - public static final int T__50=50; - public static final int T__59=59; - public static final int T__55=55; - public static final int T__56=56; - public static final int T__57=57; - public static final int T__58=58; - public static final int T__51=51; - public static final int T__52=52; - public static final int T__53=53; - public static final int T__54=54; - public static final int T__60=60; - public static final int T__61=61; - public static final int RULE_ID=5; - public static final int RULE_INT=7; - public static final int T__66=66; - public static final int RULE_ML_COMMENT=8; - public static final int T__67=67; - public static final int T__68=68; - public static final int T__69=69; - public static final int T__62=62; - public static final int T__63=63; - public static final int T__64=64; - public static final int T__65=65; - public static final int T__37=37; - public static final int T__38=38; - public static final int T__39=39; - public static final int RULE_WHOLE_NUM_STR=6; - public static final int T__33=33; - public static final int T__34=34; - public static final int T__35=35; - public static final int T__36=36; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int T__48=48; - public static final int T__49=49; - public static final int T__44=44; - public static final int T__45=45; - public static final int T__46=46; - public static final int T__47=47; - public static final int T__40=40; - public static final int T__41=41; - public static final int T__42=42; - public static final int T__43=43; - public static final int T__91=91; - public static final int T__92=92; - public static final int T__93=93; - public static final int T__94=94; - public static final int T__90=90; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int T__95=95; - public static final int T__96=96; - public static final int T__97=97; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int T__29=29; - public static final int T__22=22; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - public static final int T__70=70; - public static final int T__71=71; - public static final int T__72=72; - public static final int RULE_STRING=4; - public static final int RULE_SL_COMMENT=9; - public static final int T__77=77; - public static final int T__78=78; - public static final int T__79=79; - public static final int T__73=73; - public static final int EOF=-1; - public static final int T__74=74; - public static final int T__75=75; - public static final int T__76=76; - public static final int T__80=80; - public static final int T__81=81; - public static final int T__82=82; - public static final int T__83=83; - public static final int RULE_WS=10; - public static final int RULE_ANY_OTHER=11; - public static final int T__88=88; - public static final int T__89=89; - public static final int T__84=84; - public static final int T__85=85; - public static final int T__86=86; - public static final int T__87=87; - - // delegates - // delegators - - public InternalOseeDslLexer() {;} - public InternalOseeDslLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalOseeDslLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalOseeDsl.g"; } - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:11:7: ( 'import' ) - // InternalOseeDsl.g:11:9: 'import' - { - match("import"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:12:7: ( '.' ) - // InternalOseeDsl.g:12:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:13:7: ( 'abstract' ) - // InternalOseeDsl.g:13:9: 'abstract' - { - match("abstract"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:14:7: ( 'artifactType' ) - // InternalOseeDsl.g:14:9: 'artifactType' - { - match("artifactType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:15:7: ( 'extends' ) - // InternalOseeDsl.g:15:9: 'extends' - { - match("extends"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:16:7: ( ',' ) - // InternalOseeDsl.g:16:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:17:7: ( '{' ) - // InternalOseeDsl.g:17:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:18:7: ( 'id' ) - // InternalOseeDsl.g:18:9: 'id' - { - match("id"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:19:7: ( '}' ) - // InternalOseeDsl.g:19:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:20:7: ( 'attribute' ) - // InternalOseeDsl.g:20:9: 'attribute' - { - match("attribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:21:7: ( 'branchUuid' ) - // InternalOseeDsl.g:21:9: 'branchUuid' - { - match("branchUuid"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:22:7: ( 'attributeType' ) - // InternalOseeDsl.g:22:9: 'attributeType' - { - match("attributeType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:23:7: ( 'overrides' ) - // InternalOseeDsl.g:23:9: 'overrides' - { - match("overrides"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:24:7: ( 'dataProvider' ) - // InternalOseeDsl.g:24:9: 'dataProvider' - { - match("dataProvider"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:25:7: ( 'DefaultAttributeDataProvider' ) - // InternalOseeDsl.g:25:9: 'DefaultAttributeDataProvider' - { - match("DefaultAttributeDataProvider"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:26:7: ( 'UriAttributeDataProvider' ) - // InternalOseeDsl.g:26:9: 'UriAttributeDataProvider' - { - match("UriAttributeDataProvider"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:27:7: ( 'min' ) - // InternalOseeDsl.g:27:9: 'min' - { - match("min"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:28:7: ( 'max' ) - // InternalOseeDsl.g:28:9: 'max' - { - match("max"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:29:7: ( 'unlimited' ) - // InternalOseeDsl.g:29:9: 'unlimited' - { - match("unlimited"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "T__31" - public final void mT__31() throws RecognitionException { - try { - int _type = T__31; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:30:7: ( 'taggerId' ) - // InternalOseeDsl.g:30:9: 'taggerId' - { - match("taggerId"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__31" - - // $ANTLR start "T__32" - public final void mT__32() throws RecognitionException { - try { - int _type = T__32; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:31:7: ( 'DefaultAttributeTaggerProvider' ) - // InternalOseeDsl.g:31:9: 'DefaultAttributeTaggerProvider' - { - match("DefaultAttributeTaggerProvider"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:32:7: ( 'enumType' ) - // InternalOseeDsl.g:32:9: 'enumType' - { - match("enumType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:33:7: ( 'description' ) - // InternalOseeDsl.g:33:9: 'description' - { - match("description"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:34:7: ( 'defaultValue' ) - // InternalOseeDsl.g:34:9: 'defaultValue' - { - match("defaultValue"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:35:7: ( 'fileExtension' ) - // InternalOseeDsl.g:35:9: 'fileExtension' - { - match("fileExtension"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:36:7: ( 'mediaType' ) - // InternalOseeDsl.g:36:9: 'mediaType' - { - match("mediaType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:37:7: ( 'BooleanAttribute' ) - // InternalOseeDsl.g:37:9: 'BooleanAttribute' - { - match("BooleanAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:38:7: ( 'CompressedContentAttribute' ) - // InternalOseeDsl.g:38:9: 'CompressedContentAttribute' - { - match("CompressedContentAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" - - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:39:7: ( 'DateAttribute' ) - // InternalOseeDsl.g:39:9: 'DateAttribute' - { - match("DateAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - - // $ANTLR start "T__41" - public final void mT__41() throws RecognitionException { - try { - int _type = T__41; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:40:7: ( 'EnumeratedAttribute' ) - // InternalOseeDsl.g:40:9: 'EnumeratedAttribute' - { - match("EnumeratedAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__41" - - // $ANTLR start "T__42" - public final void mT__42() throws RecognitionException { - try { - int _type = T__42; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:41:7: ( 'FloatingPointAttribute' ) - // InternalOseeDsl.g:41:9: 'FloatingPointAttribute' - { - match("FloatingPointAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__42" - - // $ANTLR start "T__43" - public final void mT__43() throws RecognitionException { - try { - int _type = T__43; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:42:7: ( 'IntegerAttribute' ) - // InternalOseeDsl.g:42:9: 'IntegerAttribute' - { - match("IntegerAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__43" - - // $ANTLR start "T__44" - public final void mT__44() throws RecognitionException { - try { - int _type = T__44; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:43:7: ( 'LongAttribute' ) - // InternalOseeDsl.g:43:9: 'LongAttribute' - { - match("LongAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__44" - - // $ANTLR start "T__45" - public final void mT__45() throws RecognitionException { - try { - int _type = T__45; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:44:7: ( 'JavaObjectAttribute' ) - // InternalOseeDsl.g:44:9: 'JavaObjectAttribute' - { - match("JavaObjectAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__45" - - // $ANTLR start "T__46" - public final void mT__46() throws RecognitionException { - try { - int _type = T__46; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:45:7: ( 'StringAttribute' ) - // InternalOseeDsl.g:45:9: 'StringAttribute' - { - match("StringAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__46" - - // $ANTLR start "T__47" - public final void mT__47() throws RecognitionException { - try { - int _type = T__47; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:46:7: ( 'ArtifactReferenceAttribute' ) - // InternalOseeDsl.g:46:9: 'ArtifactReferenceAttribute' - { - match("ArtifactReferenceAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__47" - - // $ANTLR start "T__48" - public final void mT__48() throws RecognitionException { - try { - int _type = T__48; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:47:7: ( 'BranchReferenceAttribute' ) - // InternalOseeDsl.g:47:9: 'BranchReferenceAttribute' - { - match("BranchReferenceAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__48" - - // $ANTLR start "T__49" - public final void mT__49() throws RecognitionException { - try { - int _type = T__49; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:48:7: ( 'WordAttribute' ) - // InternalOseeDsl.g:48:9: 'WordAttribute' - { - match("WordAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__49" - - // $ANTLR start "T__50" - public final void mT__50() throws RecognitionException { - try { - int _type = T__50; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:49:7: ( 'OutlineNumberAttribute' ) - // InternalOseeDsl.g:49:9: 'OutlineNumberAttribute' - { - match("OutlineNumberAttribute"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__50" - - // $ANTLR start "T__51" - public final void mT__51() throws RecognitionException { - try { - int _type = T__51; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:50:7: ( 'oseeEnumType' ) - // InternalOseeDsl.g:50:9: 'oseeEnumType' - { - match("oseeEnumType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__51" - - // $ANTLR start "T__52" - public final void mT__52() throws RecognitionException { - try { - int _type = T__52; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:51:7: ( 'entry' ) - // InternalOseeDsl.g:51:9: 'entry' - { - match("entry"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__52" - - // $ANTLR start "T__53" - public final void mT__53() throws RecognitionException { - try { - int _type = T__53; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:52:7: ( 'overrides enum' ) - // InternalOseeDsl.g:52:9: 'overrides enum' - { - match("overrides enum"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__53" - - // $ANTLR start "T__54" - public final void mT__54() throws RecognitionException { - try { - int _type = T__54; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:53:7: ( 'inheritAll' ) - // InternalOseeDsl.g:53:9: 'inheritAll' - { - match("inheritAll"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__54" - - // $ANTLR start "T__55" - public final void mT__55() throws RecognitionException { - try { - int _type = T__55; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:54:7: ( 'add' ) - // InternalOseeDsl.g:54:9: 'add' - { - match("add"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__55" - - // $ANTLR start "T__56" - public final void mT__56() throws RecognitionException { - try { - int _type = T__56; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:55:7: ( 'remove' ) - // InternalOseeDsl.g:55:9: 'remove' - { - match("remove"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__56" - - // $ANTLR start "T__57" - public final void mT__57() throws RecognitionException { - try { - int _type = T__57; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:56:7: ( 'overrides artifactType' ) - // InternalOseeDsl.g:56:9: 'overrides artifactType' - { - match("overrides artifactType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__57" - - // $ANTLR start "T__58" - public final void mT__58() throws RecognitionException { - try { - int _type = T__58; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:57:7: ( 'update' ) - // InternalOseeDsl.g:57:9: 'update' - { - match("update"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__58" - - // $ANTLR start "T__59" - public final void mT__59() throws RecognitionException { - try { - int _type = T__59; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:58:7: ( 'relationType' ) - // InternalOseeDsl.g:58:9: 'relationType' - { - match("relationType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__59" - - // $ANTLR start "T__60" - public final void mT__60() throws RecognitionException { - try { - int _type = T__60; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:59:7: ( 'sideAName' ) - // InternalOseeDsl.g:59:9: 'sideAName' - { - match("sideAName"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__60" - - // $ANTLR start "T__61" - public final void mT__61() throws RecognitionException { - try { - int _type = T__61; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:60:7: ( 'sideAArtifactType' ) - // InternalOseeDsl.g:60:9: 'sideAArtifactType' - { - match("sideAArtifactType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__61" - - // $ANTLR start "T__62" - public final void mT__62() throws RecognitionException { - try { - int _type = T__62; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:61:7: ( 'sideBName' ) - // InternalOseeDsl.g:61:9: 'sideBName' - { - match("sideBName"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__62" - - // $ANTLR start "T__63" - public final void mT__63() throws RecognitionException { - try { - int _type = T__63; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:62:7: ( 'sideBArtifactType' ) - // InternalOseeDsl.g:62:9: 'sideBArtifactType' - { - match("sideBArtifactType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__63" - - // $ANTLR start "T__64" - public final void mT__64() throws RecognitionException { - try { - int _type = T__64; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:63:7: ( 'defaultOrderType' ) - // InternalOseeDsl.g:63:9: 'defaultOrderType' - { - match("defaultOrderType"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__64" - - // $ANTLR start "T__65" - public final void mT__65() throws RecognitionException { - try { - int _type = T__65; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:64:7: ( 'multiplicity' ) - // InternalOseeDsl.g:64:9: 'multiplicity' - { - match("multiplicity"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__65" - - // $ANTLR start "T__66" - public final void mT__66() throws RecognitionException { - try { - int _type = T__66; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:65:7: ( 'Lexicographical_Ascending' ) - // InternalOseeDsl.g:65:9: 'Lexicographical_Ascending' - { - match("Lexicographical_Ascending"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__66" - - // $ANTLR start "T__67" - public final void mT__67() throws RecognitionException { - try { - int _type = T__67; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:66:7: ( 'Lexicographical_Descending' ) - // InternalOseeDsl.g:66:9: 'Lexicographical_Descending' - { - match("Lexicographical_Descending"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__67" - - // $ANTLR start "T__68" - public final void mT__68() throws RecognitionException { - try { - int _type = T__68; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:67:7: ( 'Unordered' ) - // InternalOseeDsl.g:67:9: 'Unordered' - { - match("Unordered"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__68" - - // $ANTLR start "T__69" - public final void mT__69() throws RecognitionException { - try { - int _type = T__69; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:68:7: ( '(' ) - // InternalOseeDsl.g:68:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__69" - - // $ANTLR start "T__70" - public final void mT__70() throws RecognitionException { - try { - int _type = T__70; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:69:7: ( ')' ) - // InternalOseeDsl.g:69:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__70" - - // $ANTLR start "T__71" - public final void mT__71() throws RecognitionException { - try { - int _type = T__71; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:70:7: ( 'artifactMatcher' ) - // InternalOseeDsl.g:70:9: 'artifactMatcher' - { - match("artifactMatcher"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__71" - - // $ANTLR start "T__72" - public final void mT__72() throws RecognitionException { - try { - int _type = T__72; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:71:7: ( 'where' ) - // InternalOseeDsl.g:71:9: 'where' - { - match("where"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__72" - - // $ANTLR start "T__73" - public final void mT__73() throws RecognitionException { - try { - int _type = T__73; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:72:7: ( ';' ) - // InternalOseeDsl.g:72:9: ';' - { - match(';'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__73" - - // $ANTLR start "T__74" - public final void mT__74() throws RecognitionException { - try { - int _type = T__74; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:73:7: ( 'role' ) - // InternalOseeDsl.g:73:9: 'role' - { - match("role"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__74" - - // $ANTLR start "T__75" - public final void mT__75() throws RecognitionException { - try { - int _type = T__75; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:74:7: ( 'accessContext' ) - // InternalOseeDsl.g:74:9: 'accessContext' - { - match("accessContext"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__75" - - // $ANTLR start "T__76" - public final void mT__76() throws RecognitionException { - try { - int _type = T__76; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:75:7: ( 'guid' ) - // InternalOseeDsl.g:75:9: 'guid' - { - match("guid"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__76" - - // $ANTLR start "T__77" - public final void mT__77() throws RecognitionException { - try { - int _type = T__77; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:76:7: ( 'childrenOf' ) - // InternalOseeDsl.g:76:9: 'childrenOf' - { - match("childrenOf"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__77" - - // $ANTLR start "T__78" - public final void mT__78() throws RecognitionException { - try { - int _type = T__78; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:77:7: ( 'artifact' ) - // InternalOseeDsl.g:77:9: 'artifact' - { - match("artifact"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__78" - - // $ANTLR start "T__79" - public final void mT__79() throws RecognitionException { - try { - int _type = T__79; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:78:7: ( 'edit' ) - // InternalOseeDsl.g:78:9: 'edit' - { - match("edit"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__79" - - // $ANTLR start "T__80" - public final void mT__80() throws RecognitionException { - try { - int _type = T__80; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:79:7: ( 'of' ) - // InternalOseeDsl.g:79:9: 'of' - { - match("of"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__80" - - // $ANTLR start "T__81" - public final void mT__81() throws RecognitionException { - try { - int _type = T__81; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:80:7: ( 'ONE_TO_ONE' ) - // InternalOseeDsl.g:80:9: 'ONE_TO_ONE' - { - match("ONE_TO_ONE"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__81" - - // $ANTLR start "T__82" - public final void mT__82() throws RecognitionException { - try { - int _type = T__82; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:81:7: ( 'ONE_TO_MANY' ) - // InternalOseeDsl.g:81:9: 'ONE_TO_MANY' - { - match("ONE_TO_MANY"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__82" - - // $ANTLR start "T__83" - public final void mT__83() throws RecognitionException { - try { - int _type = T__83; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:82:7: ( 'MANY_TO_ONE' ) - // InternalOseeDsl.g:82:9: 'MANY_TO_ONE' - { - match("MANY_TO_ONE"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__83" - - // $ANTLR start "T__84" - public final void mT__84() throws RecognitionException { - try { - int _type = T__84; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:83:7: ( 'MANY_TO_MANY' ) - // InternalOseeDsl.g:83:9: 'MANY_TO_MANY' - { - match("MANY_TO_MANY"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__84" - - // $ANTLR start "T__85" - public final void mT__85() throws RecognitionException { - try { - int _type = T__85; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:84:7: ( 'EQ' ) - // InternalOseeDsl.g:84:9: 'EQ' - { - match("EQ"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__85" - - // $ANTLR start "T__86" - public final void mT__86() throws RecognitionException { - try { - int _type = T__86; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:85:7: ( 'LIKE' ) - // InternalOseeDsl.g:85:9: 'LIKE' - { - match("LIKE"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__86" - - // $ANTLR start "T__87" - public final void mT__87() throws RecognitionException { - try { - int _type = T__87; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:86:7: ( 'AND' ) - // InternalOseeDsl.g:86:9: 'AND' - { - match("AND"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__87" - - // $ANTLR start "T__88" - public final void mT__88() throws RecognitionException { - try { - int _type = T__88; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:87:7: ( 'OR' ) - // InternalOseeDsl.g:87:9: 'OR' - { - match("OR"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__88" - - // $ANTLR start "T__89" - public final void mT__89() throws RecognitionException { - try { - int _type = T__89; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:88:7: ( 'artifactName' ) - // InternalOseeDsl.g:88:9: 'artifactName' - { - match("artifactName"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__89" - - // $ANTLR start "T__90" - public final void mT__90() throws RecognitionException { - try { - int _type = T__90; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:89:7: ( 'artifactId' ) - // InternalOseeDsl.g:89:9: 'artifactId' - { - match("artifactId"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__90" - - // $ANTLR start "T__91" - public final void mT__91() throws RecognitionException { - try { - int _type = T__91; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:90:7: ( 'branchName' ) - // InternalOseeDsl.g:90:9: 'branchName' - { - match("branchName"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__91" - - // $ANTLR start "T__92" - public final void mT__92() throws RecognitionException { - try { - int _type = T__92; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:91:7: ( 'ALLOW' ) - // InternalOseeDsl.g:91:9: 'ALLOW' - { - match("ALLOW"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__92" - - // $ANTLR start "T__93" - public final void mT__93() throws RecognitionException { - try { - int _type = T__93; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:92:7: ( 'DENY' ) - // InternalOseeDsl.g:92:9: 'DENY' - { - match("DENY"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__93" - - // $ANTLR start "T__94" - public final void mT__94() throws RecognitionException { - try { - int _type = T__94; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:93:7: ( 'ALL' ) - // InternalOseeDsl.g:93:9: 'ALL' - { - match("ALL"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__94" - - // $ANTLR start "T__95" - public final void mT__95() throws RecognitionException { - try { - int _type = T__95; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:94:7: ( 'SIDE_A' ) - // InternalOseeDsl.g:94:9: 'SIDE_A' - { - match("SIDE_A"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__95" - - // $ANTLR start "T__96" - public final void mT__96() throws RecognitionException { - try { - int _type = T__96; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:95:7: ( 'SIDE_B' ) - // InternalOseeDsl.g:95:9: 'SIDE_B' - { - match("SIDE_B"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__96" - - // $ANTLR start "T__97" - public final void mT__97() throws RecognitionException { - try { - int _type = T__97; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:96:7: ( 'BOTH' ) - // InternalOseeDsl.g:96:9: 'BOTH' - { - match("BOTH"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__97" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3475:13: ( ( '\"' ( '\\\\' '\"' | ~ ( '\"' ) )* '\"' | '\\'' ( '\\\\' '\\'' | ~ ( '\\'' ) )* '\\'' ) ) - // InternalOseeDsl.g:3475:15: ( '\"' ( '\\\\' '\"' | ~ ( '\"' ) )* '\"' | '\\'' ( '\\\\' '\\'' | ~ ( '\\'' ) )* '\\'' ) - { - // InternalOseeDsl.g:3475:15: ( '\"' ( '\\\\' '\"' | ~ ( '\"' ) )* '\"' | '\\'' ( '\\\\' '\\'' | ~ ( '\\'' ) )* '\\'' ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0=='\"') ) { - alt3=1; - } - else if ( (LA3_0=='\'') ) { - alt3=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // InternalOseeDsl.g:3475:16: '\"' ( '\\\\' '\"' | ~ ( '\"' ) )* '\"' - { - match('\"'); - // InternalOseeDsl.g:3475:20: ( '\\\\' '\"' | ~ ( '\"' ) )* - loop1: - do { - int alt1=3; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='\\') ) { - int LA1_2 = input.LA(2); - - if ( (LA1_2=='\"') ) { - int LA1_4 = input.LA(3); - - if ( ((LA1_4>='\u0000' && LA1_4<='\uFFFF')) ) { - alt1=1; - } - - else { - alt1=2; - } - - } - else if ( ((LA1_2>='\u0000' && LA1_2<='!')||(LA1_2>='#' && LA1_2<='\uFFFF')) ) { - alt1=2; - } - - - } - else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) { - alt1=2; - } - - - switch (alt1) { - case 1 : - // InternalOseeDsl.g:3475:21: '\\\\' '\"' - { - match('\\'); - match('\"'); - - } - break; - case 2 : - // InternalOseeDsl.g:3475:30: ~ ( '\"' ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop1; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // InternalOseeDsl.g:3475:43: '\\'' ( '\\\\' '\\'' | ~ ( '\\'' ) )* '\\'' - { - match('\''); - // InternalOseeDsl.g:3475:48: ( '\\\\' '\\'' | ~ ( '\\'' ) )* - loop2: - do { - int alt2=3; - int LA2_0 = input.LA(1); - - if ( (LA2_0=='\\') ) { - int LA2_2 = input.LA(2); - - if ( (LA2_2=='\'') ) { - int LA2_4 = input.LA(3); - - if ( ((LA2_4>='\u0000' && LA2_4<='\uFFFF')) ) { - alt2=1; - } - - else { - alt2=2; - } - - } - else if ( ((LA2_2>='\u0000' && LA2_2<='&')||(LA2_2>='(' && LA2_2<='\uFFFF')) ) { - alt2=2; - } - - - } - else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) { - alt2=2; - } - - - switch (alt2) { - case 1 : - // InternalOseeDsl.g:3475:49: '\\\\' '\\'' - { - match('\\'); - match('\''); - - } - break; - case 2 : - // InternalOseeDsl.g:3475:59: ~ ( '\\'' ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_WHOLE_NUM_STR" - public final void mRULE_WHOLE_NUM_STR() throws RecognitionException { - try { - int _type = RULE_WHOLE_NUM_STR; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3477:20: ( ( '0' .. '9' )+ ) - // InternalOseeDsl.g:3477:22: ( '0' .. '9' )+ - { - // InternalOseeDsl.g:3477:22: ( '0' .. '9' )+ - int cnt4=0; - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>='0' && LA4_0<='9')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalOseeDsl.g:3477:23: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt4 >= 1 ) break loop4; - EarlyExitException eee = - new EarlyExitException(4, input); - throw eee; - } - cnt4++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WHOLE_NUM_STR" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3479:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalOseeDsl.g:3479:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalOseeDsl.g:3479:11: ( '^' )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='^') ) { - alt5=1; - } - switch (alt5) { - case 1 : - // InternalOseeDsl.g:3479:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalOseeDsl.g:3479:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( ((LA6_0>='0' && LA6_0<='9')||(LA6_0>='A' && LA6_0<='Z')||LA6_0=='_'||(LA6_0>='a' && LA6_0<='z')) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // InternalOseeDsl.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop6; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3481:10: ( ( '0' .. '9' )+ ) - // InternalOseeDsl.g:3481:12: ( '0' .. '9' )+ - { - // InternalOseeDsl.g:3481:12: ( '0' .. '9' )+ - int cnt7=0; - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>='0' && LA7_0<='9')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalOseeDsl.g:3481:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt7 >= 1 ) break loop7; - EarlyExitException eee = - new EarlyExitException(7, input); - throw eee; - } - cnt7++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3483:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalOseeDsl.g:3483:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalOseeDsl.g:3483:24: ( options {greedy=false; } : . )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0=='*') ) { - int LA8_1 = input.LA(2); - - if ( (LA8_1=='/') ) { - alt8=2; - } - else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFF')) ) { - alt8=1; - } - - - } - else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalOseeDsl.g:3483:52: . - { - matchAny(); - - } - break; - - default : - break loop8; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3485:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalOseeDsl.g:3485:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // InternalOseeDsl.g:3485:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // InternalOseeDsl.g:3485:24: ~ ( ( '\\n' | '\\r' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop9; - } - } while (true); - - // InternalOseeDsl.g:3485:40: ( ( '\\r' )? '\\n' )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0=='\n'||LA11_0=='\r') ) { - alt11=1; - } - switch (alt11) { - case 1 : - // InternalOseeDsl.g:3485:41: ( '\\r' )? '\\n' - { - // InternalOseeDsl.g:3485:41: ( '\\r' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='\r') ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalOseeDsl.g:3485:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3487:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalOseeDsl.g:3487:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalOseeDsl.g:3487:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt12=0; - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // InternalOseeDsl.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt12 >= 1 ) break loop12; - EarlyExitException eee = - new EarlyExitException(12, input); - throw eee; - } - cnt12++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalOseeDsl.g:3489:16: ( . ) - // InternalOseeDsl.g:3489:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // InternalOseeDsl.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | RULE_STRING | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt13=94; - alt13 = dfa13.predict(input); - switch (alt13) { - case 1 : - // InternalOseeDsl.g:1:10: T__12 - { - mT__12(); - - } - break; - case 2 : - // InternalOseeDsl.g:1:16: T__13 - { - mT__13(); - - } - break; - case 3 : - // InternalOseeDsl.g:1:22: T__14 - { - mT__14(); - - } - break; - case 4 : - // InternalOseeDsl.g:1:28: T__15 - { - mT__15(); - - } - break; - case 5 : - // InternalOseeDsl.g:1:34: T__16 - { - mT__16(); - - } - break; - case 6 : - // InternalOseeDsl.g:1:40: T__17 - { - mT__17(); - - } - break; - case 7 : - // InternalOseeDsl.g:1:46: T__18 - { - mT__18(); - - } - break; - case 8 : - // InternalOseeDsl.g:1:52: T__19 - { - mT__19(); - - } - break; - case 9 : - // InternalOseeDsl.g:1:58: T__20 - { - mT__20(); - - } - break; - case 10 : - // InternalOseeDsl.g:1:64: T__21 - { - mT__21(); - - } - break; - case 11 : - // InternalOseeDsl.g:1:70: T__22 - { - mT__22(); - - } - break; - case 12 : - // InternalOseeDsl.g:1:76: T__23 - { - mT__23(); - - } - break; - case 13 : - // InternalOseeDsl.g:1:82: T__24 - { - mT__24(); - - } - break; - case 14 : - // InternalOseeDsl.g:1:88: T__25 - { - mT__25(); - - } - break; - case 15 : - // InternalOseeDsl.g:1:94: T__26 - { - mT__26(); - - } - break; - case 16 : - // InternalOseeDsl.g:1:100: T__27 - { - mT__27(); - - } - break; - case 17 : - // InternalOseeDsl.g:1:106: T__28 - { - mT__28(); - - } - break; - case 18 : - // InternalOseeDsl.g:1:112: T__29 - { - mT__29(); - - } - break; - case 19 : - // InternalOseeDsl.g:1:118: T__30 - { - mT__30(); - - } - break; - case 20 : - // InternalOseeDsl.g:1:124: T__31 - { - mT__31(); - - } - break; - case 21 : - // InternalOseeDsl.g:1:130: T__32 - { - mT__32(); - - } - break; - case 22 : - // InternalOseeDsl.g:1:136: T__33 - { - mT__33(); - - } - break; - case 23 : - // InternalOseeDsl.g:1:142: T__34 - { - mT__34(); - - } - break; - case 24 : - // InternalOseeDsl.g:1:148: T__35 - { - mT__35(); - - } - break; - case 25 : - // InternalOseeDsl.g:1:154: T__36 - { - mT__36(); - - } - break; - case 26 : - // InternalOseeDsl.g:1:160: T__37 - { - mT__37(); - - } - break; - case 27 : - // InternalOseeDsl.g:1:166: T__38 - { - mT__38(); - - } - break; - case 28 : - // InternalOseeDsl.g:1:172: T__39 - { - mT__39(); - - } - break; - case 29 : - // InternalOseeDsl.g:1:178: T__40 - { - mT__40(); - - } - break; - case 30 : - // InternalOseeDsl.g:1:184: T__41 - { - mT__41(); - - } - break; - case 31 : - // InternalOseeDsl.g:1:190: T__42 - { - mT__42(); - - } - break; - case 32 : - // InternalOseeDsl.g:1:196: T__43 - { - mT__43(); - - } - break; - case 33 : - // InternalOseeDsl.g:1:202: T__44 - { - mT__44(); - - } - break; - case 34 : - // InternalOseeDsl.g:1:208: T__45 - { - mT__45(); - - } - break; - case 35 : - // InternalOseeDsl.g:1:214: T__46 - { - mT__46(); - - } - break; - case 36 : - // InternalOseeDsl.g:1:220: T__47 - { - mT__47(); - - } - break; - case 37 : - // InternalOseeDsl.g:1:226: T__48 - { - mT__48(); - - } - break; - case 38 : - // InternalOseeDsl.g:1:232: T__49 - { - mT__49(); - - } - break; - case 39 : - // InternalOseeDsl.g:1:238: T__50 - { - mT__50(); - - } - break; - case 40 : - // InternalOseeDsl.g:1:244: T__51 - { - mT__51(); - - } - break; - case 41 : - // InternalOseeDsl.g:1:250: T__52 - { - mT__52(); - - } - break; - case 42 : - // InternalOseeDsl.g:1:256: T__53 - { - mT__53(); - - } - break; - case 43 : - // InternalOseeDsl.g:1:262: T__54 - { - mT__54(); - - } - break; - case 44 : - // InternalOseeDsl.g:1:268: T__55 - { - mT__55(); - - } - break; - case 45 : - // InternalOseeDsl.g:1:274: T__56 - { - mT__56(); - - } - break; - case 46 : - // InternalOseeDsl.g:1:280: T__57 - { - mT__57(); - - } - break; - case 47 : - // InternalOseeDsl.g:1:286: T__58 - { - mT__58(); - - } - break; - case 48 : - // InternalOseeDsl.g:1:292: T__59 - { - mT__59(); - - } - break; - case 49 : - // InternalOseeDsl.g:1:298: T__60 - { - mT__60(); - - } - break; - case 50 : - // InternalOseeDsl.g:1:304: T__61 - { - mT__61(); - - } - break; - case 51 : - // InternalOseeDsl.g:1:310: T__62 - { - mT__62(); - - } - break; - case 52 : - // InternalOseeDsl.g:1:316: T__63 - { - mT__63(); - - } - break; - case 53 : - // InternalOseeDsl.g:1:322: T__64 - { - mT__64(); - - } - break; - case 54 : - // InternalOseeDsl.g:1:328: T__65 - { - mT__65(); - - } - break; - case 55 : - // InternalOseeDsl.g:1:334: T__66 - { - mT__66(); - - } - break; - case 56 : - // InternalOseeDsl.g:1:340: T__67 - { - mT__67(); - - } - break; - case 57 : - // InternalOseeDsl.g:1:346: T__68 - { - mT__68(); - - } - break; - case 58 : - // InternalOseeDsl.g:1:352: T__69 - { - mT__69(); - - } - break; - case 59 : - // InternalOseeDsl.g:1:358: T__70 - { - mT__70(); - - } - break; - case 60 : - // InternalOseeDsl.g:1:364: T__71 - { - mT__71(); - - } - break; - case 61 : - // InternalOseeDsl.g:1:370: T__72 - { - mT__72(); - - } - break; - case 62 : - // InternalOseeDsl.g:1:376: T__73 - { - mT__73(); - - } - break; - case 63 : - // InternalOseeDsl.g:1:382: T__74 - { - mT__74(); - - } - break; - case 64 : - // InternalOseeDsl.g:1:388: T__75 - { - mT__75(); - - } - break; - case 65 : - // InternalOseeDsl.g:1:394: T__76 - { - mT__76(); - - } - break; - case 66 : - // InternalOseeDsl.g:1:400: T__77 - { - mT__77(); - - } - break; - case 67 : - // InternalOseeDsl.g:1:406: T__78 - { - mT__78(); - - } - break; - case 68 : - // InternalOseeDsl.g:1:412: T__79 - { - mT__79(); - - } - break; - case 69 : - // InternalOseeDsl.g:1:418: T__80 - { - mT__80(); - - } - break; - case 70 : - // InternalOseeDsl.g:1:424: T__81 - { - mT__81(); - - } - break; - case 71 : - // InternalOseeDsl.g:1:430: T__82 - { - mT__82(); - - } - break; - case 72 : - // InternalOseeDsl.g:1:436: T__83 - { - mT__83(); - - } - break; - case 73 : - // InternalOseeDsl.g:1:442: T__84 - { - mT__84(); - - } - break; - case 74 : - // InternalOseeDsl.g:1:448: T__85 - { - mT__85(); - - } - break; - case 75 : - // InternalOseeDsl.g:1:454: T__86 - { - mT__86(); - - } - break; - case 76 : - // InternalOseeDsl.g:1:460: T__87 - { - mT__87(); - - } - break; - case 77 : - // InternalOseeDsl.g:1:466: T__88 - { - mT__88(); - - } - break; - case 78 : - // InternalOseeDsl.g:1:472: T__89 - { - mT__89(); - - } - break; - case 79 : - // InternalOseeDsl.g:1:478: T__90 - { - mT__90(); - - } - break; - case 80 : - // InternalOseeDsl.g:1:484: T__91 - { - mT__91(); - - } - break; - case 81 : - // InternalOseeDsl.g:1:490: T__92 - { - mT__92(); - - } - break; - case 82 : - // InternalOseeDsl.g:1:496: T__93 - { - mT__93(); - - } - break; - case 83 : - // InternalOseeDsl.g:1:502: T__94 - { - mT__94(); - - } - break; - case 84 : - // InternalOseeDsl.g:1:508: T__95 - { - mT__95(); - - } - break; - case 85 : - // InternalOseeDsl.g:1:514: T__96 - { - mT__96(); - - } - break; - case 86 : - // InternalOseeDsl.g:1:520: T__97 - { - mT__97(); - - } - break; - case 87 : - // InternalOseeDsl.g:1:526: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 88 : - // InternalOseeDsl.g:1:538: RULE_WHOLE_NUM_STR - { - mRULE_WHOLE_NUM_STR(); - - } - break; - case 89 : - // InternalOseeDsl.g:1:557: RULE_ID - { - mRULE_ID(); - - } - break; - case 90 : - // InternalOseeDsl.g:1:565: RULE_INT - { - mRULE_INT(); - - } - break; - case 91 : - // InternalOseeDsl.g:1:574: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 92 : - // InternalOseeDsl.g:1:590: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 93 : - // InternalOseeDsl.g:1:606: RULE_WS - { - mRULE_WS(); - - } - break; - case 94 : - // InternalOseeDsl.g:1:614: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA13 dfa13 = new DFA13(this); - static final String DFA13_eotS = - "\1\uffff\1\60\1\uffff\2\60\3\uffff\26\60\2\uffff\1\60\1\uffff\3\60\2\54\1\160\1\54\1\uffff\1\54\2\uffff\1\60\1\166\1\60\2\uffff\10\60\3\uffff\3\60\1\u0084\24\60\1\u009a\16\60\1\u00a9\3\60\2\uffff\1\60\1\uffff\3\60\2\uffff\1\160\3\uffff\1\60\1\uffff\4\60\1\u00b7\10\60\1\uffff\10\60\1\u00c8\1\u00c9\13\60\1\uffff\11\60\1\u00de\1\u00e0\3\60\1\uffff\15\60\1\uffff\4\60\1\u00f5\10\60\1\u00fe\2\60\2\uffff\10\60\1\u0109\6\60\1\u0110\4\60\1\uffff\1\60\1\uffff\5\60\1\u011b\2\60\1\u011f\12\60\1\u012a\1\uffff\10\60\1\uffff\12\60\1\uffff\6\60\1\uffff\4\60\1\u0148\5\60\1\uffff\2\60\1\u0152\1\uffff\2\60\1\u0155\7\60\1\uffff\15\60\1\u016b\14\60\1\u0178\1\u0179\1\60\1\uffff\3\60\1\u017e\5\60\1\uffff\2\60\1\uffff\5\60\1\u018b\17\60\1\uffff\14\60\2\uffff\4\60\1\uffff\10\60\1\u01b5\1\u01ba\2\60\1\uffff\1\u01bd\17\60\1\u01cd\30\60\1\uffff\4\60\1\uffff\1\u01ec\1\60\1\uffff\2\60\1\u01f1\10\60\1\u01fa\1\u01fb\1\60\1\u01fd\1\uffff\21\60\1\u020f\1\60\1\u0211\4\60\1\u0216\3\60\1\u021a\1\60\1\uffff\1\60\1\u021d\1\u021e\2\uffff\10\60\2\uffff\1\60\1\uffff\16\60\1\u0238\2\60\1\uffff\1\60\1\uffff\1\60\1\u023d\2\60\1\uffff\3\60\1\uffff\2\60\4\uffff\2\60\1\u0247\24\60\1\uffff\1\u025c\3\60\1\uffff\1\u0260\1\60\1\u0262\1\60\1\u0264\2\60\1\u0267\1\u0268\1\uffff\1\u0269\4\60\1\u026e\16\60\1\uffff\1\u027d\2\60\1\uffff\1\u0280\1\uffff\1\60\1\uffff\1\u0282\1\u0283\3\uffff\2\60\1\u0286\1\60\1\uffff\1\u0288\6\60\1\u028f\4\60\1\u0294\1\60\1\uffff\2\60\1\uffff\1\60\2\uffff\2\60\1\uffff\1\60\1\uffff\6\60\1\uffff\4\60\1\uffff\3\60\1\u02a9\13\60\1\u02b5\4\60\1\uffff\1\u02ba\2\60\1\u02be\4\60\1\u02c3\2\60\1\uffff\4\60\1\uffff\3\60\1\uffff\4\60\1\uffff\5\60\1\u02d7\1\u02d8\14\60\2\uffff\5\60\1\u02ea\3\60\1\u02ee\7\60\1\uffff\3\60\1\uffff\21\60\1\u030a\3\60\1\u030e\5\60\1\uffff\3\60\1\uffff\2\60\1\u0319\1\u031a\6\60\2\uffff\1\60\1\u0322\4\60\1\u0327\1\uffff\1\u0328\1\u0329\2\60\3\uffff\1\u032c\1\60\1\uffff\1\60\1\u032f\1\uffff"; - static final String DFA13_eofS = - "\u0330\uffff"; - static final String DFA13_minS = - "\1\0\1\144\1\uffff\1\142\1\144\3\uffff\1\162\1\146\1\141\1\105\1\156\1\141\1\156\1\141\1\151\1\117\1\157\1\121\1\154\1\156\1\111\1\141\1\111\1\114\1\157\1\116\1\145\1\151\2\uffff\1\150\1\uffff\1\165\1\150\1\101\2\0\1\60\1\101\1\uffff\1\52\2\uffff\1\160\1\60\1\150\2\uffff\1\163\2\164\1\144\1\143\2\164\1\151\3\uffff\1\141\2\145\1\60\1\164\2\146\1\164\1\116\1\151\1\157\1\156\1\170\1\144\2\154\1\144\1\147\1\154\1\157\1\141\1\124\1\155\1\165\1\60\1\157\1\164\1\156\1\170\1\113\1\166\1\162\1\104\1\164\1\104\1\114\1\162\1\164\1\105\1\60\2\154\1\144\2\uffff\1\145\1\uffff\2\151\1\116\2\uffff\1\60\3\uffff\1\157\1\uffff\1\145\1\164\1\151\1\162\1\60\2\145\1\155\1\162\1\164\1\156\1\162\1\145\1\uffff\1\141\1\143\2\141\1\145\1\131\1\101\1\162\2\60\1\151\1\164\1\151\1\141\1\147\1\145\1\154\1\156\1\110\1\160\1\155\1\uffff\1\141\1\145\1\147\1\151\1\105\1\141\1\151\1\105\1\151\2\60\1\144\1\154\1\137\1\uffff\1\157\1\141\2\145\1\162\1\144\1\154\1\131\3\162\1\146\1\151\1\uffff\1\163\1\156\1\124\1\171\1\60\1\143\1\162\1\105\1\120\1\162\2\165\1\101\1\60\1\164\1\144\2\uffff\1\141\1\151\1\155\1\164\1\145\1\105\1\145\1\143\1\60\1\162\1\145\1\164\1\147\1\101\1\143\1\60\1\117\1\156\1\137\1\146\1\uffff\1\127\1\uffff\1\101\1\151\1\124\1\166\1\164\1\60\1\101\1\145\1\60\1\144\1\137\1\164\1\151\2\141\1\142\1\163\1\144\1\171\1\60\1\uffff\1\150\1\151\1\156\1\162\1\151\2\154\1\164\1\uffff\1\164\1\145\1\124\1\160\1\151\1\145\1\162\1\170\1\141\1\150\1\uffff\1\145\1\162\1\151\1\145\1\164\1\157\1\uffff\1\142\1\147\1\101\1\141\1\60\1\164\1\156\1\117\1\145\1\151\1\uffff\2\101\1\60\1\uffff\1\162\1\124\1\60\1\164\2\143\1\165\1\103\1\163\1\160\1\uffff\1\116\1\144\1\165\1\157\1\160\3\164\2\162\1\171\1\154\1\164\1\60\1\111\1\164\1\156\1\122\1\163\1\141\1\156\1\162\1\164\1\147\1\152\1\101\2\60\1\143\1\uffff\1\164\1\145\1\137\1\60\1\157\1\141\1\162\1\141\1\162\1\uffff\1\145\1\117\1\uffff\1\101\3\164\1\157\1\60\1\145\1\165\1\141\1\145\1\155\1\166\1\164\1\117\1\101\1\162\1\151\1\145\1\160\1\151\1\145\1\uffff\1\144\1\145\1\101\1\145\1\163\1\164\1\147\1\101\2\162\1\145\1\164\2\uffff\1\164\1\162\1\116\1\115\1\uffff\1\156\1\155\1\164\1\155\1\164\1\156\1\137\1\154\2\60\1\145\1\156\1\uffff\1\60\1\151\1\155\1\163\1\124\2\151\1\141\1\162\1\164\1\151\1\142\1\144\1\145\1\143\1\144\1\60\1\156\1\164\1\146\2\145\1\120\1\164\1\151\1\141\1\143\1\164\1\122\1\151\1\165\1\116\1\101\1\124\1\145\1\151\1\145\1\151\1\117\1\115\1\154\1\uffff\1\171\2\141\1\144\1\uffff\1\60\1\164\1\uffff\1\144\1\145\1\40\1\171\1\144\1\157\1\154\1\144\1\164\1\142\1\165\2\60\1\151\1\60\1\uffff\1\163\1\164\1\145\2\144\1\157\1\164\1\142\1\160\1\164\1\162\1\145\1\142\1\155\1\105\1\116\1\171\1\60\1\146\1\60\2\146\1\116\1\101\1\60\1\160\1\164\1\155\1\60\1\171\1\uffff\1\145\2\60\1\141\1\uffff\1\160\1\145\1\156\1\165\1\145\1\162\1\165\1\164\2\uffff\1\164\1\uffff\1\151\2\162\1\103\1\101\1\151\1\162\1\165\1\150\1\101\1\151\1\146\1\165\1\142\1\60\1\131\1\160\1\uffff\1\141\1\uffff\1\141\1\60\1\105\1\116\1\uffff\1\145\1\143\1\145\1\uffff\1\160\1\170\4\uffff\1\145\1\162\1\60\1\145\1\162\1\151\1\164\1\145\1\171\1\157\1\151\1\145\1\157\1\164\1\156\1\151\1\164\1\151\1\164\1\142\1\145\1\164\1\145\1\uffff\1\60\1\145\2\143\1\uffff\1\60\1\131\1\60\1\150\1\60\1\145\1\164\2\60\1\uffff\1\60\1\124\1\142\1\145\1\104\1\60\1\156\1\142\2\156\2\164\1\142\1\145\1\143\1\164\1\165\1\162\1\145\1\162\1\uffff\1\60\2\164\1\uffff\1\60\1\uffff\1\145\1\uffff\2\60\3\uffff\1\171\1\165\1\60\1\141\1\uffff\1\60\1\165\1\143\1\164\1\162\1\101\1\165\1\60\1\141\1\162\1\164\1\145\1\60\1\101\1\uffff\2\124\1\uffff\1\162\2\uffff\1\160\1\164\1\uffff\1\164\1\uffff\1\164\2\145\1\151\2\164\1\uffff\1\154\1\151\1\145\1\156\1\uffff\1\164\2\171\1\60\2\145\1\141\1\145\1\101\1\156\1\142\1\164\1\145\1\137\1\142\1\60\1\143\1\164\2\160\1\uffff\1\60\1\104\1\120\1\60\2\164\1\165\1\162\1\60\1\101\1\165\1\uffff\1\145\1\162\2\145\1\uffff\2\141\1\162\1\uffff\1\164\1\101\1\164\1\151\1\uffff\1\163\1\145\1\164\1\101\1\151\2\60\1\164\1\147\1\157\1\162\1\164\1\145\1\142\1\143\1\163\1\145\1\164\1\142\2\uffff\1\141\1\147\1\166\1\151\1\164\1\60\1\165\1\145\1\143\1\60\1\164\1\165\1\120\1\145\1\151\1\142\1\162\1\uffff\1\164\1\156\1\145\1\uffff\1\162\1\164\2\162\1\144\1\165\1\151\1\145\1\144\1\156\1\151\1\145\1\157\1\120\1\145\1\164\1\142\1\60\1\151\1\144\1\142\1\60\1\166\2\162\1\145\1\165\1\uffff\1\156\1\151\1\165\1\uffff\1\151\1\157\2\60\1\164\1\147\1\156\1\164\1\144\1\166\2\uffff\1\145\1\60\1\147\2\145\1\151\1\60\1\uffff\2\60\1\162\1\144\3\uffff\1\60\1\145\1\uffff\1\162\1\60\1\uffff"; - static final String DFA13_maxS = - "\1\uffff\1\156\1\uffff\1\164\1\170\3\uffff\1\162\1\166\2\145\1\162\1\165\1\160\1\141\1\151\1\162\1\157\1\156\1\154\1\156\1\157\1\141\1\164\1\162\1\157\1\165\1\157\1\151\2\uffff\1\150\1\uffff\1\165\1\150\1\101\2\uffff\1\71\1\172\1\uffff\1\57\2\uffff\1\160\1\172\1\150\2\uffff\1\163\2\164\1\144\1\143\1\164\1\165\1\151\3\uffff\1\141\2\145\1\172\1\164\1\163\1\146\1\164\1\116\1\151\1\157\1\156\1\170\1\144\2\154\1\144\1\147\1\154\1\157\1\141\1\124\1\155\1\165\1\172\1\157\1\164\1\156\1\170\1\113\1\166\1\162\1\104\1\164\1\104\1\114\1\162\1\164\1\105\1\172\1\155\1\154\1\144\2\uffff\1\145\1\uffff\2\151\1\116\2\uffff\1\71\3\uffff\1\157\1\uffff\1\145\1\164\1\151\1\162\1\172\2\145\1\155\1\162\1\164\1\156\1\162\1\145\1\uffff\1\141\1\143\2\141\1\145\1\131\1\101\1\162\2\172\1\151\1\164\1\151\1\141\1\147\1\145\1\154\1\156\1\110\1\160\1\155\1\uffff\1\141\1\145\1\147\1\151\1\105\1\141\1\151\1\105\1\151\2\172\1\144\1\154\1\137\1\uffff\1\157\1\141\2\145\1\162\1\144\1\154\1\131\3\162\1\146\1\151\1\uffff\1\163\1\156\1\124\1\171\1\172\1\143\1\162\1\105\1\120\1\162\2\165\1\101\1\172\1\164\1\144\2\uffff\1\141\1\151\1\155\1\164\1\145\1\105\1\145\1\143\1\172\1\162\1\145\1\164\1\147\1\101\1\143\1\172\1\117\1\156\1\137\1\146\1\uffff\1\127\1\uffff\1\101\1\151\1\124\1\166\1\164\1\172\1\102\1\145\1\172\1\144\1\137\1\164\1\151\2\141\1\142\1\163\1\144\1\171\1\172\1\uffff\1\150\1\151\1\156\1\162\1\151\2\154\1\164\1\uffff\1\164\1\145\1\124\1\160\1\151\1\145\1\162\1\170\1\141\1\150\1\uffff\1\145\1\162\1\151\1\145\1\164\1\157\1\uffff\1\142\1\147\1\102\1\141\1\172\1\164\1\156\1\117\1\145\1\151\1\uffff\2\116\1\172\1\uffff\1\162\1\124\1\172\1\164\2\143\1\165\1\103\1\163\1\160\1\uffff\1\125\1\144\1\165\1\157\1\160\3\164\2\162\1\171\1\154\1\164\1\172\1\111\1\164\1\156\1\122\1\163\1\141\1\156\1\162\1\164\1\147\1\152\1\101\2\172\1\143\1\uffff\1\164\1\145\1\137\1\172\1\157\1\141\1\162\1\141\1\162\1\uffff\1\145\1\117\1\uffff\1\101\3\164\1\157\1\172\1\145\1\165\1\141\1\145\1\155\1\166\1\164\1\126\1\101\1\162\1\151\1\145\1\160\1\151\1\145\1\uffff\1\144\1\145\1\101\1\145\1\163\1\164\1\147\1\101\2\162\1\145\1\164\2\uffff\1\164\1\162\1\116\1\117\1\uffff\1\156\1\155\1\164\1\155\1\164\1\156\1\137\1\154\2\172\1\145\1\156\1\uffff\1\172\1\151\1\155\1\163\1\124\2\151\1\141\1\162\1\164\1\151\1\142\1\144\1\145\1\143\1\144\1\172\1\156\1\164\1\146\2\145\1\120\1\164\1\151\1\141\1\143\1\164\1\122\1\151\1\165\1\116\1\101\1\124\1\145\1\151\1\145\1\151\2\117\1\154\1\uffff\1\171\2\141\1\144\1\uffff\1\172\1\164\1\uffff\1\144\1\145\1\172\1\171\1\144\1\157\1\154\1\144\1\164\1\142\1\165\2\172\1\151\1\172\1\uffff\1\163\1\164\1\145\2\144\1\157\1\164\1\142\1\160\1\164\1\162\1\145\1\142\1\155\1\105\1\116\1\171\1\172\1\146\1\172\2\146\1\116\1\101\1\172\1\160\1\164\1\155\1\172\1\171\1\uffff\1\145\2\172\1\145\1\uffff\1\160\1\145\1\156\1\165\1\145\1\162\1\165\1\164\2\uffff\1\164\1\uffff\1\151\2\162\1\103\1\101\1\151\1\162\1\165\1\150\1\101\1\151\1\146\1\165\1\142\1\172\1\131\1\160\1\uffff\1\141\1\uffff\1\141\1\172\1\105\1\116\1\uffff\1\145\1\143\1\145\1\uffff\1\160\1\170\4\uffff\1\145\1\162\1\172\1\145\1\162\1\151\1\164\1\145\1\171\1\157\1\151\1\145\1\157\1\164\1\156\1\151\1\164\1\151\1\164\1\142\1\145\1\164\1\145\1\uffff\1\172\1\145\2\143\1\uffff\1\172\1\131\1\172\1\150\1\172\1\145\1\164\2\172\1\uffff\1\172\1\124\1\142\1\145\1\104\1\172\1\156\1\142\2\156\2\164\1\142\1\145\1\143\1\164\1\165\1\162\1\145\1\162\1\uffff\1\172\2\164\1\uffff\1\172\1\uffff\1\145\1\uffff\2\172\3\uffff\1\171\1\165\1\172\1\141\1\uffff\1\172\1\165\1\143\1\164\1\162\1\101\1\165\1\172\1\141\1\162\1\164\1\145\1\172\1\101\1\uffff\2\124\1\uffff\1\162\2\uffff\1\160\1\164\1\uffff\1\164\1\uffff\1\164\2\145\1\151\2\164\1\uffff\1\154\1\151\1\145\1\156\1\uffff\1\164\2\171\1\172\2\145\1\141\1\145\1\101\1\156\1\142\1\164\1\145\1\137\1\142\1\172\1\143\1\164\2\160\1\uffff\1\172\1\124\1\120\1\172\2\164\1\165\1\162\1\172\1\104\1\165\1\uffff\1\145\1\162\2\145\1\uffff\2\141\1\162\1\uffff\1\164\1\101\1\164\1\151\1\uffff\1\163\1\145\1\164\1\101\1\151\2\172\1\164\1\147\1\157\1\162\1\164\1\145\1\142\1\143\1\163\1\145\1\164\1\142\2\uffff\1\141\1\147\1\166\1\151\1\164\1\172\1\165\1\145\1\143\1\172\1\164\1\165\1\120\1\145\1\151\1\142\1\162\1\uffff\1\164\1\156\1\145\1\uffff\1\162\1\164\2\162\1\144\1\165\1\151\1\145\1\144\1\156\1\151\1\145\1\157\1\120\1\145\1\164\1\142\1\172\1\151\1\144\1\142\1\172\1\166\2\162\1\145\1\165\1\uffff\1\156\1\151\1\165\1\uffff\1\151\1\157\2\172\1\164\1\147\1\156\1\164\1\144\1\166\2\uffff\1\145\1\172\1\147\2\145\1\151\1\172\1\uffff\2\172\1\162\1\144\3\uffff\1\172\1\145\1\uffff\1\162\1\172\1\uffff"; - static final String DFA13_acceptS = - "\2\uffff\1\2\2\uffff\1\6\1\7\1\11\26\uffff\1\72\1\73\1\uffff\1\76\7\uffff\1\131\1\uffff\1\135\1\136\3\uffff\1\131\1\2\10\uffff\1\6\1\7\1\11\53\uffff\1\72\1\73\1\uffff\1\76\3\uffff\1\127\1\130\1\uffff\1\133\1\134\1\135\1\uffff\1\10\15\uffff\1\105\25\uffff\1\112\16\uffff\1\115\15\uffff\1\54\20\uffff\1\21\1\22\24\uffff\1\114\1\uffff\1\123\24\uffff\1\104\10\uffff\1\122\12\uffff\1\126\6\uffff\1\113\12\uffff\1\77\3\uffff\1\101\12\uffff\1\51\35\uffff\1\121\11\uffff\1\75\2\uffff\1\1\25\uffff\1\57\14\uffff\1\124\1\125\4\uffff\1\55\14\uffff\1\5\51\uffff\1\3\4\uffff\1\103\2\uffff\1\26\17\uffff\1\24\36\uffff\1\12\4\uffff\1\15\10\uffff\1\71\1\32\1\uffff\1\23\21\uffff\1\61\1\uffff\1\63\4\uffff\1\53\3\uffff\1\117\2\uffff\1\13\1\120\1\52\1\56\27\uffff\1\106\4\uffff\1\102\11\uffff\1\27\24\uffff\1\107\3\uffff\1\110\1\uffff\1\4\1\uffff\1\116\2\uffff\1\50\1\16\1\30\4\uffff\1\66\16\uffff\1\60\2\uffff\1\111\1\uffff\1\14\1\100\2\uffff\1\35\1\uffff\1\31\6\uffff\1\41\4\uffff\1\46\24\uffff\1\74\13\uffff\1\43\4\uffff\1\65\3\uffff\1\33\4\uffff\1\40\23\uffff\1\62\1\64\21\uffff\1\36\3\uffff\1\42\33\uffff\1\37\3\uffff\1\47\12\uffff\1\20\1\45\7\uffff\1\67\4\uffff\1\34\1\70\1\44\2\uffff\1\17\2\uffff\1\25"; - static final String DFA13_specialS = - "\1\1\44\uffff\1\2\1\0\u0309\uffff}>"; - static final String[] DFA13_transitionS = { - "\11\54\2\53\2\54\1\53\22\54\1\53\1\54\1\45\4\54\1\46\1\36\1\37\2\54\1\5\1\54\1\2\1\52\12\47\1\54\1\41\5\54\1\31\1\21\1\22\1\13\1\23\1\24\2\51\1\25\1\27\1\51\1\26\1\44\1\51\1\33\3\51\1\30\1\51\1\14\1\51\1\32\3\51\3\54\1\50\1\51\1\54\1\3\1\10\1\43\1\12\1\4\1\20\1\42\1\51\1\1\3\51\1\15\1\51\1\11\2\51\1\34\1\35\1\17\1\16\1\51\1\40\3\51\1\6\1\54\1\7\uff82\54", - "\1\56\10\uffff\1\55\1\57", - "", - "\1\62\1\66\1\65\15\uffff\1\63\1\uffff\1\64", - "\1\71\11\uffff\1\70\11\uffff\1\67", - "", - "", - "", - "\1\75", - "\1\100\14\uffff\1\77\2\uffff\1\76", - "\1\101\3\uffff\1\102", - "\1\105\33\uffff\1\104\3\uffff\1\103", - "\1\107\3\uffff\1\106", - "\1\111\3\uffff\1\112\3\uffff\1\110\13\uffff\1\113", - "\1\114\1\uffff\1\115", - "\1\116", - "\1\117", - "\1\122\37\uffff\1\120\2\uffff\1\121", - "\1\123", - "\1\125\34\uffff\1\124", - "\1\126", - "\1\127", - "\1\132\33\uffff\1\131\11\uffff\1\130", - "\1\133", - "\1\135\52\uffff\1\134", - "\1\140\1\uffff\1\137\43\uffff\1\136", - "\1\141", - "\1\143\3\uffff\1\144\42\uffff\1\142", - "\1\145\11\uffff\1\146", - "\1\147", - "", - "", - "\1\152", - "", - "\1\154", - "\1\155", - "\1\156", - "\0\157", - "\0\157", - "\12\161", - "\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\1\162\4\uffff\1\163", - "", - "", - "\1\165", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\167", - "", - "", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\177\1\176", - "\1\u0080", - "", - "", - "", - "\1\u0081", - "\1\u0082", - "\1\u0083", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0085", - "\1\u0087\14\uffff\1\u0086", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "\1\u0094", - "\1\u0095", - "\1\u0096", - "\1\u0097", - "\1\u0098", - "\1\u0099", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u009b", - "\1\u009c", - "\1\u009d", - "\1\u009e", - "\1\u009f", - "\1\u00a0", - "\1\u00a1", - "\1\u00a2", - "\1\u00a3", - "\1\u00a4", - "\1\u00a5", - "\1\u00a6", - "\1\u00a7", - "\1\u00a8", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u00ab\1\u00aa", - "\1\u00ac", - "\1\u00ad", - "", - "", - "\1\u00ae", - "", - "\1\u00af", - "\1\u00b0", - "\1\u00b1", - "", - "", - "\12\161", - "", - "", - "", - "\1\u00b2", - "", - "\1\u00b3", - "\1\u00b4", - "\1\u00b5", - "\1\u00b6", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u00b8", - "\1\u00b9", - "\1\u00ba", - "\1\u00bb", - "\1\u00bc", - "\1\u00bd", - "\1\u00be", - "\1\u00bf", - "", - "\1\u00c0", - "\1\u00c1", - "\1\u00c2", - "\1\u00c3", - "\1\u00c4", - "\1\u00c5", - "\1\u00c6", - "\1\u00c7", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u00ca", - "\1\u00cb", - "\1\u00cc", - "\1\u00cd", - "\1\u00ce", - "\1\u00cf", - "\1\u00d0", - "\1\u00d1", - "\1\u00d2", - "\1\u00d3", - "\1\u00d4", - "", - "\1\u00d5", - "\1\u00d6", - "\1\u00d7", - "\1\u00d8", - "\1\u00d9", - "\1\u00da", - "\1\u00db", - "\1\u00dc", - "\1\u00dd", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\16\60\1\u00df\13\60\4\uffff\1\60\1\uffff\32\60", - "\1\u00e1", - "\1\u00e2", - "\1\u00e3", - "", - "\1\u00e4", - "\1\u00e5", - "\1\u00e6", - "\1\u00e7", - "\1\u00e8", - "\1\u00e9", - "\1\u00ea", - "\1\u00eb", - "\1\u00ec", - "\1\u00ed", - "\1\u00ee", - "\1\u00ef", - "\1\u00f0", - "", - "\1\u00f1", - "\1\u00f2", - "\1\u00f3", - "\1\u00f4", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u00f6", - "\1\u00f7", - "\1\u00f8", - "\1\u00f9", - "\1\u00fa", - "\1\u00fb", - "\1\u00fc", - "\1\u00fd", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u00ff", - "\1\u0100", - "", - "", - "\1\u0101", - "\1\u0102", - "\1\u0103", - "\1\u0104", - "\1\u0105", - "\1\u0106", - "\1\u0107", - "\1\u0108", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u010a", - "\1\u010b", - "\1\u010c", - "\1\u010d", - "\1\u010e", - "\1\u010f", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0111", - "\1\u0112", - "\1\u0113", - "\1\u0114", - "", - "\1\u0115", - "", - "\1\u0116", - "\1\u0117", - "\1\u0118", - "\1\u0119", - "\1\u011a", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u011c\1\u011d", - "\1\u011e", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0120", - "\1\u0121", - "\1\u0122", - "\1\u0123", - "\1\u0124", - "\1\u0125", - "\1\u0126", - "\1\u0127", - "\1\u0128", - "\1\u0129", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\1\u012b", - "\1\u012c", - "\1\u012d", - "\1\u012e", - "\1\u012f", - "\1\u0130", - "\1\u0131", - "\1\u0132", - "", - "\1\u0133", - "\1\u0134", - "\1\u0135", - "\1\u0136", - "\1\u0137", - "\1\u0138", - "\1\u0139", - "\1\u013a", - "\1\u013b", - "\1\u013c", - "", - "\1\u013d", - "\1\u013e", - "\1\u013f", - "\1\u0140", - "\1\u0141", - "\1\u0142", - "", - "\1\u0143", - "\1\u0144", - "\1\u0145\1\u0146", - "\1\u0147", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0149", - "\1\u014a", - "\1\u014b", - "\1\u014c", - "\1\u014d", - "", - "\1\u014f\14\uffff\1\u014e", - "\1\u0151\14\uffff\1\u0150", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\1\u0153", - "\1\u0154", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0156", - "\1\u0157", - "\1\u0158", - "\1\u0159", - "\1\u015a", - "\1\u015b", - "\1\u015c", - "", - "\1\u015e\6\uffff\1\u015d", - "\1\u015f", - "\1\u0160", - "\1\u0161", - "\1\u0162", - "\1\u0163", - "\1\u0164", - "\1\u0165", - "\1\u0166", - "\1\u0167", - "\1\u0168", - "\1\u0169", - "\1\u016a", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u016c", - "\1\u016d", - "\1\u016e", - "\1\u016f", - "\1\u0170", - "\1\u0171", - "\1\u0172", - "\1\u0173", - "\1\u0174", - "\1\u0175", - "\1\u0176", - "\1\u0177", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u017a", - "", - "\1\u017b", - "\1\u017c", - "\1\u017d", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u017f", - "\1\u0180", - "\1\u0181", - "\1\u0182", - "\1\u0183", - "", - "\1\u0184", - "\1\u0185", - "", - "\1\u0186", - "\1\u0187", - "\1\u0188", - "\1\u0189", - "\1\u018a", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u018c", - "\1\u018d", - "\1\u018e", - "\1\u018f", - "\1\u0190", - "\1\u0191", - "\1\u0192", - "\1\u0194\6\uffff\1\u0193", - "\1\u0195", - "\1\u0196", - "\1\u0197", - "\1\u0198", - "\1\u0199", - "\1\u019a", - "\1\u019b", - "", - "\1\u019c", - "\1\u019d", - "\1\u019e", - "\1\u019f", - "\1\u01a0", - "\1\u01a1", - "\1\u01a2", - "\1\u01a3", - "\1\u01a4", - "\1\u01a5", - "\1\u01a6", - "\1\u01a7", - "", - "", - "\1\u01a8", - "\1\u01a9", - "\1\u01aa", - "\1\u01ac\1\uffff\1\u01ab", - "", - "\1\u01ad", - "\1\u01ae", - "\1\u01af", - "\1\u01b0", - "\1\u01b1", - "\1\u01b2", - "\1\u01b3", - "\1\u01b4", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\10\60\1\u01b9\3\60\1\u01b7\1\u01b8\5\60\1\u01b6\6\60\4\uffff\1\60\1\uffff\32\60", - "\1\u01bb", - "\1\u01bc", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u01be", - "\1\u01bf", - "\1\u01c0", - "\1\u01c1", - "\1\u01c2", - "\1\u01c3", - "\1\u01c4", - "\1\u01c5", - "\1\u01c6", - "\1\u01c7", - "\1\u01c8", - "\1\u01c9", - "\1\u01ca", - "\1\u01cb", - "\1\u01cc", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u01ce", - "\1\u01cf", - "\1\u01d0", - "\1\u01d1", - "\1\u01d2", - "\1\u01d3", - "\1\u01d4", - "\1\u01d5", - "\1\u01d6", - "\1\u01d7", - "\1\u01d8", - "\1\u01d9", - "\1\u01da", - "\1\u01db", - "\1\u01dc", - "\1\u01dd", - "\1\u01de", - "\1\u01df", - "\1\u01e0", - "\1\u01e1", - "\1\u01e2", - "\1\u01e3", - "\1\u01e5\1\uffff\1\u01e4", - "\1\u01e6", - "", - "\1\u01e7", - "\1\u01e8", - "\1\u01e9", - "\1\u01ea", - "", - "\12\60\7\uffff\23\60\1\u01eb\6\60\4\uffff\1\60\1\uffff\32\60", - "\1\u01ed", - "", - "\1\u01ee", - "\1\u01ef", - "\1\u01f0\17\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u01f2", - "\1\u01f3", - "\1\u01f4", - "\1\u01f5", - "\1\u01f6", - "\1\u01f7", - "\1\u01f8", - "\1\u01f9", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u01fc", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\1\u01fe", - "\1\u01ff", - "\1\u0200", - "\1\u0201", - "\1\u0202", - "\1\u0203", - "\1\u0204", - "\1\u0205", - "\1\u0206", - "\1\u0207", - "\1\u0208", - "\1\u0209", - "\1\u020a", - "\1\u020b", - "\1\u020c", - "\1\u020d", - "\1\u020e", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0210", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0212", - "\1\u0213", - "\1\u0214", - "\1\u0215", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0217", - "\1\u0218", - "\1\u0219", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u021b", - "", - "\1\u021c", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0220\3\uffff\1\u021f", - "", - "\1\u0221", - "\1\u0222", - "\1\u0223", - "\1\u0224", - "\1\u0225", - "\1\u0226", - "\1\u0227", - "\1\u0228", - "", - "", - "\1\u0229", - "", - "\1\u022a", - "\1\u022b", - "\1\u022c", - "\1\u022d", - "\1\u022e", - "\1\u022f", - "\1\u0230", - "\1\u0231", - "\1\u0232", - "\1\u0233", - "\1\u0234", - "\1\u0235", - "\1\u0236", - "\1\u0237", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0239", - "\1\u023a", - "", - "\1\u023b", - "", - "\1\u023c", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u023e", - "\1\u023f", - "", - "\1\u0240", - "\1\u0241", - "\1\u0242", - "", - "\1\u0243", - "\1\u0244", - "", - "", - "", - "", - "\1\u0245", - "\1\u0246", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0248", - "\1\u0249", - "\1\u024a", - "\1\u024b", - "\1\u024c", - "\1\u024d", - "\1\u024e", - "\1\u024f", - "\1\u0250", - "\1\u0251", - "\1\u0252", - "\1\u0253", - "\1\u0254", - "\1\u0255", - "\1\u0256", - "\1\u0257", - "\1\u0258", - "\1\u0259", - "\1\u025a", - "\1\u025b", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u025d", - "\1\u025e", - "\1\u025f", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0261", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0263", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0265", - "\1\u0266", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u026a", - "\1\u026b", - "\1\u026c", - "\1\u026d", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u026f", - "\1\u0270", - "\1\u0271", - "\1\u0272", - "\1\u0273", - "\1\u0274", - "\1\u0275", - "\1\u0276", - "\1\u0277", - "\1\u0278", - "\1\u0279", - "\1\u027a", - "\1\u027b", - "\1\u027c", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u027e", - "\1\u027f", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\1\u0281", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "", - "", - "\1\u0284", - "\1\u0285", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0287", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0289", - "\1\u028a", - "\1\u028b", - "\1\u028c", - "\1\u028d", - "\1\u028e", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0290", - "\1\u0291", - "\1\u0292", - "\1\u0293", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0295", - "", - "\1\u0296", - "\1\u0297", - "", - "\1\u0298", - "", - "", - "\1\u0299", - "\1\u029a", - "", - "\1\u029b", - "", - "\1\u029c", - "\1\u029d", - "\1\u029e", - "\1\u029f", - "\1\u02a0", - "\1\u02a1", - "", - "\1\u02a2", - "\1\u02a3", - "\1\u02a4", - "\1\u02a5", - "", - "\1\u02a6", - "\1\u02a7", - "\1\u02a8", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02aa", - "\1\u02ab", - "\1\u02ac", - "\1\u02ad", - "\1\u02ae", - "\1\u02af", - "\1\u02b0", - "\1\u02b1", - "\1\u02b2", - "\1\u02b3", - "\1\u02b4", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02b6", - "\1\u02b7", - "\1\u02b8", - "\1\u02b9", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02bb\17\uffff\1\u02bc", - "\1\u02bd", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02bf", - "\1\u02c0", - "\1\u02c1", - "\1\u02c2", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02c4\2\uffff\1\u02c5", - "\1\u02c6", - "", - "\1\u02c7", - "\1\u02c8", - "\1\u02c9", - "\1\u02ca", - "", - "\1\u02cb", - "\1\u02cc", - "\1\u02cd", - "", - "\1\u02ce", - "\1\u02cf", - "\1\u02d0", - "\1\u02d1", - "", - "\1\u02d2", - "\1\u02d3", - "\1\u02d4", - "\1\u02d5", - "\1\u02d6", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02d9", - "\1\u02da", - "\1\u02db", - "\1\u02dc", - "\1\u02dd", - "\1\u02de", - "\1\u02df", - "\1\u02e0", - "\1\u02e1", - "\1\u02e2", - "\1\u02e3", - "\1\u02e4", - "", - "", - "\1\u02e5", - "\1\u02e6", - "\1\u02e7", - "\1\u02e8", - "\1\u02e9", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02eb", - "\1\u02ec", - "\1\u02ed", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u02ef", - "\1\u02f0", - "\1\u02f1", - "\1\u02f2", - "\1\u02f3", - "\1\u02f4", - "\1\u02f5", - "", - "\1\u02f6", - "\1\u02f7", - "\1\u02f8", - "", - "\1\u02f9", - "\1\u02fa", - "\1\u02fb", - "\1\u02fc", - "\1\u02fd", - "\1\u02fe", - "\1\u02ff", - "\1\u0300", - "\1\u0301", - "\1\u0302", - "\1\u0303", - "\1\u0304", - "\1\u0305", - "\1\u0306", - "\1\u0307", - "\1\u0308", - "\1\u0309", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u030b", - "\1\u030c", - "\1\u030d", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u030f", - "\1\u0310", - "\1\u0311", - "\1\u0312", - "\1\u0313", - "", - "\1\u0314", - "\1\u0315", - "\1\u0316", - "", - "\1\u0317", - "\1\u0318", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u031b", - "\1\u031c", - "\1\u031d", - "\1\u031e", - "\1\u031f", - "\1\u0320", - "", - "", - "\1\u0321", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u0323", - "\1\u0324", - "\1\u0325", - "\1\u0326", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u032a", - "\1\u032b", - "", - "", - "", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "\1\u032d", - "", - "\1\u032e", - "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", - "" - }; - - static final short[] DFA13_eot = DFA.unpackEncodedString(DFA13_eotS); - static final short[] DFA13_eof = DFA.unpackEncodedString(DFA13_eofS); - static final char[] DFA13_min = DFA.unpackEncodedStringToUnsignedChars(DFA13_minS); - static final char[] DFA13_max = DFA.unpackEncodedStringToUnsignedChars(DFA13_maxS); - static final short[] DFA13_accept = DFA.unpackEncodedString(DFA13_acceptS); - static final short[] DFA13_special = DFA.unpackEncodedString(DFA13_specialS); - static final short[][] DFA13_transition; - - static { - int numStates = DFA13_transitionS.length; - DFA13_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA13_transition[i] = DFA.unpackEncodedString(DFA13_transitionS[i]); - } - } - - class DFA13 extends DFA { - - public DFA13(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 13; - this.eot = DFA13_eot; - this.eof = DFA13_eof; - this.min = DFA13_min; - this.max = DFA13_max; - this.accept = DFA13_accept; - this.special = DFA13_special; - this.transition = DFA13_transition; - } - public String getDescription() { - return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | RULE_STRING | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - IntStream input = _input; - int _s = s; - switch ( s ) { - case 0 : - int LA13_38 = input.LA(1); - - s = -1; - if ( ((LA13_38>='\u0000' && LA13_38<='\uFFFF')) ) {s = 111;} - - else s = 44; - - if ( s>=0 ) return s; - break; - case 1 : - int LA13_0 = input.LA(1); - - s = -1; - if ( (LA13_0=='i') ) {s = 1;} - - else if ( (LA13_0=='.') ) {s = 2;} - - else if ( (LA13_0=='a') ) {s = 3;} - - else if ( (LA13_0=='e') ) {s = 4;} - - else if ( (LA13_0==',') ) {s = 5;} - - else if ( (LA13_0=='{') ) {s = 6;} - - else if ( (LA13_0=='}') ) {s = 7;} - - else if ( (LA13_0=='b') ) {s = 8;} - - else if ( (LA13_0=='o') ) {s = 9;} - - else if ( (LA13_0=='d') ) {s = 10;} - - else if ( (LA13_0=='D') ) {s = 11;} - - else if ( (LA13_0=='U') ) {s = 12;} - - else if ( (LA13_0=='m') ) {s = 13;} - - else if ( (LA13_0=='u') ) {s = 14;} - - else if ( (LA13_0=='t') ) {s = 15;} - - else if ( (LA13_0=='f') ) {s = 16;} - - else if ( (LA13_0=='B') ) {s = 17;} - - else if ( (LA13_0=='C') ) {s = 18;} - - else if ( (LA13_0=='E') ) {s = 19;} - - else if ( (LA13_0=='F') ) {s = 20;} - - else if ( (LA13_0=='I') ) {s = 21;} - - else if ( (LA13_0=='L') ) {s = 22;} - - else if ( (LA13_0=='J') ) {s = 23;} - - else if ( (LA13_0=='S') ) {s = 24;} - - else if ( (LA13_0=='A') ) {s = 25;} - - else if ( (LA13_0=='W') ) {s = 26;} - - else if ( (LA13_0=='O') ) {s = 27;} - - else if ( (LA13_0=='r') ) {s = 28;} - - else if ( (LA13_0=='s') ) {s = 29;} - - else if ( (LA13_0=='(') ) {s = 30;} - - else if ( (LA13_0==')') ) {s = 31;} - - else if ( (LA13_0=='w') ) {s = 32;} - - else if ( (LA13_0==';') ) {s = 33;} - - else if ( (LA13_0=='g') ) {s = 34;} - - else if ( (LA13_0=='c') ) {s = 35;} - - else if ( (LA13_0=='M') ) {s = 36;} - - else if ( (LA13_0=='\"') ) {s = 37;} - - else if ( (LA13_0=='\'') ) {s = 38;} - - else if ( ((LA13_0>='0' && LA13_0<='9')) ) {s = 39;} - - else if ( (LA13_0=='^') ) {s = 40;} - - else if ( ((LA13_0>='G' && LA13_0<='H')||LA13_0=='K'||LA13_0=='N'||(LA13_0>='P' && LA13_0<='R')||LA13_0=='T'||LA13_0=='V'||(LA13_0>='X' && LA13_0<='Z')||LA13_0=='_'||LA13_0=='h'||(LA13_0>='j' && LA13_0<='l')||LA13_0=='n'||(LA13_0>='p' && LA13_0<='q')||LA13_0=='v'||(LA13_0>='x' && LA13_0<='z')) ) {s = 41;} - - else if ( (LA13_0=='/') ) {s = 42;} - - else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 43;} - - else if ( ((LA13_0>='\u0000' && LA13_0<='\b')||(LA13_0>='\u000B' && LA13_0<='\f')||(LA13_0>='\u000E' && LA13_0<='\u001F')||LA13_0=='!'||(LA13_0>='#' && LA13_0<='&')||(LA13_0>='*' && LA13_0<='+')||LA13_0=='-'||LA13_0==':'||(LA13_0>='<' && LA13_0<='@')||(LA13_0>='[' && LA13_0<=']')||LA13_0=='`'||LA13_0=='|'||(LA13_0>='~' && LA13_0<='\uFFFF')) ) {s = 44;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA13_37 = input.LA(1); - - s = -1; - if ( ((LA13_37>='\u0000' && LA13_37<='\uFFFF')) ) {s = 111;} - - else s = 44; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 13, _s, input); - error(nvae); - throw nvae; - } - } - - -}
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDslParser.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDslParser.java deleted file mode 100644 index 915b5198b61..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDslParser.java +++ /dev/null @@ -1,8770 +0,0 @@ -package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.common.util.Enumerator; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalOseeDslParser extends AbstractInternalAntlrParser { - public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_WHOLE_NUM_STR", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import'", "'.'", "'abstract'", "'artifactType'", "'extends'", "','", "'{'", "'id'", "'}'", "'attribute'", "'branchUuid'", "'attributeType'", "'overrides'", "'dataProvider'", "'DefaultAttributeDataProvider'", "'UriAttributeDataProvider'", "'min'", "'max'", "'unlimited'", "'taggerId'", "'DefaultAttributeTaggerProvider'", "'enumType'", "'description'", "'defaultValue'", "'fileExtension'", "'mediaType'", "'BooleanAttribute'", "'CompressedContentAttribute'", "'DateAttribute'", "'EnumeratedAttribute'", "'FloatingPointAttribute'", "'IntegerAttribute'", "'LongAttribute'", "'JavaObjectAttribute'", "'StringAttribute'", "'ArtifactReferenceAttribute'", "'BranchReferenceAttribute'", "'WordAttribute'", "'OutlineNumberAttribute'", "'oseeEnumType'", "'entry'", "'overrides enum'", "'inheritAll'", "'add'", "'remove'", "'overrides artifactType'", "'update'", "'relationType'", "'sideAName'", "'sideAArtifactType'", "'sideBName'", "'sideBArtifactType'", "'defaultOrderType'", "'multiplicity'", "'Lexicographical_Ascending'", "'Lexicographical_Descending'", "'Unordered'", "'('", "')'", "'artifactMatcher'", "'where'", "';'", "'role'", "'accessContext'", "'guid'", "'childrenOf'", "'artifact'", "'edit'", "'of'", "'ONE_TO_ONE'", "'ONE_TO_MANY'", "'MANY_TO_ONE'", "'MANY_TO_MANY'", "'EQ'", "'LIKE'", "'AND'", "'OR'", "'artifactName'", "'artifactId'", "'branchName'", "'ALLOW'", "'DENY'", "'ALL'", "'SIDE_A'", "'SIDE_B'", "'BOTH'" - }; - public static final int T__50=50; - public static final int T__59=59; - public static final int T__55=55; - public static final int T__56=56; - public static final int T__57=57; - public static final int T__58=58; - public static final int T__51=51; - public static final int T__52=52; - public static final int T__53=53; - public static final int T__54=54; - public static final int T__60=60; - public static final int T__61=61; - public static final int RULE_ID=5; - public static final int RULE_INT=7; - public static final int T__66=66; - public static final int RULE_ML_COMMENT=8; - public static final int T__67=67; - public static final int T__68=68; - public static final int T__69=69; - public static final int T__62=62; - public static final int T__63=63; - public static final int T__64=64; - public static final int T__65=65; - public static final int T__37=37; - public static final int T__38=38; - public static final int T__39=39; - public static final int RULE_WHOLE_NUM_STR=6; - public static final int T__33=33; - public static final int T__34=34; - public static final int T__35=35; - public static final int T__36=36; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int T__48=48; - public static final int T__49=49; - public static final int T__44=44; - public static final int T__45=45; - public static final int T__46=46; - public static final int T__47=47; - public static final int T__40=40; - public static final int T__41=41; - public static final int T__42=42; - public static final int T__43=43; - public static final int T__91=91; - public static final int T__92=92; - public static final int T__93=93; - public static final int T__94=94; - public static final int T__90=90; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__12=12; - public static final int T__13=13; - public static final int T__14=14; - public static final int T__95=95; - public static final int T__96=96; - public static final int T__97=97; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int T__29=29; - public static final int T__22=22; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - public static final int T__70=70; - public static final int T__71=71; - public static final int T__72=72; - public static final int RULE_STRING=4; - public static final int RULE_SL_COMMENT=9; - public static final int T__77=77; - public static final int T__78=78; - public static final int T__79=79; - public static final int T__73=73; - public static final int EOF=-1; - public static final int T__74=74; - public static final int T__75=75; - public static final int T__76=76; - public static final int T__80=80; - public static final int T__81=81; - public static final int T__82=82; - public static final int T__83=83; - public static final int RULE_WS=10; - public static final int RULE_ANY_OTHER=11; - public static final int T__88=88; - public static final int T__89=89; - public static final int T__84=84; - public static final int T__85=85; - public static final int T__86=86; - public static final int T__87=87; - - // delegates - // delegators - - - public InternalOseeDslParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalOseeDslParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalOseeDslParser.tokenNames; } - public String getGrammarFileName() { return "InternalOseeDsl.g"; } - - - - private OseeDslGrammarAccess grammarAccess; - - public InternalOseeDslParser(TokenStream input, OseeDslGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "OseeDsl"; - } - - @Override - protected OseeDslGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - // $ANTLR start "entryRuleOseeDsl" - // InternalOseeDsl.g:68:1: entryRuleOseeDsl returns [EObject current=null] : iv_ruleOseeDsl= ruleOseeDsl EOF ; - public final EObject entryRuleOseeDsl() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOseeDsl = null; - - - try { - // InternalOseeDsl.g:69:2: (iv_ruleOseeDsl= ruleOseeDsl EOF ) - // InternalOseeDsl.g:70:2: iv_ruleOseeDsl= ruleOseeDsl EOF - { - newCompositeNode(grammarAccess.getOseeDslRule()); - pushFollow(FOLLOW_1); - iv_ruleOseeDsl=ruleOseeDsl(); - - state._fsp--; - - current =iv_ruleOseeDsl; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleOseeDsl" - - - // $ANTLR start "ruleOseeDsl" - // InternalOseeDsl.g:77:1: ruleOseeDsl returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) | ( (lv_relationTypes_2_0= ruleXRelationType ) ) | ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) | ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) | ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) | ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) )* ( ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) | ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) | ( (lv_roleDeclarations_9_0= ruleRole ) ) )* ) ; - public final EObject ruleOseeDsl() throws RecognitionException { - EObject current = null; - - EObject lv_imports_0_0 = null; - - EObject lv_artifactTypes_1_0 = null; - - EObject lv_relationTypes_2_0 = null; - - EObject lv_attributeTypes_3_0 = null; - - EObject lv_enumTypes_4_0 = null; - - EObject lv_enumOverrides_5_0 = null; - - EObject lv_artifactTypeOverrides_6_0 = null; - - EObject lv_artifactMatchRefs_7_0 = null; - - EObject lv_accessDeclarations_8_0 = null; - - EObject lv_roleDeclarations_9_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:80:28: ( ( ( (lv_imports_0_0= ruleImport ) )* ( ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) | ( (lv_relationTypes_2_0= ruleXRelationType ) ) | ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) | ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) | ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) | ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) )* ( ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) | ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) | ( (lv_roleDeclarations_9_0= ruleRole ) ) )* ) ) - // InternalOseeDsl.g:81:1: ( ( (lv_imports_0_0= ruleImport ) )* ( ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) | ( (lv_relationTypes_2_0= ruleXRelationType ) ) | ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) | ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) | ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) | ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) )* ( ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) | ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) | ( (lv_roleDeclarations_9_0= ruleRole ) ) )* ) - { - // InternalOseeDsl.g:81:1: ( ( (lv_imports_0_0= ruleImport ) )* ( ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) | ( (lv_relationTypes_2_0= ruleXRelationType ) ) | ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) | ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) | ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) | ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) )* ( ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) | ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) | ( (lv_roleDeclarations_9_0= ruleRole ) ) )* ) - // InternalOseeDsl.g:81:2: ( (lv_imports_0_0= ruleImport ) )* ( ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) | ( (lv_relationTypes_2_0= ruleXRelationType ) ) | ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) | ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) | ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) | ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) )* ( ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) | ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) | ( (lv_roleDeclarations_9_0= ruleRole ) ) )* - { - // InternalOseeDsl.g:81:2: ( (lv_imports_0_0= ruleImport ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==12) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalOseeDsl.g:82:1: (lv_imports_0_0= ruleImport ) - { - // InternalOseeDsl.g:82:1: (lv_imports_0_0= ruleImport ) - // InternalOseeDsl.g:83:3: lv_imports_0_0= ruleImport - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0()); - - pushFollow(FOLLOW_3); - lv_imports_0_0=ruleImport(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "imports", - lv_imports_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Import"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - // InternalOseeDsl.g:99:3: ( ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) | ( (lv_relationTypes_2_0= ruleXRelationType ) ) | ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) | ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) | ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) | ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) )* - loop2: - do { - int alt2=7; - switch ( input.LA(1) ) { - case 14: - case 15: - { - alt2=1; - } - break; - case 59: - { - alt2=2; - } - break; - case 23: - { - alt2=3; - } - break; - case 51: - { - alt2=4; - } - break; - case 53: - { - alt2=5; - } - break; - case 57: - { - alt2=6; - } - break; - - } - - switch (alt2) { - case 1 : - // InternalOseeDsl.g:99:4: ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) - { - // InternalOseeDsl.g:99:4: ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) - // InternalOseeDsl.g:100:1: (lv_artifactTypes_1_0= ruleXArtifactType ) - { - // InternalOseeDsl.g:100:1: (lv_artifactTypes_1_0= ruleXArtifactType ) - // InternalOseeDsl.g:101:3: lv_artifactTypes_1_0= ruleXArtifactType - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0()); - - pushFollow(FOLLOW_4); - lv_artifactTypes_1_0=ruleXArtifactType(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "artifactTypes", - lv_artifactTypes_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XArtifactType"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:118:6: ( (lv_relationTypes_2_0= ruleXRelationType ) ) - { - // InternalOseeDsl.g:118:6: ( (lv_relationTypes_2_0= ruleXRelationType ) ) - // InternalOseeDsl.g:119:1: (lv_relationTypes_2_0= ruleXRelationType ) - { - // InternalOseeDsl.g:119:1: (lv_relationTypes_2_0= ruleXRelationType ) - // InternalOseeDsl.g:120:3: lv_relationTypes_2_0= ruleXRelationType - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0()); - - pushFollow(FOLLOW_4); - lv_relationTypes_2_0=ruleXRelationType(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "relationTypes", - lv_relationTypes_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XRelationType"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 3 : - // InternalOseeDsl.g:137:6: ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) - { - // InternalOseeDsl.g:137:6: ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) - // InternalOseeDsl.g:138:1: (lv_attributeTypes_3_0= ruleXAttributeType ) - { - // InternalOseeDsl.g:138:1: (lv_attributeTypes_3_0= ruleXAttributeType ) - // InternalOseeDsl.g:139:3: lv_attributeTypes_3_0= ruleXAttributeType - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0()); - - pushFollow(FOLLOW_4); - lv_attributeTypes_3_0=ruleXAttributeType(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "attributeTypes", - lv_attributeTypes_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeType"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 4 : - // InternalOseeDsl.g:156:6: ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) - { - // InternalOseeDsl.g:156:6: ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) - // InternalOseeDsl.g:157:1: (lv_enumTypes_4_0= ruleXOseeEnumType ) - { - // InternalOseeDsl.g:157:1: (lv_enumTypes_4_0= ruleXOseeEnumType ) - // InternalOseeDsl.g:158:3: lv_enumTypes_4_0= ruleXOseeEnumType - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0()); - - pushFollow(FOLLOW_4); - lv_enumTypes_4_0=ruleXOseeEnumType(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "enumTypes", - lv_enumTypes_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumType"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 5 : - // InternalOseeDsl.g:175:6: ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) - { - // InternalOseeDsl.g:175:6: ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) - // InternalOseeDsl.g:176:1: (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) - { - // InternalOseeDsl.g:176:1: (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) - // InternalOseeDsl.g:177:3: lv_enumOverrides_5_0= ruleXOseeEnumOverride - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0()); - - pushFollow(FOLLOW_4); - lv_enumOverrides_5_0=ruleXOseeEnumOverride(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "enumOverrides", - lv_enumOverrides_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumOverride"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 6 : - // InternalOseeDsl.g:194:6: ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) - { - // InternalOseeDsl.g:194:6: ( (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) ) - // InternalOseeDsl.g:195:1: (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) - { - // InternalOseeDsl.g:195:1: (lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride ) - // InternalOseeDsl.g:196:3: lv_artifactTypeOverrides_6_0= ruleXOseeArtifactTypeOverride - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypeOverridesXOseeArtifactTypeOverrideParserRuleCall_1_5_0()); - - pushFollow(FOLLOW_4); - lv_artifactTypeOverrides_6_0=ruleXOseeArtifactTypeOverride(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "artifactTypeOverrides", - lv_artifactTypeOverrides_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeArtifactTypeOverride"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - // InternalOseeDsl.g:212:4: ( ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) | ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) | ( (lv_roleDeclarations_9_0= ruleRole ) ) )* - loop3: - do { - int alt3=4; - switch ( input.LA(1) ) { - case 71: - { - alt3=1; - } - break; - case 75: - { - alt3=2; - } - break; - case 74: - { - alt3=3; - } - break; - - } - - switch (alt3) { - case 1 : - // InternalOseeDsl.g:212:5: ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) - { - // InternalOseeDsl.g:212:5: ( (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) ) - // InternalOseeDsl.g:213:1: (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) - { - // InternalOseeDsl.g:213:1: (lv_artifactMatchRefs_7_0= ruleXArtifactMatcher ) - // InternalOseeDsl.g:214:3: lv_artifactMatchRefs_7_0= ruleXArtifactMatcher - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactMatchRefsXArtifactMatcherParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_5); - lv_artifactMatchRefs_7_0=ruleXArtifactMatcher(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "artifactMatchRefs", - lv_artifactMatchRefs_7_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XArtifactMatcher"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:231:6: ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) - { - // InternalOseeDsl.g:231:6: ( (lv_accessDeclarations_8_0= ruleAccessContext ) ) - // InternalOseeDsl.g:232:1: (lv_accessDeclarations_8_0= ruleAccessContext ) - { - // InternalOseeDsl.g:232:1: (lv_accessDeclarations_8_0= ruleAccessContext ) - // InternalOseeDsl.g:233:3: lv_accessDeclarations_8_0= ruleAccessContext - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_5); - lv_accessDeclarations_8_0=ruleAccessContext(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "accessDeclarations", - lv_accessDeclarations_8_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessContext"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 3 : - // InternalOseeDsl.g:250:6: ( (lv_roleDeclarations_9_0= ruleRole ) ) - { - // InternalOseeDsl.g:250:6: ( (lv_roleDeclarations_9_0= ruleRole ) ) - // InternalOseeDsl.g:251:1: (lv_roleDeclarations_9_0= ruleRole ) - { - // InternalOseeDsl.g:251:1: (lv_roleDeclarations_9_0= ruleRole ) - // InternalOseeDsl.g:252:3: lv_roleDeclarations_9_0= ruleRole - { - - newCompositeNode(grammarAccess.getOseeDslAccess().getRoleDeclarationsRoleParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_5); - lv_roleDeclarations_9_0=ruleRole(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOseeDslRule()); - } - add( - current, - "roleDeclarations", - lv_roleDeclarations_9_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Role"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop3; - } - } while (true); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleOseeDsl" - - - // $ANTLR start "entryRuleImport" - // InternalOseeDsl.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; - public final EObject entryRuleImport() throws RecognitionException { - EObject current = null; - - EObject iv_ruleImport = null; - - - try { - // InternalOseeDsl.g:277:2: (iv_ruleImport= ruleImport EOF ) - // InternalOseeDsl.g:278:2: iv_ruleImport= ruleImport EOF - { - newCompositeNode(grammarAccess.getImportRule()); - pushFollow(FOLLOW_1); - iv_ruleImport=ruleImport(); - - state._fsp--; - - current =iv_ruleImport; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleImport" - - - // $ANTLR start "ruleImport" - // InternalOseeDsl.g:285:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ; - public final EObject ruleImport() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_importURI_1_0=null; - - enterRule(); - - try { - // InternalOseeDsl.g:288:28: ( (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:289:1: (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) - { - // InternalOseeDsl.g:289:1: (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) - // InternalOseeDsl.g:289:3: otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,12,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); - - // InternalOseeDsl.g:293:1: ( (lv_importURI_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:294:1: (lv_importURI_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:294:1: (lv_importURI_1_0= RULE_STRING ) - // InternalOseeDsl.g:295:3: lv_importURI_1_0= RULE_STRING - { - lv_importURI_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(lv_importURI_1_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getImportRule()); - } - setWithLastConsumed( - current, - "importURI", - lv_importURI_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleImport" - - - // $ANTLR start "entryRuleQUALIFIED_NAME" - // InternalOseeDsl.g:319:1: entryRuleQUALIFIED_NAME returns [String current=null] : iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF ; - public final String entryRuleQUALIFIED_NAME() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleQUALIFIED_NAME = null; - - - try { - // InternalOseeDsl.g:320:2: (iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF ) - // InternalOseeDsl.g:321:2: iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF - { - newCompositeNode(grammarAccess.getQUALIFIED_NAMERule()); - pushFollow(FOLLOW_1); - iv_ruleQUALIFIED_NAME=ruleQUALIFIED_NAME(); - - state._fsp--; - - current =iv_ruleQUALIFIED_NAME.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleQUALIFIED_NAME" - - - // $ANTLR start "ruleQUALIFIED_NAME" - // InternalOseeDsl.g:328:1: ruleQUALIFIED_NAME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; - public final AntlrDatatypeRuleToken ruleQUALIFIED_NAME() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - Token kw=null; - Token this_ID_2=null; - - enterRule(); - - try { - // InternalOseeDsl.g:331:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // InternalOseeDsl.g:332:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - { - // InternalOseeDsl.g:332:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // InternalOseeDsl.g:332:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_7); - - current.merge(this_ID_0); - - - newLeafNode(this_ID_0, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0()); - - // InternalOseeDsl.g:339:1: (kw= '.' this_ID_2= RULE_ID )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==13) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalOseeDsl.g:340:2: kw= '.' this_ID_2= RULE_ID - { - kw=(Token)match(input,13,FOLLOW_8); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQUALIFIED_NAMEAccess().getFullStopKeyword_1_0()); - - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_7); - - current.merge(this_ID_2); - - - newLeafNode(this_ID_2, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_1_1()); - - - } - break; - - default : - break loop4; - } - } while (true); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleQUALIFIED_NAME" - - - // $ANTLR start "entryRuleOseeType" - // InternalOseeDsl.g:362:1: entryRuleOseeType returns [EObject current=null] : iv_ruleOseeType= ruleOseeType EOF ; - public final EObject entryRuleOseeType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOseeType = null; - - - try { - // InternalOseeDsl.g:363:2: (iv_ruleOseeType= ruleOseeType EOF ) - // InternalOseeDsl.g:364:2: iv_ruleOseeType= ruleOseeType EOF - { - newCompositeNode(grammarAccess.getOseeTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleOseeType=ruleOseeType(); - - state._fsp--; - - current =iv_ruleOseeType; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleOseeType" - - - // $ANTLR start "ruleOseeType" - // InternalOseeDsl.g:371:1: ruleOseeType returns [EObject current=null] : (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) ; - public final EObject ruleOseeType() throws RecognitionException { - EObject current = null; - - EObject this_XArtifactType_0 = null; - - EObject this_XRelationType_1 = null; - - EObject this_XAttributeType_2 = null; - - EObject this_XOseeEnumType_3 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:374:28: ( (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) ) - // InternalOseeDsl.g:375:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) - { - // InternalOseeDsl.g:375:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) - int alt5=4; - switch ( input.LA(1) ) { - case 14: - case 15: - { - alt5=1; - } - break; - case 59: - { - alt5=2; - } - break; - case 23: - { - alt5=3; - } - break; - case 51: - { - alt5=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - - switch (alt5) { - case 1 : - // InternalOseeDsl.g:376:5: this_XArtifactType_0= ruleXArtifactType - { - - newCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_XArtifactType_0=ruleXArtifactType(); - - state._fsp--; - - - current = this_XArtifactType_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalOseeDsl.g:386:5: this_XRelationType_1= ruleXRelationType - { - - newCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_XRelationType_1=ruleXRelationType(); - - state._fsp--; - - - current = this_XRelationType_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalOseeDsl.g:396:5: this_XAttributeType_2= ruleXAttributeType - { - - newCompositeNode(grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_XAttributeType_2=ruleXAttributeType(); - - state._fsp--; - - - current = this_XAttributeType_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // InternalOseeDsl.g:406:5: this_XOseeEnumType_3= ruleXOseeEnumType - { - - newCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3()); - - pushFollow(FOLLOW_2); - this_XOseeEnumType_3=ruleXOseeEnumType(); - - state._fsp--; - - - current = this_XOseeEnumType_3; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleOseeType" - - - // $ANTLR start "entryRuleXArtifactType" - // InternalOseeDsl.g:422:1: entryRuleXArtifactType returns [EObject current=null] : iv_ruleXArtifactType= ruleXArtifactType EOF ; - public final EObject entryRuleXArtifactType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXArtifactType = null; - - - try { - // InternalOseeDsl.g:423:2: (iv_ruleXArtifactType= ruleXArtifactType EOF ) - // InternalOseeDsl.g:424:2: iv_ruleXArtifactType= ruleXArtifactType EOF - { - newCompositeNode(grammarAccess.getXArtifactTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleXArtifactType=ruleXArtifactType(); - - state._fsp--; - - current =iv_ruleXArtifactType; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXArtifactType" - - - // $ANTLR start "ruleXArtifactType" - // InternalOseeDsl.g:431:1: ruleXArtifactType returns [EObject current=null] : ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= RULE_STRING ) ) (otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* )? otherlv_7= '{' otherlv_8= 'id' ( (lv_id_9_0= RULE_WHOLE_NUM_STR ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) ; - public final EObject ruleXArtifactType() throws RecognitionException { - EObject current = null; - - Token lv_abstract_0_0=null; - Token otherlv_1=null; - Token lv_name_2_0=null; - Token otherlv_3=null; - Token otherlv_4=null; - Token otherlv_5=null; - Token otherlv_6=null; - Token otherlv_7=null; - Token otherlv_8=null; - Token lv_id_9_0=null; - Token otherlv_11=null; - EObject lv_validAttributeTypes_10_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:434:28: ( ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= RULE_STRING ) ) (otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* )? otherlv_7= '{' otherlv_8= 'id' ( (lv_id_9_0= RULE_WHOLE_NUM_STR ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) ) - // InternalOseeDsl.g:435:1: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= RULE_STRING ) ) (otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* )? otherlv_7= '{' otherlv_8= 'id' ( (lv_id_9_0= RULE_WHOLE_NUM_STR ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) - { - // InternalOseeDsl.g:435:1: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= RULE_STRING ) ) (otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* )? otherlv_7= '{' otherlv_8= 'id' ( (lv_id_9_0= RULE_WHOLE_NUM_STR ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) - // InternalOseeDsl.g:435:2: ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= RULE_STRING ) ) (otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* )? otherlv_7= '{' otherlv_8= 'id' ( (lv_id_9_0= RULE_WHOLE_NUM_STR ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' - { - // InternalOseeDsl.g:435:2: ( (lv_abstract_0_0= 'abstract' ) )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==14) ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalOseeDsl.g:436:1: (lv_abstract_0_0= 'abstract' ) - { - // InternalOseeDsl.g:436:1: (lv_abstract_0_0= 'abstract' ) - // InternalOseeDsl.g:437:3: lv_abstract_0_0= 'abstract' - { - lv_abstract_0_0=(Token)match(input,14,FOLLOW_9); - - newLeafNode(lv_abstract_0_0, grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - setWithLastConsumed(current, "abstract", true, "abstract"); - - - } - - - } - break; - - } - - otherlv_1=(Token)match(input,15,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1()); - - // InternalOseeDsl.g:454:1: ( (lv_name_2_0= RULE_STRING ) ) - // InternalOseeDsl.g:455:1: (lv_name_2_0= RULE_STRING ) - { - // InternalOseeDsl.g:455:1: (lv_name_2_0= RULE_STRING ) - // InternalOseeDsl.g:456:3: lv_name_2_0= RULE_STRING - { - lv_name_2_0=(Token)match(input,RULE_STRING,FOLLOW_10); - - newLeafNode(lv_name_2_0, grammarAccess.getXArtifactTypeAccess().getNameSTRINGTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - // InternalOseeDsl.g:472:2: (otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* )? - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==16) ) { - alt8=1; - } - switch (alt8) { - case 1 : - // InternalOseeDsl.g:472:4: otherlv_3= 'extends' ( (otherlv_4= RULE_STRING ) ) (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* - { - otherlv_3=(Token)match(input,16,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0()); - - // InternalOseeDsl.g:476:1: ( (otherlv_4= RULE_STRING ) ) - // InternalOseeDsl.g:477:1: (otherlv_4= RULE_STRING ) - { - // InternalOseeDsl.g:477:1: (otherlv_4= RULE_STRING ) - // InternalOseeDsl.g:478:3: otherlv_4= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - - otherlv_4=(Token)match(input,RULE_STRING,FOLLOW_11); - - newLeafNode(otherlv_4, grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0()); - - - } - - - } - - // InternalOseeDsl.g:489:2: (otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==17) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalOseeDsl.g:489:4: otherlv_5= ',' ( (otherlv_6= RULE_STRING ) ) - { - otherlv_5=(Token)match(input,17,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0()); - - // InternalOseeDsl.g:493:1: ( (otherlv_6= RULE_STRING ) ) - // InternalOseeDsl.g:494:1: (otherlv_6= RULE_STRING ) - { - // InternalOseeDsl.g:494:1: (otherlv_6= RULE_STRING ) - // InternalOseeDsl.g:495:3: otherlv_6= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - - otherlv_6=(Token)match(input,RULE_STRING,FOLLOW_11); - - newLeafNode(otherlv_6, grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0()); - - - } - - - } - - - } - break; - - default : - break loop7; - } - } while (true); - - - } - break; - - } - - otherlv_7=(Token)match(input,18,FOLLOW_12); - - newLeafNode(otherlv_7, grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4()); - - otherlv_8=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_8, grammarAccess.getXArtifactTypeAccess().getIdKeyword_5()); - - // InternalOseeDsl.g:514:1: ( (lv_id_9_0= RULE_WHOLE_NUM_STR ) ) - // InternalOseeDsl.g:515:1: (lv_id_9_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:515:1: (lv_id_9_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:516:3: lv_id_9_0= RULE_WHOLE_NUM_STR - { - lv_id_9_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_14); - - newLeafNode(lv_id_9_0, grammarAccess.getXArtifactTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_6_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXArtifactTypeRule()); - } - setWithLastConsumed( - current, - "id", - lv_id_9_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - - // InternalOseeDsl.g:532:2: ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==21) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // InternalOseeDsl.g:533:1: (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) - { - // InternalOseeDsl.g:533:1: (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) - // InternalOseeDsl.g:534:3: lv_validAttributeTypes_10_0= ruleXAttributeTypeRef - { - - newCompositeNode(grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0()); - - pushFollow(FOLLOW_14); - lv_validAttributeTypes_10_0=ruleXAttributeTypeRef(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXArtifactTypeRule()); - } - add( - current, - "validAttributeTypes", - lv_validAttributeTypes_10_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop9; - } - } while (true); - - otherlv_11=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_11, grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXArtifactType" - - - // $ANTLR start "entryRuleXAttributeTypeRef" - // InternalOseeDsl.g:562:1: entryRuleXAttributeTypeRef returns [EObject current=null] : iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF ; - public final EObject entryRuleXAttributeTypeRef() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXAttributeTypeRef = null; - - - try { - // InternalOseeDsl.g:563:2: (iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF ) - // InternalOseeDsl.g:564:2: iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF - { - newCompositeNode(grammarAccess.getXAttributeTypeRefRule()); - pushFollow(FOLLOW_1); - iv_ruleXAttributeTypeRef=ruleXAttributeTypeRef(); - - state._fsp--; - - current =iv_ruleXAttributeTypeRef; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXAttributeTypeRef" - - - // $ANTLR start "ruleXAttributeTypeRef" - // InternalOseeDsl.g:571:1: ruleXAttributeTypeRef returns [EObject current=null] : (otherlv_0= 'attribute' ( (otherlv_1= RULE_STRING ) ) (otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) )? ) ; - public final EObject ruleXAttributeTypeRef() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token lv_branchUuid_3_0=null; - - enterRule(); - - try { - // InternalOseeDsl.g:574:28: ( (otherlv_0= 'attribute' ( (otherlv_1= RULE_STRING ) ) (otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) )? ) ) - // InternalOseeDsl.g:575:1: (otherlv_0= 'attribute' ( (otherlv_1= RULE_STRING ) ) (otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) )? ) - { - // InternalOseeDsl.g:575:1: (otherlv_0= 'attribute' ( (otherlv_1= RULE_STRING ) ) (otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) )? ) - // InternalOseeDsl.g:575:3: otherlv_0= 'attribute' ( (otherlv_1= RULE_STRING ) ) (otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) )? - { - otherlv_0=(Token)match(input,21,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0()); - - // InternalOseeDsl.g:579:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:580:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:580:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:581:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_15); - - newLeafNode(otherlv_1, grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0()); - - - } - - - } - - // InternalOseeDsl.g:592:2: (otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==22) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalOseeDsl.g:592:4: otherlv_2= 'branchUuid' ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) - { - otherlv_2=(Token)match(input,22,FOLLOW_13); - - newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeRefAccess().getBranchUuidKeyword_2_0()); - - // InternalOseeDsl.g:596:1: ( (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) ) - // InternalOseeDsl.g:597:1: (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:597:1: (lv_branchUuid_3_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:598:3: lv_branchUuid_3_0= RULE_WHOLE_NUM_STR - { - lv_branchUuid_3_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_2); - - newLeafNode(lv_branchUuid_3_0, grammarAccess.getXAttributeTypeRefAccess().getBranchUuidWHOLE_NUM_STRTerminalRuleCall_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); - } - setWithLastConsumed( - current, - "branchUuid", - lv_branchUuid_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - - - } - break; - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXAttributeTypeRef" - - - // $ANTLR start "entryRuleXAttributeType" - // InternalOseeDsl.g:622:1: entryRuleXAttributeType returns [EObject current=null] : iv_ruleXAttributeType= ruleXAttributeType EOF ; - public final EObject entryRuleXAttributeType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXAttributeType = null; - - - try { - // InternalOseeDsl.g:623:2: (iv_ruleXAttributeType= ruleXAttributeType EOF ) - // InternalOseeDsl.g:624:2: iv_ruleXAttributeType= ruleXAttributeType EOF - { - newCompositeNode(grammarAccess.getXAttributeTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleXAttributeType=ruleXAttributeType(); - - state._fsp--; - - current =iv_ruleXAttributeType; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXAttributeType" - - - // $ANTLR start "ruleXAttributeType" - // InternalOseeDsl.g:631:1: ruleXAttributeType returns [EObject current=null] : (otherlv_0= 'attributeType' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) )? otherlv_6= '{' otherlv_7= 'id' ( (lv_id_8_0= RULE_WHOLE_NUM_STR ) ) otherlv_9= 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) otherlv_11= 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) otherlv_13= 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_28= '}' ) ; - public final EObject ruleXAttributeType() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_5=null; - Token otherlv_6=null; - Token otherlv_7=null; - Token lv_id_8_0=null; - Token otherlv_9=null; - Token lv_dataProvider_10_1=null; - Token lv_dataProvider_10_2=null; - Token otherlv_11=null; - Token lv_min_12_0=null; - Token otherlv_13=null; - Token lv_max_14_1=null; - Token lv_max_14_2=null; - Token otherlv_16=null; - Token lv_taggerId_17_1=null; - Token otherlv_18=null; - Token otherlv_19=null; - Token otherlv_20=null; - Token lv_description_21_0=null; - Token otherlv_22=null; - Token lv_defaultValue_23_0=null; - Token otherlv_24=null; - Token lv_fileExtension_25_0=null; - Token otherlv_26=null; - Token lv_mediaType_27_0=null; - Token otherlv_28=null; - AntlrDatatypeRuleToken lv_baseAttributeType_3_0 = null; - - AntlrDatatypeRuleToken lv_dataProvider_10_3 = null; - - AntlrDatatypeRuleToken lv_taggerId_17_2 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:634:28: ( (otherlv_0= 'attributeType' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) )? otherlv_6= '{' otherlv_7= 'id' ( (lv_id_8_0= RULE_WHOLE_NUM_STR ) ) otherlv_9= 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) otherlv_11= 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) otherlv_13= 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_28= '}' ) ) - // InternalOseeDsl.g:635:1: (otherlv_0= 'attributeType' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) )? otherlv_6= '{' otherlv_7= 'id' ( (lv_id_8_0= RULE_WHOLE_NUM_STR ) ) otherlv_9= 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) otherlv_11= 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) otherlv_13= 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_28= '}' ) - { - // InternalOseeDsl.g:635:1: (otherlv_0= 'attributeType' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) )? otherlv_6= '{' otherlv_7= 'id' ( (lv_id_8_0= RULE_WHOLE_NUM_STR ) ) otherlv_9= 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) otherlv_11= 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) otherlv_13= 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_28= '}' ) - // InternalOseeDsl.g:635:3: otherlv_0= 'attributeType' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) )? otherlv_6= '{' otherlv_7= 'id' ( (lv_id_8_0= RULE_WHOLE_NUM_STR ) ) otherlv_9= 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) otherlv_11= 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) otherlv_13= 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_28= '}' - { - otherlv_0=(Token)match(input,23,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0()); - - // InternalOseeDsl.g:639:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:640:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:640:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:641:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_16); - - newLeafNode(lv_name_1_0, grammarAccess.getXAttributeTypeAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - // InternalOseeDsl.g:657:2: (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) - // InternalOseeDsl.g:657:4: otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) - { - otherlv_2=(Token)match(input,16,FOLLOW_17); - - newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0()); - - // InternalOseeDsl.g:661:1: ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) - // InternalOseeDsl.g:662:1: (lv_baseAttributeType_3_0= ruleAttributeBaseType ) - { - // InternalOseeDsl.g:662:1: (lv_baseAttributeType_3_0= ruleAttributeBaseType ) - // InternalOseeDsl.g:663:3: lv_baseAttributeType_3_0= ruleAttributeBaseType - { - - newCompositeNode(grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_18); - lv_baseAttributeType_3_0=ruleAttributeBaseType(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); - } - set( - current, - "baseAttributeType", - lv_baseAttributeType_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeBaseType"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - // InternalOseeDsl.g:679:3: (otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==24) ) { - alt11=1; - } - switch (alt11) { - case 1 : - // InternalOseeDsl.g:679:5: otherlv_4= 'overrides' ( (otherlv_5= RULE_STRING ) ) - { - otherlv_4=(Token)match(input,24,FOLLOW_6); - - newLeafNode(otherlv_4, grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0()); - - // InternalOseeDsl.g:683:1: ( (otherlv_5= RULE_STRING ) ) - // InternalOseeDsl.g:684:1: (otherlv_5= RULE_STRING ) - { - // InternalOseeDsl.g:684:1: (otherlv_5= RULE_STRING ) - // InternalOseeDsl.g:685:3: otherlv_5= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - - otherlv_5=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(otherlv_5, grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0()); - - - } - - - } - - - } - break; - - } - - otherlv_6=(Token)match(input,18,FOLLOW_12); - - newLeafNode(otherlv_6, grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4()); - - otherlv_7=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_7, grammarAccess.getXAttributeTypeAccess().getIdKeyword_5()); - - // InternalOseeDsl.g:704:1: ( (lv_id_8_0= RULE_WHOLE_NUM_STR ) ) - // InternalOseeDsl.g:705:1: (lv_id_8_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:705:1: (lv_id_8_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:706:3: lv_id_8_0= RULE_WHOLE_NUM_STR - { - lv_id_8_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_20); - - newLeafNode(lv_id_8_0, grammarAccess.getXAttributeTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_6_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "id", - lv_id_8_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - - otherlv_9=(Token)match(input,25,FOLLOW_21); - - newLeafNode(otherlv_9, grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7()); - - // InternalOseeDsl.g:726:1: ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) - // InternalOseeDsl.g:727:1: ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) - { - // InternalOseeDsl.g:727:1: ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) - // InternalOseeDsl.g:728:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) - { - // InternalOseeDsl.g:728:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) - int alt12=3; - switch ( input.LA(1) ) { - case 26: - { - alt12=1; - } - break; - case 27: - { - alt12=2; - } - break; - case RULE_ID: - { - alt12=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); - - throw nvae; - } - - switch (alt12) { - case 1 : - // InternalOseeDsl.g:729:3: lv_dataProvider_10_1= 'DefaultAttributeDataProvider' - { - lv_dataProvider_10_1=(Token)match(input,26,FOLLOW_22); - - newLeafNode(lv_dataProvider_10_1, grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed(current, "dataProvider", lv_dataProvider_10_1, null); - - - } - break; - case 2 : - // InternalOseeDsl.g:741:8: lv_dataProvider_10_2= 'UriAttributeDataProvider' - { - lv_dataProvider_10_2=(Token)match(input,27,FOLLOW_22); - - newLeafNode(lv_dataProvider_10_2, grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed(current, "dataProvider", lv_dataProvider_10_2, null); - - - } - break; - case 3 : - // InternalOseeDsl.g:753:8: lv_dataProvider_10_3= ruleQUALIFIED_NAME - { - - newCompositeNode(grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2()); - - pushFollow(FOLLOW_22); - lv_dataProvider_10_3=ruleQUALIFIED_NAME(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); - } - set( - current, - "dataProvider", - lv_dataProvider_10_3, - "org.eclipse.osee.framework.core.dsl.OseeDsl.QUALIFIED_NAME"); - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - } - - otherlv_11=(Token)match(input,28,FOLLOW_13); - - newLeafNode(otherlv_11, grammarAccess.getXAttributeTypeAccess().getMinKeyword_9()); - - // InternalOseeDsl.g:775:1: ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) - // InternalOseeDsl.g:776:1: (lv_min_12_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:776:1: (lv_min_12_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:777:3: lv_min_12_0= RULE_WHOLE_NUM_STR - { - lv_min_12_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_23); - - newLeafNode(lv_min_12_0, grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "min", - lv_min_12_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - - otherlv_13=(Token)match(input,29,FOLLOW_24); - - newLeafNode(otherlv_13, grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11()); - - // InternalOseeDsl.g:797:1: ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) - // InternalOseeDsl.g:798:1: ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) - { - // InternalOseeDsl.g:798:1: ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) - // InternalOseeDsl.g:799:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) - { - // InternalOseeDsl.g:799:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==RULE_WHOLE_NUM_STR) ) { - alt13=1; - } - else if ( (LA13_0==30) ) { - alt13=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); - - throw nvae; - } - switch (alt13) { - case 1 : - // InternalOseeDsl.g:800:3: lv_max_14_1= RULE_WHOLE_NUM_STR - { - lv_max_14_1=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_25); - - newLeafNode(lv_max_14_1, grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "max", - lv_max_14_1, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - break; - case 2 : - // InternalOseeDsl.g:815:8: lv_max_14_2= 'unlimited' - { - lv_max_14_2=(Token)match(input,30,FOLLOW_25); - - newLeafNode(lv_max_14_2, grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed(current, "max", lv_max_14_2, null); - - - } - break; - - } - - - } - - - } - - // InternalOseeDsl.g:830:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) - // InternalOseeDsl.g:832:1: ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) - { - // InternalOseeDsl.g:832:1: ( ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) ) - // InternalOseeDsl.g:833:2: ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) - { - - getUnorderedGroupHelper().enter(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - // InternalOseeDsl.g:836:2: ( ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* ) - // InternalOseeDsl.g:837:3: ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* - { - // InternalOseeDsl.g:837:3: ( ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) )* - loop15: - do { - int alt15=7; - int LA15_0 = input.LA(1); - - if ( LA15_0 == 31 && getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 0) ) { - alt15=1; - } - else if ( LA15_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 1) ) { - alt15=2; - } - else if ( LA15_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 2) ) { - alt15=3; - } - else if ( LA15_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 3) ) { - alt15=4; - } - else if ( LA15_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 4) ) { - alt15=5; - } - else if ( LA15_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 5) ) { - alt15=6; - } - - - switch (alt15) { - case 1 : - // InternalOseeDsl.g:839:4: ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) - { - // InternalOseeDsl.g:839:4: ({...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) ) - // InternalOseeDsl.g:840:5: {...}? => ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 0) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 0)"); - } - // InternalOseeDsl.g:840:112: ( ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) ) - // InternalOseeDsl.g:841:6: ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 0); - - // InternalOseeDsl.g:844:6: ({...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) ) - // InternalOseeDsl.g:844:7: {...}? => (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "true"); - } - // InternalOseeDsl.g:844:16: (otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) ) - // InternalOseeDsl.g:844:18: otherlv_16= 'taggerId' ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) - { - otherlv_16=(Token)match(input,31,FOLLOW_26); - - newLeafNode(otherlv_16, grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0_0()); - - // InternalOseeDsl.g:848:1: ( ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) ) - // InternalOseeDsl.g:849:1: ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) - { - // InternalOseeDsl.g:849:1: ( (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) ) - // InternalOseeDsl.g:850:1: (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) - { - // InternalOseeDsl.g:850:1: (lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_17_2= ruleQUALIFIED_NAME ) - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==32) ) { - alt14=1; - } - else if ( (LA14_0==RULE_ID) ) { - alt14=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); - - throw nvae; - } - switch (alt14) { - case 1 : - // InternalOseeDsl.g:851:3: lv_taggerId_17_1= 'DefaultAttributeTaggerProvider' - { - lv_taggerId_17_1=(Token)match(input,32,FOLLOW_25); - - newLeafNode(lv_taggerId_17_1, grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_0_1_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed(current, "taggerId", lv_taggerId_17_1, null); - - - } - break; - case 2 : - // InternalOseeDsl.g:863:8: lv_taggerId_17_2= ruleQUALIFIED_NAME - { - - newCompositeNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_0_1_0_1()); - - pushFollow(FOLLOW_25); - lv_taggerId_17_2=ruleQUALIFIED_NAME(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); - } - set( - current, - "taggerId", - lv_taggerId_17_2, - "org.eclipse.osee.framework.core.dsl.OseeDsl.QUALIFIED_NAME"); - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:888:4: ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) - { - // InternalOseeDsl.g:888:4: ({...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) ) - // InternalOseeDsl.g:889:5: {...}? => ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 1) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 1)"); - } - // InternalOseeDsl.g:889:112: ( ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) ) - // InternalOseeDsl.g:890:6: ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 1); - - // InternalOseeDsl.g:893:6: ({...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:893:7: {...}? => (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "true"); - } - // InternalOseeDsl.g:893:16: (otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) ) - // InternalOseeDsl.g:893:18: otherlv_18= 'enumType' ( (otherlv_19= RULE_STRING ) ) - { - otherlv_18=(Token)match(input,33,FOLLOW_6); - - newLeafNode(otherlv_18, grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_13_1_0()); - - // InternalOseeDsl.g:897:1: ( (otherlv_19= RULE_STRING ) ) - // InternalOseeDsl.g:898:1: (otherlv_19= RULE_STRING ) - { - // InternalOseeDsl.g:898:1: (otherlv_19= RULE_STRING ) - // InternalOseeDsl.g:899:3: otherlv_19= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - - otherlv_19=(Token)match(input,RULE_STRING,FOLLOW_25); - - newLeafNode(otherlv_19, grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_13_1_1_0()); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - - } - - - } - break; - case 3 : - // InternalOseeDsl.g:917:4: ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) - { - // InternalOseeDsl.g:917:4: ({...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) ) - // InternalOseeDsl.g:918:5: {...}? => ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 2) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 2)"); - } - // InternalOseeDsl.g:918:112: ( ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) ) - // InternalOseeDsl.g:919:6: ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 2); - - // InternalOseeDsl.g:922:6: ({...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:922:7: {...}? => (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "true"); - } - // InternalOseeDsl.g:922:16: (otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) ) - // InternalOseeDsl.g:922:18: otherlv_20= 'description' ( (lv_description_21_0= RULE_STRING ) ) - { - otherlv_20=(Token)match(input,34,FOLLOW_6); - - newLeafNode(otherlv_20, grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_13_2_0()); - - // InternalOseeDsl.g:926:1: ( (lv_description_21_0= RULE_STRING ) ) - // InternalOseeDsl.g:927:1: (lv_description_21_0= RULE_STRING ) - { - // InternalOseeDsl.g:927:1: (lv_description_21_0= RULE_STRING ) - // InternalOseeDsl.g:928:3: lv_description_21_0= RULE_STRING - { - lv_description_21_0=(Token)match(input,RULE_STRING,FOLLOW_25); - - newLeafNode(lv_description_21_0, grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_13_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "description", - lv_description_21_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - - } - - - } - break; - case 4 : - // InternalOseeDsl.g:951:4: ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) - { - // InternalOseeDsl.g:951:4: ({...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) ) - // InternalOseeDsl.g:952:5: {...}? => ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 3) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 3)"); - } - // InternalOseeDsl.g:952:112: ( ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) ) - // InternalOseeDsl.g:953:6: ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 3); - - // InternalOseeDsl.g:956:6: ({...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:956:7: {...}? => (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "true"); - } - // InternalOseeDsl.g:956:16: (otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) ) - // InternalOseeDsl.g:956:18: otherlv_22= 'defaultValue' ( (lv_defaultValue_23_0= RULE_STRING ) ) - { - otherlv_22=(Token)match(input,35,FOLLOW_6); - - newLeafNode(otherlv_22, grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_13_3_0()); - - // InternalOseeDsl.g:960:1: ( (lv_defaultValue_23_0= RULE_STRING ) ) - // InternalOseeDsl.g:961:1: (lv_defaultValue_23_0= RULE_STRING ) - { - // InternalOseeDsl.g:961:1: (lv_defaultValue_23_0= RULE_STRING ) - // InternalOseeDsl.g:962:3: lv_defaultValue_23_0= RULE_STRING - { - lv_defaultValue_23_0=(Token)match(input,RULE_STRING,FOLLOW_25); - - newLeafNode(lv_defaultValue_23_0, grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_13_3_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "defaultValue", - lv_defaultValue_23_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - - } - - - } - break; - case 5 : - // InternalOseeDsl.g:985:4: ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) - { - // InternalOseeDsl.g:985:4: ({...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) ) - // InternalOseeDsl.g:986:5: {...}? => ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 4) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 4)"); - } - // InternalOseeDsl.g:986:112: ( ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) ) - // InternalOseeDsl.g:987:6: ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 4); - - // InternalOseeDsl.g:990:6: ({...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:990:7: {...}? => (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "true"); - } - // InternalOseeDsl.g:990:16: (otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) ) - // InternalOseeDsl.g:990:18: otherlv_24= 'fileExtension' ( (lv_fileExtension_25_0= RULE_STRING ) ) - { - otherlv_24=(Token)match(input,36,FOLLOW_6); - - newLeafNode(otherlv_24, grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_13_4_0()); - - // InternalOseeDsl.g:994:1: ( (lv_fileExtension_25_0= RULE_STRING ) ) - // InternalOseeDsl.g:995:1: (lv_fileExtension_25_0= RULE_STRING ) - { - // InternalOseeDsl.g:995:1: (lv_fileExtension_25_0= RULE_STRING ) - // InternalOseeDsl.g:996:3: lv_fileExtension_25_0= RULE_STRING - { - lv_fileExtension_25_0=(Token)match(input,RULE_STRING,FOLLOW_25); - - newLeafNode(lv_fileExtension_25_0, grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_13_4_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "fileExtension", - lv_fileExtension_25_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - - } - - - } - break; - case 6 : - // InternalOseeDsl.g:1019:4: ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) - { - // InternalOseeDsl.g:1019:4: ({...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) ) - // InternalOseeDsl.g:1020:5: {...}? => ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 5) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "getUnorderedGroupHelper().canSelect(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 5)"); - } - // InternalOseeDsl.g:1020:112: ( ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) ) - // InternalOseeDsl.g:1021:6: ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13(), 5); - - // InternalOseeDsl.g:1024:6: ({...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:1024:7: {...}? => (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleXAttributeType", "true"); - } - // InternalOseeDsl.g:1024:16: (otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) ) - // InternalOseeDsl.g:1024:18: otherlv_26= 'mediaType' ( (lv_mediaType_27_0= RULE_STRING ) ) - { - otherlv_26=(Token)match(input,37,FOLLOW_6); - - newLeafNode(otherlv_26, grammarAccess.getXAttributeTypeAccess().getMediaTypeKeyword_13_5_0()); - - // InternalOseeDsl.g:1028:1: ( (lv_mediaType_27_0= RULE_STRING ) ) - // InternalOseeDsl.g:1029:1: (lv_mediaType_27_0= RULE_STRING ) - { - // InternalOseeDsl.g:1029:1: (lv_mediaType_27_0= RULE_STRING ) - // InternalOseeDsl.g:1030:3: lv_mediaType_27_0= RULE_STRING - { - lv_mediaType_27_0=(Token)match(input,RULE_STRING,FOLLOW_25); - - newLeafNode(lv_mediaType_27_0, grammarAccess.getXAttributeTypeAccess().getMediaTypeSTRINGTerminalRuleCall_13_5_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXAttributeTypeRule()); - } - setWithLastConsumed( - current, - "mediaType", - lv_mediaType_27_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - - } - - - } - break; - - default : - break loop15; - } - } while (true); - - - } - - - } - - - getUnorderedGroupHelper().leave(grammarAccess.getXAttributeTypeAccess().getUnorderedGroup_13()); - - - } - - otherlv_28=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_28, grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_14()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXAttributeType" - - - // $ANTLR start "entryRuleAttributeBaseType" - // InternalOseeDsl.g:1072:1: entryRuleAttributeBaseType returns [String current=null] : iv_ruleAttributeBaseType= ruleAttributeBaseType EOF ; - public final String entryRuleAttributeBaseType() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleAttributeBaseType = null; - - - try { - // InternalOseeDsl.g:1073:2: (iv_ruleAttributeBaseType= ruleAttributeBaseType EOF ) - // InternalOseeDsl.g:1074:2: iv_ruleAttributeBaseType= ruleAttributeBaseType EOF - { - newCompositeNode(grammarAccess.getAttributeBaseTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleAttributeBaseType=ruleAttributeBaseType(); - - state._fsp--; - - current =iv_ruleAttributeBaseType.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAttributeBaseType" - - - // $ANTLR start "ruleAttributeBaseType" - // InternalOseeDsl.g:1081:1: ruleAttributeBaseType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'LongAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'ArtifactReferenceAttribute' | kw= 'BranchReferenceAttribute' | kw= 'WordAttribute' | kw= 'OutlineNumberAttribute' | this_QUALIFIED_NAME_13= ruleQUALIFIED_NAME ) ; - public final AntlrDatatypeRuleToken ruleAttributeBaseType() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - AntlrDatatypeRuleToken this_QUALIFIED_NAME_13 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1084:28: ( (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'LongAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'ArtifactReferenceAttribute' | kw= 'BranchReferenceAttribute' | kw= 'WordAttribute' | kw= 'OutlineNumberAttribute' | this_QUALIFIED_NAME_13= ruleQUALIFIED_NAME ) ) - // InternalOseeDsl.g:1085:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'LongAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'ArtifactReferenceAttribute' | kw= 'BranchReferenceAttribute' | kw= 'WordAttribute' | kw= 'OutlineNumberAttribute' | this_QUALIFIED_NAME_13= ruleQUALIFIED_NAME ) - { - // InternalOseeDsl.g:1085:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'LongAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'ArtifactReferenceAttribute' | kw= 'BranchReferenceAttribute' | kw= 'WordAttribute' | kw= 'OutlineNumberAttribute' | this_QUALIFIED_NAME_13= ruleQUALIFIED_NAME ) - int alt16=14; - switch ( input.LA(1) ) { - case 38: - { - alt16=1; - } - break; - case 39: - { - alt16=2; - } - break; - case 40: - { - alt16=3; - } - break; - case 41: - { - alt16=4; - } - break; - case 42: - { - alt16=5; - } - break; - case 43: - { - alt16=6; - } - break; - case 44: - { - alt16=7; - } - break; - case 45: - { - alt16=8; - } - break; - case 46: - { - alt16=9; - } - break; - case 47: - { - alt16=10; - } - break; - case 48: - { - alt16=11; - } - break; - case 49: - { - alt16=12; - } - break; - case 50: - { - alt16=13; - } - break; - case RULE_ID: - { - alt16=14; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); - - throw nvae; - } - - switch (alt16) { - case 1 : - // InternalOseeDsl.g:1086:2: kw= 'BooleanAttribute' - { - kw=(Token)match(input,38,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getBooleanAttributeKeyword_0()); - - - } - break; - case 2 : - // InternalOseeDsl.g:1093:2: kw= 'CompressedContentAttribute' - { - kw=(Token)match(input,39,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getCompressedContentAttributeKeyword_1()); - - - } - break; - case 3 : - // InternalOseeDsl.g:1100:2: kw= 'DateAttribute' - { - kw=(Token)match(input,40,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getDateAttributeKeyword_2()); - - - } - break; - case 4 : - // InternalOseeDsl.g:1107:2: kw= 'EnumeratedAttribute' - { - kw=(Token)match(input,41,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getEnumeratedAttributeKeyword_3()); - - - } - break; - case 5 : - // InternalOseeDsl.g:1114:2: kw= 'FloatingPointAttribute' - { - kw=(Token)match(input,42,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getFloatingPointAttributeKeyword_4()); - - - } - break; - case 6 : - // InternalOseeDsl.g:1121:2: kw= 'IntegerAttribute' - { - kw=(Token)match(input,43,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getIntegerAttributeKeyword_5()); - - - } - break; - case 7 : - // InternalOseeDsl.g:1128:2: kw= 'LongAttribute' - { - kw=(Token)match(input,44,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getLongAttributeKeyword_6()); - - - } - break; - case 8 : - // InternalOseeDsl.g:1135:2: kw= 'JavaObjectAttribute' - { - kw=(Token)match(input,45,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getJavaObjectAttributeKeyword_7()); - - - } - break; - case 9 : - // InternalOseeDsl.g:1142:2: kw= 'StringAttribute' - { - kw=(Token)match(input,46,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getStringAttributeKeyword_8()); - - - } - break; - case 10 : - // InternalOseeDsl.g:1149:2: kw= 'ArtifactReferenceAttribute' - { - kw=(Token)match(input,47,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getArtifactReferenceAttributeKeyword_9()); - - - } - break; - case 11 : - // InternalOseeDsl.g:1156:2: kw= 'BranchReferenceAttribute' - { - kw=(Token)match(input,48,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getBranchReferenceAttributeKeyword_10()); - - - } - break; - case 12 : - // InternalOseeDsl.g:1163:2: kw= 'WordAttribute' - { - kw=(Token)match(input,49,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getWordAttributeKeyword_11()); - - - } - break; - case 13 : - // InternalOseeDsl.g:1170:2: kw= 'OutlineNumberAttribute' - { - kw=(Token)match(input,50,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getOutlineNumberAttributeKeyword_12()); - - - } - break; - case 14 : - // InternalOseeDsl.g:1177:5: this_QUALIFIED_NAME_13= ruleQUALIFIED_NAME - { - - newCompositeNode(grammarAccess.getAttributeBaseTypeAccess().getQUALIFIED_NAMEParserRuleCall_13()); - - pushFollow(FOLLOW_2); - this_QUALIFIED_NAME_13=ruleQUALIFIED_NAME(); - - state._fsp--; - - - current.merge(this_QUALIFIED_NAME_13); - - - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAttributeBaseType" - - - // $ANTLR start "entryRuleXOseeEnumType" - // InternalOseeDsl.g:1195:1: entryRuleXOseeEnumType returns [EObject current=null] : iv_ruleXOseeEnumType= ruleXOseeEnumType EOF ; - public final EObject entryRuleXOseeEnumType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXOseeEnumType = null; - - - try { - // InternalOseeDsl.g:1196:2: (iv_ruleXOseeEnumType= ruleXOseeEnumType EOF ) - // InternalOseeDsl.g:1197:2: iv_ruleXOseeEnumType= ruleXOseeEnumType EOF - { - newCompositeNode(grammarAccess.getXOseeEnumTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleXOseeEnumType=ruleXOseeEnumType(); - - state._fsp--; - - current =iv_ruleXOseeEnumType; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXOseeEnumType" - - - // $ANTLR start "ruleXOseeEnumType" - // InternalOseeDsl.g:1204:1: ruleXOseeEnumType returns [EObject current=null] : (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) ; - public final EObject ruleXOseeEnumType() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token lv_id_4_0=null; - Token otherlv_6=null; - EObject lv_enumEntries_5_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1207:28: ( (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) ) - // InternalOseeDsl.g:1208:1: (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) - { - // InternalOseeDsl.g:1208:1: (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) - // InternalOseeDsl.g:1208:3: otherlv_0= 'oseeEnumType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' - { - otherlv_0=(Token)match(input,51,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0()); - - // InternalOseeDsl.g:1212:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:1213:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:1213:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:1214:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(lv_name_1_0, grammarAccess.getXOseeEnumTypeAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumTypeRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_12); - - newLeafNode(otherlv_2, grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2()); - - otherlv_3=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_3, grammarAccess.getXOseeEnumTypeAccess().getIdKeyword_3()); - - // InternalOseeDsl.g:1238:1: ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) - // InternalOseeDsl.g:1239:1: (lv_id_4_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:1239:1: (lv_id_4_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:1240:3: lv_id_4_0= RULE_WHOLE_NUM_STR - { - lv_id_4_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_27); - - newLeafNode(lv_id_4_0, grammarAccess.getXOseeEnumTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_4_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumTypeRule()); - } - setWithLastConsumed( - current, - "id", - lv_id_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - - // InternalOseeDsl.g:1256:2: ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* - loop17: - do { - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==52) ) { - alt17=1; - } - - - switch (alt17) { - case 1 : - // InternalOseeDsl.g:1257:1: (lv_enumEntries_5_0= ruleXOseeEnumEntry ) - { - // InternalOseeDsl.g:1257:1: (lv_enumEntries_5_0= ruleXOseeEnumEntry ) - // InternalOseeDsl.g:1258:3: lv_enumEntries_5_0= ruleXOseeEnumEntry - { - - newCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0()); - - pushFollow(FOLLOW_27); - lv_enumEntries_5_0=ruleXOseeEnumEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXOseeEnumTypeRule()); - } - add( - current, - "enumEntries", - lv_enumEntries_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop17; - } - } while (true); - - otherlv_6=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_6, grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXOseeEnumType" - - - // $ANTLR start "entryRuleXOseeEnumEntry" - // InternalOseeDsl.g:1286:1: entryRuleXOseeEnumEntry returns [EObject current=null] : iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF ; - public final EObject entryRuleXOseeEnumEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXOseeEnumEntry = null; - - - try { - // InternalOseeDsl.g:1287:2: (iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF ) - // InternalOseeDsl.g:1288:2: iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF - { - newCompositeNode(grammarAccess.getXOseeEnumEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleXOseeEnumEntry=ruleXOseeEnumEntry(); - - state._fsp--; - - current =iv_ruleXOseeEnumEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXOseeEnumEntry" - - - // $ANTLR start "ruleXOseeEnumEntry" - // InternalOseeDsl.g:1295:1: ruleXOseeEnumEntry returns [EObject current=null] : (otherlv_0= 'entry' ( (lv_name_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) ; - public final EObject ruleXOseeEnumEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token lv_ordinal_2_0=null; - Token otherlv_3=null; - Token lv_description_4_0=null; - - enterRule(); - - try { - // InternalOseeDsl.g:1298:28: ( (otherlv_0= 'entry' ( (lv_name_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) ) - // InternalOseeDsl.g:1299:1: (otherlv_0= 'entry' ( (lv_name_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) - { - // InternalOseeDsl.g:1299:1: (otherlv_0= 'entry' ( (lv_name_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) - // InternalOseeDsl.g:1299:3: otherlv_0= 'entry' ( (lv_name_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? - { - otherlv_0=(Token)match(input,52,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0()); - - // InternalOseeDsl.g:1303:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:1304:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:1304:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:1305:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_28); - - newLeafNode(lv_name_1_0, grammarAccess.getXOseeEnumEntryAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - // InternalOseeDsl.g:1321:2: ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==RULE_WHOLE_NUM_STR) ) { - alt18=1; - } - switch (alt18) { - case 1 : - // InternalOseeDsl.g:1322:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:1322:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:1323:3: lv_ordinal_2_0= RULE_WHOLE_NUM_STR - { - lv_ordinal_2_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_29); - - newLeafNode(lv_ordinal_2_0, grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); - } - setWithLastConsumed( - current, - "ordinal", - lv_ordinal_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - break; - - } - - // InternalOseeDsl.g:1339:3: (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==34) ) { - alt19=1; - } - switch (alt19) { - case 1 : - // InternalOseeDsl.g:1339:5: otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) - { - otherlv_3=(Token)match(input,34,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getXOseeEnumEntryAccess().getDescriptionKeyword_3_0()); - - // InternalOseeDsl.g:1343:1: ( (lv_description_4_0= RULE_STRING ) ) - // InternalOseeDsl.g:1344:1: (lv_description_4_0= RULE_STRING ) - { - // InternalOseeDsl.g:1344:1: (lv_description_4_0= RULE_STRING ) - // InternalOseeDsl.g:1345:3: lv_description_4_0= RULE_STRING - { - lv_description_4_0=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(lv_description_4_0, grammarAccess.getXOseeEnumEntryAccess().getDescriptionSTRINGTerminalRuleCall_3_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); - } - setWithLastConsumed( - current, - "description", - lv_description_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - break; - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXOseeEnumEntry" - - - // $ANTLR start "entryRuleXOseeEnumOverride" - // InternalOseeDsl.g:1369:1: entryRuleXOseeEnumOverride returns [EObject current=null] : iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ; - public final EObject entryRuleXOseeEnumOverride() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXOseeEnumOverride = null; - - - try { - // InternalOseeDsl.g:1370:2: (iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ) - // InternalOseeDsl.g:1371:2: iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF - { - newCompositeNode(grammarAccess.getXOseeEnumOverrideRule()); - pushFollow(FOLLOW_1); - iv_ruleXOseeEnumOverride=ruleXOseeEnumOverride(); - - state._fsp--; - - current =iv_ruleXOseeEnumOverride; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXOseeEnumOverride" - - - // $ANTLR start "ruleXOseeEnumOverride" - // InternalOseeDsl.g:1378:1: ruleXOseeEnumOverride returns [EObject current=null] : (otherlv_0= 'overrides enum' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) ; - public final EObject ruleXOseeEnumOverride() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token lv_inheritAll_3_0=null; - Token otherlv_5=null; - EObject lv_overrideOptions_4_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1381:28: ( (otherlv_0= 'overrides enum' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) ) - // InternalOseeDsl.g:1382:1: (otherlv_0= 'overrides enum' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) - { - // InternalOseeDsl.g:1382:1: (otherlv_0= 'overrides enum' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) - // InternalOseeDsl.g:1382:3: otherlv_0= 'overrides enum' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' - { - otherlv_0=(Token)match(input,53,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0()); - - // InternalOseeDsl.g:1386:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:1387:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:1387:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:1388:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(otherlv_1, grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0()); - - - } - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_30); - - newLeafNode(otherlv_2, grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2()); - - // InternalOseeDsl.g:1403:1: ( (lv_inheritAll_3_0= 'inheritAll' ) )? - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==54) ) { - alt20=1; - } - switch (alt20) { - case 1 : - // InternalOseeDsl.g:1404:1: (lv_inheritAll_3_0= 'inheritAll' ) - { - // InternalOseeDsl.g:1404:1: (lv_inheritAll_3_0= 'inheritAll' ) - // InternalOseeDsl.g:1405:3: lv_inheritAll_3_0= 'inheritAll' - { - lv_inheritAll_3_0=(Token)match(input,54,FOLLOW_31); - - newLeafNode(lv_inheritAll_3_0, grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); - } - setWithLastConsumed(current, "inheritAll", true, "inheritAll"); - - - } - - - } - break; - - } - - // InternalOseeDsl.g:1418:3: ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* - loop21: - do { - int alt21=2; - int LA21_0 = input.LA(1); - - if ( ((LA21_0>=55 && LA21_0<=56)) ) { - alt21=1; - } - - - switch (alt21) { - case 1 : - // InternalOseeDsl.g:1419:1: (lv_overrideOptions_4_0= ruleOverrideOption ) - { - // InternalOseeDsl.g:1419:1: (lv_overrideOptions_4_0= ruleOverrideOption ) - // InternalOseeDsl.g:1420:3: lv_overrideOptions_4_0= ruleOverrideOption - { - - newCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0()); - - pushFollow(FOLLOW_31); - lv_overrideOptions_4_0=ruleOverrideOption(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXOseeEnumOverrideRule()); - } - add( - current, - "overrideOptions", - lv_overrideOptions_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.OverrideOption"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop21; - } - } while (true); - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXOseeEnumOverride" - - - // $ANTLR start "entryRuleOverrideOption" - // InternalOseeDsl.g:1448:1: entryRuleOverrideOption returns [EObject current=null] : iv_ruleOverrideOption= ruleOverrideOption EOF ; - public final EObject entryRuleOverrideOption() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOverrideOption = null; - - - try { - // InternalOseeDsl.g:1449:2: (iv_ruleOverrideOption= ruleOverrideOption EOF ) - // InternalOseeDsl.g:1450:2: iv_ruleOverrideOption= ruleOverrideOption EOF - { - newCompositeNode(grammarAccess.getOverrideOptionRule()); - pushFollow(FOLLOW_1); - iv_ruleOverrideOption=ruleOverrideOption(); - - state._fsp--; - - current =iv_ruleOverrideOption; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleOverrideOption" - - - // $ANTLR start "ruleOverrideOption" - // InternalOseeDsl.g:1457:1: ruleOverrideOption returns [EObject current=null] : (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) ; - public final EObject ruleOverrideOption() throws RecognitionException { - EObject current = null; - - EObject this_AddEnum_0 = null; - - EObject this_RemoveEnum_1 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1460:28: ( (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) ) - // InternalOseeDsl.g:1461:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) - { - // InternalOseeDsl.g:1461:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==55) ) { - alt22=1; - } - else if ( (LA22_0==56) ) { - alt22=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); - - throw nvae; - } - switch (alt22) { - case 1 : - // InternalOseeDsl.g:1462:5: this_AddEnum_0= ruleAddEnum - { - - newCompositeNode(grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_AddEnum_0=ruleAddEnum(); - - state._fsp--; - - - current = this_AddEnum_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalOseeDsl.g:1472:5: this_RemoveEnum_1= ruleRemoveEnum - { - - newCompositeNode(grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_RemoveEnum_1=ruleRemoveEnum(); - - state._fsp--; - - - current = this_RemoveEnum_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleOverrideOption" - - - // $ANTLR start "entryRuleAddEnum" - // InternalOseeDsl.g:1488:1: entryRuleAddEnum returns [EObject current=null] : iv_ruleAddEnum= ruleAddEnum EOF ; - public final EObject entryRuleAddEnum() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAddEnum = null; - - - try { - // InternalOseeDsl.g:1489:2: (iv_ruleAddEnum= ruleAddEnum EOF ) - // InternalOseeDsl.g:1490:2: iv_ruleAddEnum= ruleAddEnum EOF - { - newCompositeNode(grammarAccess.getAddEnumRule()); - pushFollow(FOLLOW_1); - iv_ruleAddEnum=ruleAddEnum(); - - state._fsp--; - - current =iv_ruleAddEnum; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAddEnum" - - - // $ANTLR start "ruleAddEnum" - // InternalOseeDsl.g:1497:1: ruleAddEnum returns [EObject current=null] : (otherlv_0= 'add' ( (lv_enumEntry_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) ; - public final EObject ruleAddEnum() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_enumEntry_1_0=null; - Token lv_ordinal_2_0=null; - Token otherlv_3=null; - Token lv_description_4_0=null; - - enterRule(); - - try { - // InternalOseeDsl.g:1500:28: ( (otherlv_0= 'add' ( (lv_enumEntry_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) ) - // InternalOseeDsl.g:1501:1: (otherlv_0= 'add' ( (lv_enumEntry_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) - { - // InternalOseeDsl.g:1501:1: (otherlv_0= 'add' ( (lv_enumEntry_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? ) - // InternalOseeDsl.g:1501:3: otherlv_0= 'add' ( (lv_enumEntry_1_0= RULE_STRING ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? - { - otherlv_0=(Token)match(input,55,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getAddEnumAccess().getAddKeyword_0()); - - // InternalOseeDsl.g:1505:1: ( (lv_enumEntry_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:1506:1: (lv_enumEntry_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:1506:1: (lv_enumEntry_1_0= RULE_STRING ) - // InternalOseeDsl.g:1507:3: lv_enumEntry_1_0= RULE_STRING - { - lv_enumEntry_1_0=(Token)match(input,RULE_STRING,FOLLOW_28); - - newLeafNode(lv_enumEntry_1_0, grammarAccess.getAddEnumAccess().getEnumEntrySTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAddEnumRule()); - } - setWithLastConsumed( - current, - "enumEntry", - lv_enumEntry_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - // InternalOseeDsl.g:1523:2: ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==RULE_WHOLE_NUM_STR) ) { - alt23=1; - } - switch (alt23) { - case 1 : - // InternalOseeDsl.g:1524:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:1524:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:1525:3: lv_ordinal_2_0= RULE_WHOLE_NUM_STR - { - lv_ordinal_2_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_29); - - newLeafNode(lv_ordinal_2_0, grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAddEnumRule()); - } - setWithLastConsumed( - current, - "ordinal", - lv_ordinal_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - break; - - } - - // InternalOseeDsl.g:1541:3: (otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) )? - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==34) ) { - alt24=1; - } - switch (alt24) { - case 1 : - // InternalOseeDsl.g:1541:5: otherlv_3= 'description' ( (lv_description_4_0= RULE_STRING ) ) - { - otherlv_3=(Token)match(input,34,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getAddEnumAccess().getDescriptionKeyword_3_0()); - - // InternalOseeDsl.g:1545:1: ( (lv_description_4_0= RULE_STRING ) ) - // InternalOseeDsl.g:1546:1: (lv_description_4_0= RULE_STRING ) - { - // InternalOseeDsl.g:1546:1: (lv_description_4_0= RULE_STRING ) - // InternalOseeDsl.g:1547:3: lv_description_4_0= RULE_STRING - { - lv_description_4_0=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(lv_description_4_0, grammarAccess.getAddEnumAccess().getDescriptionSTRINGTerminalRuleCall_3_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAddEnumRule()); - } - setWithLastConsumed( - current, - "description", - lv_description_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - break; - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAddEnum" - - - // $ANTLR start "entryRuleRemoveEnum" - // InternalOseeDsl.g:1571:1: entryRuleRemoveEnum returns [EObject current=null] : iv_ruleRemoveEnum= ruleRemoveEnum EOF ; - public final EObject entryRuleRemoveEnum() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRemoveEnum = null; - - - try { - // InternalOseeDsl.g:1572:2: (iv_ruleRemoveEnum= ruleRemoveEnum EOF ) - // InternalOseeDsl.g:1573:2: iv_ruleRemoveEnum= ruleRemoveEnum EOF - { - newCompositeNode(grammarAccess.getRemoveEnumRule()); - pushFollow(FOLLOW_1); - iv_ruleRemoveEnum=ruleRemoveEnum(); - - state._fsp--; - - current =iv_ruleRemoveEnum; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRemoveEnum" - - - // $ANTLR start "ruleRemoveEnum" - // InternalOseeDsl.g:1580:1: ruleRemoveEnum returns [EObject current=null] : (otherlv_0= 'remove' ( (otherlv_1= RULE_STRING ) ) ) ; - public final EObject ruleRemoveEnum() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - - enterRule(); - - try { - // InternalOseeDsl.g:1583:28: ( (otherlv_0= 'remove' ( (otherlv_1= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:1584:1: (otherlv_0= 'remove' ( (otherlv_1= RULE_STRING ) ) ) - { - // InternalOseeDsl.g:1584:1: (otherlv_0= 'remove' ( (otherlv_1= RULE_STRING ) ) ) - // InternalOseeDsl.g:1584:3: otherlv_0= 'remove' ( (otherlv_1= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,56,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0()); - - // InternalOseeDsl.g:1588:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:1589:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:1589:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:1590:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getRemoveEnumRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0()); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRemoveEnum" - - - // $ANTLR start "entryRuleXOseeArtifactTypeOverride" - // InternalOseeDsl.g:1609:1: entryRuleXOseeArtifactTypeOverride returns [EObject current=null] : iv_ruleXOseeArtifactTypeOverride= ruleXOseeArtifactTypeOverride EOF ; - public final EObject entryRuleXOseeArtifactTypeOverride() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXOseeArtifactTypeOverride = null; - - - try { - // InternalOseeDsl.g:1610:2: (iv_ruleXOseeArtifactTypeOverride= ruleXOseeArtifactTypeOverride EOF ) - // InternalOseeDsl.g:1611:2: iv_ruleXOseeArtifactTypeOverride= ruleXOseeArtifactTypeOverride EOF - { - newCompositeNode(grammarAccess.getXOseeArtifactTypeOverrideRule()); - pushFollow(FOLLOW_1); - iv_ruleXOseeArtifactTypeOverride=ruleXOseeArtifactTypeOverride(); - - state._fsp--; - - current =iv_ruleXOseeArtifactTypeOverride; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXOseeArtifactTypeOverride" - - - // $ANTLR start "ruleXOseeArtifactTypeOverride" - // InternalOseeDsl.g:1618:1: ruleXOseeArtifactTypeOverride returns [EObject current=null] : (otherlv_0= 'overrides artifactType' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) )+ otherlv_5= '}' ) ; - public final EObject ruleXOseeArtifactTypeOverride() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token lv_inheritAll_3_0=null; - Token otherlv_5=null; - EObject lv_overrideOptions_4_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1621:28: ( (otherlv_0= 'overrides artifactType' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) )+ otherlv_5= '}' ) ) - // InternalOseeDsl.g:1622:1: (otherlv_0= 'overrides artifactType' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) )+ otherlv_5= '}' ) - { - // InternalOseeDsl.g:1622:1: (otherlv_0= 'overrides artifactType' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) )+ otherlv_5= '}' ) - // InternalOseeDsl.g:1622:3: otherlv_0= 'overrides artifactType' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) )+ otherlv_5= '}' - { - otherlv_0=(Token)match(input,57,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXOseeArtifactTypeOverrideAccess().getOverridesArtifactTypeKeyword_0()); - - // InternalOseeDsl.g:1626:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:1627:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:1627:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:1628:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeArtifactTypeOverrideRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(otherlv_1, grammarAccess.getXOseeArtifactTypeOverrideAccess().getOverridenArtifactTypeXArtifactTypeCrossReference_1_0()); - - - } - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_32); - - newLeafNode(otherlv_2, grammarAccess.getXOseeArtifactTypeOverrideAccess().getLeftCurlyBracketKeyword_2()); - - // InternalOseeDsl.g:1643:1: ( (lv_inheritAll_3_0= 'inheritAll' ) )? - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==54) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // InternalOseeDsl.g:1644:1: (lv_inheritAll_3_0= 'inheritAll' ) - { - // InternalOseeDsl.g:1644:1: (lv_inheritAll_3_0= 'inheritAll' ) - // InternalOseeDsl.g:1645:3: lv_inheritAll_3_0= 'inheritAll' - { - lv_inheritAll_3_0=(Token)match(input,54,FOLLOW_32); - - newLeafNode(lv_inheritAll_3_0, grammarAccess.getXOseeArtifactTypeOverrideAccess().getInheritAllInheritAllKeyword_3_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXOseeArtifactTypeOverrideRule()); - } - setWithLastConsumed(current, "inheritAll", true, "inheritAll"); - - - } - - - } - break; - - } - - // InternalOseeDsl.g:1658:3: ( (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) )+ - int cnt26=0; - loop26: - do { - int alt26=2; - int LA26_0 = input.LA(1); - - if ( ((LA26_0>=55 && LA26_0<=56)||LA26_0==58) ) { - alt26=1; - } - - - switch (alt26) { - case 1 : - // InternalOseeDsl.g:1659:1: (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) - { - // InternalOseeDsl.g:1659:1: (lv_overrideOptions_4_0= ruleAttributeOverrideOption ) - // InternalOseeDsl.g:1660:3: lv_overrideOptions_4_0= ruleAttributeOverrideOption - { - - newCompositeNode(grammarAccess.getXOseeArtifactTypeOverrideAccess().getOverrideOptionsAttributeOverrideOptionParserRuleCall_4_0()); - - pushFollow(FOLLOW_33); - lv_overrideOptions_4_0=ruleAttributeOverrideOption(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXOseeArtifactTypeOverrideRule()); - } - add( - current, - "overrideOptions", - lv_overrideOptions_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeOverrideOption"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - if ( cnt26 >= 1 ) break loop26; - EarlyExitException eee = - new EarlyExitException(26, input); - throw eee; - } - cnt26++; - } while (true); - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getXOseeArtifactTypeOverrideAccess().getRightCurlyBracketKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXOseeArtifactTypeOverride" - - - // $ANTLR start "entryRuleAttributeOverrideOption" - // InternalOseeDsl.g:1688:1: entryRuleAttributeOverrideOption returns [EObject current=null] : iv_ruleAttributeOverrideOption= ruleAttributeOverrideOption EOF ; - public final EObject entryRuleAttributeOverrideOption() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAttributeOverrideOption = null; - - - try { - // InternalOseeDsl.g:1689:2: (iv_ruleAttributeOverrideOption= ruleAttributeOverrideOption EOF ) - // InternalOseeDsl.g:1690:2: iv_ruleAttributeOverrideOption= ruleAttributeOverrideOption EOF - { - newCompositeNode(grammarAccess.getAttributeOverrideOptionRule()); - pushFollow(FOLLOW_1); - iv_ruleAttributeOverrideOption=ruleAttributeOverrideOption(); - - state._fsp--; - - current =iv_ruleAttributeOverrideOption; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAttributeOverrideOption" - - - // $ANTLR start "ruleAttributeOverrideOption" - // InternalOseeDsl.g:1697:1: ruleAttributeOverrideOption returns [EObject current=null] : (this_AddAttribute_0= ruleAddAttribute | this_RemoveAttribute_1= ruleRemoveAttribute | this_UpdateAttribute_2= ruleUpdateAttribute ) ; - public final EObject ruleAttributeOverrideOption() throws RecognitionException { - EObject current = null; - - EObject this_AddAttribute_0 = null; - - EObject this_RemoveAttribute_1 = null; - - EObject this_UpdateAttribute_2 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1700:28: ( (this_AddAttribute_0= ruleAddAttribute | this_RemoveAttribute_1= ruleRemoveAttribute | this_UpdateAttribute_2= ruleUpdateAttribute ) ) - // InternalOseeDsl.g:1701:1: (this_AddAttribute_0= ruleAddAttribute | this_RemoveAttribute_1= ruleRemoveAttribute | this_UpdateAttribute_2= ruleUpdateAttribute ) - { - // InternalOseeDsl.g:1701:1: (this_AddAttribute_0= ruleAddAttribute | this_RemoveAttribute_1= ruleRemoveAttribute | this_UpdateAttribute_2= ruleUpdateAttribute ) - int alt27=3; - switch ( input.LA(1) ) { - case 55: - { - alt27=1; - } - break; - case 56: - { - alt27=2; - } - break; - case 58: - { - alt27=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 27, 0, input); - - throw nvae; - } - - switch (alt27) { - case 1 : - // InternalOseeDsl.g:1702:5: this_AddAttribute_0= ruleAddAttribute - { - - newCompositeNode(grammarAccess.getAttributeOverrideOptionAccess().getAddAttributeParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_AddAttribute_0=ruleAddAttribute(); - - state._fsp--; - - - current = this_AddAttribute_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalOseeDsl.g:1712:5: this_RemoveAttribute_1= ruleRemoveAttribute - { - - newCompositeNode(grammarAccess.getAttributeOverrideOptionAccess().getRemoveAttributeParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_RemoveAttribute_1=ruleRemoveAttribute(); - - state._fsp--; - - - current = this_RemoveAttribute_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalOseeDsl.g:1722:5: this_UpdateAttribute_2= ruleUpdateAttribute - { - - newCompositeNode(grammarAccess.getAttributeOverrideOptionAccess().getUpdateAttributeParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_UpdateAttribute_2=ruleUpdateAttribute(); - - state._fsp--; - - - current = this_UpdateAttribute_2; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAttributeOverrideOption" - - - // $ANTLR start "entryRuleAddAttribute" - // InternalOseeDsl.g:1738:1: entryRuleAddAttribute returns [EObject current=null] : iv_ruleAddAttribute= ruleAddAttribute EOF ; - public final EObject entryRuleAddAttribute() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAddAttribute = null; - - - try { - // InternalOseeDsl.g:1739:2: (iv_ruleAddAttribute= ruleAddAttribute EOF ) - // InternalOseeDsl.g:1740:2: iv_ruleAddAttribute= ruleAddAttribute EOF - { - newCompositeNode(grammarAccess.getAddAttributeRule()); - pushFollow(FOLLOW_1); - iv_ruleAddAttribute=ruleAddAttribute(); - - state._fsp--; - - current =iv_ruleAddAttribute; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAddAttribute" - - - // $ANTLR start "ruleAddAttribute" - // InternalOseeDsl.g:1747:1: ruleAddAttribute returns [EObject current=null] : (otherlv_0= 'add' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) ; - public final EObject ruleAddAttribute() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_attribute_1_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1750:28: ( (otherlv_0= 'add' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) ) - // InternalOseeDsl.g:1751:1: (otherlv_0= 'add' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) - { - // InternalOseeDsl.g:1751:1: (otherlv_0= 'add' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) - // InternalOseeDsl.g:1751:3: otherlv_0= 'add' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) - { - otherlv_0=(Token)match(input,55,FOLLOW_34); - - newLeafNode(otherlv_0, grammarAccess.getAddAttributeAccess().getAddKeyword_0()); - - // InternalOseeDsl.g:1755:1: ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) - // InternalOseeDsl.g:1756:1: (lv_attribute_1_0= ruleXAttributeTypeRef ) - { - // InternalOseeDsl.g:1756:1: (lv_attribute_1_0= ruleXAttributeTypeRef ) - // InternalOseeDsl.g:1757:3: lv_attribute_1_0= ruleXAttributeTypeRef - { - - newCompositeNode(grammarAccess.getAddAttributeAccess().getAttributeXAttributeTypeRefParserRuleCall_1_0()); - - pushFollow(FOLLOW_2); - lv_attribute_1_0=ruleXAttributeTypeRef(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAddAttributeRule()); - } - set( - current, - "attribute", - lv_attribute_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAddAttribute" - - - // $ANTLR start "entryRuleRemoveAttribute" - // InternalOseeDsl.g:1781:1: entryRuleRemoveAttribute returns [EObject current=null] : iv_ruleRemoveAttribute= ruleRemoveAttribute EOF ; - public final EObject entryRuleRemoveAttribute() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRemoveAttribute = null; - - - try { - // InternalOseeDsl.g:1782:2: (iv_ruleRemoveAttribute= ruleRemoveAttribute EOF ) - // InternalOseeDsl.g:1783:2: iv_ruleRemoveAttribute= ruleRemoveAttribute EOF - { - newCompositeNode(grammarAccess.getRemoveAttributeRule()); - pushFollow(FOLLOW_1); - iv_ruleRemoveAttribute=ruleRemoveAttribute(); - - state._fsp--; - - current =iv_ruleRemoveAttribute; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRemoveAttribute" - - - // $ANTLR start "ruleRemoveAttribute" - // InternalOseeDsl.g:1790:1: ruleRemoveAttribute returns [EObject current=null] : (otherlv_0= 'remove' otherlv_1= 'attribute' ( (otherlv_2= RULE_STRING ) ) ) ; - public final EObject ruleRemoveAttribute() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - - enterRule(); - - try { - // InternalOseeDsl.g:1793:28: ( (otherlv_0= 'remove' otherlv_1= 'attribute' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:1794:1: (otherlv_0= 'remove' otherlv_1= 'attribute' ( (otherlv_2= RULE_STRING ) ) ) - { - // InternalOseeDsl.g:1794:1: (otherlv_0= 'remove' otherlv_1= 'attribute' ( (otherlv_2= RULE_STRING ) ) ) - // InternalOseeDsl.g:1794:3: otherlv_0= 'remove' otherlv_1= 'attribute' ( (otherlv_2= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,56,FOLLOW_34); - - newLeafNode(otherlv_0, grammarAccess.getRemoveAttributeAccess().getRemoveKeyword_0()); - - otherlv_1=(Token)match(input,21,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getRemoveAttributeAccess().getAttributeKeyword_1()); - - // InternalOseeDsl.g:1802:1: ( (otherlv_2= RULE_STRING ) ) - // InternalOseeDsl.g:1803:1: (otherlv_2= RULE_STRING ) - { - // InternalOseeDsl.g:1803:1: (otherlv_2= RULE_STRING ) - // InternalOseeDsl.g:1804:3: otherlv_2= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getRemoveAttributeRule()); - } - - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getRemoveAttributeAccess().getAttributeXAttributeTypeCrossReference_2_0()); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRemoveAttribute" - - - // $ANTLR start "entryRuleUpdateAttribute" - // InternalOseeDsl.g:1823:1: entryRuleUpdateAttribute returns [EObject current=null] : iv_ruleUpdateAttribute= ruleUpdateAttribute EOF ; - public final EObject entryRuleUpdateAttribute() throws RecognitionException { - EObject current = null; - - EObject iv_ruleUpdateAttribute = null; - - - try { - // InternalOseeDsl.g:1824:2: (iv_ruleUpdateAttribute= ruleUpdateAttribute EOF ) - // InternalOseeDsl.g:1825:2: iv_ruleUpdateAttribute= ruleUpdateAttribute EOF - { - newCompositeNode(grammarAccess.getUpdateAttributeRule()); - pushFollow(FOLLOW_1); - iv_ruleUpdateAttribute=ruleUpdateAttribute(); - - state._fsp--; - - current =iv_ruleUpdateAttribute; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleUpdateAttribute" - - - // $ANTLR start "ruleUpdateAttribute" - // InternalOseeDsl.g:1832:1: ruleUpdateAttribute returns [EObject current=null] : (otherlv_0= 'update' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) ; - public final EObject ruleUpdateAttribute() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_attribute_1_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1835:28: ( (otherlv_0= 'update' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) ) - // InternalOseeDsl.g:1836:1: (otherlv_0= 'update' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) - { - // InternalOseeDsl.g:1836:1: (otherlv_0= 'update' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) ) - // InternalOseeDsl.g:1836:3: otherlv_0= 'update' ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) - { - otherlv_0=(Token)match(input,58,FOLLOW_34); - - newLeafNode(otherlv_0, grammarAccess.getUpdateAttributeAccess().getUpdateKeyword_0()); - - // InternalOseeDsl.g:1840:1: ( (lv_attribute_1_0= ruleXAttributeTypeRef ) ) - // InternalOseeDsl.g:1841:1: (lv_attribute_1_0= ruleXAttributeTypeRef ) - { - // InternalOseeDsl.g:1841:1: (lv_attribute_1_0= ruleXAttributeTypeRef ) - // InternalOseeDsl.g:1842:3: lv_attribute_1_0= ruleXAttributeTypeRef - { - - newCompositeNode(grammarAccess.getUpdateAttributeAccess().getAttributeXAttributeTypeRefParserRuleCall_1_0()); - - pushFollow(FOLLOW_2); - lv_attribute_1_0=ruleXAttributeTypeRef(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getUpdateAttributeRule()); - } - set( - current, - "attribute", - lv_attribute_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleUpdateAttribute" - - - // $ANTLR start "entryRuleXRelationType" - // InternalOseeDsl.g:1866:1: entryRuleXRelationType returns [EObject current=null] : iv_ruleXRelationType= ruleXRelationType EOF ; - public final EObject entryRuleXRelationType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXRelationType = null; - - - try { - // InternalOseeDsl.g:1867:2: (iv_ruleXRelationType= ruleXRelationType EOF ) - // InternalOseeDsl.g:1868:2: iv_ruleXRelationType= ruleXRelationType EOF - { - newCompositeNode(grammarAccess.getXRelationTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleXRelationType=ruleXRelationType(); - - state._fsp--; - - current =iv_ruleXRelationType; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXRelationType" - - - // $ANTLR start "ruleXRelationType" - // InternalOseeDsl.g:1875:1: ruleXRelationType returns [EObject current=null] : (otherlv_0= 'relationType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( (otherlv_8= RULE_STRING ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( (otherlv_12= RULE_STRING ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) ; - public final EObject ruleXRelationType() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token lv_id_4_0=null; - Token otherlv_5=null; - Token lv_sideAName_6_0=null; - Token otherlv_7=null; - Token otherlv_8=null; - Token otherlv_9=null; - Token lv_sideBName_10_0=null; - Token otherlv_11=null; - Token otherlv_12=null; - Token otherlv_13=null; - Token otherlv_15=null; - Token otherlv_17=null; - AntlrDatatypeRuleToken lv_defaultOrderType_14_0 = null; - - Enumerator lv_multiplicity_16_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:1878:28: ( (otherlv_0= 'relationType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( (otherlv_8= RULE_STRING ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( (otherlv_12= RULE_STRING ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) ) - // InternalOseeDsl.g:1879:1: (otherlv_0= 'relationType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( (otherlv_8= RULE_STRING ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( (otherlv_12= RULE_STRING ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) - { - // InternalOseeDsl.g:1879:1: (otherlv_0= 'relationType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( (otherlv_8= RULE_STRING ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( (otherlv_12= RULE_STRING ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) - // InternalOseeDsl.g:1879:3: otherlv_0= 'relationType' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= '{' otherlv_3= 'id' ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( (otherlv_8= RULE_STRING ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( (otherlv_12= RULE_STRING ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' - { - otherlv_0=(Token)match(input,59,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0()); - - // InternalOseeDsl.g:1883:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:1884:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:1884:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:1885:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(lv_name_1_0, grammarAccess.getXRelationTypeAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_12); - - newLeafNode(otherlv_2, grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2()); - - otherlv_3=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_3, grammarAccess.getXRelationTypeAccess().getIdKeyword_3()); - - // InternalOseeDsl.g:1909:1: ( (lv_id_4_0= RULE_WHOLE_NUM_STR ) ) - // InternalOseeDsl.g:1910:1: (lv_id_4_0= RULE_WHOLE_NUM_STR ) - { - // InternalOseeDsl.g:1910:1: (lv_id_4_0= RULE_WHOLE_NUM_STR ) - // InternalOseeDsl.g:1911:3: lv_id_4_0= RULE_WHOLE_NUM_STR - { - lv_id_4_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_35); - - newLeafNode(lv_id_4_0, grammarAccess.getXRelationTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_4_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - current, - "id", - lv_id_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - - - } - - - } - - otherlv_5=(Token)match(input,60,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5()); - - // InternalOseeDsl.g:1931:1: ( (lv_sideAName_6_0= RULE_STRING ) ) - // InternalOseeDsl.g:1932:1: (lv_sideAName_6_0= RULE_STRING ) - { - // InternalOseeDsl.g:1932:1: (lv_sideAName_6_0= RULE_STRING ) - // InternalOseeDsl.g:1933:3: lv_sideAName_6_0= RULE_STRING - { - lv_sideAName_6_0=(Token)match(input,RULE_STRING,FOLLOW_36); - - newLeafNode(lv_sideAName_6_0, grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - current, - "sideAName", - lv_sideAName_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_7=(Token)match(input,61,FOLLOW_6); - - newLeafNode(otherlv_7, grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7()); - - // InternalOseeDsl.g:1953:1: ( (otherlv_8= RULE_STRING ) ) - // InternalOseeDsl.g:1954:1: (otherlv_8= RULE_STRING ) - { - // InternalOseeDsl.g:1954:1: (otherlv_8= RULE_STRING ) - // InternalOseeDsl.g:1955:3: otherlv_8= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - - otherlv_8=(Token)match(input,RULE_STRING,FOLLOW_37); - - newLeafNode(otherlv_8, grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0()); - - - } - - - } - - otherlv_9=(Token)match(input,62,FOLLOW_6); - - newLeafNode(otherlv_9, grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9()); - - // InternalOseeDsl.g:1970:1: ( (lv_sideBName_10_0= RULE_STRING ) ) - // InternalOseeDsl.g:1971:1: (lv_sideBName_10_0= RULE_STRING ) - { - // InternalOseeDsl.g:1971:1: (lv_sideBName_10_0= RULE_STRING ) - // InternalOseeDsl.g:1972:3: lv_sideBName_10_0= RULE_STRING - { - lv_sideBName_10_0=(Token)match(input,RULE_STRING,FOLLOW_38); - - newLeafNode(lv_sideBName_10_0, grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - setWithLastConsumed( - current, - "sideBName", - lv_sideBName_10_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_11=(Token)match(input,63,FOLLOW_6); - - newLeafNode(otherlv_11, grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11()); - - // InternalOseeDsl.g:1992:1: ( (otherlv_12= RULE_STRING ) ) - // InternalOseeDsl.g:1993:1: (otherlv_12= RULE_STRING ) - { - // InternalOseeDsl.g:1993:1: (otherlv_12= RULE_STRING ) - // InternalOseeDsl.g:1994:3: otherlv_12= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getXRelationTypeRule()); - } - - otherlv_12=(Token)match(input,RULE_STRING,FOLLOW_39); - - newLeafNode(otherlv_12, grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0()); - - - } - - - } - - otherlv_13=(Token)match(input,64,FOLLOW_40); - - newLeafNode(otherlv_13, grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13()); - - // InternalOseeDsl.g:2009:1: ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) - // InternalOseeDsl.g:2010:1: (lv_defaultOrderType_14_0= ruleRelationOrderType ) - { - // InternalOseeDsl.g:2010:1: (lv_defaultOrderType_14_0= ruleRelationOrderType ) - // InternalOseeDsl.g:2011:3: lv_defaultOrderType_14_0= ruleRelationOrderType - { - - newCompositeNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0()); - - pushFollow(FOLLOW_41); - lv_defaultOrderType_14_0=ruleRelationOrderType(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); - } - set( - current, - "defaultOrderType", - lv_defaultOrderType_14_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationOrderType"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_15=(Token)match(input,65,FOLLOW_42); - - newLeafNode(otherlv_15, grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15()); - - // InternalOseeDsl.g:2031:1: ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) - // InternalOseeDsl.g:2032:1: (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) - { - // InternalOseeDsl.g:2032:1: (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) - // InternalOseeDsl.g:2033:3: lv_multiplicity_16_0= ruleRelationMultiplicityEnum - { - - newCompositeNode(grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0()); - - pushFollow(FOLLOW_43); - lv_multiplicity_16_0=ruleRelationMultiplicityEnum(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); - } - set( - current, - "multiplicity", - lv_multiplicity_16_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationMultiplicityEnum"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_17=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_17, grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXRelationType" - - - // $ANTLR start "entryRuleRelationOrderType" - // InternalOseeDsl.g:2061:1: entryRuleRelationOrderType returns [String current=null] : iv_ruleRelationOrderType= ruleRelationOrderType EOF ; - public final String entryRuleRelationOrderType() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleRelationOrderType = null; - - - try { - // InternalOseeDsl.g:2062:2: (iv_ruleRelationOrderType= ruleRelationOrderType EOF ) - // InternalOseeDsl.g:2063:2: iv_ruleRelationOrderType= ruleRelationOrderType EOF - { - newCompositeNode(grammarAccess.getRelationOrderTypeRule()); - pushFollow(FOLLOW_1); - iv_ruleRelationOrderType=ruleRelationOrderType(); - - state._fsp--; - - current =iv_ruleRelationOrderType.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRelationOrderType" - - - // $ANTLR start "ruleRelationOrderType" - // InternalOseeDsl.g:2070:1: ruleRelationOrderType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) ; - public final AntlrDatatypeRuleToken ruleRelationOrderType() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - Token this_ID_3=null; - - enterRule(); - - try { - // InternalOseeDsl.g:2073:28: ( (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) ) - // InternalOseeDsl.g:2074:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) - { - // InternalOseeDsl.g:2074:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) - int alt28=4; - switch ( input.LA(1) ) { - case 66: - { - alt28=1; - } - break; - case 67: - { - alt28=2; - } - break; - case 68: - { - alt28=3; - } - break; - case RULE_ID: - { - alt28=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 28, 0, input); - - throw nvae; - } - - switch (alt28) { - case 1 : - // InternalOseeDsl.g:2075:2: kw= 'Lexicographical_Ascending' - { - kw=(Token)match(input,66,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_AscendingKeyword_0()); - - - } - break; - case 2 : - // InternalOseeDsl.g:2082:2: kw= 'Lexicographical_Descending' - { - kw=(Token)match(input,67,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_DescendingKeyword_1()); - - - } - break; - case 3 : - // InternalOseeDsl.g:2089:2: kw= 'Unordered' - { - kw=(Token)match(input,68,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2()); - - - } - break; - case 4 : - // InternalOseeDsl.g:2095:10: this_ID_3= RULE_ID - { - this_ID_3=(Token)match(input,RULE_ID,FOLLOW_2); - - current.merge(this_ID_3); - - - newLeafNode(this_ID_3, grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3()); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationOrderType" - - - // $ANTLR start "entryRuleCondition" - // InternalOseeDsl.g:2112:1: entryRuleCondition returns [EObject current=null] : iv_ruleCondition= ruleCondition EOF ; - public final EObject entryRuleCondition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCondition = null; - - - try { - // InternalOseeDsl.g:2113:2: (iv_ruleCondition= ruleCondition EOF ) - // InternalOseeDsl.g:2114:2: iv_ruleCondition= ruleCondition EOF - { - newCompositeNode(grammarAccess.getConditionRule()); - pushFollow(FOLLOW_1); - iv_ruleCondition=ruleCondition(); - - state._fsp--; - - current =iv_ruleCondition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCondition" - - - // $ANTLR start "ruleCondition" - // InternalOseeDsl.g:2121:1: ruleCondition returns [EObject current=null] : (this_SimpleCondition_0= ruleSimpleCondition | this_CompoundCondition_1= ruleCompoundCondition ) ; - public final EObject ruleCondition() throws RecognitionException { - EObject current = null; - - EObject this_SimpleCondition_0 = null; - - EObject this_CompoundCondition_1 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2124:28: ( (this_SimpleCondition_0= ruleSimpleCondition | this_CompoundCondition_1= ruleCompoundCondition ) ) - // InternalOseeDsl.g:2125:1: (this_SimpleCondition_0= ruleSimpleCondition | this_CompoundCondition_1= ruleCompoundCondition ) - { - // InternalOseeDsl.g:2125:1: (this_SimpleCondition_0= ruleSimpleCondition | this_CompoundCondition_1= ruleCompoundCondition ) - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==22||(LA29_0>=89 && LA29_0<=91)) ) { - alt29=1; - } - else if ( (LA29_0==69) ) { - alt29=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 29, 0, input); - - throw nvae; - } - switch (alt29) { - case 1 : - // InternalOseeDsl.g:2126:5: this_SimpleCondition_0= ruleSimpleCondition - { - - newCompositeNode(grammarAccess.getConditionAccess().getSimpleConditionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_SimpleCondition_0=ruleSimpleCondition(); - - state._fsp--; - - - current = this_SimpleCondition_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalOseeDsl.g:2136:5: this_CompoundCondition_1= ruleCompoundCondition - { - - newCompositeNode(grammarAccess.getConditionAccess().getCompoundConditionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_CompoundCondition_1=ruleCompoundCondition(); - - state._fsp--; - - - current = this_CompoundCondition_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCondition" - - - // $ANTLR start "entryRuleSimpleCondition" - // InternalOseeDsl.g:2152:1: entryRuleSimpleCondition returns [EObject current=null] : iv_ruleSimpleCondition= ruleSimpleCondition EOF ; - public final EObject entryRuleSimpleCondition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSimpleCondition = null; - - - try { - // InternalOseeDsl.g:2153:2: (iv_ruleSimpleCondition= ruleSimpleCondition EOF ) - // InternalOseeDsl.g:2154:2: iv_ruleSimpleCondition= ruleSimpleCondition EOF - { - newCompositeNode(grammarAccess.getSimpleConditionRule()); - pushFollow(FOLLOW_1); - iv_ruleSimpleCondition=ruleSimpleCondition(); - - state._fsp--; - - current =iv_ruleSimpleCondition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSimpleCondition" - - - // $ANTLR start "ruleSimpleCondition" - // InternalOseeDsl.g:2161:1: ruleSimpleCondition returns [EObject current=null] : ( ( (lv_field_0_0= ruleMatchField ) ) ( (lv_op_1_0= ruleCompareOp ) ) ( (lv_expression_2_0= RULE_STRING ) ) ) ; - public final EObject ruleSimpleCondition() throws RecognitionException { - EObject current = null; - - Token lv_expression_2_0=null; - Enumerator lv_field_0_0 = null; - - Enumerator lv_op_1_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2164:28: ( ( ( (lv_field_0_0= ruleMatchField ) ) ( (lv_op_1_0= ruleCompareOp ) ) ( (lv_expression_2_0= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:2165:1: ( ( (lv_field_0_0= ruleMatchField ) ) ( (lv_op_1_0= ruleCompareOp ) ) ( (lv_expression_2_0= RULE_STRING ) ) ) - { - // InternalOseeDsl.g:2165:1: ( ( (lv_field_0_0= ruleMatchField ) ) ( (lv_op_1_0= ruleCompareOp ) ) ( (lv_expression_2_0= RULE_STRING ) ) ) - // InternalOseeDsl.g:2165:2: ( (lv_field_0_0= ruleMatchField ) ) ( (lv_op_1_0= ruleCompareOp ) ) ( (lv_expression_2_0= RULE_STRING ) ) - { - // InternalOseeDsl.g:2165:2: ( (lv_field_0_0= ruleMatchField ) ) - // InternalOseeDsl.g:2166:1: (lv_field_0_0= ruleMatchField ) - { - // InternalOseeDsl.g:2166:1: (lv_field_0_0= ruleMatchField ) - // InternalOseeDsl.g:2167:3: lv_field_0_0= ruleMatchField - { - - newCompositeNode(grammarAccess.getSimpleConditionAccess().getFieldMatchFieldEnumRuleCall_0_0()); - - pushFollow(FOLLOW_44); - lv_field_0_0=ruleMatchField(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSimpleConditionRule()); - } - set( - current, - "field", - lv_field_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.MatchField"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:2183:2: ( (lv_op_1_0= ruleCompareOp ) ) - // InternalOseeDsl.g:2184:1: (lv_op_1_0= ruleCompareOp ) - { - // InternalOseeDsl.g:2184:1: (lv_op_1_0= ruleCompareOp ) - // InternalOseeDsl.g:2185:3: lv_op_1_0= ruleCompareOp - { - - newCompositeNode(grammarAccess.getSimpleConditionAccess().getOpCompareOpEnumRuleCall_1_0()); - - pushFollow(FOLLOW_6); - lv_op_1_0=ruleCompareOp(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSimpleConditionRule()); - } - set( - current, - "op", - lv_op_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.CompareOp"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:2201:2: ( (lv_expression_2_0= RULE_STRING ) ) - // InternalOseeDsl.g:2202:1: (lv_expression_2_0= RULE_STRING ) - { - // InternalOseeDsl.g:2202:1: (lv_expression_2_0= RULE_STRING ) - // InternalOseeDsl.g:2203:3: lv_expression_2_0= RULE_STRING - { - lv_expression_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(lv_expression_2_0, grammarAccess.getSimpleConditionAccess().getExpressionSTRINGTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getSimpleConditionRule()); - } - setWithLastConsumed( - current, - "expression", - lv_expression_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSimpleCondition" - - - // $ANTLR start "entryRuleCompoundCondition" - // InternalOseeDsl.g:2227:1: entryRuleCompoundCondition returns [EObject current=null] : iv_ruleCompoundCondition= ruleCompoundCondition EOF ; - public final EObject entryRuleCompoundCondition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCompoundCondition = null; - - - try { - // InternalOseeDsl.g:2228:2: (iv_ruleCompoundCondition= ruleCompoundCondition EOF ) - // InternalOseeDsl.g:2229:2: iv_ruleCompoundCondition= ruleCompoundCondition EOF - { - newCompositeNode(grammarAccess.getCompoundConditionRule()); - pushFollow(FOLLOW_1); - iv_ruleCompoundCondition=ruleCompoundCondition(); - - state._fsp--; - - current =iv_ruleCompoundCondition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCompoundCondition" - - - // $ANTLR start "ruleCompoundCondition" - // InternalOseeDsl.g:2236:1: ruleCompoundCondition returns [EObject current=null] : (otherlv_0= '(' ( (lv_conditions_1_0= ruleSimpleCondition ) ) ( ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) )+ otherlv_4= ')' ) ; - public final EObject ruleCompoundCondition() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_4=null; - EObject lv_conditions_1_0 = null; - - Enumerator lv_operators_2_0 = null; - - EObject lv_conditions_3_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2239:28: ( (otherlv_0= '(' ( (lv_conditions_1_0= ruleSimpleCondition ) ) ( ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) )+ otherlv_4= ')' ) ) - // InternalOseeDsl.g:2240:1: (otherlv_0= '(' ( (lv_conditions_1_0= ruleSimpleCondition ) ) ( ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) )+ otherlv_4= ')' ) - { - // InternalOseeDsl.g:2240:1: (otherlv_0= '(' ( (lv_conditions_1_0= ruleSimpleCondition ) ) ( ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) )+ otherlv_4= ')' ) - // InternalOseeDsl.g:2240:3: otherlv_0= '(' ( (lv_conditions_1_0= ruleSimpleCondition ) ) ( ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) )+ otherlv_4= ')' - { - otherlv_0=(Token)match(input,69,FOLLOW_45); - - newLeafNode(otherlv_0, grammarAccess.getCompoundConditionAccess().getLeftParenthesisKeyword_0()); - - // InternalOseeDsl.g:2244:1: ( (lv_conditions_1_0= ruleSimpleCondition ) ) - // InternalOseeDsl.g:2245:1: (lv_conditions_1_0= ruleSimpleCondition ) - { - // InternalOseeDsl.g:2245:1: (lv_conditions_1_0= ruleSimpleCondition ) - // InternalOseeDsl.g:2246:3: lv_conditions_1_0= ruleSimpleCondition - { - - newCompositeNode(grammarAccess.getCompoundConditionAccess().getConditionsSimpleConditionParserRuleCall_1_0()); - - pushFollow(FOLLOW_46); - lv_conditions_1_0=ruleSimpleCondition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCompoundConditionRule()); - } - add( - current, - "conditions", - lv_conditions_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.SimpleCondition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:2262:2: ( ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) )+ - int cnt30=0; - loop30: - do { - int alt30=2; - int LA30_0 = input.LA(1); - - if ( ((LA30_0>=87 && LA30_0<=88)) ) { - alt30=1; - } - - - switch (alt30) { - case 1 : - // InternalOseeDsl.g:2262:3: ( (lv_operators_2_0= ruleXLogicOperator ) ) ( (lv_conditions_3_0= ruleSimpleCondition ) ) - { - // InternalOseeDsl.g:2262:3: ( (lv_operators_2_0= ruleXLogicOperator ) ) - // InternalOseeDsl.g:2263:1: (lv_operators_2_0= ruleXLogicOperator ) - { - // InternalOseeDsl.g:2263:1: (lv_operators_2_0= ruleXLogicOperator ) - // InternalOseeDsl.g:2264:3: lv_operators_2_0= ruleXLogicOperator - { - - newCompositeNode(grammarAccess.getCompoundConditionAccess().getOperatorsXLogicOperatorEnumRuleCall_2_0_0()); - - pushFollow(FOLLOW_45); - lv_operators_2_0=ruleXLogicOperator(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCompoundConditionRule()); - } - add( - current, - "operators", - lv_operators_2_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XLogicOperator"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:2280:2: ( (lv_conditions_3_0= ruleSimpleCondition ) ) - // InternalOseeDsl.g:2281:1: (lv_conditions_3_0= ruleSimpleCondition ) - { - // InternalOseeDsl.g:2281:1: (lv_conditions_3_0= ruleSimpleCondition ) - // InternalOseeDsl.g:2282:3: lv_conditions_3_0= ruleSimpleCondition - { - - newCompositeNode(grammarAccess.getCompoundConditionAccess().getConditionsSimpleConditionParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_47); - lv_conditions_3_0=ruleSimpleCondition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCompoundConditionRule()); - } - add( - current, - "conditions", - lv_conditions_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.SimpleCondition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - if ( cnt30 >= 1 ) break loop30; - EarlyExitException eee = - new EarlyExitException(30, input); - throw eee; - } - cnt30++; - } while (true); - - otherlv_4=(Token)match(input,70,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getCompoundConditionAccess().getRightParenthesisKeyword_3()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCompoundCondition" - - - // $ANTLR start "entryRuleXArtifactMatcher" - // InternalOseeDsl.g:2310:1: entryRuleXArtifactMatcher returns [EObject current=null] : iv_ruleXArtifactMatcher= ruleXArtifactMatcher EOF ; - public final EObject entryRuleXArtifactMatcher() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXArtifactMatcher = null; - - - try { - // InternalOseeDsl.g:2311:2: (iv_ruleXArtifactMatcher= ruleXArtifactMatcher EOF ) - // InternalOseeDsl.g:2312:2: iv_ruleXArtifactMatcher= ruleXArtifactMatcher EOF - { - newCompositeNode(grammarAccess.getXArtifactMatcherRule()); - pushFollow(FOLLOW_1); - iv_ruleXArtifactMatcher=ruleXArtifactMatcher(); - - state._fsp--; - - current =iv_ruleXArtifactMatcher; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXArtifactMatcher" - - - // $ANTLR start "ruleXArtifactMatcher" - // InternalOseeDsl.g:2319:1: ruleXArtifactMatcher returns [EObject current=null] : (otherlv_0= 'artifactMatcher' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= 'where' ( (lv_conditions_3_0= ruleCondition ) ) ( ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) )* otherlv_6= ';' ) ; - public final EObject ruleXArtifactMatcher() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - Token otherlv_6=null; - EObject lv_conditions_3_0 = null; - - Enumerator lv_operators_4_0 = null; - - EObject lv_conditions_5_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2322:28: ( (otherlv_0= 'artifactMatcher' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= 'where' ( (lv_conditions_3_0= ruleCondition ) ) ( ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) )* otherlv_6= ';' ) ) - // InternalOseeDsl.g:2323:1: (otherlv_0= 'artifactMatcher' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= 'where' ( (lv_conditions_3_0= ruleCondition ) ) ( ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) )* otherlv_6= ';' ) - { - // InternalOseeDsl.g:2323:1: (otherlv_0= 'artifactMatcher' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= 'where' ( (lv_conditions_3_0= ruleCondition ) ) ( ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) )* otherlv_6= ';' ) - // InternalOseeDsl.g:2323:3: otherlv_0= 'artifactMatcher' ( (lv_name_1_0= RULE_STRING ) ) otherlv_2= 'where' ( (lv_conditions_3_0= ruleCondition ) ) ( ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) )* otherlv_6= ';' - { - otherlv_0=(Token)match(input,71,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getXArtifactMatcherAccess().getArtifactMatcherKeyword_0()); - - // InternalOseeDsl.g:2327:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:2328:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:2328:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:2329:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_48); - - newLeafNode(lv_name_1_0, grammarAccess.getXArtifactMatcherAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getXArtifactMatcherRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_2=(Token)match(input,72,FOLLOW_49); - - newLeafNode(otherlv_2, grammarAccess.getXArtifactMatcherAccess().getWhereKeyword_2()); - - // InternalOseeDsl.g:2349:1: ( (lv_conditions_3_0= ruleCondition ) ) - // InternalOseeDsl.g:2350:1: (lv_conditions_3_0= ruleCondition ) - { - // InternalOseeDsl.g:2350:1: (lv_conditions_3_0= ruleCondition ) - // InternalOseeDsl.g:2351:3: lv_conditions_3_0= ruleCondition - { - - newCompositeNode(grammarAccess.getXArtifactMatcherAccess().getConditionsConditionParserRuleCall_3_0()); - - pushFollow(FOLLOW_50); - lv_conditions_3_0=ruleCondition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXArtifactMatcherRule()); - } - add( - current, - "conditions", - lv_conditions_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Condition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:2367:2: ( ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) )* - loop31: - do { - int alt31=2; - int LA31_0 = input.LA(1); - - if ( ((LA31_0>=87 && LA31_0<=88)) ) { - alt31=1; - } - - - switch (alt31) { - case 1 : - // InternalOseeDsl.g:2367:3: ( (lv_operators_4_0= ruleXLogicOperator ) ) ( (lv_conditions_5_0= ruleCondition ) ) - { - // InternalOseeDsl.g:2367:3: ( (lv_operators_4_0= ruleXLogicOperator ) ) - // InternalOseeDsl.g:2368:1: (lv_operators_4_0= ruleXLogicOperator ) - { - // InternalOseeDsl.g:2368:1: (lv_operators_4_0= ruleXLogicOperator ) - // InternalOseeDsl.g:2369:3: lv_operators_4_0= ruleXLogicOperator - { - - newCompositeNode(grammarAccess.getXArtifactMatcherAccess().getOperatorsXLogicOperatorEnumRuleCall_4_0_0()); - - pushFollow(FOLLOW_49); - lv_operators_4_0=ruleXLogicOperator(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXArtifactMatcherRule()); - } - add( - current, - "operators", - lv_operators_4_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XLogicOperator"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:2385:2: ( (lv_conditions_5_0= ruleCondition ) ) - // InternalOseeDsl.g:2386:1: (lv_conditions_5_0= ruleCondition ) - { - // InternalOseeDsl.g:2386:1: (lv_conditions_5_0= ruleCondition ) - // InternalOseeDsl.g:2387:3: lv_conditions_5_0= ruleCondition - { - - newCompositeNode(grammarAccess.getXArtifactMatcherAccess().getConditionsConditionParserRuleCall_4_1_0()); - - pushFollow(FOLLOW_50); - lv_conditions_5_0=ruleCondition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXArtifactMatcherRule()); - } - add( - current, - "conditions", - lv_conditions_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.Condition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop31; - } - } while (true); - - otherlv_6=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_6, grammarAccess.getXArtifactMatcherAccess().getSemicolonKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXArtifactMatcher" - - - // $ANTLR start "entryRuleRole" - // InternalOseeDsl.g:2415:1: entryRuleRole returns [EObject current=null] : iv_ruleRole= ruleRole EOF ; - public final EObject entryRuleRole() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRole = null; - - - try { - // InternalOseeDsl.g:2416:2: (iv_ruleRole= ruleRole EOF ) - // InternalOseeDsl.g:2417:2: iv_ruleRole= ruleRole EOF - { - newCompositeNode(grammarAccess.getRoleRule()); - pushFollow(FOLLOW_1); - iv_ruleRole=ruleRole(); - - state._fsp--; - - current =iv_ruleRole; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRole" - - - // $ANTLR start "ruleRole" - // InternalOseeDsl.g:2424:1: ruleRole returns [EObject current=null] : (otherlv_0= 'role' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' ( ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) | ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) )+ otherlv_7= '}' ) ; - public final EObject ruleRole() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - Token otherlv_7=null; - EObject lv_usersAndGroups_5_0 = null; - - EObject lv_referencedContexts_6_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2427:28: ( (otherlv_0= 'role' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' ( ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) | ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) )+ otherlv_7= '}' ) ) - // InternalOseeDsl.g:2428:1: (otherlv_0= 'role' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' ( ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) | ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) )+ otherlv_7= '}' ) - { - // InternalOseeDsl.g:2428:1: (otherlv_0= 'role' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' ( ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) | ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) )+ otherlv_7= '}' ) - // InternalOseeDsl.g:2428:3: otherlv_0= 'role' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' ( ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) | ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) )+ otherlv_7= '}' - { - otherlv_0=(Token)match(input,74,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getRoleAccess().getRoleKeyword_0()); - - // InternalOseeDsl.g:2432:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:2433:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:2433:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:2434:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_10); - - newLeafNode(lv_name_1_0, grammarAccess.getRoleAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getRoleRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - // InternalOseeDsl.g:2450:2: (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==16) ) { - alt32=1; - } - switch (alt32) { - case 1 : - // InternalOseeDsl.g:2450:4: otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) - { - otherlv_2=(Token)match(input,16,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getRoleAccess().getExtendsKeyword_2_0()); - - // InternalOseeDsl.g:2454:1: ( (otherlv_3= RULE_STRING ) ) - // InternalOseeDsl.g:2455:1: (otherlv_3= RULE_STRING ) - { - // InternalOseeDsl.g:2455:1: (otherlv_3= RULE_STRING ) - // InternalOseeDsl.g:2456:3: otherlv_3= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getRoleRule()); - } - - otherlv_3=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(otherlv_3, grammarAccess.getRoleAccess().getSuperRolesRoleCrossReference_2_1_0()); - - - } - - - } - - - } - break; - - } - - otherlv_4=(Token)match(input,18,FOLLOW_51); - - newLeafNode(otherlv_4, grammarAccess.getRoleAccess().getLeftCurlyBracketKeyword_3()); - - // InternalOseeDsl.g:2471:1: ( ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) | ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) )+ - int cnt33=0; - loop33: - do { - int alt33=3; - int LA33_0 = input.LA(1); - - if ( (LA33_0==76) ) { - alt33=1; - } - else if ( (LA33_0==75) ) { - alt33=2; - } - - - switch (alt33) { - case 1 : - // InternalOseeDsl.g:2471:2: ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) - { - // InternalOseeDsl.g:2471:2: ( (lv_usersAndGroups_5_0= ruleUsersAndGroups ) ) - // InternalOseeDsl.g:2472:1: (lv_usersAndGroups_5_0= ruleUsersAndGroups ) - { - // InternalOseeDsl.g:2472:1: (lv_usersAndGroups_5_0= ruleUsersAndGroups ) - // InternalOseeDsl.g:2473:3: lv_usersAndGroups_5_0= ruleUsersAndGroups - { - - newCompositeNode(grammarAccess.getRoleAccess().getUsersAndGroupsUsersAndGroupsParserRuleCall_4_0_0()); - - pushFollow(FOLLOW_52); - lv_usersAndGroups_5_0=ruleUsersAndGroups(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRoleRule()); - } - add( - current, - "usersAndGroups", - lv_usersAndGroups_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.UsersAndGroups"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:2490:6: ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) - { - // InternalOseeDsl.g:2490:6: ( (lv_referencedContexts_6_0= ruleReferencedContext ) ) - // InternalOseeDsl.g:2491:1: (lv_referencedContexts_6_0= ruleReferencedContext ) - { - // InternalOseeDsl.g:2491:1: (lv_referencedContexts_6_0= ruleReferencedContext ) - // InternalOseeDsl.g:2492:3: lv_referencedContexts_6_0= ruleReferencedContext - { - - newCompositeNode(grammarAccess.getRoleAccess().getReferencedContextsReferencedContextParserRuleCall_4_1_0()); - - pushFollow(FOLLOW_52); - lv_referencedContexts_6_0=ruleReferencedContext(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRoleRule()); - } - add( - current, - "referencedContexts", - lv_referencedContexts_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.ReferencedContext"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - if ( cnt33 >= 1 ) break loop33; - EarlyExitException eee = - new EarlyExitException(33, input); - throw eee; - } - cnt33++; - } while (true); - - otherlv_7=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_7, grammarAccess.getRoleAccess().getRightCurlyBracketKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRole" - - - // $ANTLR start "entryRuleReferencedContext" - // InternalOseeDsl.g:2520:1: entryRuleReferencedContext returns [EObject current=null] : iv_ruleReferencedContext= ruleReferencedContext EOF ; - public final EObject entryRuleReferencedContext() throws RecognitionException { - EObject current = null; - - EObject iv_ruleReferencedContext = null; - - - try { - // InternalOseeDsl.g:2521:2: (iv_ruleReferencedContext= ruleReferencedContext EOF ) - // InternalOseeDsl.g:2522:2: iv_ruleReferencedContext= ruleReferencedContext EOF - { - newCompositeNode(grammarAccess.getReferencedContextRule()); - pushFollow(FOLLOW_1); - iv_ruleReferencedContext=ruleReferencedContext(); - - state._fsp--; - - current =iv_ruleReferencedContext; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleReferencedContext" - - - // $ANTLR start "ruleReferencedContext" - // InternalOseeDsl.g:2529:1: ruleReferencedContext returns [EObject current=null] : (otherlv_0= 'accessContext' ( (lv_accessContextRef_1_0= RULE_STRING ) ) otherlv_2= ';' ) ; - public final EObject ruleReferencedContext() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_accessContextRef_1_0=null; - Token otherlv_2=null; - - enterRule(); - - try { - // InternalOseeDsl.g:2532:28: ( (otherlv_0= 'accessContext' ( (lv_accessContextRef_1_0= RULE_STRING ) ) otherlv_2= ';' ) ) - // InternalOseeDsl.g:2533:1: (otherlv_0= 'accessContext' ( (lv_accessContextRef_1_0= RULE_STRING ) ) otherlv_2= ';' ) - { - // InternalOseeDsl.g:2533:1: (otherlv_0= 'accessContext' ( (lv_accessContextRef_1_0= RULE_STRING ) ) otherlv_2= ';' ) - // InternalOseeDsl.g:2533:3: otherlv_0= 'accessContext' ( (lv_accessContextRef_1_0= RULE_STRING ) ) otherlv_2= ';' - { - otherlv_0=(Token)match(input,75,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getReferencedContextAccess().getAccessContextKeyword_0()); - - // InternalOseeDsl.g:2537:1: ( (lv_accessContextRef_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:2538:1: (lv_accessContextRef_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:2538:1: (lv_accessContextRef_1_0= RULE_STRING ) - // InternalOseeDsl.g:2539:3: lv_accessContextRef_1_0= RULE_STRING - { - lv_accessContextRef_1_0=(Token)match(input,RULE_STRING,FOLLOW_53); - - newLeafNode(lv_accessContextRef_1_0, grammarAccess.getReferencedContextAccess().getAccessContextRefSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getReferencedContextRule()); - } - setWithLastConsumed( - current, - "accessContextRef", - lv_accessContextRef_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_2=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getReferencedContextAccess().getSemicolonKeyword_2()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleReferencedContext" - - - // $ANTLR start "entryRuleUsersAndGroups" - // InternalOseeDsl.g:2567:1: entryRuleUsersAndGroups returns [EObject current=null] : iv_ruleUsersAndGroups= ruleUsersAndGroups EOF ; - public final EObject entryRuleUsersAndGroups() throws RecognitionException { - EObject current = null; - - EObject iv_ruleUsersAndGroups = null; - - - try { - // InternalOseeDsl.g:2568:2: (iv_ruleUsersAndGroups= ruleUsersAndGroups EOF ) - // InternalOseeDsl.g:2569:2: iv_ruleUsersAndGroups= ruleUsersAndGroups EOF - { - newCompositeNode(grammarAccess.getUsersAndGroupsRule()); - pushFollow(FOLLOW_1); - iv_ruleUsersAndGroups=ruleUsersAndGroups(); - - state._fsp--; - - current =iv_ruleUsersAndGroups; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleUsersAndGroups" - - - // $ANTLR start "ruleUsersAndGroups" - // InternalOseeDsl.g:2576:1: ruleUsersAndGroups returns [EObject current=null] : (otherlv_0= 'guid' ( (lv_userOrGroupGuid_1_0= RULE_STRING ) ) otherlv_2= ';' ) ; - public final EObject ruleUsersAndGroups() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_userOrGroupGuid_1_0=null; - Token otherlv_2=null; - - enterRule(); - - try { - // InternalOseeDsl.g:2579:28: ( (otherlv_0= 'guid' ( (lv_userOrGroupGuid_1_0= RULE_STRING ) ) otherlv_2= ';' ) ) - // InternalOseeDsl.g:2580:1: (otherlv_0= 'guid' ( (lv_userOrGroupGuid_1_0= RULE_STRING ) ) otherlv_2= ';' ) - { - // InternalOseeDsl.g:2580:1: (otherlv_0= 'guid' ( (lv_userOrGroupGuid_1_0= RULE_STRING ) ) otherlv_2= ';' ) - // InternalOseeDsl.g:2580:3: otherlv_0= 'guid' ( (lv_userOrGroupGuid_1_0= RULE_STRING ) ) otherlv_2= ';' - { - otherlv_0=(Token)match(input,76,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getUsersAndGroupsAccess().getGuidKeyword_0()); - - // InternalOseeDsl.g:2584:1: ( (lv_userOrGroupGuid_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:2585:1: (lv_userOrGroupGuid_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:2585:1: (lv_userOrGroupGuid_1_0= RULE_STRING ) - // InternalOseeDsl.g:2586:3: lv_userOrGroupGuid_1_0= RULE_STRING - { - lv_userOrGroupGuid_1_0=(Token)match(input,RULE_STRING,FOLLOW_53); - - newLeafNode(lv_userOrGroupGuid_1_0, grammarAccess.getUsersAndGroupsAccess().getUserOrGroupGuidSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getUsersAndGroupsRule()); - } - setWithLastConsumed( - current, - "userOrGroupGuid", - lv_userOrGroupGuid_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_2=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getUsersAndGroupsAccess().getSemicolonKeyword_2()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleUsersAndGroups" - - - // $ANTLR start "entryRuleAccessContext" - // InternalOseeDsl.g:2614:1: entryRuleAccessContext returns [EObject current=null] : iv_ruleAccessContext= ruleAccessContext EOF ; - public final EObject entryRuleAccessContext() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAccessContext = null; - - - try { - // InternalOseeDsl.g:2615:2: (iv_ruleAccessContext= ruleAccessContext EOF ) - // InternalOseeDsl.g:2616:2: iv_ruleAccessContext= ruleAccessContext EOF - { - newCompositeNode(grammarAccess.getAccessContextRule()); - pushFollow(FOLLOW_1); - iv_ruleAccessContext=ruleAccessContext(); - - state._fsp--; - - current =iv_ruleAccessContext; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAccessContext" - - - // $ANTLR start "ruleAccessContext" - // InternalOseeDsl.g:2623:1: ruleAccessContext returns [EObject current=null] : (otherlv_0= 'accessContext' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' otherlv_5= 'guid' ( (lv_guid_6_0= RULE_STRING ) ) otherlv_7= ';' ( ( (lv_accessRules_8_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) )+ otherlv_10= '}' ) ; - public final EObject ruleAccessContext() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - Token otherlv_5=null; - Token lv_guid_6_0=null; - Token otherlv_7=null; - Token otherlv_10=null; - EObject lv_accessRules_8_0 = null; - - EObject lv_hierarchyRestrictions_9_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2626:28: ( (otherlv_0= 'accessContext' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' otherlv_5= 'guid' ( (lv_guid_6_0= RULE_STRING ) ) otherlv_7= ';' ( ( (lv_accessRules_8_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) )+ otherlv_10= '}' ) ) - // InternalOseeDsl.g:2627:1: (otherlv_0= 'accessContext' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' otherlv_5= 'guid' ( (lv_guid_6_0= RULE_STRING ) ) otherlv_7= ';' ( ( (lv_accessRules_8_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) )+ otherlv_10= '}' ) - { - // InternalOseeDsl.g:2627:1: (otherlv_0= 'accessContext' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' otherlv_5= 'guid' ( (lv_guid_6_0= RULE_STRING ) ) otherlv_7= ';' ( ( (lv_accessRules_8_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) )+ otherlv_10= '}' ) - // InternalOseeDsl.g:2627:3: otherlv_0= 'accessContext' ( (lv_name_1_0= RULE_STRING ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? otherlv_4= '{' otherlv_5= 'guid' ( (lv_guid_6_0= RULE_STRING ) ) otherlv_7= ';' ( ( (lv_accessRules_8_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) )+ otherlv_10= '}' - { - otherlv_0=(Token)match(input,75,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getAccessContextAccess().getAccessContextKeyword_0()); - - // InternalOseeDsl.g:2631:1: ( (lv_name_1_0= RULE_STRING ) ) - // InternalOseeDsl.g:2632:1: (lv_name_1_0= RULE_STRING ) - { - // InternalOseeDsl.g:2632:1: (lv_name_1_0= RULE_STRING ) - // InternalOseeDsl.g:2633:3: lv_name_1_0= RULE_STRING - { - lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_10); - - newLeafNode(lv_name_1_0, grammarAccess.getAccessContextAccess().getNameSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAccessContextRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - // InternalOseeDsl.g:2649:2: (otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) )? - int alt34=2; - int LA34_0 = input.LA(1); - - if ( (LA34_0==16) ) { - alt34=1; - } - switch (alt34) { - case 1 : - // InternalOseeDsl.g:2649:4: otherlv_2= 'extends' ( (otherlv_3= RULE_STRING ) ) - { - otherlv_2=(Token)match(input,16,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0()); - - // InternalOseeDsl.g:2653:1: ( (otherlv_3= RULE_STRING ) ) - // InternalOseeDsl.g:2654:1: (otherlv_3= RULE_STRING ) - { - // InternalOseeDsl.g:2654:1: (otherlv_3= RULE_STRING ) - // InternalOseeDsl.g:2655:3: otherlv_3= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getAccessContextRule()); - } - - otherlv_3=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(otherlv_3, grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0()); - - - } - - - } - - - } - break; - - } - - otherlv_4=(Token)match(input,18,FOLLOW_54); - - newLeafNode(otherlv_4, grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3()); - - otherlv_5=(Token)match(input,76,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getAccessContextAccess().getGuidKeyword_4()); - - // InternalOseeDsl.g:2674:1: ( (lv_guid_6_0= RULE_STRING ) ) - // InternalOseeDsl.g:2675:1: (lv_guid_6_0= RULE_STRING ) - { - // InternalOseeDsl.g:2675:1: (lv_guid_6_0= RULE_STRING ) - // InternalOseeDsl.g:2676:3: lv_guid_6_0= RULE_STRING - { - lv_guid_6_0=(Token)match(input,RULE_STRING,FOLLOW_53); - - newLeafNode(lv_guid_6_0, grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAccessContextRule()); - } - setWithLastConsumed( - current, - "guid", - lv_guid_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - - - } - - - } - - otherlv_7=(Token)match(input,73,FOLLOW_55); - - newLeafNode(otherlv_7, grammarAccess.getAccessContextAccess().getSemicolonKeyword_6()); - - // InternalOseeDsl.g:2696:1: ( ( (lv_accessRules_8_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) )+ - int cnt35=0; - loop35: - do { - int alt35=3; - int LA35_0 = input.LA(1); - - if ( ((LA35_0>=92 && LA35_0<=93)) ) { - alt35=1; - } - else if ( (LA35_0==77) ) { - alt35=2; - } - - - switch (alt35) { - case 1 : - // InternalOseeDsl.g:2696:2: ( (lv_accessRules_8_0= ruleObjectRestriction ) ) - { - // InternalOseeDsl.g:2696:2: ( (lv_accessRules_8_0= ruleObjectRestriction ) ) - // InternalOseeDsl.g:2697:1: (lv_accessRules_8_0= ruleObjectRestriction ) - { - // InternalOseeDsl.g:2697:1: (lv_accessRules_8_0= ruleObjectRestriction ) - // InternalOseeDsl.g:2698:3: lv_accessRules_8_0= ruleObjectRestriction - { - - newCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0()); - - pushFollow(FOLLOW_56); - lv_accessRules_8_0=ruleObjectRestriction(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAccessContextRule()); - } - add( - current, - "accessRules", - lv_accessRules_8_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.ObjectRestriction"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:2715:6: ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) - { - // InternalOseeDsl.g:2715:6: ( (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) ) - // InternalOseeDsl.g:2716:1: (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) - { - // InternalOseeDsl.g:2716:1: (lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction ) - // InternalOseeDsl.g:2717:3: lv_hierarchyRestrictions_9_0= ruleHierarchyRestriction - { - - newCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0()); - - pushFollow(FOLLOW_56); - lv_hierarchyRestrictions_9_0=ruleHierarchyRestriction(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAccessContextRule()); - } - add( - current, - "hierarchyRestrictions", - lv_hierarchyRestrictions_9_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.HierarchyRestriction"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - if ( cnt35 >= 1 ) break loop35; - EarlyExitException eee = - new EarlyExitException(35, input); - throw eee; - } - cnt35++; - } while (true); - - otherlv_10=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_10, grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAccessContext" - - - // $ANTLR start "entryRuleHierarchyRestriction" - // InternalOseeDsl.g:2745:1: entryRuleHierarchyRestriction returns [EObject current=null] : iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ; - public final EObject entryRuleHierarchyRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleHierarchyRestriction = null; - - - try { - // InternalOseeDsl.g:2746:2: (iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ) - // InternalOseeDsl.g:2747:2: iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF - { - newCompositeNode(grammarAccess.getHierarchyRestrictionRule()); - pushFollow(FOLLOW_1); - iv_ruleHierarchyRestriction=ruleHierarchyRestriction(); - - state._fsp--; - - current =iv_ruleHierarchyRestriction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleHierarchyRestriction" - - - // $ANTLR start "ruleHierarchyRestriction" - // InternalOseeDsl.g:2754:1: ruleHierarchyRestriction returns [EObject current=null] : (otherlv_0= 'childrenOf' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) ; - public final EObject ruleHierarchyRestriction() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_accessRules_3_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2757:28: ( (otherlv_0= 'childrenOf' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) ) - // InternalOseeDsl.g:2758:1: (otherlv_0= 'childrenOf' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) - { - // InternalOseeDsl.g:2758:1: (otherlv_0= 'childrenOf' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) - // InternalOseeDsl.g:2758:3: otherlv_0= 'childrenOf' ( (otherlv_1= RULE_STRING ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' - { - otherlv_0=(Token)match(input,77,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0()); - - // InternalOseeDsl.g:2762:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:2763:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:2763:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:2764:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getHierarchyRestrictionRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_19); - - newLeafNode(otherlv_1, grammarAccess.getHierarchyRestrictionAccess().getArtifactMatcherRefXArtifactMatcherCrossReference_1_0()); - - - } - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_57); - - newLeafNode(otherlv_2, grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2()); - - // InternalOseeDsl.g:2779:1: ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ - int cnt36=0; - loop36: - do { - int alt36=2; - int LA36_0 = input.LA(1); - - if ( ((LA36_0>=92 && LA36_0<=93)) ) { - alt36=1; - } - - - switch (alt36) { - case 1 : - // InternalOseeDsl.g:2780:1: (lv_accessRules_3_0= ruleObjectRestriction ) - { - // InternalOseeDsl.g:2780:1: (lv_accessRules_3_0= ruleObjectRestriction ) - // InternalOseeDsl.g:2781:3: lv_accessRules_3_0= ruleObjectRestriction - { - - newCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0()); - - pushFollow(FOLLOW_58); - lv_accessRules_3_0=ruleObjectRestriction(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getHierarchyRestrictionRule()); - } - add( - current, - "accessRules", - lv_accessRules_3_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.ObjectRestriction"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - if ( cnt36 >= 1 ) break loop36; - EarlyExitException eee = - new EarlyExitException(36, input); - throw eee; - } - cnt36++; - } while (true); - - otherlv_4=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleHierarchyRestriction" - - - // $ANTLR start "entryRuleRelationTypeArtifactTypePredicate" - // InternalOseeDsl.g:2809:1: entryRuleRelationTypeArtifactTypePredicate returns [EObject current=null] : iv_ruleRelationTypeArtifactTypePredicate= ruleRelationTypeArtifactTypePredicate EOF ; - public final EObject entryRuleRelationTypeArtifactTypePredicate() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRelationTypeArtifactTypePredicate = null; - - - try { - // InternalOseeDsl.g:2810:2: (iv_ruleRelationTypeArtifactTypePredicate= ruleRelationTypeArtifactTypePredicate EOF ) - // InternalOseeDsl.g:2811:2: iv_ruleRelationTypeArtifactTypePredicate= ruleRelationTypeArtifactTypePredicate EOF - { - newCompositeNode(grammarAccess.getRelationTypeArtifactTypePredicateRule()); - pushFollow(FOLLOW_1); - iv_ruleRelationTypeArtifactTypePredicate=ruleRelationTypeArtifactTypePredicate(); - - state._fsp--; - - current =iv_ruleRelationTypeArtifactTypePredicate; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRelationTypeArtifactTypePredicate" - - - // $ANTLR start "ruleRelationTypeArtifactTypePredicate" - // InternalOseeDsl.g:2818:1: ruleRelationTypeArtifactTypePredicate returns [EObject current=null] : (otherlv_0= 'artifactType' ( (otherlv_1= RULE_STRING ) ) ) ; - public final EObject ruleRelationTypeArtifactTypePredicate() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - - enterRule(); - - try { - // InternalOseeDsl.g:2821:28: ( (otherlv_0= 'artifactType' ( (otherlv_1= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:2822:1: (otherlv_0= 'artifactType' ( (otherlv_1= RULE_STRING ) ) ) - { - // InternalOseeDsl.g:2822:1: (otherlv_0= 'artifactType' ( (otherlv_1= RULE_STRING ) ) ) - // InternalOseeDsl.g:2822:3: otherlv_0= 'artifactType' ( (otherlv_1= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,15,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getRelationTypeArtifactTypePredicateAccess().getArtifactTypeKeyword_0()); - - // InternalOseeDsl.g:2826:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:2827:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:2827:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:2828:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getRelationTypeArtifactTypePredicateRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getRelationTypeArtifactTypePredicateAccess().getArtifactTypeRefXArtifactTypeCrossReference_1_0()); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationTypeArtifactTypePredicate" - - - // $ANTLR start "entryRuleRelationTypeArtifactPredicate" - // InternalOseeDsl.g:2847:1: entryRuleRelationTypeArtifactPredicate returns [EObject current=null] : iv_ruleRelationTypeArtifactPredicate= ruleRelationTypeArtifactPredicate EOF ; - public final EObject entryRuleRelationTypeArtifactPredicate() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRelationTypeArtifactPredicate = null; - - - try { - // InternalOseeDsl.g:2848:2: (iv_ruleRelationTypeArtifactPredicate= ruleRelationTypeArtifactPredicate EOF ) - // InternalOseeDsl.g:2849:2: iv_ruleRelationTypeArtifactPredicate= ruleRelationTypeArtifactPredicate EOF - { - newCompositeNode(grammarAccess.getRelationTypeArtifactPredicateRule()); - pushFollow(FOLLOW_1); - iv_ruleRelationTypeArtifactPredicate=ruleRelationTypeArtifactPredicate(); - - state._fsp--; - - current =iv_ruleRelationTypeArtifactPredicate; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRelationTypeArtifactPredicate" - - - // $ANTLR start "ruleRelationTypeArtifactPredicate" - // InternalOseeDsl.g:2856:1: ruleRelationTypeArtifactPredicate returns [EObject current=null] : (otherlv_0= 'artifact' ( (otherlv_1= RULE_STRING ) ) ) ; - public final EObject ruleRelationTypeArtifactPredicate() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - - enterRule(); - - try { - // InternalOseeDsl.g:2859:28: ( (otherlv_0= 'artifact' ( (otherlv_1= RULE_STRING ) ) ) ) - // InternalOseeDsl.g:2860:1: (otherlv_0= 'artifact' ( (otherlv_1= RULE_STRING ) ) ) - { - // InternalOseeDsl.g:2860:1: (otherlv_0= 'artifact' ( (otherlv_1= RULE_STRING ) ) ) - // InternalOseeDsl.g:2860:3: otherlv_0= 'artifact' ( (otherlv_1= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,78,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getRelationTypeArtifactPredicateAccess().getArtifactKeyword_0()); - - // InternalOseeDsl.g:2864:1: ( (otherlv_1= RULE_STRING ) ) - // InternalOseeDsl.g:2865:1: (otherlv_1= RULE_STRING ) - { - // InternalOseeDsl.g:2865:1: (otherlv_1= RULE_STRING ) - // InternalOseeDsl.g:2866:3: otherlv_1= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getRelationTypeArtifactPredicateRule()); - } - - otherlv_1=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getRelationTypeArtifactPredicateAccess().getArtifactMatcherRefXArtifactMatcherCrossReference_1_0()); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationTypeArtifactPredicate" - - - // $ANTLR start "entryRuleRelationTypePredicate" - // InternalOseeDsl.g:2885:1: entryRuleRelationTypePredicate returns [EObject current=null] : iv_ruleRelationTypePredicate= ruleRelationTypePredicate EOF ; - public final EObject entryRuleRelationTypePredicate() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRelationTypePredicate = null; - - - try { - // InternalOseeDsl.g:2886:2: (iv_ruleRelationTypePredicate= ruleRelationTypePredicate EOF ) - // InternalOseeDsl.g:2887:2: iv_ruleRelationTypePredicate= ruleRelationTypePredicate EOF - { - newCompositeNode(grammarAccess.getRelationTypePredicateRule()); - pushFollow(FOLLOW_1); - iv_ruleRelationTypePredicate=ruleRelationTypePredicate(); - - state._fsp--; - - current =iv_ruleRelationTypePredicate; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRelationTypePredicate" - - - // $ANTLR start "ruleRelationTypePredicate" - // InternalOseeDsl.g:2894:1: ruleRelationTypePredicate returns [EObject current=null] : (this_RelationTypeArtifactPredicate_0= ruleRelationTypeArtifactPredicate | this_RelationTypeArtifactTypePredicate_1= ruleRelationTypeArtifactTypePredicate ) ; - public final EObject ruleRelationTypePredicate() throws RecognitionException { - EObject current = null; - - EObject this_RelationTypeArtifactPredicate_0 = null; - - EObject this_RelationTypeArtifactTypePredicate_1 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2897:28: ( (this_RelationTypeArtifactPredicate_0= ruleRelationTypeArtifactPredicate | this_RelationTypeArtifactTypePredicate_1= ruleRelationTypeArtifactTypePredicate ) ) - // InternalOseeDsl.g:2898:1: (this_RelationTypeArtifactPredicate_0= ruleRelationTypeArtifactPredicate | this_RelationTypeArtifactTypePredicate_1= ruleRelationTypeArtifactTypePredicate ) - { - // InternalOseeDsl.g:2898:1: (this_RelationTypeArtifactPredicate_0= ruleRelationTypeArtifactPredicate | this_RelationTypeArtifactTypePredicate_1= ruleRelationTypeArtifactTypePredicate ) - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==78) ) { - alt37=1; - } - else if ( (LA37_0==15) ) { - alt37=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 37, 0, input); - - throw nvae; - } - switch (alt37) { - case 1 : - // InternalOseeDsl.g:2899:5: this_RelationTypeArtifactPredicate_0= ruleRelationTypeArtifactPredicate - { - - newCompositeNode(grammarAccess.getRelationTypePredicateAccess().getRelationTypeArtifactPredicateParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_RelationTypeArtifactPredicate_0=ruleRelationTypeArtifactPredicate(); - - state._fsp--; - - - current = this_RelationTypeArtifactPredicate_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalOseeDsl.g:2909:5: this_RelationTypeArtifactTypePredicate_1= ruleRelationTypeArtifactTypePredicate - { - - newCompositeNode(grammarAccess.getRelationTypePredicateAccess().getRelationTypeArtifactTypePredicateParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_RelationTypeArtifactTypePredicate_1=ruleRelationTypeArtifactTypePredicate(); - - state._fsp--; - - - current = this_RelationTypeArtifactTypePredicate_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationTypePredicate" - - - // $ANTLR start "entryRuleObjectRestriction" - // InternalOseeDsl.g:2925:1: entryRuleObjectRestriction returns [EObject current=null] : iv_ruleObjectRestriction= ruleObjectRestriction EOF ; - public final EObject entryRuleObjectRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleObjectRestriction = null; - - - try { - // InternalOseeDsl.g:2926:2: (iv_ruleObjectRestriction= ruleObjectRestriction EOF ) - // InternalOseeDsl.g:2927:2: iv_ruleObjectRestriction= ruleObjectRestriction EOF - { - newCompositeNode(grammarAccess.getObjectRestrictionRule()); - pushFollow(FOLLOW_1); - iv_ruleObjectRestriction=ruleObjectRestriction(); - - state._fsp--; - - current =iv_ruleObjectRestriction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleObjectRestriction" - - - // $ANTLR start "ruleObjectRestriction" - // InternalOseeDsl.g:2934:1: ruleObjectRestriction returns [EObject current=null] : (this_ArtifactMatchRestriction_0= ruleArtifactMatchRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) ; - public final EObject ruleObjectRestriction() throws RecognitionException { - EObject current = null; - - EObject this_ArtifactMatchRestriction_0 = null; - - EObject this_ArtifactTypeRestriction_1 = null; - - EObject this_RelationTypeRestriction_2 = null; - - EObject this_AttributeTypeRestriction_3 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2937:28: ( (this_ArtifactMatchRestriction_0= ruleArtifactMatchRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) ) - // InternalOseeDsl.g:2938:1: (this_ArtifactMatchRestriction_0= ruleArtifactMatchRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) - { - // InternalOseeDsl.g:2938:1: (this_ArtifactMatchRestriction_0= ruleArtifactMatchRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) - int alt38=4; - int LA38_0 = input.LA(1); - - if ( (LA38_0==92) ) { - int LA38_1 = input.LA(2); - - if ( (LA38_1==79) ) { - switch ( input.LA(3) ) { - case 59: - { - alt38=3; - } - break; - case 15: - { - alt38=2; - } - break; - case 78: - { - alt38=1; - } - break; - case 23: - { - alt38=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 38, 3, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 1, input); - - throw nvae; - } - } - else if ( (LA38_0==93) ) { - int LA38_2 = input.LA(2); - - if ( (LA38_2==79) ) { - switch ( input.LA(3) ) { - case 59: - { - alt38=3; - } - break; - case 15: - { - alt38=2; - } - break; - case 78: - { - alt38=1; - } - break; - case 23: - { - alt38=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 38, 3, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 2, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); - - throw nvae; - } - switch (alt38) { - case 1 : - // InternalOseeDsl.g:2939:5: this_ArtifactMatchRestriction_0= ruleArtifactMatchRestriction - { - - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactMatchRestrictionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ArtifactMatchRestriction_0=ruleArtifactMatchRestriction(); - - state._fsp--; - - - current = this_ArtifactMatchRestriction_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalOseeDsl.g:2949:5: this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction - { - - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ArtifactTypeRestriction_1=ruleArtifactTypeRestriction(); - - state._fsp--; - - - current = this_ArtifactTypeRestriction_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalOseeDsl.g:2959:5: this_RelationTypeRestriction_2= ruleRelationTypeRestriction - { - - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_RelationTypeRestriction_2=ruleRelationTypeRestriction(); - - state._fsp--; - - - current = this_RelationTypeRestriction_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // InternalOseeDsl.g:2969:5: this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction - { - - newCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3()); - - pushFollow(FOLLOW_2); - this_AttributeTypeRestriction_3=ruleAttributeTypeRestriction(); - - state._fsp--; - - - current = this_AttributeTypeRestriction_3; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleObjectRestriction" - - - // $ANTLR start "entryRuleArtifactMatchRestriction" - // InternalOseeDsl.g:2985:1: entryRuleArtifactMatchRestriction returns [EObject current=null] : iv_ruleArtifactMatchRestriction= ruleArtifactMatchRestriction EOF ; - public final EObject entryRuleArtifactMatchRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleArtifactMatchRestriction = null; - - - try { - // InternalOseeDsl.g:2986:2: (iv_ruleArtifactMatchRestriction= ruleArtifactMatchRestriction EOF ) - // InternalOseeDsl.g:2987:2: iv_ruleArtifactMatchRestriction= ruleArtifactMatchRestriction EOF - { - newCompositeNode(grammarAccess.getArtifactMatchRestrictionRule()); - pushFollow(FOLLOW_1); - iv_ruleArtifactMatchRestriction=ruleArtifactMatchRestriction(); - - state._fsp--; - - current =iv_ruleArtifactMatchRestriction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleArtifactMatchRestriction" - - - // $ANTLR start "ruleArtifactMatchRestriction" - // InternalOseeDsl.g:2994:1: ruleArtifactMatchRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) ; - public final EObject ruleArtifactMatchRestriction() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - Enumerator lv_permission_0_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:2997:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) ) - // InternalOseeDsl.g:2998:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) - { - // InternalOseeDsl.g:2998:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) - // InternalOseeDsl.g:2998:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' - { - // InternalOseeDsl.g:2998:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // InternalOseeDsl.g:2999:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // InternalOseeDsl.g:2999:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // InternalOseeDsl.g:3000:3: lv_permission_0_0= ruleAccessPermissionEnum - { - - newCompositeNode(grammarAccess.getArtifactMatchRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - - pushFollow(FOLLOW_59); - lv_permission_0_0=ruleAccessPermissionEnum(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getArtifactMatchRestrictionRule()); - } - set( - current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,79,FOLLOW_60); - - newLeafNode(otherlv_1, grammarAccess.getArtifactMatchRestrictionAccess().getEditKeyword_1()); - - otherlv_2=(Token)match(input,78,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getArtifactMatchRestrictionAccess().getArtifactKeyword_2()); - - // InternalOseeDsl.g:3024:1: ( (otherlv_3= RULE_STRING ) ) - // InternalOseeDsl.g:3025:1: (otherlv_3= RULE_STRING ) - { - // InternalOseeDsl.g:3025:1: (otherlv_3= RULE_STRING ) - // InternalOseeDsl.g:3026:3: otherlv_3= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getArtifactMatchRestrictionRule()); - } - - otherlv_3=(Token)match(input,RULE_STRING,FOLLOW_53); - - newLeafNode(otherlv_3, grammarAccess.getArtifactMatchRestrictionAccess().getArtifactMatcherRefXArtifactMatcherCrossReference_3_0()); - - - } - - - } - - otherlv_4=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getArtifactMatchRestrictionAccess().getSemicolonKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleArtifactMatchRestriction" - - - // $ANTLR start "entryRuleArtifactTypeRestriction" - // InternalOseeDsl.g:3049:1: entryRuleArtifactTypeRestriction returns [EObject current=null] : iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ; - public final EObject entryRuleArtifactTypeRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleArtifactTypeRestriction = null; - - - try { - // InternalOseeDsl.g:3050:2: (iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ) - // InternalOseeDsl.g:3051:2: iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF - { - newCompositeNode(grammarAccess.getArtifactTypeRestrictionRule()); - pushFollow(FOLLOW_1); - iv_ruleArtifactTypeRestriction=ruleArtifactTypeRestriction(); - - state._fsp--; - - current =iv_ruleArtifactTypeRestriction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleArtifactTypeRestriction" - - - // $ANTLR start "ruleArtifactTypeRestriction" - // InternalOseeDsl.g:3058:1: ruleArtifactTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) ; - public final EObject ruleArtifactTypeRestriction() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - Enumerator lv_permission_0_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:3061:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) ) - // InternalOseeDsl.g:3062:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) - { - // InternalOseeDsl.g:3062:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' ) - // InternalOseeDsl.g:3062:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( (otherlv_3= RULE_STRING ) ) otherlv_4= ';' - { - // InternalOseeDsl.g:3062:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // InternalOseeDsl.g:3063:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // InternalOseeDsl.g:3063:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // InternalOseeDsl.g:3064:3: lv_permission_0_0= ruleAccessPermissionEnum - { - - newCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - - pushFollow(FOLLOW_59); - lv_permission_0_0=ruleAccessPermissionEnum(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getArtifactTypeRestrictionRule()); - } - set( - current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,79,FOLLOW_9); - - newLeafNode(otherlv_1, grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1()); - - otherlv_2=(Token)match(input,15,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2()); - - // InternalOseeDsl.g:3088:1: ( (otherlv_3= RULE_STRING ) ) - // InternalOseeDsl.g:3089:1: (otherlv_3= RULE_STRING ) - { - // InternalOseeDsl.g:3089:1: (otherlv_3= RULE_STRING ) - // InternalOseeDsl.g:3090:3: otherlv_3= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getArtifactTypeRestrictionRule()); - } - - otherlv_3=(Token)match(input,RULE_STRING,FOLLOW_53); - - newLeafNode(otherlv_3, grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0()); - - - } - - - } - - otherlv_4=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleArtifactTypeRestriction" - - - // $ANTLR start "entryRuleAttributeTypeRestriction" - // InternalOseeDsl.g:3113:1: entryRuleAttributeTypeRestriction returns [EObject current=null] : iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ; - public final EObject entryRuleAttributeTypeRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAttributeTypeRestriction = null; - - - try { - // InternalOseeDsl.g:3114:2: (iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ) - // InternalOseeDsl.g:3115:2: iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF - { - newCompositeNode(grammarAccess.getAttributeTypeRestrictionRule()); - pushFollow(FOLLOW_1); - iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction(); - - state._fsp--; - - current =iv_ruleAttributeTypeRestriction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAttributeTypeRestriction" - - - // $ANTLR start "ruleAttributeTypeRestriction" - // InternalOseeDsl.g:3122:1: ruleAttributeTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( (otherlv_3= RULE_STRING ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) )? otherlv_7= ';' ) ; - public final EObject ruleAttributeTypeRestriction() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - Token otherlv_5=null; - Token otherlv_6=null; - Token otherlv_7=null; - Enumerator lv_permission_0_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:3125:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( (otherlv_3= RULE_STRING ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) )? otherlv_7= ';' ) ) - // InternalOseeDsl.g:3126:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( (otherlv_3= RULE_STRING ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) )? otherlv_7= ';' ) - { - // InternalOseeDsl.g:3126:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( (otherlv_3= RULE_STRING ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) )? otherlv_7= ';' ) - // InternalOseeDsl.g:3126:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( (otherlv_3= RULE_STRING ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) )? otherlv_7= ';' - { - // InternalOseeDsl.g:3126:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // InternalOseeDsl.g:3127:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // InternalOseeDsl.g:3127:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // InternalOseeDsl.g:3128:3: lv_permission_0_0= ruleAccessPermissionEnum - { - - newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - - pushFollow(FOLLOW_59); - lv_permission_0_0=ruleAccessPermissionEnum(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAttributeTypeRestrictionRule()); - } - set( - current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,79,FOLLOW_61); - - newLeafNode(otherlv_1, grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1()); - - otherlv_2=(Token)match(input,23,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2()); - - // InternalOseeDsl.g:3152:1: ( (otherlv_3= RULE_STRING ) ) - // InternalOseeDsl.g:3153:1: (otherlv_3= RULE_STRING ) - { - // InternalOseeDsl.g:3153:1: (otherlv_3= RULE_STRING ) - // InternalOseeDsl.g:3154:3: otherlv_3= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); - } - - otherlv_3=(Token)match(input,RULE_STRING,FOLLOW_62); - - newLeafNode(otherlv_3, grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0()); - - - } - - - } - - // InternalOseeDsl.g:3165:2: (otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) )? - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==80) ) { - alt39=1; - } - switch (alt39) { - case 1 : - // InternalOseeDsl.g:3165:4: otherlv_4= 'of' otherlv_5= 'artifactType' ( (otherlv_6= RULE_STRING ) ) - { - otherlv_4=(Token)match(input,80,FOLLOW_9); - - newLeafNode(otherlv_4, grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0()); - - otherlv_5=(Token)match(input,15,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1()); - - // InternalOseeDsl.g:3173:1: ( (otherlv_6= RULE_STRING ) ) - // InternalOseeDsl.g:3174:1: (otherlv_6= RULE_STRING ) - { - // InternalOseeDsl.g:3174:1: (otherlv_6= RULE_STRING ) - // InternalOseeDsl.g:3175:3: otherlv_6= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); - } - - otherlv_6=(Token)match(input,RULE_STRING,FOLLOW_53); - - newLeafNode(otherlv_6, grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0()); - - - } - - - } - - - } - break; - - } - - otherlv_7=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_7, grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAttributeTypeRestriction" - - - // $ANTLR start "entryRuleRelationTypeRestriction" - // InternalOseeDsl.g:3200:1: entryRuleRelationTypeRestriction returns [EObject current=null] : iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ; - public final EObject entryRuleRelationTypeRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRelationTypeRestriction = null; - - - try { - // InternalOseeDsl.g:3201:2: (iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ) - // InternalOseeDsl.g:3202:2: iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF - { - newCompositeNode(grammarAccess.getRelationTypeRestrictionRule()); - pushFollow(FOLLOW_1); - iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction(); - - state._fsp--; - - current =iv_ruleRelationTypeRestriction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRelationTypeRestriction" - - - // $ANTLR start "ruleRelationTypeRestriction" - // InternalOseeDsl.g:3209:1: ruleRelationTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) | ( (otherlv_4= RULE_STRING ) ) ) ( (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) ) ( (lv_predicate_6_0= ruleRelationTypePredicate ) )? otherlv_7= ';' ) ; - public final EObject ruleRelationTypeRestriction() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_7=null; - Enumerator lv_permission_0_0 = null; - - Enumerator lv_relationTypeMatch_3_0 = null; - - Enumerator lv_restrictedToSide_5_0 = null; - - EObject lv_predicate_6_0 = null; - - - enterRule(); - - try { - // InternalOseeDsl.g:3212:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) | ( (otherlv_4= RULE_STRING ) ) ) ( (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) ) ( (lv_predicate_6_0= ruleRelationTypePredicate ) )? otherlv_7= ';' ) ) - // InternalOseeDsl.g:3213:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) | ( (otherlv_4= RULE_STRING ) ) ) ( (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) ) ( (lv_predicate_6_0= ruleRelationTypePredicate ) )? otherlv_7= ';' ) - { - // InternalOseeDsl.g:3213:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) | ( (otherlv_4= RULE_STRING ) ) ) ( (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) ) ( (lv_predicate_6_0= ruleRelationTypePredicate ) )? otherlv_7= ';' ) - // InternalOseeDsl.g:3213:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) | ( (otherlv_4= RULE_STRING ) ) ) ( (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) ) ( (lv_predicate_6_0= ruleRelationTypePredicate ) )? otherlv_7= ';' - { - // InternalOseeDsl.g:3213:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // InternalOseeDsl.g:3214:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // InternalOseeDsl.g:3214:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // InternalOseeDsl.g:3215:3: lv_permission_0_0= ruleAccessPermissionEnum - { - - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); - - pushFollow(FOLLOW_59); - lv_permission_0_0=ruleAccessPermissionEnum(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - current, - "permission", - lv_permission_0_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,79,FOLLOW_63); - - newLeafNode(otherlv_1, grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1()); - - otherlv_2=(Token)match(input,59,FOLLOW_64); - - newLeafNode(otherlv_2, grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2()); - - // InternalOseeDsl.g:3239:1: ( ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) | ( (otherlv_4= RULE_STRING ) ) ) - int alt40=2; - int LA40_0 = input.LA(1); - - if ( (LA40_0==94) ) { - alt40=1; - } - else if ( (LA40_0==RULE_STRING) ) { - alt40=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 40, 0, input); - - throw nvae; - } - switch (alt40) { - case 1 : - // InternalOseeDsl.g:3239:2: ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) - { - // InternalOseeDsl.g:3239:2: ( (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) ) - // InternalOseeDsl.g:3240:1: (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) - { - // InternalOseeDsl.g:3240:1: (lv_relationTypeMatch_3_0= ruleRelationTypeMatch ) - // InternalOseeDsl.g:3241:3: lv_relationTypeMatch_3_0= ruleRelationTypeMatch - { - - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeMatchRelationTypeMatchEnumRuleCall_3_0_0()); - - pushFollow(FOLLOW_65); - lv_relationTypeMatch_3_0=ruleRelationTypeMatch(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - current, - "relationTypeMatch", - true, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypeMatch"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3258:6: ( (otherlv_4= RULE_STRING ) ) - { - // InternalOseeDsl.g:3258:6: ( (otherlv_4= RULE_STRING ) ) - // InternalOseeDsl.g:3259:1: (otherlv_4= RULE_STRING ) - { - // InternalOseeDsl.g:3259:1: (otherlv_4= RULE_STRING ) - // InternalOseeDsl.g:3260:3: otherlv_4= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getRelationTypeRestrictionRule()); - } - - otherlv_4=(Token)match(input,RULE_STRING,FOLLOW_65); - - newLeafNode(otherlv_4, grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_1_0()); - - - } - - - } - - - } - break; - - } - - // InternalOseeDsl.g:3271:3: ( (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) ) - // InternalOseeDsl.g:3272:1: (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) - { - // InternalOseeDsl.g:3272:1: (lv_restrictedToSide_5_0= ruleXRelationSideEnum ) - // InternalOseeDsl.g:3273:3: lv_restrictedToSide_5_0= ruleXRelationSideEnum - { - - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0()); - - pushFollow(FOLLOW_66); - lv_restrictedToSide_5_0=ruleXRelationSideEnum(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - current, - "restrictedToSide", - lv_restrictedToSide_5_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.XRelationSideEnum"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalOseeDsl.g:3289:2: ( (lv_predicate_6_0= ruleRelationTypePredicate ) )? - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==15||LA41_0==78) ) { - alt41=1; - } - switch (alt41) { - case 1 : - // InternalOseeDsl.g:3290:1: (lv_predicate_6_0= ruleRelationTypePredicate ) - { - // InternalOseeDsl.g:3290:1: (lv_predicate_6_0= ruleRelationTypePredicate ) - // InternalOseeDsl.g:3291:3: lv_predicate_6_0= ruleRelationTypePredicate - { - - newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPredicateRelationTypePredicateParserRuleCall_5_0()); - - pushFollow(FOLLOW_53); - lv_predicate_6_0=ruleRelationTypePredicate(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); - } - set( - current, - "predicate", - lv_predicate_6_0, - "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypePredicate"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } - - otherlv_7=(Token)match(input,73,FOLLOW_2); - - newLeafNode(otherlv_7, grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_6()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationTypeRestriction" - - - // $ANTLR start "ruleRelationMultiplicityEnum" - // InternalOseeDsl.g:3319:1: ruleRelationMultiplicityEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) ; - public final Enumerator ruleRelationMultiplicityEnum() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - Token enumLiteral_2=null; - Token enumLiteral_3=null; - - enterRule(); - try { - // InternalOseeDsl.g:3321:28: ( ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) ) - // InternalOseeDsl.g:3322:1: ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) - { - // InternalOseeDsl.g:3322:1: ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) - int alt42=4; - switch ( input.LA(1) ) { - case 81: - { - alt42=1; - } - break; - case 82: - { - alt42=2; - } - break; - case 83: - { - alt42=3; - } - break; - case 84: - { - alt42=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 42, 0, input); - - throw nvae; - } - - switch (alt42) { - case 1 : - // InternalOseeDsl.g:3322:2: (enumLiteral_0= 'ONE_TO_ONE' ) - { - // InternalOseeDsl.g:3322:2: (enumLiteral_0= 'ONE_TO_ONE' ) - // InternalOseeDsl.g:3322:4: enumLiteral_0= 'ONE_TO_ONE' - { - enumLiteral_0=(Token)match(input,81,FOLLOW_2); - - current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3328:6: (enumLiteral_1= 'ONE_TO_MANY' ) - { - // InternalOseeDsl.g:3328:6: (enumLiteral_1= 'ONE_TO_MANY' ) - // InternalOseeDsl.g:3328:8: enumLiteral_1= 'ONE_TO_MANY' - { - enumLiteral_1=(Token)match(input,82,FOLLOW_2); - - current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalOseeDsl.g:3334:6: (enumLiteral_2= 'MANY_TO_ONE' ) - { - // InternalOseeDsl.g:3334:6: (enumLiteral_2= 'MANY_TO_ONE' ) - // InternalOseeDsl.g:3334:8: enumLiteral_2= 'MANY_TO_ONE' - { - enumLiteral_2=(Token)match(input,83,FOLLOW_2); - - current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2()); - - - } - - - } - break; - case 4 : - // InternalOseeDsl.g:3340:6: (enumLiteral_3= 'MANY_TO_MANY' ) - { - // InternalOseeDsl.g:3340:6: (enumLiteral_3= 'MANY_TO_MANY' ) - // InternalOseeDsl.g:3340:8: enumLiteral_3= 'MANY_TO_MANY' - { - enumLiteral_3=(Token)match(input,84,FOLLOW_2); - - current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3()); - - - } - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationMultiplicityEnum" - - - // $ANTLR start "ruleCompareOp" - // InternalOseeDsl.g:3350:1: ruleCompareOp returns [Enumerator current=null] : ( (enumLiteral_0= 'EQ' ) | (enumLiteral_1= 'LIKE' ) ) ; - public final Enumerator ruleCompareOp() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - - enterRule(); - try { - // InternalOseeDsl.g:3352:28: ( ( (enumLiteral_0= 'EQ' ) | (enumLiteral_1= 'LIKE' ) ) ) - // InternalOseeDsl.g:3353:1: ( (enumLiteral_0= 'EQ' ) | (enumLiteral_1= 'LIKE' ) ) - { - // InternalOseeDsl.g:3353:1: ( (enumLiteral_0= 'EQ' ) | (enumLiteral_1= 'LIKE' ) ) - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==85) ) { - alt43=1; - } - else if ( (LA43_0==86) ) { - alt43=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); - - throw nvae; - } - switch (alt43) { - case 1 : - // InternalOseeDsl.g:3353:2: (enumLiteral_0= 'EQ' ) - { - // InternalOseeDsl.g:3353:2: (enumLiteral_0= 'EQ' ) - // InternalOseeDsl.g:3353:4: enumLiteral_0= 'EQ' - { - enumLiteral_0=(Token)match(input,85,FOLLOW_2); - - current = grammarAccess.getCompareOpAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getCompareOpAccess().getEQEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3359:6: (enumLiteral_1= 'LIKE' ) - { - // InternalOseeDsl.g:3359:6: (enumLiteral_1= 'LIKE' ) - // InternalOseeDsl.g:3359:8: enumLiteral_1= 'LIKE' - { - enumLiteral_1=(Token)match(input,86,FOLLOW_2); - - current = grammarAccess.getCompareOpAccess().getLIKEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getCompareOpAccess().getLIKEEnumLiteralDeclaration_1()); - - - } - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCompareOp" - - - // $ANTLR start "ruleXLogicOperator" - // InternalOseeDsl.g:3369:1: ruleXLogicOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'AND' ) | (enumLiteral_1= 'OR' ) ) ; - public final Enumerator ruleXLogicOperator() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - - enterRule(); - try { - // InternalOseeDsl.g:3371:28: ( ( (enumLiteral_0= 'AND' ) | (enumLiteral_1= 'OR' ) ) ) - // InternalOseeDsl.g:3372:1: ( (enumLiteral_0= 'AND' ) | (enumLiteral_1= 'OR' ) ) - { - // InternalOseeDsl.g:3372:1: ( (enumLiteral_0= 'AND' ) | (enumLiteral_1= 'OR' ) ) - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==87) ) { - alt44=1; - } - else if ( (LA44_0==88) ) { - alt44=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); - - throw nvae; - } - switch (alt44) { - case 1 : - // InternalOseeDsl.g:3372:2: (enumLiteral_0= 'AND' ) - { - // InternalOseeDsl.g:3372:2: (enumLiteral_0= 'AND' ) - // InternalOseeDsl.g:3372:4: enumLiteral_0= 'AND' - { - enumLiteral_0=(Token)match(input,87,FOLLOW_2); - - current = grammarAccess.getXLogicOperatorAccess().getANDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getXLogicOperatorAccess().getANDEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3378:6: (enumLiteral_1= 'OR' ) - { - // InternalOseeDsl.g:3378:6: (enumLiteral_1= 'OR' ) - // InternalOseeDsl.g:3378:8: enumLiteral_1= 'OR' - { - enumLiteral_1=(Token)match(input,88,FOLLOW_2); - - current = grammarAccess.getXLogicOperatorAccess().getOREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getXLogicOperatorAccess().getOREnumLiteralDeclaration_1()); - - - } - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXLogicOperator" - - - // $ANTLR start "ruleMatchField" - // InternalOseeDsl.g:3388:1: ruleMatchField returns [Enumerator current=null] : ( (enumLiteral_0= 'artifactName' ) | (enumLiteral_1= 'artifactId' ) | (enumLiteral_2= 'branchName' ) | (enumLiteral_3= 'branchUuid' ) ) ; - public final Enumerator ruleMatchField() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - Token enumLiteral_2=null; - Token enumLiteral_3=null; - - enterRule(); - try { - // InternalOseeDsl.g:3390:28: ( ( (enumLiteral_0= 'artifactName' ) | (enumLiteral_1= 'artifactId' ) | (enumLiteral_2= 'branchName' ) | (enumLiteral_3= 'branchUuid' ) ) ) - // InternalOseeDsl.g:3391:1: ( (enumLiteral_0= 'artifactName' ) | (enumLiteral_1= 'artifactId' ) | (enumLiteral_2= 'branchName' ) | (enumLiteral_3= 'branchUuid' ) ) - { - // InternalOseeDsl.g:3391:1: ( (enumLiteral_0= 'artifactName' ) | (enumLiteral_1= 'artifactId' ) | (enumLiteral_2= 'branchName' ) | (enumLiteral_3= 'branchUuid' ) ) - int alt45=4; - switch ( input.LA(1) ) { - case 89: - { - alt45=1; - } - break; - case 90: - { - alt45=2; - } - break; - case 91: - { - alt45=3; - } - break; - case 22: - { - alt45=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 45, 0, input); - - throw nvae; - } - - switch (alt45) { - case 1 : - // InternalOseeDsl.g:3391:2: (enumLiteral_0= 'artifactName' ) - { - // InternalOseeDsl.g:3391:2: (enumLiteral_0= 'artifactName' ) - // InternalOseeDsl.g:3391:4: enumLiteral_0= 'artifactName' - { - enumLiteral_0=(Token)match(input,89,FOLLOW_2); - - current = grammarAccess.getMatchFieldAccess().getArtifactNameEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getMatchFieldAccess().getArtifactNameEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3397:6: (enumLiteral_1= 'artifactId' ) - { - // InternalOseeDsl.g:3397:6: (enumLiteral_1= 'artifactId' ) - // InternalOseeDsl.g:3397:8: enumLiteral_1= 'artifactId' - { - enumLiteral_1=(Token)match(input,90,FOLLOW_2); - - current = grammarAccess.getMatchFieldAccess().getArtifactIdEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getMatchFieldAccess().getArtifactIdEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalOseeDsl.g:3403:6: (enumLiteral_2= 'branchName' ) - { - // InternalOseeDsl.g:3403:6: (enumLiteral_2= 'branchName' ) - // InternalOseeDsl.g:3403:8: enumLiteral_2= 'branchName' - { - enumLiteral_2=(Token)match(input,91,FOLLOW_2); - - current = grammarAccess.getMatchFieldAccess().getBranchNameEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getMatchFieldAccess().getBranchNameEnumLiteralDeclaration_2()); - - - } - - - } - break; - case 4 : - // InternalOseeDsl.g:3409:6: (enumLiteral_3= 'branchUuid' ) - { - // InternalOseeDsl.g:3409:6: (enumLiteral_3= 'branchUuid' ) - // InternalOseeDsl.g:3409:8: enumLiteral_3= 'branchUuid' - { - enumLiteral_3=(Token)match(input,22,FOLLOW_2); - - current = grammarAccess.getMatchFieldAccess().getBranchUuidEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getMatchFieldAccess().getBranchUuidEnumLiteralDeclaration_3()); - - - } - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMatchField" - - - // $ANTLR start "ruleAccessPermissionEnum" - // InternalOseeDsl.g:3419:1: ruleAccessPermissionEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) ; - public final Enumerator ruleAccessPermissionEnum() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - - enterRule(); - try { - // InternalOseeDsl.g:3421:28: ( ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) ) - // InternalOseeDsl.g:3422:1: ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) - { - // InternalOseeDsl.g:3422:1: ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==92) ) { - alt46=1; - } - else if ( (LA46_0==93) ) { - alt46=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 46, 0, input); - - throw nvae; - } - switch (alt46) { - case 1 : - // InternalOseeDsl.g:3422:2: (enumLiteral_0= 'ALLOW' ) - { - // InternalOseeDsl.g:3422:2: (enumLiteral_0= 'ALLOW' ) - // InternalOseeDsl.g:3422:4: enumLiteral_0= 'ALLOW' - { - enumLiteral_0=(Token)match(input,92,FOLLOW_2); - - current = grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3428:6: (enumLiteral_1= 'DENY' ) - { - // InternalOseeDsl.g:3428:6: (enumLiteral_1= 'DENY' ) - // InternalOseeDsl.g:3428:8: enumLiteral_1= 'DENY' - { - enumLiteral_1=(Token)match(input,93,FOLLOW_2); - - current = grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1()); - - - } - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAccessPermissionEnum" - - - // $ANTLR start "ruleRelationTypeMatch" - // InternalOseeDsl.g:3438:1: ruleRelationTypeMatch returns [Enumerator current=null] : (enumLiteral_0= 'ALL' ) ; - public final Enumerator ruleRelationTypeMatch() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - - enterRule(); - try { - // InternalOseeDsl.g:3440:28: ( (enumLiteral_0= 'ALL' ) ) - // InternalOseeDsl.g:3441:1: (enumLiteral_0= 'ALL' ) - { - // InternalOseeDsl.g:3441:1: (enumLiteral_0= 'ALL' ) - // InternalOseeDsl.g:3441:3: enumLiteral_0= 'ALL' - { - enumLiteral_0=(Token)match(input,94,FOLLOW_2); - - current = grammarAccess.getRelationTypeMatchAccess().getALLEnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getRelationTypeMatchAccess().getALLEnumLiteralDeclaration()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRelationTypeMatch" - - - // $ANTLR start "ruleXRelationSideEnum" - // InternalOseeDsl.g:3451:1: ruleXRelationSideEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) ; - public final Enumerator ruleXRelationSideEnum() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - Token enumLiteral_2=null; - - enterRule(); - try { - // InternalOseeDsl.g:3453:28: ( ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) ) - // InternalOseeDsl.g:3454:1: ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) - { - // InternalOseeDsl.g:3454:1: ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) - int alt47=3; - switch ( input.LA(1) ) { - case 95: - { - alt47=1; - } - break; - case 96: - { - alt47=2; - } - break; - case 97: - { - alt47=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 47, 0, input); - - throw nvae; - } - - switch (alt47) { - case 1 : - // InternalOseeDsl.g:3454:2: (enumLiteral_0= 'SIDE_A' ) - { - // InternalOseeDsl.g:3454:2: (enumLiteral_0= 'SIDE_A' ) - // InternalOseeDsl.g:3454:4: enumLiteral_0= 'SIDE_A' - { - enumLiteral_0=(Token)match(input,95,FOLLOW_2); - - current = grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalOseeDsl.g:3460:6: (enumLiteral_1= 'SIDE_B' ) - { - // InternalOseeDsl.g:3460:6: (enumLiteral_1= 'SIDE_B' ) - // InternalOseeDsl.g:3460:8: enumLiteral_1= 'SIDE_B' - { - enumLiteral_1=(Token)match(input,96,FOLLOW_2); - - current = grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalOseeDsl.g:3466:6: (enumLiteral_2= 'BOTH' ) - { - // InternalOseeDsl.g:3466:6: (enumLiteral_2= 'BOTH' ) - // InternalOseeDsl.g:3466:8: enumLiteral_2= 'BOTH' - { - enumLiteral_2=(Token)match(input,97,FOLLOW_2); - - current = grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2()); - - - } - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXRelationSideEnum" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0A2800000080D002L,0x0000000000000C80L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0A2800000080C002L,0x0000000000000C80L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000C80L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000002002L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000008000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000050000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000060000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000300000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0007FFC000000020L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001040000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0007FFC00C000020L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000020000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000040000040L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000003E80100000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0007FFC100000020L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0010000000100000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400000042L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000002L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x01C0000000100000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0180000000100000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x05C0000000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x05C0000000100000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x1000000000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x2000000000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x4000000000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x8000000000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000020L,0x000000000000001CL}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000000L,0x00000000001E0000L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000000000L,0x0000000000600000L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000400000L,0x000000000E000000L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000000000L,0x0000000001800000L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000000L,0x0000000001800040L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L}); - public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000000400000L,0x000000000E000020L}); - public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000000000L,0x0000000001800200L}); - public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001800L}); - public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000100000L,0x0000000000001800L}); - public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); - public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L}); - public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000000L,0x0000000030002000L}); - public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000100000L,0x0000000030002000L}); - public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000000000000L,0x0000000030000000L}); - public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000000000100000L,0x0000000030000000L}); - public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000000L,0x0000000000008000L}); - public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L}); - public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010200L}); - public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0800000000000000L}); - public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000000000000010L,0x0000000040000000L}); - public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000000000L,0x0000000380000000L}); - public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000000008000L,0x0000000000004200L}); - -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/serializer/OseeDslSemanticSequencer.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/serializer/OseeDslSemanticSequencer.java deleted file mode 100644 index 60482f7d85a..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/serializer/OseeDslSemanticSequencer.java +++ /dev/null @@ -1,717 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl.serializer; - -import com.google.inject.Inject; -import java.util.Set; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactMatchRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.CompoundCondition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -import org.eclipse.osee.framework.core.dsl.oseeDsl.LegacyRelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ReferencedContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactTypePredicate; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Role; -import org.eclipse.osee.framework.core.dsl.oseeDsl.SimpleCondition; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UpdateAttribute; -import org.eclipse.osee.framework.core.dsl.oseeDsl.UsersAndGroups; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeArtifactTypeOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; -import org.eclipse.xtext.Action; -import org.eclipse.xtext.Parameter; -import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.serializer.ISerializationContext; -import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; -import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; - -@SuppressWarnings("all") -public class OseeDslSemanticSequencer extends AbstractDelegatingSemanticSequencer { - - @Inject - private OseeDslGrammarAccess grammarAccess; - - @Override - public void sequence(ISerializationContext context, EObject semanticObject) { - EPackage epackage = semanticObject.eClass().getEPackage(); - ParserRule rule = context.getParserRule(); - Action action = context.getAssignedAction(); - Set<Parameter> parameters = context.getEnabledBooleanParameters(); - if (epackage == OseeDslPackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case OseeDslPackage.ACCESS_CONTEXT: - sequence_AccessContext(context, (AccessContext) semanticObject); - return; - case OseeDslPackage.ADD_ATTRIBUTE: - sequence_AddAttribute(context, (AddAttribute) semanticObject); - return; - case OseeDslPackage.ADD_ENUM: - sequence_AddEnum(context, (AddEnum) semanticObject); - return; - case OseeDslPackage.ARTIFACT_MATCH_RESTRICTION: - sequence_ArtifactMatchRestriction(context, (ArtifactMatchRestriction) semanticObject); - return; - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: - sequence_ArtifactTypeRestriction(context, (ArtifactTypeRestriction) semanticObject); - return; - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: - sequence_AttributeTypeRestriction(context, (AttributeTypeRestriction) semanticObject); - return; - case OseeDslPackage.COMPOUND_CONDITION: - sequence_CompoundCondition(context, (CompoundCondition) semanticObject); - return; - case OseeDslPackage.HIERARCHY_RESTRICTION: - sequence_HierarchyRestriction(context, (HierarchyRestriction) semanticObject); - return; - case OseeDslPackage.IMPORT: - sequence_Import(context, (Import) semanticObject); - return; - case OseeDslPackage.LEGACY_RELATION_TYPE_RESTRICTION: - sequence_LegacyRelationTypeRestriction(context, (LegacyRelationTypeRestriction) semanticObject); - return; - case OseeDslPackage.OSEE_DSL: - sequence_OseeDsl(context, (OseeDsl) semanticObject); - return; - case OseeDslPackage.REFERENCED_CONTEXT: - sequence_ReferencedContext(context, (ReferencedContext) semanticObject); - return; - case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE: - sequence_RelationTypeArtifactPredicate(context, (RelationTypeArtifactPredicate) semanticObject); - return; - case OseeDslPackage.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE: - sequence_RelationTypeArtifactTypePredicate(context, (RelationTypeArtifactTypePredicate) semanticObject); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION: - sequence_RelationTypeRestriction(context, (RelationTypeRestriction) semanticObject); - return; - case OseeDslPackage.REMOVE_ATTRIBUTE: - sequence_RemoveAttribute(context, (RemoveAttribute) semanticObject); - return; - case OseeDslPackage.REMOVE_ENUM: - sequence_RemoveEnum(context, (RemoveEnum) semanticObject); - return; - case OseeDslPackage.ROLE: - sequence_Role(context, (Role) semanticObject); - return; - case OseeDslPackage.SIMPLE_CONDITION: - sequence_SimpleCondition(context, (SimpleCondition) semanticObject); - return; - case OseeDslPackage.UPDATE_ATTRIBUTE: - sequence_UpdateAttribute(context, (UpdateAttribute) semanticObject); - return; - case OseeDslPackage.USERS_AND_GROUPS: - sequence_UsersAndGroups(context, (UsersAndGroups) semanticObject); - return; - case OseeDslPackage.XARTIFACT_MATCHER: - sequence_XArtifactMatcher(context, (XArtifactMatcher) semanticObject); - return; - case OseeDslPackage.XARTIFACT_TYPE: - sequence_XArtifactType(context, (XArtifactType) semanticObject); - return; - case OseeDslPackage.XATTRIBUTE_TYPE: - sequence_XAttributeType(context, (XAttributeType) semanticObject); - return; - case OseeDslPackage.XATTRIBUTE_TYPE_REF: - sequence_XAttributeTypeRef(context, (XAttributeTypeRef) semanticObject); - return; - case OseeDslPackage.XOSEE_ARTIFACT_TYPE_OVERRIDE: - sequence_XOseeArtifactTypeOverride(context, (XOseeArtifactTypeOverride) semanticObject); - return; - case OseeDslPackage.XOSEE_ENUM_ENTRY: - sequence_XOseeEnumEntry(context, (XOseeEnumEntry) semanticObject); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE: - sequence_XOseeEnumOverride(context, (XOseeEnumOverride) semanticObject); - return; - case OseeDslPackage.XOSEE_ENUM_TYPE: - sequence_XOseeEnumType(context, (XOseeEnumType) semanticObject); - return; - case OseeDslPackage.XRELATION_TYPE: - sequence_XRelationType(context, (XRelationType) semanticObject); - return; - } - if (errorAcceptor != null) - errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); - } - - /** - * Contexts: - * AccessContext returns AccessContext - * - * Constraint: - * ( - * name=STRING - * superAccessContexts+=[AccessContext|STRING]? - * guid=STRING - * (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ - * ) - */ - protected void sequence_AccessContext(ISerializationContext context, AccessContext semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * AttributeOverrideOption returns AddAttribute - * AddAttribute returns AddAttribute - * - * Constraint: - * attribute=XAttributeTypeRef - */ - protected void sequence_AddAttribute(ISerializationContext context, AddAttribute semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.ADD_ATTRIBUTE__ATTRIBUTE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.ADD_ATTRIBUTE__ATTRIBUTE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getAddAttributeAccess().getAttributeXAttributeTypeRefParserRuleCall_1_0(), semanticObject.getAttribute()); - feeder.finish(); - } - - - /** - * Contexts: - * OverrideOption returns AddEnum - * AddEnum returns AddEnum - * - * Constraint: - * (enumEntry=STRING ordinal=WHOLE_NUM_STR? description=STRING?) - */ - protected void sequence_AddEnum(ISerializationContext context, AddEnum semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ObjectRestriction returns ArtifactMatchRestriction - * ArtifactMatchRestriction returns ArtifactMatchRestriction - * - * Constraint: - * (permission=AccessPermissionEnum artifactMatcherRef=[XArtifactMatcher|STRING]) - */ - protected void sequence_ArtifactMatchRestriction(ISerializationContext context, ArtifactMatchRestriction semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.OBJECT_RESTRICTION__PERMISSION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.OBJECT_RESTRICTION__PERMISSION)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.ARTIFACT_MATCH_RESTRICTION__ARTIFACT_MATCHER_REF)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getArtifactMatchRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), semanticObject.getPermission()); - feeder.accept(grammarAccess.getArtifactMatchRestrictionAccess().getArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_3_0_1(), semanticObject.getArtifactMatcherRef()); - feeder.finish(); - } - - - /** - * Contexts: - * ObjectRestriction returns ArtifactTypeRestriction - * ArtifactTypeRestriction returns ArtifactTypeRestriction - * - * Constraint: - * (permission=AccessPermissionEnum artifactTypeRef=[XArtifactType|STRING]) - */ - protected void sequence_ArtifactTypeRestriction(ISerializationContext context, ArtifactTypeRestriction semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.OBJECT_RESTRICTION__PERMISSION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.OBJECT_RESTRICTION__PERMISSION)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), semanticObject.getPermission()); - feeder.accept(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_3_0_1(), semanticObject.getArtifactTypeRef()); - feeder.finish(); - } - - - /** - * Contexts: - * ObjectRestriction returns AttributeTypeRestriction - * AttributeTypeRestriction returns AttributeTypeRestriction - * - * Constraint: - * (permission=AccessPermissionEnum attributeTypeRef=[XAttributeType|STRING] artifactTypeRef=[XArtifactType|STRING]?) - */ - protected void sequence_AttributeTypeRestriction(ISerializationContext context, AttributeTypeRestriction semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Condition returns CompoundCondition - * CompoundCondition returns CompoundCondition - * - * Constraint: - * (conditions+=SimpleCondition (operators+=XLogicOperator conditions+=SimpleCondition)+) - */ - protected void sequence_CompoundCondition(ISerializationContext context, CompoundCondition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * HierarchyRestriction returns HierarchyRestriction - * - * Constraint: - * (artifactMatcherRef=[XArtifactMatcher|STRING] accessRules+=ObjectRestriction+) - */ - protected void sequence_HierarchyRestriction(ISerializationContext context, HierarchyRestriction semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Import returns Import - * - * Constraint: - * importURI=STRING - */ - protected void sequence_Import(ISerializationContext context, Import semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.IMPORT__IMPORT_URI) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.IMPORT__IMPORT_URI)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), semanticObject.getImportURI()); - feeder.finish(); - } - - - /** - * Contexts: - * LegacyRelationTypeRestriction returns LegacyRelationTypeRestriction - * - * Constraint: - * ( - * permission=AccessPermissionEnum - * relationTypeRef=[XRelationType|STRING] - * restrictedToSide=XRelationSideEnum - * artifactMatcherRef=[XArtifactMatcher|STRING]? - * ) - */ - protected void sequence_LegacyRelationTypeRestriction(ISerializationContext context, LegacyRelationTypeRestriction semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * OseeDsl returns OseeDsl - * - * Constraint: - * ( - * imports+=Import+ | - * (imports+=Import+ (artifactMatchRefs+=XArtifactMatcher | accessDeclarations+=AccessContext | roleDeclarations+=Role)*) | - * ( - * imports+=Import+ - * ( - * artifactTypes+=XArtifactType | - * relationTypes+=XRelationType | - * attributeTypes+=XAttributeType | - * enumTypes+=XOseeEnumType | - * enumOverrides+=XOseeEnumOverride | - * artifactTypeOverrides+=XOseeArtifactTypeOverride - * )+ - * (artifactMatchRefs+=XArtifactMatcher | accessDeclarations+=AccessContext | roleDeclarations+=Role)* - * ) - * )? - */ - protected void sequence_OseeDsl(ISerializationContext context, OseeDsl semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ReferencedContext returns ReferencedContext - * - * Constraint: - * accessContextRef=STRING - */ - protected void sequence_ReferencedContext(ISerializationContext context, ReferencedContext semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.REFERENCED_CONTEXT__ACCESS_CONTEXT_REF)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getReferencedContextAccess().getAccessContextRefSTRINGTerminalRuleCall_1_0(), semanticObject.getAccessContextRef()); - feeder.finish(); - } - - - /** - * Contexts: - * RelationTypeArtifactPredicate returns RelationTypeArtifactPredicate - * RelationTypePredicate returns RelationTypeArtifactPredicate - * - * Constraint: - * artifactMatcherRef=[XArtifactMatcher|STRING] - */ - protected void sequence_RelationTypeArtifactPredicate(ISerializationContext context, RelationTypeArtifactPredicate semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getRelationTypeArtifactPredicateAccess().getArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1(), semanticObject.getArtifactMatcherRef()); - feeder.finish(); - } - - - /** - * Contexts: - * RelationTypeArtifactTypePredicate returns RelationTypeArtifactTypePredicate - * RelationTypePredicate returns RelationTypeArtifactTypePredicate - * - * Constraint: - * artifactTypeRef=[XArtifactType|STRING] - */ - protected void sequence_RelationTypeArtifactTypePredicate(ISerializationContext context, RelationTypeArtifactTypePredicate semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_TYPE_PREDICATE__ARTIFACT_TYPE_REF)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getRelationTypeArtifactTypePredicateAccess().getArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_1_0_1(), semanticObject.getArtifactTypeRef()); - feeder.finish(); - } - - - /** - * Contexts: - * ObjectRestriction returns RelationTypeRestriction - * RelationTypeRestriction returns RelationTypeRestriction - * - * Constraint: - * ( - * permission=AccessPermissionEnum - * (relationTypeMatch?=RelationTypeMatch | relationTypeRef=[XRelationType|STRING]) - * restrictedToSide=XRelationSideEnum - * predicate=RelationTypePredicate? - * ) - */ - protected void sequence_RelationTypeRestriction(ISerializationContext context, RelationTypeRestriction semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * AttributeOverrideOption returns RemoveAttribute - * RemoveAttribute returns RemoveAttribute - * - * Constraint: - * attribute=[XAttributeType|STRING] - */ - protected void sequence_RemoveAttribute(ISerializationContext context, RemoveAttribute semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.REMOVE_ATTRIBUTE__ATTRIBUTE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.REMOVE_ATTRIBUTE__ATTRIBUTE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getRemoveAttributeAccess().getAttributeXAttributeTypeSTRINGTerminalRuleCall_2_0_1(), semanticObject.getAttribute()); - feeder.finish(); - } - - - /** - * Contexts: - * OverrideOption returns RemoveEnum - * RemoveEnum returns RemoveEnum - * - * Constraint: - * enumEntry=[XOseeEnumEntry|STRING] - */ - protected void sequence_RemoveEnum(ISerializationContext context, RemoveEnum semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.REMOVE_ENUM__ENUM_ENTRY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.REMOVE_ENUM__ENUM_ENTRY)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntrySTRINGTerminalRuleCall_1_0_1(), semanticObject.getEnumEntry()); - feeder.finish(); - } - - - /** - * Contexts: - * Role returns Role - * - * Constraint: - * (name=STRING superRoles+=[Role|STRING]? (usersAndGroups+=UsersAndGroups | referencedContexts+=ReferencedContext)+) - */ - protected void sequence_Role(ISerializationContext context, Role semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Condition returns SimpleCondition - * SimpleCondition returns SimpleCondition - * - * Constraint: - * (field=MatchField op=CompareOp expression=STRING) - */ - protected void sequence_SimpleCondition(ISerializationContext context, SimpleCondition semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.SIMPLE_CONDITION__FIELD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.SIMPLE_CONDITION__FIELD)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.SIMPLE_CONDITION__OP) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.SIMPLE_CONDITION__OP)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.SIMPLE_CONDITION__EXPRESSION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.SIMPLE_CONDITION__EXPRESSION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getSimpleConditionAccess().getFieldMatchFieldEnumRuleCall_0_0(), semanticObject.getField()); - feeder.accept(grammarAccess.getSimpleConditionAccess().getOpCompareOpEnumRuleCall_1_0(), semanticObject.getOp()); - feeder.accept(grammarAccess.getSimpleConditionAccess().getExpressionSTRINGTerminalRuleCall_2_0(), semanticObject.getExpression()); - feeder.finish(); - } - - - /** - * Contexts: - * AttributeOverrideOption returns UpdateAttribute - * UpdateAttribute returns UpdateAttribute - * - * Constraint: - * attribute=XAttributeTypeRef - */ - protected void sequence_UpdateAttribute(ISerializationContext context, UpdateAttribute semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.UPDATE_ATTRIBUTE__ATTRIBUTE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.UPDATE_ATTRIBUTE__ATTRIBUTE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getUpdateAttributeAccess().getAttributeXAttributeTypeRefParserRuleCall_1_0(), semanticObject.getAttribute()); - feeder.finish(); - } - - - /** - * Contexts: - * UsersAndGroups returns UsersAndGroups - * - * Constraint: - * userOrGroupGuid=STRING - */ - protected void sequence_UsersAndGroups(ISerializationContext context, UsersAndGroups semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.USERS_AND_GROUPS__USER_OR_GROUP_GUID) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.USERS_AND_GROUPS__USER_OR_GROUP_GUID)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getUsersAndGroupsAccess().getUserOrGroupGuidSTRINGTerminalRuleCall_1_0(), semanticObject.getUserOrGroupGuid()); - feeder.finish(); - } - - - /** - * Contexts: - * XArtifactMatcher returns XArtifactMatcher - * - * Constraint: - * (name=STRING conditions+=Condition (operators+=XLogicOperator conditions+=Condition)*) - */ - protected void sequence_XArtifactMatcher(ISerializationContext context, XArtifactMatcher semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * OseeElement returns XArtifactType - * OseeType returns XArtifactType - * XArtifactType returns XArtifactType - * - * Constraint: - * ( - * abstract?='abstract'? - * name=STRING - * (superArtifactTypes+=[XArtifactType|STRING] superArtifactTypes+=[XArtifactType|STRING]*)? - * id=WHOLE_NUM_STR - * validAttributeTypes+=XAttributeTypeRef* - * ) - */ - protected void sequence_XArtifactType(ISerializationContext context, XArtifactType semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * XAttributeTypeRef returns XAttributeTypeRef - * - * Constraint: - * (validAttributeType=[XAttributeType|STRING] branchUuid=WHOLE_NUM_STR?) - */ - protected void sequence_XAttributeTypeRef(ISerializationContext context, XAttributeTypeRef semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * OseeElement returns XAttributeType - * OseeType returns XAttributeType - * XAttributeType returns XAttributeType - * - * Constraint: - * ( - * name=STRING - * baseAttributeType=AttributeBaseType - * override=[XAttributeType|STRING]? - * id=WHOLE_NUM_STR - * (dataProvider='DefaultAttributeDataProvider' | dataProvider='UriAttributeDataProvider' | dataProvider=QUALIFIED_NAME) - * min=WHOLE_NUM_STR - * (max=WHOLE_NUM_STR | max='unlimited') - * taggerId='DefaultAttributeTaggerProvider'? - * ( - * ( - * taggerId=QUALIFIED_NAME | - * enumType=[XOseeEnumType|STRING] | - * description=STRING | - * defaultValue=STRING | - * fileExtension=STRING | - * mediaType=STRING - * )? - * taggerId='DefaultAttributeTaggerProvider'? - * )* - * ) - */ - protected void sequence_XAttributeType(ISerializationContext context, XAttributeType semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * XOseeArtifactTypeOverride returns XOseeArtifactTypeOverride - * - * Constraint: - * (overridenArtifactType=[XArtifactType|STRING] inheritAll?='inheritAll'? overrideOptions+=AttributeOverrideOption+) - */ - protected void sequence_XOseeArtifactTypeOverride(ISerializationContext context, XOseeArtifactTypeOverride semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * XOseeEnumEntry returns XOseeEnumEntry - * - * Constraint: - * (name=STRING ordinal=WHOLE_NUM_STR? description=STRING?) - */ - protected void sequence_XOseeEnumEntry(ISerializationContext context, XOseeEnumEntry semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * OseeElement returns XOseeEnumOverride - * XOseeEnumOverride returns XOseeEnumOverride - * - * Constraint: - * (overridenEnumType=[XOseeEnumType|STRING] inheritAll?='inheritAll'? overrideOptions+=OverrideOption*) - */ - protected void sequence_XOseeEnumOverride(ISerializationContext context, XOseeEnumOverride semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * OseeElement returns XOseeEnumType - * OseeType returns XOseeEnumType - * XOseeEnumType returns XOseeEnumType - * - * Constraint: - * (name=STRING id=WHOLE_NUM_STR enumEntries+=XOseeEnumEntry*) - */ - protected void sequence_XOseeEnumType(ISerializationContext context, XOseeEnumType semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * OseeElement returns XRelationType - * OseeType returns XRelationType - * XRelationType returns XRelationType - * - * Constraint: - * ( - * name=STRING - * id=WHOLE_NUM_STR - * sideAName=STRING - * sideAArtifactType=[XArtifactType|STRING] - * sideBName=STRING - * sideBArtifactType=[XArtifactType|STRING] - * defaultOrderType=RelationOrderType - * multiplicity=RelationMultiplicityEnum - * ) - */ - protected void sequence_XRelationType(ISerializationContext context, XRelationType semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.OSEE_TYPE__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.OSEE_TYPE__NAME)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.OSEE_TYPE__ID) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.OSEE_TYPE__ID)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_ANAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_ANAME)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_AARTIFACT_TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_AARTIFACT_TYPE)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_BNAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_BNAME)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_BARTIFACT_TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__SIDE_BARTIFACT_TYPE)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__DEFAULT_ORDER_TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__DEFAULT_ORDER_TYPE)); - if (transientValues.isValueTransient(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__MULTIPLICITY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OseeDslPackage.Literals.XRELATION_TYPE__MULTIPLICITY)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getXRelationTypeAccess().getNameSTRINGTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getIdWHOLE_NUM_STRTerminalRuleCall_4_0(), semanticObject.getId()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), semanticObject.getSideAName()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_8_0_1(), semanticObject.getSideAArtifactType()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), semanticObject.getSideBName()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_12_0_1(), semanticObject.getSideBArtifactType()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), semanticObject.getDefaultOrderType()); - feeder.accept(grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(), semanticObject.getMultiplicity()); - feeder.finish(); - } - - -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/serializer/OseeDslSyntacticSequencer.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/serializer/OseeDslSyntacticSequencer.java deleted file mode 100644 index 7121b545fa5..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/serializer/OseeDslSyntacticSequencer.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl.serializer; - -import com.google.inject.Inject; -import java.util.List; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.nodemodel.INode; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; -import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; - -@SuppressWarnings("all") -public class OseeDslSyntacticSequencer extends AbstractSyntacticSequencer { - - protected OseeDslGrammarAccess grammarAccess; - - @Inject - protected void init(IGrammarAccess access) { - grammarAccess = (OseeDslGrammarAccess) access; - } - - @Override - protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { - if (ruleCall.getRule() == grammarAccess.getRelationTypeMatchRule()) - return getRelationTypeMatchToken(semanticObject, ruleCall, node); - return ""; - } - - /** - * enum RelationTypeMatch: - * ALL; - */ - protected String getRelationTypeMatchToken(EObject semanticObject, RuleCall ruleCall, INode node) { - if (node != null) - return getTokenText(node); - return ""; - } - - @Override - protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { - if (transition.getAmbiguousSyntaxes().isEmpty()) return; - List<INode> transitionNodes = collectNodes(fromNode, toNode); - for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { - List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); - acceptNodes(getLastNavigableState(), syntaxNodes); - } - } - -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/services/OseeDslGrammarAccess.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/services/OseeDslGrammarAccess.java deleted file mode 100644 index b6c13c3ae75..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/services/OseeDslGrammarAccess.java +++ /dev/null @@ -1,3057 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl.services; - -import com.google.inject.Singleton; -import com.google.inject.Inject; - -import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; - -@Singleton -public class OseeDslGrammarAccess extends AbstractGrammarElementFinder { - - - public class OseeDslElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.OseeDsl"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0); - private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); - private final Assignment cArtifactTypesAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); - private final RuleCall cArtifactTypesXArtifactTypeParserRuleCall_1_0_0 = (RuleCall)cArtifactTypesAssignment_1_0.eContents().get(0); - private final Assignment cRelationTypesAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); - private final RuleCall cRelationTypesXRelationTypeParserRuleCall_1_1_0 = (RuleCall)cRelationTypesAssignment_1_1.eContents().get(0); - private final Assignment cAttributeTypesAssignment_1_2 = (Assignment)cAlternatives_1.eContents().get(2); - private final RuleCall cAttributeTypesXAttributeTypeParserRuleCall_1_2_0 = (RuleCall)cAttributeTypesAssignment_1_2.eContents().get(0); - private final Assignment cEnumTypesAssignment_1_3 = (Assignment)cAlternatives_1.eContents().get(3); - private final RuleCall cEnumTypesXOseeEnumTypeParserRuleCall_1_3_0 = (RuleCall)cEnumTypesAssignment_1_3.eContents().get(0); - private final Assignment cEnumOverridesAssignment_1_4 = (Assignment)cAlternatives_1.eContents().get(4); - private final RuleCall cEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0 = (RuleCall)cEnumOverridesAssignment_1_4.eContents().get(0); - private final Assignment cArtifactTypeOverridesAssignment_1_5 = (Assignment)cAlternatives_1.eContents().get(5); - private final RuleCall cArtifactTypeOverridesXOseeArtifactTypeOverrideParserRuleCall_1_5_0 = (RuleCall)cArtifactTypeOverridesAssignment_1_5.eContents().get(0); - private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); - private final Assignment cArtifactMatchRefsAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); - private final RuleCall cArtifactMatchRefsXArtifactMatcherParserRuleCall_2_0_0 = (RuleCall)cArtifactMatchRefsAssignment_2_0.eContents().get(0); - private final Assignment cAccessDeclarationsAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); - private final RuleCall cAccessDeclarationsAccessContextParserRuleCall_2_1_0 = (RuleCall)cAccessDeclarationsAssignment_2_1.eContents().get(0); - private final Assignment cRoleDeclarationsAssignment_2_2 = (Assignment)cAlternatives_2.eContents().get(2); - private final RuleCall cRoleDeclarationsRoleParserRuleCall_2_2_0 = (RuleCall)cRoleDeclarationsAssignment_2_2.eContents().get(0); - - //OseeDsl: - // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride | artifactTypeOverrides+=XOseeArtifactTypeOverride)* - // (artifactMatchRefs+=XArtifactMatcher | accessDeclarations+=AccessContext | roleDeclarations+=Role)*; - @Override public ParserRule getRule() { return rule; } - - //imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - //enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride | artifactTypeOverrides+=XOseeArtifactTypeOverride)* - //(artifactMatchRefs+=XArtifactMatcher | accessDeclarations+=AccessContext | roleDeclarations+=Role)* - public Group getGroup() { return cGroup; } - - //imports+=Import* - public Assignment getImportsAssignment_0() { return cImportsAssignment_0; } - - //Import - public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; } - - //(artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | enumTypes+=XOseeEnumType - //| enumOverrides+=XOseeEnumOverride | artifactTypeOverrides+=XOseeArtifactTypeOverride)* - public Alternatives getAlternatives_1() { return cAlternatives_1; } - - //artifactTypes+=XArtifactType - public Assignment getArtifactTypesAssignment_1_0() { return cArtifactTypesAssignment_1_0; } - - //XArtifactType - public RuleCall getArtifactTypesXArtifactTypeParserRuleCall_1_0_0() { return cArtifactTypesXArtifactTypeParserRuleCall_1_0_0; } - - //relationTypes+=XRelationType - public Assignment getRelationTypesAssignment_1_1() { return cRelationTypesAssignment_1_1; } - - //XRelationType - public RuleCall getRelationTypesXRelationTypeParserRuleCall_1_1_0() { return cRelationTypesXRelationTypeParserRuleCall_1_1_0; } - - //attributeTypes+=XAttributeType - public Assignment getAttributeTypesAssignment_1_2() { return cAttributeTypesAssignment_1_2; } - - //XAttributeType - public RuleCall getAttributeTypesXAttributeTypeParserRuleCall_1_2_0() { return cAttributeTypesXAttributeTypeParserRuleCall_1_2_0; } - - //enumTypes+=XOseeEnumType - public Assignment getEnumTypesAssignment_1_3() { return cEnumTypesAssignment_1_3; } - - //XOseeEnumType - public RuleCall getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0() { return cEnumTypesXOseeEnumTypeParserRuleCall_1_3_0; } - - //enumOverrides+=XOseeEnumOverride - public Assignment getEnumOverridesAssignment_1_4() { return cEnumOverridesAssignment_1_4; } - - //XOseeEnumOverride - public RuleCall getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0() { return cEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0; } - - //artifactTypeOverrides+=XOseeArtifactTypeOverride - public Assignment getArtifactTypeOverridesAssignment_1_5() { return cArtifactTypeOverridesAssignment_1_5; } - - //XOseeArtifactTypeOverride - public RuleCall getArtifactTypeOverridesXOseeArtifactTypeOverrideParserRuleCall_1_5_0() { return cArtifactTypeOverridesXOseeArtifactTypeOverrideParserRuleCall_1_5_0; } - - //(artifactMatchRefs+=XArtifactMatcher | accessDeclarations+=AccessContext | roleDeclarations+=Role)* - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //artifactMatchRefs+=XArtifactMatcher - public Assignment getArtifactMatchRefsAssignment_2_0() { return cArtifactMatchRefsAssignment_2_0; } - - //XArtifactMatcher - public RuleCall getArtifactMatchRefsXArtifactMatcherParserRuleCall_2_0_0() { return cArtifactMatchRefsXArtifactMatcherParserRuleCall_2_0_0; } - - //accessDeclarations+=AccessContext - public Assignment getAccessDeclarationsAssignment_2_1() { return cAccessDeclarationsAssignment_2_1; } - - //AccessContext - public RuleCall getAccessDeclarationsAccessContextParserRuleCall_2_1_0() { return cAccessDeclarationsAccessContextParserRuleCall_2_1_0; } - - //roleDeclarations+=Role - public Assignment getRoleDeclarationsAssignment_2_2() { return cRoleDeclarationsAssignment_2_2; } - - //Role - public RuleCall getRoleDeclarationsRoleParserRuleCall_2_2_0() { return cRoleDeclarationsRoleParserRuleCall_2_2_0; } - } - - public class ImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.Import"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cImportURIAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cImportURISTRINGTerminalRuleCall_1_0 = (RuleCall)cImportURIAssignment_1.eContents().get(0); - - //Import: - // 'import' importURI=STRING; - @Override public ParserRule getRule() { return rule; } - - //'import' importURI=STRING - public Group getGroup() { return cGroup; } - - //'import' - public Keyword getImportKeyword_0() { return cImportKeyword_0; } - - //importURI=STRING - public Assignment getImportURIAssignment_1() { return cImportURIAssignment_1; } - - //STRING - public RuleCall getImportURISTRINGTerminalRuleCall_1_0() { return cImportURISTRINGTerminalRuleCall_1_0; } - } - - public class QUALIFIED_NAMEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.QUALIFIED_NAME"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - - //QUALIFIED_NAME: - // ID ('.' ID)*; - @Override public ParserRule getRule() { return rule; } - - //ID ('.' ID)* - public Group getGroup() { return cGroup; } - - //ID - public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - - //('.' ID)* - public Group getGroup_1() { return cGroup_1; } - - //'.' - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //ID - public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } - } - - public class OseeElementElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.OseeElement"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cXOseeEnumOverrideParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cOseeTypeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - ///////////////////////////////////////// - // // OSEE TYPE MODEL // - // - ///////////////////////////////////////// - // OseeElement: - // XOseeEnumOverride | OseeType; - @Override public ParserRule getRule() { return rule; } - - //XOseeEnumOverride | OseeType - public Alternatives getAlternatives() { return cAlternatives; } - - //XOseeEnumOverride - public RuleCall getXOseeEnumOverrideParserRuleCall_0() { return cXOseeEnumOverrideParserRuleCall_0; } - - //OseeType - public RuleCall getOseeTypeParserRuleCall_1() { return cOseeTypeParserRuleCall_1; } - } - - public class OseeTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.OseeType"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cXArtifactTypeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cXRelationTypeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cXAttributeTypeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cXOseeEnumTypeParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //OseeType: - // XArtifactType | XRelationType | XAttributeType | XOseeEnumType; - @Override public ParserRule getRule() { return rule; } - - //XArtifactType | XRelationType | XAttributeType | XOseeEnumType - public Alternatives getAlternatives() { return cAlternatives; } - - //XArtifactType - public RuleCall getXArtifactTypeParserRuleCall_0() { return cXArtifactTypeParserRuleCall_0; } - - //XRelationType - public RuleCall getXRelationTypeParserRuleCall_1() { return cXRelationTypeParserRuleCall_1; } - - //XAttributeType - public RuleCall getXAttributeTypeParserRuleCall_2() { return cXAttributeTypeParserRuleCall_2; } - - //XOseeEnumType - public RuleCall getXOseeEnumTypeParserRuleCall_3() { return cXOseeEnumTypeParserRuleCall_3; } - } - - public class XArtifactTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XArtifactType"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cAbstractAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final Keyword cAbstractAbstractKeyword_0_0 = (Keyword)cAbstractAssignment_0.eContents().get(0); - private final Keyword cArtifactTypeKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cNameSTRINGTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cExtendsKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cSuperArtifactTypesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cSuperArtifactTypesXArtifactTypeCrossReference_3_1_0 = (CrossReference)cSuperArtifactTypesAssignment_3_1.eContents().get(0); - private final RuleCall cSuperArtifactTypesXArtifactTypeSTRINGTerminalRuleCall_3_1_0_1 = (RuleCall)cSuperArtifactTypesXArtifactTypeCrossReference_3_1_0.eContents().get(1); - private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2); - private final Keyword cCommaKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); - private final Assignment cSuperArtifactTypesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); - private final CrossReference cSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0 = (CrossReference)cSuperArtifactTypesAssignment_3_2_1.eContents().get(0); - private final RuleCall cSuperArtifactTypesXArtifactTypeSTRINGTerminalRuleCall_3_2_1_0_1 = (RuleCall)cSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Keyword cIdKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cIdAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final RuleCall cIdWHOLE_NUM_STRTerminalRuleCall_6_0 = (RuleCall)cIdAssignment_6.eContents().get(0); - private final Assignment cValidAttributeTypesAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0 = (RuleCall)cValidAttributeTypesAssignment_7.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); - - //XArtifactType: - // abstract?='abstract'? 'artifactType' name=STRING ('extends' superArtifactTypes+=[XArtifactType|STRING] (',' - // superArtifactTypes+=[XArtifactType|STRING])*)? '{' 'id' id=WHOLE_NUM_STR validAttributeTypes+=XAttributeTypeRef* '}'; - @Override public ParserRule getRule() { return rule; } - - //abstract?='abstract'? 'artifactType' name=STRING ('extends' superArtifactTypes+=[XArtifactType|STRING] (',' - //superArtifactTypes+=[XArtifactType|STRING])*)? '{' 'id' id=WHOLE_NUM_STR validAttributeTypes+=XAttributeTypeRef* '}' - public Group getGroup() { return cGroup; } - - //abstract?='abstract'? - public Assignment getAbstractAssignment_0() { return cAbstractAssignment_0; } - - //'abstract' - public Keyword getAbstractAbstractKeyword_0_0() { return cAbstractAbstractKeyword_0_0; } - - //'artifactType' - public Keyword getArtifactTypeKeyword_1() { return cArtifactTypeKeyword_1; } - - //name=STRING - public Assignment getNameAssignment_2() { return cNameAssignment_2; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_2_0() { return cNameSTRINGTerminalRuleCall_2_0; } - - //('extends' superArtifactTypes+=[XArtifactType|STRING] (',' superArtifactTypes+=[XArtifactType|STRING])*)? - public Group getGroup_3() { return cGroup_3; } - - //'extends' - public Keyword getExtendsKeyword_3_0() { return cExtendsKeyword_3_0; } - - //superArtifactTypes+=[XArtifactType|STRING] - public Assignment getSuperArtifactTypesAssignment_3_1() { return cSuperArtifactTypesAssignment_3_1; } - - //[XArtifactType|STRING] - public CrossReference getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0() { return cSuperArtifactTypesXArtifactTypeCrossReference_3_1_0; } - - //STRING - public RuleCall getSuperArtifactTypesXArtifactTypeSTRINGTerminalRuleCall_3_1_0_1() { return cSuperArtifactTypesXArtifactTypeSTRINGTerminalRuleCall_3_1_0_1; } - - //(',' superArtifactTypes+=[XArtifactType|STRING])* - public Group getGroup_3_2() { return cGroup_3_2; } - - //',' - public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; } - - //superArtifactTypes+=[XArtifactType|STRING] - public Assignment getSuperArtifactTypesAssignment_3_2_1() { return cSuperArtifactTypesAssignment_3_2_1; } - - //[XArtifactType|STRING] - public CrossReference getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0() { return cSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0; } - - //STRING - public RuleCall getSuperArtifactTypesXArtifactTypeSTRINGTerminalRuleCall_3_2_1_0_1() { return cSuperArtifactTypesXArtifactTypeSTRINGTerminalRuleCall_3_2_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } - - //'id' - public Keyword getIdKeyword_5() { return cIdKeyword_5; } - - //id=WHOLE_NUM_STR - public Assignment getIdAssignment_6() { return cIdAssignment_6; } - - //WHOLE_NUM_STR - public RuleCall getIdWHOLE_NUM_STRTerminalRuleCall_6_0() { return cIdWHOLE_NUM_STRTerminalRuleCall_6_0; } - - //validAttributeTypes+=XAttributeTypeRef* - public Assignment getValidAttributeTypesAssignment_7() { return cValidAttributeTypesAssignment_7; } - - //XAttributeTypeRef - public RuleCall getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0() { return cValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } - } - - public class XAttributeTypeRefElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeTypeRef"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAttributeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cValidAttributeTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cValidAttributeTypeXAttributeTypeCrossReference_1_0 = (CrossReference)cValidAttributeTypeAssignment_1.eContents().get(0); - private final RuleCall cValidAttributeTypeXAttributeTypeSTRINGTerminalRuleCall_1_0_1 = (RuleCall)cValidAttributeTypeXAttributeTypeCrossReference_1_0.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cBranchUuidKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cBranchUuidAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cBranchUuidWHOLE_NUM_STRTerminalRuleCall_2_1_0 = (RuleCall)cBranchUuidAssignment_2_1.eContents().get(0); - - //XAttributeTypeRef: - // 'attribute' validAttributeType=[XAttributeType|STRING] ('branchUuid' branchUuid=WHOLE_NUM_STR)?; - @Override public ParserRule getRule() { return rule; } - - //'attribute' validAttributeType=[XAttributeType|STRING] ('branchUuid' branchUuid=WHOLE_NUM_STR)? - public Group getGroup() { return cGroup; } - - //'attribute' - public Keyword getAttributeKeyword_0() { return cAttributeKeyword_0; } - - //validAttributeType=[XAttributeType|STRING] - public Assignment getValidAttributeTypeAssignment_1() { return cValidAttributeTypeAssignment_1; } - - //[XAttributeType|STRING] - public CrossReference getValidAttributeTypeXAttributeTypeCrossReference_1_0() { return cValidAttributeTypeXAttributeTypeCrossReference_1_0; } - - //STRING - public RuleCall getValidAttributeTypeXAttributeTypeSTRINGTerminalRuleCall_1_0_1() { return cValidAttributeTypeXAttributeTypeSTRINGTerminalRuleCall_1_0_1; } - - //('branchUuid' branchUuid=WHOLE_NUM_STR)? - public Group getGroup_2() { return cGroup_2; } - - //'branchUuid' - public Keyword getBranchUuidKeyword_2_0() { return cBranchUuidKeyword_2_0; } - - //branchUuid=WHOLE_NUM_STR - public Assignment getBranchUuidAssignment_2_1() { return cBranchUuidAssignment_2_1; } - - //WHOLE_NUM_STR - public RuleCall getBranchUuidWHOLE_NUM_STRTerminalRuleCall_2_1_0() { return cBranchUuidWHOLE_NUM_STRTerminalRuleCall_2_1_0; } - } - - public class XAttributeTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XAttributeType"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAttributeTypeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cExtendsKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cBaseAttributeTypeAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0 = (RuleCall)cBaseAttributeTypeAssignment_2_1.eContents().get(0); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cOverridesKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cOverrideAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cOverrideXAttributeTypeCrossReference_3_1_0 = (CrossReference)cOverrideAssignment_3_1.eContents().get(0); - private final RuleCall cOverrideXAttributeTypeSTRINGTerminalRuleCall_3_1_0_1 = (RuleCall)cOverrideXAttributeTypeCrossReference_3_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Keyword cIdKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cIdAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final RuleCall cIdWHOLE_NUM_STRTerminalRuleCall_6_0 = (RuleCall)cIdAssignment_6.eContents().get(0); - private final Keyword cDataProviderKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cDataProviderAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final Alternatives cDataProviderAlternatives_8_0 = (Alternatives)cDataProviderAssignment_8.eContents().get(0); - private final Keyword cDataProviderDefaultAttributeDataProviderKeyword_8_0_0 = (Keyword)cDataProviderAlternatives_8_0.eContents().get(0); - private final Keyword cDataProviderUriAttributeDataProviderKeyword_8_0_1 = (Keyword)cDataProviderAlternatives_8_0.eContents().get(1); - private final RuleCall cDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2 = (RuleCall)cDataProviderAlternatives_8_0.eContents().get(2); - private final Keyword cMinKeyword_9 = (Keyword)cGroup.eContents().get(9); - private final Assignment cMinAssignment_10 = (Assignment)cGroup.eContents().get(10); - private final RuleCall cMinWHOLE_NUM_STRTerminalRuleCall_10_0 = (RuleCall)cMinAssignment_10.eContents().get(0); - private final Keyword cMaxKeyword_11 = (Keyword)cGroup.eContents().get(11); - private final Assignment cMaxAssignment_12 = (Assignment)cGroup.eContents().get(12); - private final Alternatives cMaxAlternatives_12_0 = (Alternatives)cMaxAssignment_12.eContents().get(0); - private final RuleCall cMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0 = (RuleCall)cMaxAlternatives_12_0.eContents().get(0); - private final Keyword cMaxUnlimitedKeyword_12_0_1 = (Keyword)cMaxAlternatives_12_0.eContents().get(1); - private final UnorderedGroup cUnorderedGroup_13 = (UnorderedGroup)cGroup.eContents().get(13); - private final Group cGroup_13_0 = (Group)cUnorderedGroup_13.eContents().get(0); - private final Keyword cTaggerIdKeyword_13_0_0 = (Keyword)cGroup_13_0.eContents().get(0); - private final Assignment cTaggerIdAssignment_13_0_1 = (Assignment)cGroup_13_0.eContents().get(1); - private final Alternatives cTaggerIdAlternatives_13_0_1_0 = (Alternatives)cTaggerIdAssignment_13_0_1.eContents().get(0); - private final Keyword cTaggerIdDefaultAttributeTaggerProviderKeyword_13_0_1_0_0 = (Keyword)cTaggerIdAlternatives_13_0_1_0.eContents().get(0); - private final RuleCall cTaggerIdQUALIFIED_NAMEParserRuleCall_13_0_1_0_1 = (RuleCall)cTaggerIdAlternatives_13_0_1_0.eContents().get(1); - private final Group cGroup_13_1 = (Group)cUnorderedGroup_13.eContents().get(1); - private final Keyword cEnumTypeKeyword_13_1_0 = (Keyword)cGroup_13_1.eContents().get(0); - private final Assignment cEnumTypeAssignment_13_1_1 = (Assignment)cGroup_13_1.eContents().get(1); - private final CrossReference cEnumTypeXOseeEnumTypeCrossReference_13_1_1_0 = (CrossReference)cEnumTypeAssignment_13_1_1.eContents().get(0); - private final RuleCall cEnumTypeXOseeEnumTypeSTRINGTerminalRuleCall_13_1_1_0_1 = (RuleCall)cEnumTypeXOseeEnumTypeCrossReference_13_1_1_0.eContents().get(1); - private final Group cGroup_13_2 = (Group)cUnorderedGroup_13.eContents().get(2); - private final Keyword cDescriptionKeyword_13_2_0 = (Keyword)cGroup_13_2.eContents().get(0); - private final Assignment cDescriptionAssignment_13_2_1 = (Assignment)cGroup_13_2.eContents().get(1); - private final RuleCall cDescriptionSTRINGTerminalRuleCall_13_2_1_0 = (RuleCall)cDescriptionAssignment_13_2_1.eContents().get(0); - private final Group cGroup_13_3 = (Group)cUnorderedGroup_13.eContents().get(3); - private final Keyword cDefaultValueKeyword_13_3_0 = (Keyword)cGroup_13_3.eContents().get(0); - private final Assignment cDefaultValueAssignment_13_3_1 = (Assignment)cGroup_13_3.eContents().get(1); - private final RuleCall cDefaultValueSTRINGTerminalRuleCall_13_3_1_0 = (RuleCall)cDefaultValueAssignment_13_3_1.eContents().get(0); - private final Group cGroup_13_4 = (Group)cUnorderedGroup_13.eContents().get(4); - private final Keyword cFileExtensionKeyword_13_4_0 = (Keyword)cGroup_13_4.eContents().get(0); - private final Assignment cFileExtensionAssignment_13_4_1 = (Assignment)cGroup_13_4.eContents().get(1); - private final RuleCall cFileExtensionSTRINGTerminalRuleCall_13_4_1_0 = (RuleCall)cFileExtensionAssignment_13_4_1.eContents().get(0); - private final Group cGroup_13_5 = (Group)cUnorderedGroup_13.eContents().get(5); - private final Keyword cMediaTypeKeyword_13_5_0 = (Keyword)cGroup_13_5.eContents().get(0); - private final Assignment cMediaTypeAssignment_13_5_1 = (Assignment)cGroup_13_5.eContents().get(1); - private final RuleCall cMediaTypeSTRINGTerminalRuleCall_13_5_1_0 = (RuleCall)cMediaTypeAssignment_13_5_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_14 = (Keyword)cGroup.eContents().get(14); - - //XAttributeType: - // 'attributeType' name=STRING ('extends' baseAttributeType=AttributeBaseType) ('overrides' - // override=[XAttributeType|STRING])? '{' 'id' id=WHOLE_NUM_STR 'dataProvider' - // dataProvider=('DefaultAttributeDataProvider' | 'UriAttributeDataProvider' | QUALIFIED_NAME) 'min' min=WHOLE_NUM_STR - // 'max' max=(WHOLE_NUM_STR | 'unlimited') (('taggerId' taggerId=('DefaultAttributeTaggerProvider' | QUALIFIED_NAME))? & - // ('enumType' enumType=[XOseeEnumType|STRING])? & ('description' description=STRING)? & ('defaultValue' - // defaultValue=STRING)? & ('fileExtension' fileExtension=STRING)? & ('mediaType' mediaType=STRING)?) '}'; - @Override public ParserRule getRule() { return rule; } - - //'attributeType' name=STRING ('extends' baseAttributeType=AttributeBaseType) ('overrides' - //override=[XAttributeType|STRING])? '{' 'id' id=WHOLE_NUM_STR 'dataProvider' - //dataProvider=('DefaultAttributeDataProvider' | 'UriAttributeDataProvider' | QUALIFIED_NAME) 'min' min=WHOLE_NUM_STR - //'max' max=(WHOLE_NUM_STR | 'unlimited') (('taggerId' taggerId=('DefaultAttributeTaggerProvider' | QUALIFIED_NAME))? & - //('enumType' enumType=[XOseeEnumType|STRING])? & ('description' description=STRING)? & ('defaultValue' - //defaultValue=STRING)? & ('fileExtension' fileExtension=STRING)? & ('mediaType' mediaType=STRING)?) '}' - public Group getGroup() { return cGroup; } - - //'attributeType' - public Keyword getAttributeTypeKeyword_0() { return cAttributeTypeKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //('extends' baseAttributeType=AttributeBaseType) - public Group getGroup_2() { return cGroup_2; } - - //'extends' - public Keyword getExtendsKeyword_2_0() { return cExtendsKeyword_2_0; } - - //baseAttributeType=AttributeBaseType - public Assignment getBaseAttributeTypeAssignment_2_1() { return cBaseAttributeTypeAssignment_2_1; } - - //AttributeBaseType - public RuleCall getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0() { return cBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0; } - - //('overrides' override=[XAttributeType|STRING])? - public Group getGroup_3() { return cGroup_3; } - - //'overrides' - public Keyword getOverridesKeyword_3_0() { return cOverridesKeyword_3_0; } - - //override=[XAttributeType|STRING] - public Assignment getOverrideAssignment_3_1() { return cOverrideAssignment_3_1; } - - //[XAttributeType|STRING] - public CrossReference getOverrideXAttributeTypeCrossReference_3_1_0() { return cOverrideXAttributeTypeCrossReference_3_1_0; } - - //STRING - public RuleCall getOverrideXAttributeTypeSTRINGTerminalRuleCall_3_1_0_1() { return cOverrideXAttributeTypeSTRINGTerminalRuleCall_3_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } - - //'id' - public Keyword getIdKeyword_5() { return cIdKeyword_5; } - - //id=WHOLE_NUM_STR - public Assignment getIdAssignment_6() { return cIdAssignment_6; } - - //WHOLE_NUM_STR - public RuleCall getIdWHOLE_NUM_STRTerminalRuleCall_6_0() { return cIdWHOLE_NUM_STRTerminalRuleCall_6_0; } - - //'dataProvider' - public Keyword getDataProviderKeyword_7() { return cDataProviderKeyword_7; } - - //dataProvider=('DefaultAttributeDataProvider' | 'UriAttributeDataProvider' | QUALIFIED_NAME) - public Assignment getDataProviderAssignment_8() { return cDataProviderAssignment_8; } - - //('DefaultAttributeDataProvider' | 'UriAttributeDataProvider' | QUALIFIED_NAME) - public Alternatives getDataProviderAlternatives_8_0() { return cDataProviderAlternatives_8_0; } - - //'DefaultAttributeDataProvider' - public Keyword getDataProviderDefaultAttributeDataProviderKeyword_8_0_0() { return cDataProviderDefaultAttributeDataProviderKeyword_8_0_0; } - - //'UriAttributeDataProvider' - public Keyword getDataProviderUriAttributeDataProviderKeyword_8_0_1() { return cDataProviderUriAttributeDataProviderKeyword_8_0_1; } - - //QUALIFIED_NAME - public RuleCall getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2() { return cDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2; } - - //'min' - public Keyword getMinKeyword_9() { return cMinKeyword_9; } - - //min=WHOLE_NUM_STR - public Assignment getMinAssignment_10() { return cMinAssignment_10; } - - //WHOLE_NUM_STR - public RuleCall getMinWHOLE_NUM_STRTerminalRuleCall_10_0() { return cMinWHOLE_NUM_STRTerminalRuleCall_10_0; } - - //'max' - public Keyword getMaxKeyword_11() { return cMaxKeyword_11; } - - //max=(WHOLE_NUM_STR | 'unlimited') - public Assignment getMaxAssignment_12() { return cMaxAssignment_12; } - - //(WHOLE_NUM_STR | 'unlimited') - public Alternatives getMaxAlternatives_12_0() { return cMaxAlternatives_12_0; } - - //WHOLE_NUM_STR - public RuleCall getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0() { return cMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0; } - - //'unlimited' - public Keyword getMaxUnlimitedKeyword_12_0_1() { return cMaxUnlimitedKeyword_12_0_1; } - - //(('taggerId' taggerId=('DefaultAttributeTaggerProvider' | QUALIFIED_NAME))? & ('enumType' - //enumType=[XOseeEnumType|STRING])? & ('description' description=STRING)? & ('defaultValue' defaultValue=STRING)? & - //('fileExtension' fileExtension=STRING)? & ('mediaType' mediaType=STRING)?) - public UnorderedGroup getUnorderedGroup_13() { return cUnorderedGroup_13; } - - //('taggerId' taggerId=('DefaultAttributeTaggerProvider' | QUALIFIED_NAME))? - public Group getGroup_13_0() { return cGroup_13_0; } - - //'taggerId' - public Keyword getTaggerIdKeyword_13_0_0() { return cTaggerIdKeyword_13_0_0; } - - //taggerId=('DefaultAttributeTaggerProvider' | QUALIFIED_NAME) - public Assignment getTaggerIdAssignment_13_0_1() { return cTaggerIdAssignment_13_0_1; } - - //('DefaultAttributeTaggerProvider' | QUALIFIED_NAME) - public Alternatives getTaggerIdAlternatives_13_0_1_0() { return cTaggerIdAlternatives_13_0_1_0; } - - //'DefaultAttributeTaggerProvider' - public Keyword getTaggerIdDefaultAttributeTaggerProviderKeyword_13_0_1_0_0() { return cTaggerIdDefaultAttributeTaggerProviderKeyword_13_0_1_0_0; } - - //QUALIFIED_NAME - public RuleCall getTaggerIdQUALIFIED_NAMEParserRuleCall_13_0_1_0_1() { return cTaggerIdQUALIFIED_NAMEParserRuleCall_13_0_1_0_1; } - - //('enumType' enumType=[XOseeEnumType|STRING])? - public Group getGroup_13_1() { return cGroup_13_1; } - - //'enumType' - public Keyword getEnumTypeKeyword_13_1_0() { return cEnumTypeKeyword_13_1_0; } - - //enumType=[XOseeEnumType|STRING] - public Assignment getEnumTypeAssignment_13_1_1() { return cEnumTypeAssignment_13_1_1; } - - //[XOseeEnumType|STRING] - public CrossReference getEnumTypeXOseeEnumTypeCrossReference_13_1_1_0() { return cEnumTypeXOseeEnumTypeCrossReference_13_1_1_0; } - - //STRING - public RuleCall getEnumTypeXOseeEnumTypeSTRINGTerminalRuleCall_13_1_1_0_1() { return cEnumTypeXOseeEnumTypeSTRINGTerminalRuleCall_13_1_1_0_1; } - - //('description' description=STRING)? - public Group getGroup_13_2() { return cGroup_13_2; } - - //'description' - public Keyword getDescriptionKeyword_13_2_0() { return cDescriptionKeyword_13_2_0; } - - //description=STRING - public Assignment getDescriptionAssignment_13_2_1() { return cDescriptionAssignment_13_2_1; } - - //STRING - public RuleCall getDescriptionSTRINGTerminalRuleCall_13_2_1_0() { return cDescriptionSTRINGTerminalRuleCall_13_2_1_0; } - - //('defaultValue' defaultValue=STRING)? - public Group getGroup_13_3() { return cGroup_13_3; } - - //'defaultValue' - public Keyword getDefaultValueKeyword_13_3_0() { return cDefaultValueKeyword_13_3_0; } - - //defaultValue=STRING - public Assignment getDefaultValueAssignment_13_3_1() { return cDefaultValueAssignment_13_3_1; } - - //STRING - public RuleCall getDefaultValueSTRINGTerminalRuleCall_13_3_1_0() { return cDefaultValueSTRINGTerminalRuleCall_13_3_1_0; } - - //('fileExtension' fileExtension=STRING)? - public Group getGroup_13_4() { return cGroup_13_4; } - - //'fileExtension' - public Keyword getFileExtensionKeyword_13_4_0() { return cFileExtensionKeyword_13_4_0; } - - //fileExtension=STRING - public Assignment getFileExtensionAssignment_13_4_1() { return cFileExtensionAssignment_13_4_1; } - - //STRING - public RuleCall getFileExtensionSTRINGTerminalRuleCall_13_4_1_0() { return cFileExtensionSTRINGTerminalRuleCall_13_4_1_0; } - - //('mediaType' mediaType=STRING)? - public Group getGroup_13_5() { return cGroup_13_5; } - - //'mediaType' - public Keyword getMediaTypeKeyword_13_5_0() { return cMediaTypeKeyword_13_5_0; } - - //mediaType=STRING - public Assignment getMediaTypeAssignment_13_5_1() { return cMediaTypeAssignment_13_5_1; } - - //STRING - public RuleCall getMediaTypeSTRINGTerminalRuleCall_13_5_1_0() { return cMediaTypeSTRINGTerminalRuleCall_13_5_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_14() { return cRightCurlyBracketKeyword_14; } - } - - public class AttributeBaseTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeBaseType"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Keyword cBooleanAttributeKeyword_0 = (Keyword)cAlternatives.eContents().get(0); - private final Keyword cCompressedContentAttributeKeyword_1 = (Keyword)cAlternatives.eContents().get(1); - private final Keyword cDateAttributeKeyword_2 = (Keyword)cAlternatives.eContents().get(2); - private final Keyword cEnumeratedAttributeKeyword_3 = (Keyword)cAlternatives.eContents().get(3); - private final Keyword cFloatingPointAttributeKeyword_4 = (Keyword)cAlternatives.eContents().get(4); - private final Keyword cIntegerAttributeKeyword_5 = (Keyword)cAlternatives.eContents().get(5); - private final Keyword cLongAttributeKeyword_6 = (Keyword)cAlternatives.eContents().get(6); - private final Keyword cJavaObjectAttributeKeyword_7 = (Keyword)cAlternatives.eContents().get(7); - private final Keyword cStringAttributeKeyword_8 = (Keyword)cAlternatives.eContents().get(8); - private final Keyword cArtifactReferenceAttributeKeyword_9 = (Keyword)cAlternatives.eContents().get(9); - private final Keyword cBranchReferenceAttributeKeyword_10 = (Keyword)cAlternatives.eContents().get(10); - private final Keyword cWordAttributeKeyword_11 = (Keyword)cAlternatives.eContents().get(11); - private final Keyword cOutlineNumberAttributeKeyword_12 = (Keyword)cAlternatives.eContents().get(12); - private final RuleCall cQUALIFIED_NAMEParserRuleCall_13 = (RuleCall)cAlternatives.eContents().get(13); - - //AttributeBaseType: - // 'BooleanAttribute' | 'CompressedContentAttribute' | 'DateAttribute' | 'EnumeratedAttribute' | - // 'FloatingPointAttribute' | 'IntegerAttribute' | 'LongAttribute' | 'JavaObjectAttribute' | 'StringAttribute' | - // 'ArtifactReferenceAttribute' | 'BranchReferenceAttribute' | 'WordAttribute' | 'OutlineNumberAttribute' | - // QUALIFIED_NAME; - @Override public ParserRule getRule() { return rule; } - - //'BooleanAttribute' | 'CompressedContentAttribute' | 'DateAttribute' | 'EnumeratedAttribute' | 'FloatingPointAttribute' | - //'IntegerAttribute' | 'LongAttribute' | 'JavaObjectAttribute' | 'StringAttribute' | 'ArtifactReferenceAttribute' | - //'BranchReferenceAttribute' | 'WordAttribute' | 'OutlineNumberAttribute' | QUALIFIED_NAME - public Alternatives getAlternatives() { return cAlternatives; } - - //'BooleanAttribute' - public Keyword getBooleanAttributeKeyword_0() { return cBooleanAttributeKeyword_0; } - - //'CompressedContentAttribute' - public Keyword getCompressedContentAttributeKeyword_1() { return cCompressedContentAttributeKeyword_1; } - - //'DateAttribute' - public Keyword getDateAttributeKeyword_2() { return cDateAttributeKeyword_2; } - - //'EnumeratedAttribute' - public Keyword getEnumeratedAttributeKeyword_3() { return cEnumeratedAttributeKeyword_3; } - - //'FloatingPointAttribute' - public Keyword getFloatingPointAttributeKeyword_4() { return cFloatingPointAttributeKeyword_4; } - - //'IntegerAttribute' - public Keyword getIntegerAttributeKeyword_5() { return cIntegerAttributeKeyword_5; } - - //'LongAttribute' - public Keyword getLongAttributeKeyword_6() { return cLongAttributeKeyword_6; } - - //'JavaObjectAttribute' - public Keyword getJavaObjectAttributeKeyword_7() { return cJavaObjectAttributeKeyword_7; } - - //'StringAttribute' - public Keyword getStringAttributeKeyword_8() { return cStringAttributeKeyword_8; } - - //'ArtifactReferenceAttribute' - public Keyword getArtifactReferenceAttributeKeyword_9() { return cArtifactReferenceAttributeKeyword_9; } - - //'BranchReferenceAttribute' - public Keyword getBranchReferenceAttributeKeyword_10() { return cBranchReferenceAttributeKeyword_10; } - - //'WordAttribute' - public Keyword getWordAttributeKeyword_11() { return cWordAttributeKeyword_11; } - - //'OutlineNumberAttribute' - public Keyword getOutlineNumberAttributeKeyword_12() { return cOutlineNumberAttributeKeyword_12; } - - //QUALIFIED_NAME - public RuleCall getQUALIFIED_NAMEParserRuleCall_13() { return cQUALIFIED_NAMEParserRuleCall_13; } - } - - public class XOseeEnumTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumType"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cOseeEnumTypeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Keyword cIdKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cIdAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cIdWHOLE_NUM_STRTerminalRuleCall_4_0 = (RuleCall)cIdAssignment_4.eContents().get(0); - private final Assignment cEnumEntriesAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final RuleCall cEnumEntriesXOseeEnumEntryParserRuleCall_5_0 = (RuleCall)cEnumEntriesAssignment_5.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); - - //XOseeEnumType: - // 'oseeEnumType' name=STRING '{' 'id' id=WHOLE_NUM_STR enumEntries+=XOseeEnumEntry* '}'; - @Override public ParserRule getRule() { return rule; } - - //'oseeEnumType' name=STRING '{' 'id' id=WHOLE_NUM_STR enumEntries+=XOseeEnumEntry* '}' - public Group getGroup() { return cGroup; } - - //'oseeEnumType' - public Keyword getOseeEnumTypeKeyword_0() { return cOseeEnumTypeKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //'id' - public Keyword getIdKeyword_3() { return cIdKeyword_3; } - - //id=WHOLE_NUM_STR - public Assignment getIdAssignment_4() { return cIdAssignment_4; } - - //WHOLE_NUM_STR - public RuleCall getIdWHOLE_NUM_STRTerminalRuleCall_4_0() { return cIdWHOLE_NUM_STRTerminalRuleCall_4_0; } - - //enumEntries+=XOseeEnumEntry* - public Assignment getEnumEntriesAssignment_5() { return cEnumEntriesAssignment_5; } - - //XOseeEnumEntry - public RuleCall getEnumEntriesXOseeEnumEntryParserRuleCall_5_0() { return cEnumEntriesXOseeEnumEntryParserRuleCall_5_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } - } - - public class XOseeEnumEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cEntryKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Assignment cOrdinalAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0 = (RuleCall)cOrdinalAssignment_2.eContents().get(0); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cDescriptionKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cDescriptionAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final RuleCall cDescriptionSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cDescriptionAssignment_3_1.eContents().get(0); - - //XOseeEnumEntry: - // 'entry' name=STRING ordinal=WHOLE_NUM_STR? ('description' description=STRING)?; - @Override public ParserRule getRule() { return rule; } - - //'entry' name=STRING ordinal=WHOLE_NUM_STR? ('description' description=STRING)? - public Group getGroup() { return cGroup; } - - //'entry' - public Keyword getEntryKeyword_0() { return cEntryKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //ordinal=WHOLE_NUM_STR? - public Assignment getOrdinalAssignment_2() { return cOrdinalAssignment_2; } - - //WHOLE_NUM_STR - public RuleCall getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0() { return cOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0; } - - //('description' description=STRING)? - public Group getGroup_3() { return cGroup_3; } - - //'description' - public Keyword getDescriptionKeyword_3_0() { return cDescriptionKeyword_3_0; } - - //description=STRING - public Assignment getDescriptionAssignment_3_1() { return cDescriptionAssignment_3_1; } - - //STRING - public RuleCall getDescriptionSTRINGTerminalRuleCall_3_1_0() { return cDescriptionSTRINGTerminalRuleCall_3_1_0; } - } - - public class XOseeEnumOverrideElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeEnumOverride"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cOverridesEnumKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cOverridenEnumTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cOverridenEnumTypeXOseeEnumTypeCrossReference_1_0 = (CrossReference)cOverridenEnumTypeAssignment_1.eContents().get(0); - private final RuleCall cOverridenEnumTypeXOseeEnumTypeSTRINGTerminalRuleCall_1_0_1 = (RuleCall)cOverridenEnumTypeXOseeEnumTypeCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cInheritAllAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final Keyword cInheritAllInheritAllKeyword_3_0 = (Keyword)cInheritAllAssignment_3.eContents().get(0); - private final Assignment cOverrideOptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cOverrideOptionsOverrideOptionParserRuleCall_4_0 = (RuleCall)cOverrideOptionsAssignment_4.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //XOseeEnumOverride: - // 'overrides enum' overridenEnumType=[XOseeEnumType|STRING] '{' inheritAll?='inheritAll'? - // overrideOptions+=OverrideOption* '}'; - @Override public ParserRule getRule() { return rule; } - - //'overrides enum' overridenEnumType=[XOseeEnumType|STRING] '{' inheritAll?='inheritAll'? overrideOptions+=OverrideOption* - //'}' - public Group getGroup() { return cGroup; } - - //'overrides enum' - public Keyword getOverridesEnumKeyword_0() { return cOverridesEnumKeyword_0; } - - //overridenEnumType=[XOseeEnumType|STRING] - public Assignment getOverridenEnumTypeAssignment_1() { return cOverridenEnumTypeAssignment_1; } - - //[XOseeEnumType|STRING] - public CrossReference getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0() { return cOverridenEnumTypeXOseeEnumTypeCrossReference_1_0; } - - //STRING - public RuleCall getOverridenEnumTypeXOseeEnumTypeSTRINGTerminalRuleCall_1_0_1() { return cOverridenEnumTypeXOseeEnumTypeSTRINGTerminalRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //inheritAll?='inheritAll'? - public Assignment getInheritAllAssignment_3() { return cInheritAllAssignment_3; } - - //'inheritAll' - public Keyword getInheritAllInheritAllKeyword_3_0() { return cInheritAllInheritAllKeyword_3_0; } - - //overrideOptions+=OverrideOption* - public Assignment getOverrideOptionsAssignment_4() { return cOverrideOptionsAssignment_4; } - - //OverrideOption - public RuleCall getOverrideOptionsOverrideOptionParserRuleCall_4_0() { return cOverrideOptionsOverrideOptionParserRuleCall_4_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } - } - - public class OverrideOptionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.OverrideOption"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cAddEnumParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cRemoveEnumParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //OverrideOption: - // AddEnum | RemoveEnum; - @Override public ParserRule getRule() { return rule; } - - //AddEnum | RemoveEnum - public Alternatives getAlternatives() { return cAlternatives; } - - //AddEnum - public RuleCall getAddEnumParserRuleCall_0() { return cAddEnumParserRuleCall_0; } - - //RemoveEnum - public RuleCall getRemoveEnumParserRuleCall_1() { return cRemoveEnumParserRuleCall_1; } - } - - public class AddEnumElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AddEnum"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAddKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEnumEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cEnumEntrySTRINGTerminalRuleCall_1_0 = (RuleCall)cEnumEntryAssignment_1.eContents().get(0); - private final Assignment cOrdinalAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0 = (RuleCall)cOrdinalAssignment_2.eContents().get(0); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cDescriptionKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cDescriptionAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final RuleCall cDescriptionSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cDescriptionAssignment_3_1.eContents().get(0); - - //AddEnum: - // 'add' enumEntry=STRING ordinal=WHOLE_NUM_STR? ('description' description=STRING)?; - @Override public ParserRule getRule() { return rule; } - - //'add' enumEntry=STRING ordinal=WHOLE_NUM_STR? ('description' description=STRING)? - public Group getGroup() { return cGroup; } - - //'add' - public Keyword getAddKeyword_0() { return cAddKeyword_0; } - - //enumEntry=STRING - public Assignment getEnumEntryAssignment_1() { return cEnumEntryAssignment_1; } - - //STRING - public RuleCall getEnumEntrySTRINGTerminalRuleCall_1_0() { return cEnumEntrySTRINGTerminalRuleCall_1_0; } - - //ordinal=WHOLE_NUM_STR? - public Assignment getOrdinalAssignment_2() { return cOrdinalAssignment_2; } - - //WHOLE_NUM_STR - public RuleCall getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0() { return cOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0; } - - //('description' description=STRING)? - public Group getGroup_3() { return cGroup_3; } - - //'description' - public Keyword getDescriptionKeyword_3_0() { return cDescriptionKeyword_3_0; } - - //description=STRING - public Assignment getDescriptionAssignment_3_1() { return cDescriptionAssignment_3_1; } - - //STRING - public RuleCall getDescriptionSTRINGTerminalRuleCall_3_1_0() { return cDescriptionSTRINGTerminalRuleCall_3_1_0; } - } - - public class RemoveEnumElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RemoveEnum"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cRemoveKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEnumEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cEnumEntryXOseeEnumEntryCrossReference_1_0 = (CrossReference)cEnumEntryAssignment_1.eContents().get(0); - private final RuleCall cEnumEntryXOseeEnumEntrySTRINGTerminalRuleCall_1_0_1 = (RuleCall)cEnumEntryXOseeEnumEntryCrossReference_1_0.eContents().get(1); - - //RemoveEnum: - // 'remove' enumEntry=[XOseeEnumEntry|STRING]; - @Override public ParserRule getRule() { return rule; } - - //'remove' enumEntry=[XOseeEnumEntry|STRING] - public Group getGroup() { return cGroup; } - - //'remove' - public Keyword getRemoveKeyword_0() { return cRemoveKeyword_0; } - - //enumEntry=[XOseeEnumEntry|STRING] - public Assignment getEnumEntryAssignment_1() { return cEnumEntryAssignment_1; } - - //[XOseeEnumEntry|STRING] - public CrossReference getEnumEntryXOseeEnumEntryCrossReference_1_0() { return cEnumEntryXOseeEnumEntryCrossReference_1_0; } - - //STRING - public RuleCall getEnumEntryXOseeEnumEntrySTRINGTerminalRuleCall_1_0_1() { return cEnumEntryXOseeEnumEntrySTRINGTerminalRuleCall_1_0_1; } - } - - public class XOseeArtifactTypeOverrideElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XOseeArtifactTypeOverride"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cOverridesArtifactTypeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cOverridenArtifactTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cOverridenArtifactTypeXArtifactTypeCrossReference_1_0 = (CrossReference)cOverridenArtifactTypeAssignment_1.eContents().get(0); - private final RuleCall cOverridenArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_1_0_1 = (RuleCall)cOverridenArtifactTypeXArtifactTypeCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cInheritAllAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final Keyword cInheritAllInheritAllKeyword_3_0 = (Keyword)cInheritAllAssignment_3.eContents().get(0); - private final Assignment cOverrideOptionsAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cOverrideOptionsAttributeOverrideOptionParserRuleCall_4_0 = (RuleCall)cOverrideOptionsAssignment_4.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //XOseeArtifactTypeOverride: - // 'overrides artifactType' overridenArtifactType=[XArtifactType|STRING] '{' inheritAll?='inheritAll'? - // overrideOptions+=AttributeOverrideOption+ '}'; - @Override public ParserRule getRule() { return rule; } - - //'overrides artifactType' overridenArtifactType=[XArtifactType|STRING] '{' inheritAll?='inheritAll'? - //overrideOptions+=AttributeOverrideOption+ '}' - public Group getGroup() { return cGroup; } - - //'overrides artifactType' - public Keyword getOverridesArtifactTypeKeyword_0() { return cOverridesArtifactTypeKeyword_0; } - - //overridenArtifactType=[XArtifactType|STRING] - public Assignment getOverridenArtifactTypeAssignment_1() { return cOverridenArtifactTypeAssignment_1; } - - //[XArtifactType|STRING] - public CrossReference getOverridenArtifactTypeXArtifactTypeCrossReference_1_0() { return cOverridenArtifactTypeXArtifactTypeCrossReference_1_0; } - - //STRING - public RuleCall getOverridenArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_1_0_1() { return cOverridenArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //inheritAll?='inheritAll'? - public Assignment getInheritAllAssignment_3() { return cInheritAllAssignment_3; } - - //'inheritAll' - public Keyword getInheritAllInheritAllKeyword_3_0() { return cInheritAllInheritAllKeyword_3_0; } - - //overrideOptions+=AttributeOverrideOption+ - public Assignment getOverrideOptionsAssignment_4() { return cOverrideOptionsAssignment_4; } - - //AttributeOverrideOption - public RuleCall getOverrideOptionsAttributeOverrideOptionParserRuleCall_4_0() { return cOverrideOptionsAttributeOverrideOptionParserRuleCall_4_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } - } - - public class AttributeOverrideOptionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeOverrideOption"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cAddAttributeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cRemoveAttributeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cUpdateAttributeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - - //AttributeOverrideOption: - // AddAttribute | RemoveAttribute | UpdateAttribute; - @Override public ParserRule getRule() { return rule; } - - //AddAttribute | RemoveAttribute | UpdateAttribute - public Alternatives getAlternatives() { return cAlternatives; } - - //AddAttribute - public RuleCall getAddAttributeParserRuleCall_0() { return cAddAttributeParserRuleCall_0; } - - //RemoveAttribute - public RuleCall getRemoveAttributeParserRuleCall_1() { return cRemoveAttributeParserRuleCall_1; } - - //UpdateAttribute - public RuleCall getUpdateAttributeParserRuleCall_2() { return cUpdateAttributeParserRuleCall_2; } - } - - public class AddAttributeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AddAttribute"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAddKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cAttributeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cAttributeXAttributeTypeRefParserRuleCall_1_0 = (RuleCall)cAttributeAssignment_1.eContents().get(0); - - //AddAttribute: - // 'add' attribute=XAttributeTypeRef; - @Override public ParserRule getRule() { return rule; } - - //'add' attribute=XAttributeTypeRef - public Group getGroup() { return cGroup; } - - //'add' - public Keyword getAddKeyword_0() { return cAddKeyword_0; } - - //attribute=XAttributeTypeRef - public Assignment getAttributeAssignment_1() { return cAttributeAssignment_1; } - - //XAttributeTypeRef - public RuleCall getAttributeXAttributeTypeRefParserRuleCall_1_0() { return cAttributeXAttributeTypeRefParserRuleCall_1_0; } - } - - public class RemoveAttributeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RemoveAttribute"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cRemoveKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cAttributeKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cAttributeAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cAttributeXAttributeTypeCrossReference_2_0 = (CrossReference)cAttributeAssignment_2.eContents().get(0); - private final RuleCall cAttributeXAttributeTypeSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cAttributeXAttributeTypeCrossReference_2_0.eContents().get(1); - - //RemoveAttribute: - // 'remove' 'attribute' attribute=[XAttributeType|STRING]; - @Override public ParserRule getRule() { return rule; } - - //'remove' 'attribute' attribute=[XAttributeType|STRING] - public Group getGroup() { return cGroup; } - - //'remove' - public Keyword getRemoveKeyword_0() { return cRemoveKeyword_0; } - - //'attribute' - public Keyword getAttributeKeyword_1() { return cAttributeKeyword_1; } - - //attribute=[XAttributeType|STRING] - public Assignment getAttributeAssignment_2() { return cAttributeAssignment_2; } - - //[XAttributeType|STRING] - public CrossReference getAttributeXAttributeTypeCrossReference_2_0() { return cAttributeXAttributeTypeCrossReference_2_0; } - - //STRING - public RuleCall getAttributeXAttributeTypeSTRINGTerminalRuleCall_2_0_1() { return cAttributeXAttributeTypeSTRINGTerminalRuleCall_2_0_1; } - } - - public class UpdateAttributeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.UpdateAttribute"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cUpdateKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cAttributeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cAttributeXAttributeTypeRefParserRuleCall_1_0 = (RuleCall)cAttributeAssignment_1.eContents().get(0); - - //UpdateAttribute: - // 'update' attribute=XAttributeTypeRef; - @Override public ParserRule getRule() { return rule; } - - //'update' attribute=XAttributeTypeRef - public Group getGroup() { return cGroup; } - - //'update' - public Keyword getUpdateKeyword_0() { return cUpdateKeyword_0; } - - //attribute=XAttributeTypeRef - public Assignment getAttributeAssignment_1() { return cAttributeAssignment_1; } - - //XAttributeTypeRef - public RuleCall getAttributeXAttributeTypeRefParserRuleCall_1_0() { return cAttributeXAttributeTypeRefParserRuleCall_1_0; } - } - - public class XRelationTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XRelationType"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cRelationTypeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Keyword cIdKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cIdAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cIdWHOLE_NUM_STRTerminalRuleCall_4_0 = (RuleCall)cIdAssignment_4.eContents().get(0); - private final Keyword cSideANameKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cSideANameAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final RuleCall cSideANameSTRINGTerminalRuleCall_6_0 = (RuleCall)cSideANameAssignment_6.eContents().get(0); - private final Keyword cSideAArtifactTypeKeyword_7 = (Keyword)cGroup.eContents().get(7); - private final Assignment cSideAArtifactTypeAssignment_8 = (Assignment)cGroup.eContents().get(8); - private final CrossReference cSideAArtifactTypeXArtifactTypeCrossReference_8_0 = (CrossReference)cSideAArtifactTypeAssignment_8.eContents().get(0); - private final RuleCall cSideAArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_8_0_1 = (RuleCall)cSideAArtifactTypeXArtifactTypeCrossReference_8_0.eContents().get(1); - private final Keyword cSideBNameKeyword_9 = (Keyword)cGroup.eContents().get(9); - private final Assignment cSideBNameAssignment_10 = (Assignment)cGroup.eContents().get(10); - private final RuleCall cSideBNameSTRINGTerminalRuleCall_10_0 = (RuleCall)cSideBNameAssignment_10.eContents().get(0); - private final Keyword cSideBArtifactTypeKeyword_11 = (Keyword)cGroup.eContents().get(11); - private final Assignment cSideBArtifactTypeAssignment_12 = (Assignment)cGroup.eContents().get(12); - private final CrossReference cSideBArtifactTypeXArtifactTypeCrossReference_12_0 = (CrossReference)cSideBArtifactTypeAssignment_12.eContents().get(0); - private final RuleCall cSideBArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_12_0_1 = (RuleCall)cSideBArtifactTypeXArtifactTypeCrossReference_12_0.eContents().get(1); - private final Keyword cDefaultOrderTypeKeyword_13 = (Keyword)cGroup.eContents().get(13); - private final Assignment cDefaultOrderTypeAssignment_14 = (Assignment)cGroup.eContents().get(14); - private final RuleCall cDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0 = (RuleCall)cDefaultOrderTypeAssignment_14.eContents().get(0); - private final Keyword cMultiplicityKeyword_15 = (Keyword)cGroup.eContents().get(15); - private final Assignment cMultiplicityAssignment_16 = (Assignment)cGroup.eContents().get(16); - private final RuleCall cMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0 = (RuleCall)cMultiplicityAssignment_16.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_17 = (Keyword)cGroup.eContents().get(17); - - //XRelationType: - // 'relationType' name=STRING '{' 'id' id=WHOLE_NUM_STR 'sideAName' sideAName=STRING 'sideAArtifactType' - // sideAArtifactType=[XArtifactType|STRING] 'sideBName' sideBName=STRING 'sideBArtifactType' - // sideBArtifactType=[XArtifactType|STRING] 'defaultOrderType' defaultOrderType=RelationOrderType 'multiplicity' - // multiplicity=RelationMultiplicityEnum '}'; - @Override public ParserRule getRule() { return rule; } - - //'relationType' name=STRING '{' 'id' id=WHOLE_NUM_STR 'sideAName' sideAName=STRING 'sideAArtifactType' - //sideAArtifactType=[XArtifactType|STRING] 'sideBName' sideBName=STRING 'sideBArtifactType' - //sideBArtifactType=[XArtifactType|STRING] 'defaultOrderType' defaultOrderType=RelationOrderType 'multiplicity' - //multiplicity=RelationMultiplicityEnum '}' - public Group getGroup() { return cGroup; } - - //'relationType' - public Keyword getRelationTypeKeyword_0() { return cRelationTypeKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //'id' - public Keyword getIdKeyword_3() { return cIdKeyword_3; } - - //id=WHOLE_NUM_STR - public Assignment getIdAssignment_4() { return cIdAssignment_4; } - - //WHOLE_NUM_STR - public RuleCall getIdWHOLE_NUM_STRTerminalRuleCall_4_0() { return cIdWHOLE_NUM_STRTerminalRuleCall_4_0; } - - //'sideAName' - public Keyword getSideANameKeyword_5() { return cSideANameKeyword_5; } - - //sideAName=STRING - public Assignment getSideANameAssignment_6() { return cSideANameAssignment_6; } - - //STRING - public RuleCall getSideANameSTRINGTerminalRuleCall_6_0() { return cSideANameSTRINGTerminalRuleCall_6_0; } - - //'sideAArtifactType' - public Keyword getSideAArtifactTypeKeyword_7() { return cSideAArtifactTypeKeyword_7; } - - //sideAArtifactType=[XArtifactType|STRING] - public Assignment getSideAArtifactTypeAssignment_8() { return cSideAArtifactTypeAssignment_8; } - - //[XArtifactType|STRING] - public CrossReference getSideAArtifactTypeXArtifactTypeCrossReference_8_0() { return cSideAArtifactTypeXArtifactTypeCrossReference_8_0; } - - //STRING - public RuleCall getSideAArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_8_0_1() { return cSideAArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_8_0_1; } - - //'sideBName' - public Keyword getSideBNameKeyword_9() { return cSideBNameKeyword_9; } - - //sideBName=STRING - public Assignment getSideBNameAssignment_10() { return cSideBNameAssignment_10; } - - //STRING - public RuleCall getSideBNameSTRINGTerminalRuleCall_10_0() { return cSideBNameSTRINGTerminalRuleCall_10_0; } - - //'sideBArtifactType' - public Keyword getSideBArtifactTypeKeyword_11() { return cSideBArtifactTypeKeyword_11; } - - //sideBArtifactType=[XArtifactType|STRING] - public Assignment getSideBArtifactTypeAssignment_12() { return cSideBArtifactTypeAssignment_12; } - - //[XArtifactType|STRING] - public CrossReference getSideBArtifactTypeXArtifactTypeCrossReference_12_0() { return cSideBArtifactTypeXArtifactTypeCrossReference_12_0; } - - //STRING - public RuleCall getSideBArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_12_0_1() { return cSideBArtifactTypeXArtifactTypeSTRINGTerminalRuleCall_12_0_1; } - - //'defaultOrderType' - public Keyword getDefaultOrderTypeKeyword_13() { return cDefaultOrderTypeKeyword_13; } - - //defaultOrderType=RelationOrderType - public Assignment getDefaultOrderTypeAssignment_14() { return cDefaultOrderTypeAssignment_14; } - - //RelationOrderType - public RuleCall getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0() { return cDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0; } - - //'multiplicity' - public Keyword getMultiplicityKeyword_15() { return cMultiplicityKeyword_15; } - - //multiplicity=RelationMultiplicityEnum - public Assignment getMultiplicityAssignment_16() { return cMultiplicityAssignment_16; } - - //RelationMultiplicityEnum - public RuleCall getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0() { return cMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_17() { return cRightCurlyBracketKeyword_17; } - } - - public class RelationOrderTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationOrderType"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Keyword cLexicographical_AscendingKeyword_0 = (Keyword)cAlternatives.eContents().get(0); - private final Keyword cLexicographical_DescendingKeyword_1 = (Keyword)cAlternatives.eContents().get(1); - private final Keyword cUnorderedKeyword_2 = (Keyword)cAlternatives.eContents().get(2); - private final RuleCall cIDTerminalRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //RelationOrderType: - // 'Lexicographical_Ascending' | 'Lexicographical_Descending' | 'Unordered' | ID; - @Override public ParserRule getRule() { return rule; } - - //'Lexicographical_Ascending' | 'Lexicographical_Descending' | 'Unordered' | ID - public Alternatives getAlternatives() { return cAlternatives; } - - //'Lexicographical_Ascending' - public Keyword getLexicographical_AscendingKeyword_0() { return cLexicographical_AscendingKeyword_0; } - - //'Lexicographical_Descending' - public Keyword getLexicographical_DescendingKeyword_1() { return cLexicographical_DescendingKeyword_1; } - - //'Unordered' - public Keyword getUnorderedKeyword_2() { return cUnorderedKeyword_2; } - - //ID - public RuleCall getIDTerminalRuleCall_3() { return cIDTerminalRuleCall_3; } - } - - public class CONDITION_VALUEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.CONDITION_VALUE"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cWHOLE_NUM_STRTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cSTRINGTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //CONDITION_VALUE: - // WHOLE_NUM_STR | STRING; - @Override public ParserRule getRule() { return rule; } - - //WHOLE_NUM_STR | STRING - public Alternatives getAlternatives() { return cAlternatives; } - - //WHOLE_NUM_STR - public RuleCall getWHOLE_NUM_STRTerminalRuleCall_0() { return cWHOLE_NUM_STRTerminalRuleCall_0; } - - //STRING - public RuleCall getSTRINGTerminalRuleCall_1() { return cSTRINGTerminalRuleCall_1; } - } - - public class ConditionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.Condition"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cSimpleConditionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cCompoundConditionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Condition: - // SimpleCondition | CompoundCondition; - @Override public ParserRule getRule() { return rule; } - - //SimpleCondition | CompoundCondition - public Alternatives getAlternatives() { return cAlternatives; } - - //SimpleCondition - public RuleCall getSimpleConditionParserRuleCall_0() { return cSimpleConditionParserRuleCall_0; } - - //CompoundCondition - public RuleCall getCompoundConditionParserRuleCall_1() { return cCompoundConditionParserRuleCall_1; } - } - - public class SimpleConditionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.SimpleCondition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cFieldAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cFieldMatchFieldEnumRuleCall_0_0 = (RuleCall)cFieldAssignment_0.eContents().get(0); - private final Assignment cOpAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cOpCompareOpEnumRuleCall_1_0 = (RuleCall)cOpAssignment_1.eContents().get(0); - private final Assignment cExpressionAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cExpressionSTRINGTerminalRuleCall_2_0 = (RuleCall)cExpressionAssignment_2.eContents().get(0); - - //SimpleCondition: - // field=MatchField op=CompareOp expression=STRING; - @Override public ParserRule getRule() { return rule; } - - //field=MatchField op=CompareOp expression=STRING - public Group getGroup() { return cGroup; } - - //field=MatchField - public Assignment getFieldAssignment_0() { return cFieldAssignment_0; } - - //MatchField - public RuleCall getFieldMatchFieldEnumRuleCall_0_0() { return cFieldMatchFieldEnumRuleCall_0_0; } - - //op=CompareOp - public Assignment getOpAssignment_1() { return cOpAssignment_1; } - - //CompareOp - public RuleCall getOpCompareOpEnumRuleCall_1_0() { return cOpCompareOpEnumRuleCall_1_0; } - - //expression=STRING - public Assignment getExpressionAssignment_2() { return cExpressionAssignment_2; } - - //STRING - public RuleCall getExpressionSTRINGTerminalRuleCall_2_0() { return cExpressionSTRINGTerminalRuleCall_2_0; } - } - - public class CompoundConditionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.CompoundCondition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftParenthesisKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cConditionsAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cConditionsSimpleConditionParserRuleCall_1_0 = (RuleCall)cConditionsAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cOperatorsAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cOperatorsXLogicOperatorEnumRuleCall_2_0_0 = (RuleCall)cOperatorsAssignment_2_0.eContents().get(0); - private final Assignment cConditionsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cConditionsSimpleConditionParserRuleCall_2_1_0 = (RuleCall)cConditionsAssignment_2_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); - - //CompoundCondition: - // '(' conditions+=SimpleCondition (operators+=XLogicOperator conditions+=SimpleCondition)+ ')'; - @Override public ParserRule getRule() { return rule; } - - //'(' conditions+=SimpleCondition (operators+=XLogicOperator conditions+=SimpleCondition)+ ')' - public Group getGroup() { return cGroup; } - - //'(' - public Keyword getLeftParenthesisKeyword_0() { return cLeftParenthesisKeyword_0; } - - //conditions+=SimpleCondition - public Assignment getConditionsAssignment_1() { return cConditionsAssignment_1; } - - //SimpleCondition - public RuleCall getConditionsSimpleConditionParserRuleCall_1_0() { return cConditionsSimpleConditionParserRuleCall_1_0; } - - //(operators+=XLogicOperator conditions+=SimpleCondition)+ - public Group getGroup_2() { return cGroup_2; } - - //operators+=XLogicOperator - public Assignment getOperatorsAssignment_2_0() { return cOperatorsAssignment_2_0; } - - //XLogicOperator - public RuleCall getOperatorsXLogicOperatorEnumRuleCall_2_0_0() { return cOperatorsXLogicOperatorEnumRuleCall_2_0_0; } - - //conditions+=SimpleCondition - public Assignment getConditionsAssignment_2_1() { return cConditionsAssignment_2_1; } - - //SimpleCondition - public RuleCall getConditionsSimpleConditionParserRuleCall_2_1_0() { return cConditionsSimpleConditionParserRuleCall_2_1_0; } - - //')' - public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } - } - - public class XArtifactMatcherElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XArtifactMatcher"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cArtifactMatcherKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cWhereKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cConditionsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cConditionsConditionParserRuleCall_3_0 = (RuleCall)cConditionsAssignment_3.eContents().get(0); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Assignment cOperatorsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); - private final RuleCall cOperatorsXLogicOperatorEnumRuleCall_4_0_0 = (RuleCall)cOperatorsAssignment_4_0.eContents().get(0); - private final Assignment cConditionsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final RuleCall cConditionsConditionParserRuleCall_4_1_0 = (RuleCall)cConditionsAssignment_4_1.eContents().get(0); - private final Keyword cSemicolonKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //XArtifactMatcher: - // 'artifactMatcher' name=STRING 'where' conditions+=Condition (operators+=XLogicOperator conditions+=Condition)* ';'; - @Override public ParserRule getRule() { return rule; } - - //'artifactMatcher' name=STRING 'where' conditions+=Condition (operators+=XLogicOperator conditions+=Condition)* ';' - public Group getGroup() { return cGroup; } - - //'artifactMatcher' - public Keyword getArtifactMatcherKeyword_0() { return cArtifactMatcherKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //'where' - public Keyword getWhereKeyword_2() { return cWhereKeyword_2; } - - //conditions+=Condition - public Assignment getConditionsAssignment_3() { return cConditionsAssignment_3; } - - //Condition - public RuleCall getConditionsConditionParserRuleCall_3_0() { return cConditionsConditionParserRuleCall_3_0; } - - //(operators+=XLogicOperator conditions+=Condition)* - public Group getGroup_4() { return cGroup_4; } - - //operators+=XLogicOperator - public Assignment getOperatorsAssignment_4_0() { return cOperatorsAssignment_4_0; } - - //XLogicOperator - public RuleCall getOperatorsXLogicOperatorEnumRuleCall_4_0_0() { return cOperatorsXLogicOperatorEnumRuleCall_4_0_0; } - - //conditions+=Condition - public Assignment getConditionsAssignment_4_1() { return cConditionsAssignment_4_1; } - - //Condition - public RuleCall getConditionsConditionParserRuleCall_4_1_0() { return cConditionsConditionParserRuleCall_4_1_0; } - - //';' - public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; } - } - - public class RoleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.Role"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cRoleKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cExtendsKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cSuperRolesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final CrossReference cSuperRolesRoleCrossReference_2_1_0 = (CrossReference)cSuperRolesAssignment_2_1.eContents().get(0); - private final RuleCall cSuperRolesRoleSTRINGTerminalRuleCall_2_1_0_1 = (RuleCall)cSuperRolesRoleCrossReference_2_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); - private final Assignment cUsersAndGroupsAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0); - private final RuleCall cUsersAndGroupsUsersAndGroupsParserRuleCall_4_0_0 = (RuleCall)cUsersAndGroupsAssignment_4_0.eContents().get(0); - private final Assignment cReferencedContextsAssignment_4_1 = (Assignment)cAlternatives_4.eContents().get(1); - private final RuleCall cReferencedContextsReferencedContextParserRuleCall_4_1_0 = (RuleCall)cReferencedContextsAssignment_4_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - ///////////////////////////////////////// - // // OSEE ACCESS MODEL // - // - ///////////////////////////////////////// - // Role: - // 'role' name=STRING ('extends' superRoles+=[Role|STRING])? '{' (usersAndGroups+=UsersAndGroups | - // referencedContexts+=ReferencedContext)+ '}'; - @Override public ParserRule getRule() { return rule; } - - //'role' name=STRING ('extends' superRoles+=[Role|STRING])? '{' (usersAndGroups+=UsersAndGroups | - //referencedContexts+=ReferencedContext)+ '}' - public Group getGroup() { return cGroup; } - - //'role' - public Keyword getRoleKeyword_0() { return cRoleKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //('extends' superRoles+=[Role|STRING])? - public Group getGroup_2() { return cGroup_2; } - - //'extends' - public Keyword getExtendsKeyword_2_0() { return cExtendsKeyword_2_0; } - - //superRoles+=[Role|STRING] - public Assignment getSuperRolesAssignment_2_1() { return cSuperRolesAssignment_2_1; } - - //[Role|STRING] - public CrossReference getSuperRolesRoleCrossReference_2_1_0() { return cSuperRolesRoleCrossReference_2_1_0; } - - //STRING - public RuleCall getSuperRolesRoleSTRINGTerminalRuleCall_2_1_0_1() { return cSuperRolesRoleSTRINGTerminalRuleCall_2_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } - - //(usersAndGroups+=UsersAndGroups | referencedContexts+=ReferencedContext)+ - public Alternatives getAlternatives_4() { return cAlternatives_4; } - - //usersAndGroups+=UsersAndGroups - public Assignment getUsersAndGroupsAssignment_4_0() { return cUsersAndGroupsAssignment_4_0; } - - //UsersAndGroups - public RuleCall getUsersAndGroupsUsersAndGroupsParserRuleCall_4_0_0() { return cUsersAndGroupsUsersAndGroupsParserRuleCall_4_0_0; } - - //referencedContexts+=ReferencedContext - public Assignment getReferencedContextsAssignment_4_1() { return cReferencedContextsAssignment_4_1; } - - //ReferencedContext - public RuleCall getReferencedContextsReferencedContextParserRuleCall_4_1_0() { return cReferencedContextsReferencedContextParserRuleCall_4_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } - } - - public class ReferencedContextElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.ReferencedContext"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAccessContextKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cAccessContextRefAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cAccessContextRefSTRINGTerminalRuleCall_1_0 = (RuleCall)cAccessContextRefAssignment_1.eContents().get(0); - private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //ReferencedContext: - // 'accessContext' accessContextRef=STRING ';'; - @Override public ParserRule getRule() { return rule; } - - //'accessContext' accessContextRef=STRING ';' - public Group getGroup() { return cGroup; } - - //'accessContext' - public Keyword getAccessContextKeyword_0() { return cAccessContextKeyword_0; } - - //accessContextRef=STRING - public Assignment getAccessContextRefAssignment_1() { return cAccessContextRefAssignment_1; } - - //STRING - public RuleCall getAccessContextRefSTRINGTerminalRuleCall_1_0() { return cAccessContextRefSTRINGTerminalRuleCall_1_0; } - - //';' - public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; } - } - - public class UsersAndGroupsElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.UsersAndGroups"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cGuidKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cUserOrGroupGuidAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cUserOrGroupGuidSTRINGTerminalRuleCall_1_0 = (RuleCall)cUserOrGroupGuidAssignment_1.eContents().get(0); - private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //UsersAndGroups: - // 'guid' userOrGroupGuid=STRING ';'; - @Override public ParserRule getRule() { return rule; } - - //'guid' userOrGroupGuid=STRING ';' - public Group getGroup() { return cGroup; } - - //'guid' - public Keyword getGuidKeyword_0() { return cGuidKeyword_0; } - - //userOrGroupGuid=STRING - public Assignment getUserOrGroupGuidAssignment_1() { return cUserOrGroupGuidAssignment_1; } - - //STRING - public RuleCall getUserOrGroupGuidSTRINGTerminalRuleCall_1_0() { return cUserOrGroupGuidSTRINGTerminalRuleCall_1_0; } - - //';' - public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; } - } - - public class AccessContextElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessContext"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAccessContextKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cExtendsKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cSuperAccessContextsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final CrossReference cSuperAccessContextsAccessContextCrossReference_2_1_0 = (CrossReference)cSuperAccessContextsAssignment_2_1.eContents().get(0); - private final RuleCall cSuperAccessContextsAccessContextSTRINGTerminalRuleCall_2_1_0_1 = (RuleCall)cSuperAccessContextsAccessContextCrossReference_2_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Keyword cGuidKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Assignment cGuidAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final RuleCall cGuidSTRINGTerminalRuleCall_5_0 = (RuleCall)cGuidAssignment_5.eContents().get(0); - private final Keyword cSemicolonKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Alternatives cAlternatives_7 = (Alternatives)cGroup.eContents().get(7); - private final Assignment cAccessRulesAssignment_7_0 = (Assignment)cAlternatives_7.eContents().get(0); - private final RuleCall cAccessRulesObjectRestrictionParserRuleCall_7_0_0 = (RuleCall)cAccessRulesAssignment_7_0.eContents().get(0); - private final Assignment cHierarchyRestrictionsAssignment_7_1 = (Assignment)cAlternatives_7.eContents().get(1); - private final RuleCall cHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0 = (RuleCall)cHierarchyRestrictionsAssignment_7_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); - - //AccessContext: - // 'accessContext' name=STRING ('extends' superAccessContexts+=[AccessContext|STRING])? '{' 'guid' guid=STRING ';' - // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ '}'; - @Override public ParserRule getRule() { return rule; } - - //'accessContext' name=STRING ('extends' superAccessContexts+=[AccessContext|STRING])? '{' 'guid' guid=STRING ';' - //(accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ '}' - public Group getGroup() { return cGroup; } - - //'accessContext' - public Keyword getAccessContextKeyword_0() { return cAccessContextKeyword_0; } - - //name=STRING - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //STRING - public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } - - //('extends' superAccessContexts+=[AccessContext|STRING])? - public Group getGroup_2() { return cGroup_2; } - - //'extends' - public Keyword getExtendsKeyword_2_0() { return cExtendsKeyword_2_0; } - - //superAccessContexts+=[AccessContext|STRING] - public Assignment getSuperAccessContextsAssignment_2_1() { return cSuperAccessContextsAssignment_2_1; } - - //[AccessContext|STRING] - public CrossReference getSuperAccessContextsAccessContextCrossReference_2_1_0() { return cSuperAccessContextsAccessContextCrossReference_2_1_0; } - - //STRING - public RuleCall getSuperAccessContextsAccessContextSTRINGTerminalRuleCall_2_1_0_1() { return cSuperAccessContextsAccessContextSTRINGTerminalRuleCall_2_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } - - //'guid' - public Keyword getGuidKeyword_4() { return cGuidKeyword_4; } - - //guid=STRING - public Assignment getGuidAssignment_5() { return cGuidAssignment_5; } - - //STRING - public RuleCall getGuidSTRINGTerminalRuleCall_5_0() { return cGuidSTRINGTerminalRuleCall_5_0; } - - //';' - public Keyword getSemicolonKeyword_6() { return cSemicolonKeyword_6; } - - //(accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ - public Alternatives getAlternatives_7() { return cAlternatives_7; } - - //accessRules+=ObjectRestriction - public Assignment getAccessRulesAssignment_7_0() { return cAccessRulesAssignment_7_0; } - - //ObjectRestriction - public RuleCall getAccessRulesObjectRestrictionParserRuleCall_7_0_0() { return cAccessRulesObjectRestrictionParserRuleCall_7_0_0; } - - //hierarchyRestrictions+=HierarchyRestriction - public Assignment getHierarchyRestrictionsAssignment_7_1() { return cHierarchyRestrictionsAssignment_7_1; } - - //HierarchyRestriction - public RuleCall getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0() { return cHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } - } - - public class HierarchyRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.HierarchyRestriction"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cChildrenOfKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cArtifactMatcherRefAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cArtifactMatcherRefXArtifactMatcherCrossReference_1_0 = (CrossReference)cArtifactMatcherRefAssignment_1.eContents().get(0); - private final RuleCall cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1 = (RuleCall)cArtifactMatcherRefXArtifactMatcherCrossReference_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cAccessRulesAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cAccessRulesObjectRestrictionParserRuleCall_3_0 = (RuleCall)cAccessRulesAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //HierarchyRestriction: - // 'childrenOf' artifactMatcherRef=[XArtifactMatcher|STRING] '{' accessRules+=ObjectRestriction+ '}'; - @Override public ParserRule getRule() { return rule; } - - //'childrenOf' artifactMatcherRef=[XArtifactMatcher|STRING] '{' accessRules+=ObjectRestriction+ '}' - public Group getGroup() { return cGroup; } - - //'childrenOf' - public Keyword getChildrenOfKeyword_0() { return cChildrenOfKeyword_0; } - - //artifactMatcherRef=[XArtifactMatcher|STRING] - public Assignment getArtifactMatcherRefAssignment_1() { return cArtifactMatcherRefAssignment_1; } - - //[XArtifactMatcher|STRING] - public CrossReference getArtifactMatcherRefXArtifactMatcherCrossReference_1_0() { return cArtifactMatcherRefXArtifactMatcherCrossReference_1_0; } - - //STRING - public RuleCall getArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1() { return cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //accessRules+=ObjectRestriction+ - public Assignment getAccessRulesAssignment_3() { return cAccessRulesAssignment_3; } - - //ObjectRestriction - public RuleCall getAccessRulesObjectRestrictionParserRuleCall_3_0() { return cAccessRulesObjectRestrictionParserRuleCall_3_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class RelationTypeArtifactTypePredicateElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypeArtifactTypePredicate"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cArtifactTypeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cArtifactTypeRefAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cArtifactTypeRefXArtifactTypeCrossReference_1_0 = (CrossReference)cArtifactTypeRefAssignment_1.eContents().get(0); - private final RuleCall cArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_1_0_1 = (RuleCall)cArtifactTypeRefXArtifactTypeCrossReference_1_0.eContents().get(1); - - //RelationTypeArtifactTypePredicate: - // 'artifactType' artifactTypeRef=[XArtifactType|STRING]; - @Override public ParserRule getRule() { return rule; } - - //'artifactType' artifactTypeRef=[XArtifactType|STRING] - public Group getGroup() { return cGroup; } - - //'artifactType' - public Keyword getArtifactTypeKeyword_0() { return cArtifactTypeKeyword_0; } - - //artifactTypeRef=[XArtifactType|STRING] - public Assignment getArtifactTypeRefAssignment_1() { return cArtifactTypeRefAssignment_1; } - - //[XArtifactType|STRING] - public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_1_0() { return cArtifactTypeRefXArtifactTypeCrossReference_1_0; } - - //STRING - public RuleCall getArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_1_0_1() { return cArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_1_0_1; } - } - - public class RelationTypeArtifactPredicateElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypeArtifactPredicate"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cArtifactKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cArtifactMatcherRefAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cArtifactMatcherRefXArtifactMatcherCrossReference_1_0 = (CrossReference)cArtifactMatcherRefAssignment_1.eContents().get(0); - private final RuleCall cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1 = (RuleCall)cArtifactMatcherRefXArtifactMatcherCrossReference_1_0.eContents().get(1); - - //RelationTypeArtifactPredicate: - // 'artifact' artifactMatcherRef=[XArtifactMatcher|STRING]; - @Override public ParserRule getRule() { return rule; } - - //'artifact' artifactMatcherRef=[XArtifactMatcher|STRING] - public Group getGroup() { return cGroup; } - - //'artifact' - public Keyword getArtifactKeyword_0() { return cArtifactKeyword_0; } - - //artifactMatcherRef=[XArtifactMatcher|STRING] - public Assignment getArtifactMatcherRefAssignment_1() { return cArtifactMatcherRefAssignment_1; } - - //[XArtifactMatcher|STRING] - public CrossReference getArtifactMatcherRefXArtifactMatcherCrossReference_1_0() { return cArtifactMatcherRefXArtifactMatcherCrossReference_1_0; } - - //STRING - public RuleCall getArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1() { return cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_1_0_1; } - } - - public class RelationTypePredicateElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypePredicate"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cRelationTypeArtifactPredicateParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cRelationTypeArtifactTypePredicateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //RelationTypePredicate: - // RelationTypeArtifactPredicate | RelationTypeArtifactTypePredicate; - @Override public ParserRule getRule() { return rule; } - - //RelationTypeArtifactPredicate | RelationTypeArtifactTypePredicate - public Alternatives getAlternatives() { return cAlternatives; } - - //RelationTypeArtifactPredicate - public RuleCall getRelationTypeArtifactPredicateParserRuleCall_0() { return cRelationTypeArtifactPredicateParserRuleCall_0; } - - //RelationTypeArtifactTypePredicate - public RuleCall getRelationTypeArtifactTypePredicateParserRuleCall_1() { return cRelationTypeArtifactTypePredicateParserRuleCall_1; } - } - - public class ObjectRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.ObjectRestriction"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cArtifactMatchRestrictionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cArtifactTypeRestrictionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cRelationTypeRestrictionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cAttributeTypeRestrictionParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //ObjectRestriction: - // ArtifactMatchRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; - @Override public ParserRule getRule() { return rule; } - - //ArtifactMatchRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction - public Alternatives getAlternatives() { return cAlternatives; } - - //ArtifactMatchRestriction - public RuleCall getArtifactMatchRestrictionParserRuleCall_0() { return cArtifactMatchRestrictionParserRuleCall_0; } - - //ArtifactTypeRestriction - public RuleCall getArtifactTypeRestrictionParserRuleCall_1() { return cArtifactTypeRestrictionParserRuleCall_1; } - - //RelationTypeRestriction - public RuleCall getRelationTypeRestrictionParserRuleCall_2() { return cRelationTypeRestrictionParserRuleCall_2; } - - //AttributeTypeRestriction - public RuleCall getAttributeTypeRestrictionParserRuleCall_3() { return cAttributeTypeRestrictionParserRuleCall_3; } - } - - public class ArtifactMatchRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.ArtifactMatchRestriction"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPermissionAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPermissionAccessPermissionEnumEnumRuleCall_0_0 = (RuleCall)cPermissionAssignment_0.eContents().get(0); - private final Keyword cEditKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cArtifactKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cArtifactMatcherRefAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final CrossReference cArtifactMatcherRefXArtifactMatcherCrossReference_3_0 = (CrossReference)cArtifactMatcherRefAssignment_3.eContents().get(0); - private final RuleCall cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_3_0_1 = (RuleCall)cArtifactMatcherRefXArtifactMatcherCrossReference_3_0.eContents().get(1); - private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //ArtifactMatchRestriction: - // permission=AccessPermissionEnum 'edit' 'artifact' artifactMatcherRef=[XArtifactMatcher|STRING] ';'; - @Override public ParserRule getRule() { return rule; } - - //permission=AccessPermissionEnum 'edit' 'artifact' artifactMatcherRef=[XArtifactMatcher|STRING] ';' - public Group getGroup() { return cGroup; } - - //permission=AccessPermissionEnum - public Assignment getPermissionAssignment_0() { return cPermissionAssignment_0; } - - //AccessPermissionEnum - public RuleCall getPermissionAccessPermissionEnumEnumRuleCall_0_0() { return cPermissionAccessPermissionEnumEnumRuleCall_0_0; } - - //'edit' - public Keyword getEditKeyword_1() { return cEditKeyword_1; } - - //'artifact' - public Keyword getArtifactKeyword_2() { return cArtifactKeyword_2; } - - //artifactMatcherRef=[XArtifactMatcher|STRING] - public Assignment getArtifactMatcherRefAssignment_3() { return cArtifactMatcherRefAssignment_3; } - - //[XArtifactMatcher|STRING] - public CrossReference getArtifactMatcherRefXArtifactMatcherCrossReference_3_0() { return cArtifactMatcherRefXArtifactMatcherCrossReference_3_0; } - - //STRING - public RuleCall getArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_3_0_1() { return cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_3_0_1; } - - //';' - public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } - } - - public class ArtifactTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.ArtifactTypeRestriction"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPermissionAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPermissionAccessPermissionEnumEnumRuleCall_0_0 = (RuleCall)cPermissionAssignment_0.eContents().get(0); - private final Keyword cEditKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cArtifactTypeKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cArtifactTypeRefAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final CrossReference cArtifactTypeRefXArtifactTypeCrossReference_3_0 = (CrossReference)cArtifactTypeRefAssignment_3.eContents().get(0); - private final RuleCall cArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_3_0_1 = (RuleCall)cArtifactTypeRefXArtifactTypeCrossReference_3_0.eContents().get(1); - private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //ArtifactTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'artifactType' artifactTypeRef=[XArtifactType|STRING] ';'; - @Override public ParserRule getRule() { return rule; } - - //permission=AccessPermissionEnum 'edit' 'artifactType' artifactTypeRef=[XArtifactType|STRING] ';' - public Group getGroup() { return cGroup; } - - //permission=AccessPermissionEnum - public Assignment getPermissionAssignment_0() { return cPermissionAssignment_0; } - - //AccessPermissionEnum - public RuleCall getPermissionAccessPermissionEnumEnumRuleCall_0_0() { return cPermissionAccessPermissionEnumEnumRuleCall_0_0; } - - //'edit' - public Keyword getEditKeyword_1() { return cEditKeyword_1; } - - //'artifactType' - public Keyword getArtifactTypeKeyword_2() { return cArtifactTypeKeyword_2; } - - //artifactTypeRef=[XArtifactType|STRING] - public Assignment getArtifactTypeRefAssignment_3() { return cArtifactTypeRefAssignment_3; } - - //[XArtifactType|STRING] - public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_3_0() { return cArtifactTypeRefXArtifactTypeCrossReference_3_0; } - - //STRING - public RuleCall getArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_3_0_1() { return cArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_3_0_1; } - - //';' - public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } - } - - public class AttributeTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AttributeTypeRestriction"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPermissionAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPermissionAccessPermissionEnumEnumRuleCall_0_0 = (RuleCall)cPermissionAssignment_0.eContents().get(0); - private final Keyword cEditKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cAttributeTypeKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cAttributeTypeRefAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final CrossReference cAttributeTypeRefXAttributeTypeCrossReference_3_0 = (CrossReference)cAttributeTypeRefAssignment_3.eContents().get(0); - private final RuleCall cAttributeTypeRefXAttributeTypeSTRINGTerminalRuleCall_3_0_1 = (RuleCall)cAttributeTypeRefXAttributeTypeCrossReference_3_0.eContents().get(1); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cOfKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Keyword cArtifactTypeKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); - private final Assignment cArtifactTypeRefAssignment_4_2 = (Assignment)cGroup_4.eContents().get(2); - private final CrossReference cArtifactTypeRefXArtifactTypeCrossReference_4_2_0 = (CrossReference)cArtifactTypeRefAssignment_4_2.eContents().get(0); - private final RuleCall cArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_4_2_0_1 = (RuleCall)cArtifactTypeRefXArtifactTypeCrossReference_4_2_0.eContents().get(1); - private final Keyword cSemicolonKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //AttributeTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'attributeType' attributeTypeRef=[XAttributeType|STRING] ('of' 'artifactType' - // artifactTypeRef=[XArtifactType|STRING])? ';'; - @Override public ParserRule getRule() { return rule; } - - //permission=AccessPermissionEnum 'edit' 'attributeType' attributeTypeRef=[XAttributeType|STRING] ('of' 'artifactType' - //artifactTypeRef=[XArtifactType|STRING])? ';' - public Group getGroup() { return cGroup; } - - //permission=AccessPermissionEnum - public Assignment getPermissionAssignment_0() { return cPermissionAssignment_0; } - - //AccessPermissionEnum - public RuleCall getPermissionAccessPermissionEnumEnumRuleCall_0_0() { return cPermissionAccessPermissionEnumEnumRuleCall_0_0; } - - //'edit' - public Keyword getEditKeyword_1() { return cEditKeyword_1; } - - //'attributeType' - public Keyword getAttributeTypeKeyword_2() { return cAttributeTypeKeyword_2; } - - //attributeTypeRef=[XAttributeType|STRING] - public Assignment getAttributeTypeRefAssignment_3() { return cAttributeTypeRefAssignment_3; } - - //[XAttributeType|STRING] - public CrossReference getAttributeTypeRefXAttributeTypeCrossReference_3_0() { return cAttributeTypeRefXAttributeTypeCrossReference_3_0; } - - //STRING - public RuleCall getAttributeTypeRefXAttributeTypeSTRINGTerminalRuleCall_3_0_1() { return cAttributeTypeRefXAttributeTypeSTRINGTerminalRuleCall_3_0_1; } - - //('of' 'artifactType' artifactTypeRef=[XArtifactType|STRING])? - public Group getGroup_4() { return cGroup_4; } - - //'of' - public Keyword getOfKeyword_4_0() { return cOfKeyword_4_0; } - - //'artifactType' - public Keyword getArtifactTypeKeyword_4_1() { return cArtifactTypeKeyword_4_1; } - - //artifactTypeRef=[XArtifactType|STRING] - public Assignment getArtifactTypeRefAssignment_4_2() { return cArtifactTypeRefAssignment_4_2; } - - //[XArtifactType|STRING] - public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_4_2_0() { return cArtifactTypeRefXArtifactTypeCrossReference_4_2_0; } - - //STRING - public RuleCall getArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_4_2_0_1() { return cArtifactTypeRefXArtifactTypeSTRINGTerminalRuleCall_4_2_0_1; } - - //';' - public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; } - } - - public class LegacyRelationTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.LegacyRelationTypeRestriction"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPermissionAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPermissionAccessPermissionEnumEnumRuleCall_0_0 = (RuleCall)cPermissionAssignment_0.eContents().get(0); - private final Keyword cEditKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cRelationTypeKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cRelationTypeRefAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final CrossReference cRelationTypeRefXRelationTypeCrossReference_3_0 = (CrossReference)cRelationTypeRefAssignment_3.eContents().get(0); - private final RuleCall cRelationTypeRefXRelationTypeSTRINGTerminalRuleCall_3_0_1 = (RuleCall)cRelationTypeRefXRelationTypeCrossReference_3_0.eContents().get(1); - private final Assignment cRestrictedToSideAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cRestrictedToSideXRelationSideEnumEnumRuleCall_4_0 = (RuleCall)cRestrictedToSideAssignment_4.eContents().get(0); - private final Group cGroup_5 = (Group)cGroup.eContents().get(5); - private final Keyword cArtifactKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); - private final Assignment cArtifactMatcherRefAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); - private final CrossReference cArtifactMatcherRefXArtifactMatcherCrossReference_5_1_0 = (CrossReference)cArtifactMatcherRefAssignment_5_1.eContents().get(0); - private final RuleCall cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_5_1_0_1 = (RuleCall)cArtifactMatcherRefXArtifactMatcherCrossReference_5_1_0.eContents().get(1); - private final Keyword cSemicolonKeyword_6 = (Keyword)cGroup.eContents().get(6); - - //LegacyRelationTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'relationType' relationTypeRef=[XRelationType|STRING] - // restrictedToSide=XRelationSideEnum ('artifact' artifactMatcherRef=[XArtifactMatcher|STRING])? ';'; - @Override public ParserRule getRule() { return rule; } - - //permission=AccessPermissionEnum 'edit' 'relationType' relationTypeRef=[XRelationType|STRING] - //restrictedToSide=XRelationSideEnum ('artifact' artifactMatcherRef=[XArtifactMatcher|STRING])? ';' - public Group getGroup() { return cGroup; } - - //permission=AccessPermissionEnum - public Assignment getPermissionAssignment_0() { return cPermissionAssignment_0; } - - //AccessPermissionEnum - public RuleCall getPermissionAccessPermissionEnumEnumRuleCall_0_0() { return cPermissionAccessPermissionEnumEnumRuleCall_0_0; } - - //'edit' - public Keyword getEditKeyword_1() { return cEditKeyword_1; } - - //'relationType' - public Keyword getRelationTypeKeyword_2() { return cRelationTypeKeyword_2; } - - //relationTypeRef=[XRelationType|STRING] - public Assignment getRelationTypeRefAssignment_3() { return cRelationTypeRefAssignment_3; } - - //[XRelationType|STRING] - public CrossReference getRelationTypeRefXRelationTypeCrossReference_3_0() { return cRelationTypeRefXRelationTypeCrossReference_3_0; } - - //STRING - public RuleCall getRelationTypeRefXRelationTypeSTRINGTerminalRuleCall_3_0_1() { return cRelationTypeRefXRelationTypeSTRINGTerminalRuleCall_3_0_1; } - - //restrictedToSide=XRelationSideEnum - public Assignment getRestrictedToSideAssignment_4() { return cRestrictedToSideAssignment_4; } - - //XRelationSideEnum - public RuleCall getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0() { return cRestrictedToSideXRelationSideEnumEnumRuleCall_4_0; } - - //('artifact' artifactMatcherRef=[XArtifactMatcher|STRING])? - public Group getGroup_5() { return cGroup_5; } - - //'artifact' - public Keyword getArtifactKeyword_5_0() { return cArtifactKeyword_5_0; } - - //artifactMatcherRef=[XArtifactMatcher|STRING] - public Assignment getArtifactMatcherRefAssignment_5_1() { return cArtifactMatcherRefAssignment_5_1; } - - //[XArtifactMatcher|STRING] - public CrossReference getArtifactMatcherRefXArtifactMatcherCrossReference_5_1_0() { return cArtifactMatcherRefXArtifactMatcherCrossReference_5_1_0; } - - //STRING - public RuleCall getArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_5_1_0_1() { return cArtifactMatcherRefXArtifactMatcherSTRINGTerminalRuleCall_5_1_0_1; } - - //';' - public Keyword getSemicolonKeyword_6() { return cSemicolonKeyword_6; } - } - - public class RelationTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypeRestriction"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPermissionAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPermissionAccessPermissionEnumEnumRuleCall_0_0 = (RuleCall)cPermissionAssignment_0.eContents().get(0); - private final Keyword cEditKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Keyword cRelationTypeKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Assignment cRelationTypeMatchAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); - private final RuleCall cRelationTypeMatchRelationTypeMatchEnumRuleCall_3_0_0 = (RuleCall)cRelationTypeMatchAssignment_3_0.eContents().get(0); - private final Assignment cRelationTypeRefAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); - private final CrossReference cRelationTypeRefXRelationTypeCrossReference_3_1_0 = (CrossReference)cRelationTypeRefAssignment_3_1.eContents().get(0); - private final RuleCall cRelationTypeRefXRelationTypeSTRINGTerminalRuleCall_3_1_0_1 = (RuleCall)cRelationTypeRefXRelationTypeCrossReference_3_1_0.eContents().get(1); - private final Assignment cRestrictedToSideAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cRestrictedToSideXRelationSideEnumEnumRuleCall_4_0 = (RuleCall)cRestrictedToSideAssignment_4.eContents().get(0); - private final Assignment cPredicateAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final RuleCall cPredicateRelationTypePredicateParserRuleCall_5_0 = (RuleCall)cPredicateAssignment_5.eContents().get(0); - private final Keyword cSemicolonKeyword_6 = (Keyword)cGroup.eContents().get(6); - - //RelationTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'relationType' (relationTypeMatch?=RelationTypeMatch | - // relationTypeRef=[XRelationType|STRING]) restrictedToSide=XRelationSideEnum predicate=RelationTypePredicate? ';'; - @Override public ParserRule getRule() { return rule; } - - //permission=AccessPermissionEnum 'edit' 'relationType' (relationTypeMatch?=RelationTypeMatch | - //relationTypeRef=[XRelationType|STRING]) restrictedToSide=XRelationSideEnum predicate=RelationTypePredicate? ';' - public Group getGroup() { return cGroup; } - - //permission=AccessPermissionEnum - public Assignment getPermissionAssignment_0() { return cPermissionAssignment_0; } - - //AccessPermissionEnum - public RuleCall getPermissionAccessPermissionEnumEnumRuleCall_0_0() { return cPermissionAccessPermissionEnumEnumRuleCall_0_0; } - - //'edit' - public Keyword getEditKeyword_1() { return cEditKeyword_1; } - - //'relationType' - public Keyword getRelationTypeKeyword_2() { return cRelationTypeKeyword_2; } - - //(relationTypeMatch?=RelationTypeMatch | relationTypeRef=[XRelationType|STRING]) - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //relationTypeMatch?=RelationTypeMatch - public Assignment getRelationTypeMatchAssignment_3_0() { return cRelationTypeMatchAssignment_3_0; } - - //RelationTypeMatch - public RuleCall getRelationTypeMatchRelationTypeMatchEnumRuleCall_3_0_0() { return cRelationTypeMatchRelationTypeMatchEnumRuleCall_3_0_0; } - - //relationTypeRef=[XRelationType|STRING] - public Assignment getRelationTypeRefAssignment_3_1() { return cRelationTypeRefAssignment_3_1; } - - //[XRelationType|STRING] - public CrossReference getRelationTypeRefXRelationTypeCrossReference_3_1_0() { return cRelationTypeRefXRelationTypeCrossReference_3_1_0; } - - //STRING - public RuleCall getRelationTypeRefXRelationTypeSTRINGTerminalRuleCall_3_1_0_1() { return cRelationTypeRefXRelationTypeSTRINGTerminalRuleCall_3_1_0_1; } - - //restrictedToSide=XRelationSideEnum - public Assignment getRestrictedToSideAssignment_4() { return cRestrictedToSideAssignment_4; } - - //XRelationSideEnum - public RuleCall getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0() { return cRestrictedToSideXRelationSideEnumEnumRuleCall_4_0; } - - //predicate=RelationTypePredicate? - public Assignment getPredicateAssignment_5() { return cPredicateAssignment_5; } - - //RelationTypePredicate - public RuleCall getPredicateRelationTypePredicateParserRuleCall_5_0() { return cPredicateRelationTypePredicateParserRuleCall_5_0; } - - //';' - public Keyword getSemicolonKeyword_6() { return cSemicolonKeyword_6; } - } - - - public class RelationMultiplicityEnumElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationMultiplicityEnum"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cONE_TO_ONEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cONE_TO_ONEONE_TO_ONEKeyword_0_0 = (Keyword)cONE_TO_ONEEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cONE_TO_MANYEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cONE_TO_MANYONE_TO_MANYKeyword_1_0 = (Keyword)cONE_TO_MANYEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cMANY_TO_ONEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cMANY_TO_ONEMANY_TO_ONEKeyword_2_0 = (Keyword)cMANY_TO_ONEEnumLiteralDeclaration_2.eContents().get(0); - private final EnumLiteralDeclaration cMANY_TO_MANYEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); - private final Keyword cMANY_TO_MANYMANY_TO_MANYKeyword_3_0 = (Keyword)cMANY_TO_MANYEnumLiteralDeclaration_3.eContents().get(0); - - //enum RelationMultiplicityEnum: - // ONE_TO_ONE | ONE_TO_MANY | MANY_TO_ONE | MANY_TO_MANY; - public EnumRule getRule() { return rule; } - - //ONE_TO_ONE | ONE_TO_MANY | MANY_TO_ONE | MANY_TO_MANY - public Alternatives getAlternatives() { return cAlternatives; } - - //ONE_TO_ONE - public EnumLiteralDeclaration getONE_TO_ONEEnumLiteralDeclaration_0() { return cONE_TO_ONEEnumLiteralDeclaration_0; } - - //"ONE_TO_ONE" - public Keyword getONE_TO_ONEONE_TO_ONEKeyword_0_0() { return cONE_TO_ONEONE_TO_ONEKeyword_0_0; } - - //ONE_TO_MANY - public EnumLiteralDeclaration getONE_TO_MANYEnumLiteralDeclaration_1() { return cONE_TO_MANYEnumLiteralDeclaration_1; } - - //"ONE_TO_MANY" - public Keyword getONE_TO_MANYONE_TO_MANYKeyword_1_0() { return cONE_TO_MANYONE_TO_MANYKeyword_1_0; } - - //MANY_TO_ONE - public EnumLiteralDeclaration getMANY_TO_ONEEnumLiteralDeclaration_2() { return cMANY_TO_ONEEnumLiteralDeclaration_2; } - - //"MANY_TO_ONE" - public Keyword getMANY_TO_ONEMANY_TO_ONEKeyword_2_0() { return cMANY_TO_ONEMANY_TO_ONEKeyword_2_0; } - - //MANY_TO_MANY - public EnumLiteralDeclaration getMANY_TO_MANYEnumLiteralDeclaration_3() { return cMANY_TO_MANYEnumLiteralDeclaration_3; } - - //"MANY_TO_MANY" - public Keyword getMANY_TO_MANYMANY_TO_MANYKeyword_3_0() { return cMANY_TO_MANYMANY_TO_MANYKeyword_3_0; } - } - - public class CompareOpElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.CompareOp"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cEQEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cEQEQKeyword_0_0 = (Keyword)cEQEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cLIKEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cLIKELIKEKeyword_1_0 = (Keyword)cLIKEEnumLiteralDeclaration_1.eContents().get(0); - - //enum CompareOp: - // EQ | LIKE; - public EnumRule getRule() { return rule; } - - //EQ | LIKE - public Alternatives getAlternatives() { return cAlternatives; } - - //EQ - public EnumLiteralDeclaration getEQEnumLiteralDeclaration_0() { return cEQEnumLiteralDeclaration_0; } - - //"EQ" - public Keyword getEQEQKeyword_0_0() { return cEQEQKeyword_0_0; } - - //LIKE - public EnumLiteralDeclaration getLIKEEnumLiteralDeclaration_1() { return cLIKEEnumLiteralDeclaration_1; } - - //"LIKE" - public Keyword getLIKELIKEKeyword_1_0() { return cLIKELIKEKeyword_1_0; } - } - - public class XLogicOperatorElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XLogicOperator"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cANDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cANDANDKeyword_0_0 = (Keyword)cANDEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cOREnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cORORKeyword_1_0 = (Keyword)cOREnumLiteralDeclaration_1.eContents().get(0); - - //enum XLogicOperator: - // AND | OR; - public EnumRule getRule() { return rule; } - - //AND | OR - public Alternatives getAlternatives() { return cAlternatives; } - - //AND - public EnumLiteralDeclaration getANDEnumLiteralDeclaration_0() { return cANDEnumLiteralDeclaration_0; } - - //"AND" - public Keyword getANDANDKeyword_0_0() { return cANDANDKeyword_0_0; } - - //OR - public EnumLiteralDeclaration getOREnumLiteralDeclaration_1() { return cOREnumLiteralDeclaration_1; } - - //"OR" - public Keyword getORORKeyword_1_0() { return cORORKeyword_1_0; } - } - - public class MatchFieldElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.MatchField"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cArtifactNameEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cArtifactNameArtifactNameKeyword_0_0 = (Keyword)cArtifactNameEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cArtifactIdEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cArtifactIdArtifactIdKeyword_1_0 = (Keyword)cArtifactIdEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cBranchNameEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cBranchNameBranchNameKeyword_2_0 = (Keyword)cBranchNameEnumLiteralDeclaration_2.eContents().get(0); - private final EnumLiteralDeclaration cBranchUuidEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); - private final Keyword cBranchUuidBranchUuidKeyword_3_0 = (Keyword)cBranchUuidEnumLiteralDeclaration_3.eContents().get(0); - - //enum MatchField: - // artifactName | artifactId | branchName | branchUuid; - public EnumRule getRule() { return rule; } - - //artifactName | artifactId | branchName | branchUuid - public Alternatives getAlternatives() { return cAlternatives; } - - //artifactName - public EnumLiteralDeclaration getArtifactNameEnumLiteralDeclaration_0() { return cArtifactNameEnumLiteralDeclaration_0; } - - //"artifactName" - public Keyword getArtifactNameArtifactNameKeyword_0_0() { return cArtifactNameArtifactNameKeyword_0_0; } - - //artifactId - public EnumLiteralDeclaration getArtifactIdEnumLiteralDeclaration_1() { return cArtifactIdEnumLiteralDeclaration_1; } - - //"artifactId" - public Keyword getArtifactIdArtifactIdKeyword_1_0() { return cArtifactIdArtifactIdKeyword_1_0; } - - //branchName - public EnumLiteralDeclaration getBranchNameEnumLiteralDeclaration_2() { return cBranchNameEnumLiteralDeclaration_2; } - - //"branchName" - public Keyword getBranchNameBranchNameKeyword_2_0() { return cBranchNameBranchNameKeyword_2_0; } - - //branchUuid - public EnumLiteralDeclaration getBranchUuidEnumLiteralDeclaration_3() { return cBranchUuidEnumLiteralDeclaration_3; } - - //"branchUuid" - public Keyword getBranchUuidBranchUuidKeyword_3_0() { return cBranchUuidBranchUuidKeyword_3_0; } - } - - public class AccessPermissionEnumElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.AccessPermissionEnum"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cALLOWEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cALLOWALLOWKeyword_0_0 = (Keyword)cALLOWEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cDENYEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cDENYDENYKeyword_1_0 = (Keyword)cDENYEnumLiteralDeclaration_1.eContents().get(0); - - //enum AccessPermissionEnum: - // ALLOW | DENY; - public EnumRule getRule() { return rule; } - - //ALLOW | DENY - public Alternatives getAlternatives() { return cAlternatives; } - - //ALLOW - public EnumLiteralDeclaration getALLOWEnumLiteralDeclaration_0() { return cALLOWEnumLiteralDeclaration_0; } - - //"ALLOW" - public Keyword getALLOWALLOWKeyword_0_0() { return cALLOWALLOWKeyword_0_0; } - - //DENY - public EnumLiteralDeclaration getDENYEnumLiteralDeclaration_1() { return cDENYEnumLiteralDeclaration_1; } - - //"DENY" - public Keyword getDENYDENYKeyword_1_0() { return cDENYDENYKeyword_1_0; } - } - - public class RelationTypeMatchElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.RelationTypeMatch"); - private final EnumLiteralDeclaration cALLEnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); - private final Keyword cALLALLKeyword_0 = (Keyword)cALLEnumLiteralDeclaration.eContents().get(0); - - //enum RelationTypeMatch: - // ALL; - public EnumRule getRule() { return rule; } - - //ALL - public EnumLiteralDeclaration getALLEnumLiteralDeclaration() { return cALLEnumLiteralDeclaration; } - - //"ALL" - public Keyword getALLALLKeyword_0() { return cALLALLKeyword_0; } - } - - public class XRelationSideEnumElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.XRelationSideEnum"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cSIDE_AEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cSIDE_ASIDE_AKeyword_0_0 = (Keyword)cSIDE_AEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cSIDE_BEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cSIDE_BSIDE_BKeyword_1_0 = (Keyword)cSIDE_BEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cBOTHEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cBOTHBOTHKeyword_2_0 = (Keyword)cBOTHEnumLiteralDeclaration_2.eContents().get(0); - - //enum XRelationSideEnum: - // SIDE_A | SIDE_B | BOTH; - public EnumRule getRule() { return rule; } - - //SIDE_A | SIDE_B | BOTH - public Alternatives getAlternatives() { return cAlternatives; } - - //SIDE_A - public EnumLiteralDeclaration getSIDE_AEnumLiteralDeclaration_0() { return cSIDE_AEnumLiteralDeclaration_0; } - - //"SIDE_A" - public Keyword getSIDE_ASIDE_AKeyword_0_0() { return cSIDE_ASIDE_AKeyword_0_0; } - - //SIDE_B - public EnumLiteralDeclaration getSIDE_BEnumLiteralDeclaration_1() { return cSIDE_BEnumLiteralDeclaration_1; } - - //"SIDE_B" - public Keyword getSIDE_BSIDE_BKeyword_1_0() { return cSIDE_BSIDE_BKeyword_1_0; } - - //BOTH - public EnumLiteralDeclaration getBOTHEnumLiteralDeclaration_2() { return cBOTHEnumLiteralDeclaration_2; } - - //"BOTH" - public Keyword getBOTHBOTHKeyword_2_0() { return cBOTHBOTHKeyword_2_0; } - } - - private final OseeDslElements pOseeDsl; - private final ImportElements pImport; - private final TerminalRule tSTRING; - private final TerminalRule tWHOLE_NUM_STR; - private final QUALIFIED_NAMEElements pQUALIFIED_NAME; - private final OseeElementElements pOseeElement; - private final OseeTypeElements pOseeType; - private final XArtifactTypeElements pXArtifactType; - private final XAttributeTypeRefElements pXAttributeTypeRef; - private final XAttributeTypeElements pXAttributeType; - private final AttributeBaseTypeElements pAttributeBaseType; - private final XOseeEnumTypeElements pXOseeEnumType; - private final XOseeEnumEntryElements pXOseeEnumEntry; - private final XOseeEnumOverrideElements pXOseeEnumOverride; - private final OverrideOptionElements pOverrideOption; - private final AddEnumElements pAddEnum; - private final RemoveEnumElements pRemoveEnum; - private final XOseeArtifactTypeOverrideElements pXOseeArtifactTypeOverride; - private final AttributeOverrideOptionElements pAttributeOverrideOption; - private final AddAttributeElements pAddAttribute; - private final RemoveAttributeElements pRemoveAttribute; - private final UpdateAttributeElements pUpdateAttribute; - private final XRelationTypeElements pXRelationType; - private final RelationMultiplicityEnumElements eRelationMultiplicityEnum; - private final RelationOrderTypeElements pRelationOrderType; - private final CompareOpElements eCompareOp; - private final XLogicOperatorElements eXLogicOperator; - private final CONDITION_VALUEElements pCONDITION_VALUE; - private final MatchFieldElements eMatchField; - private final ConditionElements pCondition; - private final SimpleConditionElements pSimpleCondition; - private final CompoundConditionElements pCompoundCondition; - private final XArtifactMatcherElements pXArtifactMatcher; - private final RoleElements pRole; - private final ReferencedContextElements pReferencedContext; - private final UsersAndGroupsElements pUsersAndGroups; - private final AccessContextElements pAccessContext; - private final HierarchyRestrictionElements pHierarchyRestriction; - private final AccessPermissionEnumElements eAccessPermissionEnum; - private final RelationTypeArtifactTypePredicateElements pRelationTypeArtifactTypePredicate; - private final RelationTypeArtifactPredicateElements pRelationTypeArtifactPredicate; - private final RelationTypePredicateElements pRelationTypePredicate; - private final ObjectRestrictionElements pObjectRestriction; - private final ArtifactMatchRestrictionElements pArtifactMatchRestriction; - private final ArtifactTypeRestrictionElements pArtifactTypeRestriction; - private final AttributeTypeRestrictionElements pAttributeTypeRestriction; - private final LegacyRelationTypeRestrictionElements pLegacyRelationTypeRestriction; - private final RelationTypeRestrictionElements pRelationTypeRestriction; - private final RelationTypeMatchElements eRelationTypeMatch; - private final XRelationSideEnumElements eXRelationSideEnum; - - private final Grammar grammar; - - private final TerminalsGrammarAccess gaTerminals; - - @Inject - public OseeDslGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { - this.grammar = internalFindGrammar(grammarProvider); - this.gaTerminals = gaTerminals; - this.pOseeDsl = new OseeDslElements(); - this.pImport = new ImportElements(); - this.tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.STRING"); - this.tWHOLE_NUM_STR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osee.framework.core.dsl.OseeDsl.WHOLE_NUM_STR"); - this.pQUALIFIED_NAME = new QUALIFIED_NAMEElements(); - this.pOseeElement = new OseeElementElements(); - this.pOseeType = new OseeTypeElements(); - this.pXArtifactType = new XArtifactTypeElements(); - this.pXAttributeTypeRef = new XAttributeTypeRefElements(); - this.pXAttributeType = new XAttributeTypeElements(); - this.pAttributeBaseType = new AttributeBaseTypeElements(); - this.pXOseeEnumType = new XOseeEnumTypeElements(); - this.pXOseeEnumEntry = new XOseeEnumEntryElements(); - this.pXOseeEnumOverride = new XOseeEnumOverrideElements(); - this.pOverrideOption = new OverrideOptionElements(); - this.pAddEnum = new AddEnumElements(); - this.pRemoveEnum = new RemoveEnumElements(); - this.pXOseeArtifactTypeOverride = new XOseeArtifactTypeOverrideElements(); - this.pAttributeOverrideOption = new AttributeOverrideOptionElements(); - this.pAddAttribute = new AddAttributeElements(); - this.pRemoveAttribute = new RemoveAttributeElements(); - this.pUpdateAttribute = new UpdateAttributeElements(); - this.pXRelationType = new XRelationTypeElements(); - this.eRelationMultiplicityEnum = new RelationMultiplicityEnumElements(); - this.pRelationOrderType = new RelationOrderTypeElements(); - this.eCompareOp = new CompareOpElements(); - this.eXLogicOperator = new XLogicOperatorElements(); - this.pCONDITION_VALUE = new CONDITION_VALUEElements(); - this.eMatchField = new MatchFieldElements(); - this.pCondition = new ConditionElements(); - this.pSimpleCondition = new SimpleConditionElements(); - this.pCompoundCondition = new CompoundConditionElements(); - this.pXArtifactMatcher = new XArtifactMatcherElements(); - this.pRole = new RoleElements(); - this.pReferencedContext = new ReferencedContextElements(); - this.pUsersAndGroups = new UsersAndGroupsElements(); - this.pAccessContext = new AccessContextElements(); - this.pHierarchyRestriction = new HierarchyRestrictionElements(); - this.eAccessPermissionEnum = new AccessPermissionEnumElements(); - this.pRelationTypeArtifactTypePredicate = new RelationTypeArtifactTypePredicateElements(); - this.pRelationTypeArtifactPredicate = new RelationTypeArtifactPredicateElements(); - this.pRelationTypePredicate = new RelationTypePredicateElements(); - this.pObjectRestriction = new ObjectRestrictionElements(); - this.pArtifactMatchRestriction = new ArtifactMatchRestrictionElements(); - this.pArtifactTypeRestriction = new ArtifactTypeRestrictionElements(); - this.pAttributeTypeRestriction = new AttributeTypeRestrictionElements(); - this.pLegacyRelationTypeRestriction = new LegacyRelationTypeRestrictionElements(); - this.pRelationTypeRestriction = new RelationTypeRestrictionElements(); - this.eRelationTypeMatch = new RelationTypeMatchElements(); - this.eXRelationSideEnum = new XRelationSideEnumElements(); - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("org.eclipse.osee.framework.core.dsl.OseeDsl".equals(grammar.getName())) { - return grammar; - } - List<Grammar> grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; - } - - @Override - public Grammar getGrammar() { - return grammar; - } - - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; - } - - - //OseeDsl: - // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride | artifactTypeOverrides+=XOseeArtifactTypeOverride)* - // (artifactMatchRefs+=XArtifactMatcher | accessDeclarations+=AccessContext | roleDeclarations+=Role)*; - public OseeDslElements getOseeDslAccess() { - return pOseeDsl; - } - - public ParserRule getOseeDslRule() { - return getOseeDslAccess().getRule(); - } - - //Import: - // 'import' importURI=STRING; - public ImportElements getImportAccess() { - return pImport; - } - - public ParserRule getImportRule() { - return getImportAccess().getRule(); - } - - //terminal STRING: - // '"' ('\\' '"' | !'"')* '"' | "'" ('\\' "'" | !"'")* "'"; - public TerminalRule getSTRINGRule() { - return tSTRING; - } - - //terminal WHOLE_NUM_STR: - // '0'..'9'+; - public TerminalRule getWHOLE_NUM_STRRule() { - return tWHOLE_NUM_STR; - } - - //QUALIFIED_NAME: - // ID ('.' ID)*; - public QUALIFIED_NAMEElements getQUALIFIED_NAMEAccess() { - return pQUALIFIED_NAME; - } - - public ParserRule getQUALIFIED_NAMERule() { - return getQUALIFIED_NAMEAccess().getRule(); - } - - ///////////////////////////////////////// - // // OSEE TYPE MODEL // - // - ///////////////////////////////////////// - // OseeElement: - // XOseeEnumOverride | OseeType; - public OseeElementElements getOseeElementAccess() { - return pOseeElement; - } - - public ParserRule getOseeElementRule() { - return getOseeElementAccess().getRule(); - } - - //OseeType: - // XArtifactType | XRelationType | XAttributeType | XOseeEnumType; - public OseeTypeElements getOseeTypeAccess() { - return pOseeType; - } - - public ParserRule getOseeTypeRule() { - return getOseeTypeAccess().getRule(); - } - - //XArtifactType: - // abstract?='abstract'? 'artifactType' name=STRING ('extends' superArtifactTypes+=[XArtifactType|STRING] (',' - // superArtifactTypes+=[XArtifactType|STRING])*)? '{' 'id' id=WHOLE_NUM_STR validAttributeTypes+=XAttributeTypeRef* '}'; - public XArtifactTypeElements getXArtifactTypeAccess() { - return pXArtifactType; - } - - public ParserRule getXArtifactTypeRule() { - return getXArtifactTypeAccess().getRule(); - } - - //XAttributeTypeRef: - // 'attribute' validAttributeType=[XAttributeType|STRING] ('branchUuid' branchUuid=WHOLE_NUM_STR)?; - public XAttributeTypeRefElements getXAttributeTypeRefAccess() { - return pXAttributeTypeRef; - } - - public ParserRule getXAttributeTypeRefRule() { - return getXAttributeTypeRefAccess().getRule(); - } - - //XAttributeType: - // 'attributeType' name=STRING ('extends' baseAttributeType=AttributeBaseType) ('overrides' - // override=[XAttributeType|STRING])? '{' 'id' id=WHOLE_NUM_STR 'dataProvider' - // dataProvider=('DefaultAttributeDataProvider' | 'UriAttributeDataProvider' | QUALIFIED_NAME) 'min' min=WHOLE_NUM_STR - // 'max' max=(WHOLE_NUM_STR | 'unlimited') (('taggerId' taggerId=('DefaultAttributeTaggerProvider' | QUALIFIED_NAME))? & - // ('enumType' enumType=[XOseeEnumType|STRING])? & ('description' description=STRING)? & ('defaultValue' - // defaultValue=STRING)? & ('fileExtension' fileExtension=STRING)? & ('mediaType' mediaType=STRING)?) '}'; - public XAttributeTypeElements getXAttributeTypeAccess() { - return pXAttributeType; - } - - public ParserRule getXAttributeTypeRule() { - return getXAttributeTypeAccess().getRule(); - } - - //AttributeBaseType: - // 'BooleanAttribute' | 'CompressedContentAttribute' | 'DateAttribute' | 'EnumeratedAttribute' | - // 'FloatingPointAttribute' | 'IntegerAttribute' | 'LongAttribute' | 'JavaObjectAttribute' | 'StringAttribute' | - // 'ArtifactReferenceAttribute' | 'BranchReferenceAttribute' | 'WordAttribute' | 'OutlineNumberAttribute' | - // QUALIFIED_NAME; - public AttributeBaseTypeElements getAttributeBaseTypeAccess() { - return pAttributeBaseType; - } - - public ParserRule getAttributeBaseTypeRule() { - return getAttributeBaseTypeAccess().getRule(); - } - - //XOseeEnumType: - // 'oseeEnumType' name=STRING '{' 'id' id=WHOLE_NUM_STR enumEntries+=XOseeEnumEntry* '}'; - public XOseeEnumTypeElements getXOseeEnumTypeAccess() { - return pXOseeEnumType; - } - - public ParserRule getXOseeEnumTypeRule() { - return getXOseeEnumTypeAccess().getRule(); - } - - //XOseeEnumEntry: - // 'entry' name=STRING ordinal=WHOLE_NUM_STR? ('description' description=STRING)?; - public XOseeEnumEntryElements getXOseeEnumEntryAccess() { - return pXOseeEnumEntry; - } - - public ParserRule getXOseeEnumEntryRule() { - return getXOseeEnumEntryAccess().getRule(); - } - - //XOseeEnumOverride: - // 'overrides enum' overridenEnumType=[XOseeEnumType|STRING] '{' inheritAll?='inheritAll'? - // overrideOptions+=OverrideOption* '}'; - public XOseeEnumOverrideElements getXOseeEnumOverrideAccess() { - return pXOseeEnumOverride; - } - - public ParserRule getXOseeEnumOverrideRule() { - return getXOseeEnumOverrideAccess().getRule(); - } - - //OverrideOption: - // AddEnum | RemoveEnum; - public OverrideOptionElements getOverrideOptionAccess() { - return pOverrideOption; - } - - public ParserRule getOverrideOptionRule() { - return getOverrideOptionAccess().getRule(); - } - - //AddEnum: - // 'add' enumEntry=STRING ordinal=WHOLE_NUM_STR? ('description' description=STRING)?; - public AddEnumElements getAddEnumAccess() { - return pAddEnum; - } - - public ParserRule getAddEnumRule() { - return getAddEnumAccess().getRule(); - } - - //RemoveEnum: - // 'remove' enumEntry=[XOseeEnumEntry|STRING]; - public RemoveEnumElements getRemoveEnumAccess() { - return pRemoveEnum; - } - - public ParserRule getRemoveEnumRule() { - return getRemoveEnumAccess().getRule(); - } - - //XOseeArtifactTypeOverride: - // 'overrides artifactType' overridenArtifactType=[XArtifactType|STRING] '{' inheritAll?='inheritAll'? - // overrideOptions+=AttributeOverrideOption+ '}'; - public XOseeArtifactTypeOverrideElements getXOseeArtifactTypeOverrideAccess() { - return pXOseeArtifactTypeOverride; - } - - public ParserRule getXOseeArtifactTypeOverrideRule() { - return getXOseeArtifactTypeOverrideAccess().getRule(); - } - - //AttributeOverrideOption: - // AddAttribute | RemoveAttribute | UpdateAttribute; - public AttributeOverrideOptionElements getAttributeOverrideOptionAccess() { - return pAttributeOverrideOption; - } - - public ParserRule getAttributeOverrideOptionRule() { - return getAttributeOverrideOptionAccess().getRule(); - } - - //AddAttribute: - // 'add' attribute=XAttributeTypeRef; - public AddAttributeElements getAddAttributeAccess() { - return pAddAttribute; - } - - public ParserRule getAddAttributeRule() { - return getAddAttributeAccess().getRule(); - } - - //RemoveAttribute: - // 'remove' 'attribute' attribute=[XAttributeType|STRING]; - public RemoveAttributeElements getRemoveAttributeAccess() { - return pRemoveAttribute; - } - - public ParserRule getRemoveAttributeRule() { - return getRemoveAttributeAccess().getRule(); - } - - //UpdateAttribute: - // 'update' attribute=XAttributeTypeRef; - public UpdateAttributeElements getUpdateAttributeAccess() { - return pUpdateAttribute; - } - - public ParserRule getUpdateAttributeRule() { - return getUpdateAttributeAccess().getRule(); - } - - //XRelationType: - // 'relationType' name=STRING '{' 'id' id=WHOLE_NUM_STR 'sideAName' sideAName=STRING 'sideAArtifactType' - // sideAArtifactType=[XArtifactType|STRING] 'sideBName' sideBName=STRING 'sideBArtifactType' - // sideBArtifactType=[XArtifactType|STRING] 'defaultOrderType' defaultOrderType=RelationOrderType 'multiplicity' - // multiplicity=RelationMultiplicityEnum '}'; - public XRelationTypeElements getXRelationTypeAccess() { - return pXRelationType; - } - - public ParserRule getXRelationTypeRule() { - return getXRelationTypeAccess().getRule(); - } - - //enum RelationMultiplicityEnum: - // ONE_TO_ONE | ONE_TO_MANY | MANY_TO_ONE | MANY_TO_MANY; - public RelationMultiplicityEnumElements getRelationMultiplicityEnumAccess() { - return eRelationMultiplicityEnum; - } - - public EnumRule getRelationMultiplicityEnumRule() { - return getRelationMultiplicityEnumAccess().getRule(); - } - - //RelationOrderType: - // 'Lexicographical_Ascending' | 'Lexicographical_Descending' | 'Unordered' | ID; - public RelationOrderTypeElements getRelationOrderTypeAccess() { - return pRelationOrderType; - } - - public ParserRule getRelationOrderTypeRule() { - return getRelationOrderTypeAccess().getRule(); - } - - //enum CompareOp: - // EQ | LIKE; - public CompareOpElements getCompareOpAccess() { - return eCompareOp; - } - - public EnumRule getCompareOpRule() { - return getCompareOpAccess().getRule(); - } - - //enum XLogicOperator: - // AND | OR; - public XLogicOperatorElements getXLogicOperatorAccess() { - return eXLogicOperator; - } - - public EnumRule getXLogicOperatorRule() { - return getXLogicOperatorAccess().getRule(); - } - - //CONDITION_VALUE: - // WHOLE_NUM_STR | STRING; - public CONDITION_VALUEElements getCONDITION_VALUEAccess() { - return pCONDITION_VALUE; - } - - public ParserRule getCONDITION_VALUERule() { - return getCONDITION_VALUEAccess().getRule(); - } - - //enum MatchField: - // artifactName | artifactId | branchName | branchUuid; - public MatchFieldElements getMatchFieldAccess() { - return eMatchField; - } - - public EnumRule getMatchFieldRule() { - return getMatchFieldAccess().getRule(); - } - - //Condition: - // SimpleCondition | CompoundCondition; - public ConditionElements getConditionAccess() { - return pCondition; - } - - public ParserRule getConditionRule() { - return getConditionAccess().getRule(); - } - - //SimpleCondition: - // field=MatchField op=CompareOp expression=STRING; - public SimpleConditionElements getSimpleConditionAccess() { - return pSimpleCondition; - } - - public ParserRule getSimpleConditionRule() { - return getSimpleConditionAccess().getRule(); - } - - //CompoundCondition: - // '(' conditions+=SimpleCondition (operators+=XLogicOperator conditions+=SimpleCondition)+ ')'; - public CompoundConditionElements getCompoundConditionAccess() { - return pCompoundCondition; - } - - public ParserRule getCompoundConditionRule() { - return getCompoundConditionAccess().getRule(); - } - - //XArtifactMatcher: - // 'artifactMatcher' name=STRING 'where' conditions+=Condition (operators+=XLogicOperator conditions+=Condition)* ';'; - public XArtifactMatcherElements getXArtifactMatcherAccess() { - return pXArtifactMatcher; - } - - public ParserRule getXArtifactMatcherRule() { - return getXArtifactMatcherAccess().getRule(); - } - - ///////////////////////////////////////// - // // OSEE ACCESS MODEL // - // - ///////////////////////////////////////// - // Role: - // 'role' name=STRING ('extends' superRoles+=[Role|STRING])? '{' (usersAndGroups+=UsersAndGroups | - // referencedContexts+=ReferencedContext)+ '}'; - public RoleElements getRoleAccess() { - return pRole; - } - - public ParserRule getRoleRule() { - return getRoleAccess().getRule(); - } - - //ReferencedContext: - // 'accessContext' accessContextRef=STRING ';'; - public ReferencedContextElements getReferencedContextAccess() { - return pReferencedContext; - } - - public ParserRule getReferencedContextRule() { - return getReferencedContextAccess().getRule(); - } - - //UsersAndGroups: - // 'guid' userOrGroupGuid=STRING ';'; - public UsersAndGroupsElements getUsersAndGroupsAccess() { - return pUsersAndGroups; - } - - public ParserRule getUsersAndGroupsRule() { - return getUsersAndGroupsAccess().getRule(); - } - - //AccessContext: - // 'accessContext' name=STRING ('extends' superAccessContexts+=[AccessContext|STRING])? '{' 'guid' guid=STRING ';' - // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ '}'; - public AccessContextElements getAccessContextAccess() { - return pAccessContext; - } - - public ParserRule getAccessContextRule() { - return getAccessContextAccess().getRule(); - } - - //HierarchyRestriction: - // 'childrenOf' artifactMatcherRef=[XArtifactMatcher|STRING] '{' accessRules+=ObjectRestriction+ '}'; - public HierarchyRestrictionElements getHierarchyRestrictionAccess() { - return pHierarchyRestriction; - } - - public ParserRule getHierarchyRestrictionRule() { - return getHierarchyRestrictionAccess().getRule(); - } - - //enum AccessPermissionEnum: - // ALLOW | DENY; - public AccessPermissionEnumElements getAccessPermissionEnumAccess() { - return eAccessPermissionEnum; - } - - public EnumRule getAccessPermissionEnumRule() { - return getAccessPermissionEnumAccess().getRule(); - } - - //RelationTypeArtifactTypePredicate: - // 'artifactType' artifactTypeRef=[XArtifactType|STRING]; - public RelationTypeArtifactTypePredicateElements getRelationTypeArtifactTypePredicateAccess() { - return pRelationTypeArtifactTypePredicate; - } - - public ParserRule getRelationTypeArtifactTypePredicateRule() { - return getRelationTypeArtifactTypePredicateAccess().getRule(); - } - - //RelationTypeArtifactPredicate: - // 'artifact' artifactMatcherRef=[XArtifactMatcher|STRING]; - public RelationTypeArtifactPredicateElements getRelationTypeArtifactPredicateAccess() { - return pRelationTypeArtifactPredicate; - } - - public ParserRule getRelationTypeArtifactPredicateRule() { - return getRelationTypeArtifactPredicateAccess().getRule(); - } - - //RelationTypePredicate: - // RelationTypeArtifactPredicate | RelationTypeArtifactTypePredicate; - public RelationTypePredicateElements getRelationTypePredicateAccess() { - return pRelationTypePredicate; - } - - public ParserRule getRelationTypePredicateRule() { - return getRelationTypePredicateAccess().getRule(); - } - - //ObjectRestriction: - // ArtifactMatchRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; - public ObjectRestrictionElements getObjectRestrictionAccess() { - return pObjectRestriction; - } - - public ParserRule getObjectRestrictionRule() { - return getObjectRestrictionAccess().getRule(); - } - - //ArtifactMatchRestriction: - // permission=AccessPermissionEnum 'edit' 'artifact' artifactMatcherRef=[XArtifactMatcher|STRING] ';'; - public ArtifactMatchRestrictionElements getArtifactMatchRestrictionAccess() { - return pArtifactMatchRestriction; - } - - public ParserRule getArtifactMatchRestrictionRule() { - return getArtifactMatchRestrictionAccess().getRule(); - } - - //ArtifactTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'artifactType' artifactTypeRef=[XArtifactType|STRING] ';'; - public ArtifactTypeRestrictionElements getArtifactTypeRestrictionAccess() { - return pArtifactTypeRestriction; - } - - public ParserRule getArtifactTypeRestrictionRule() { - return getArtifactTypeRestrictionAccess().getRule(); - } - - //AttributeTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'attributeType' attributeTypeRef=[XAttributeType|STRING] ('of' 'artifactType' - // artifactTypeRef=[XArtifactType|STRING])? ';'; - public AttributeTypeRestrictionElements getAttributeTypeRestrictionAccess() { - return pAttributeTypeRestriction; - } - - public ParserRule getAttributeTypeRestrictionRule() { - return getAttributeTypeRestrictionAccess().getRule(); - } - - //LegacyRelationTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'relationType' relationTypeRef=[XRelationType|STRING] - // restrictedToSide=XRelationSideEnum ('artifact' artifactMatcherRef=[XArtifactMatcher|STRING])? ';'; - public LegacyRelationTypeRestrictionElements getLegacyRelationTypeRestrictionAccess() { - return pLegacyRelationTypeRestriction; - } - - public ParserRule getLegacyRelationTypeRestrictionRule() { - return getLegacyRelationTypeRestrictionAccess().getRule(); - } - - //RelationTypeRestriction: - // permission=AccessPermissionEnum 'edit' 'relationType' (relationTypeMatch?=RelationTypeMatch | - // relationTypeRef=[XRelationType|STRING]) restrictedToSide=XRelationSideEnum predicate=RelationTypePredicate? ';'; - public RelationTypeRestrictionElements getRelationTypeRestrictionAccess() { - return pRelationTypeRestriction; - } - - public ParserRule getRelationTypeRestrictionRule() { - return getRelationTypeRestrictionAccess().getRule(); - } - - //enum RelationTypeMatch: - // ALL; - public RelationTypeMatchElements getRelationTypeMatchAccess() { - return eRelationTypeMatch; - } - - public EnumRule getRelationTypeMatchRule() { - return getRelationTypeMatchAccess().getRule(); - } - - //enum XRelationSideEnum: - // SIDE_A | SIDE_B | BOTH; - public XRelationSideEnumElements getXRelationSideEnumAccess() { - return eXRelationSideEnum; - } - - public EnumRule getXRelationSideEnumRule() { - return getXRelationSideEnumAccess().getRule(); - } - - //terminal ID: - // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; - public TerminalRule getIDRule() { - return gaTerminals.getIDRule(); - } - - //terminal INT returns ecore::EInt: - // '0'..'9'+; - public TerminalRule getINTRule() { - return gaTerminals.getINTRule(); - } - - //terminal ML_COMMENT: - // '/ *'->'* /'; - public TerminalRule getML_COMMENTRule() { - return gaTerminals.getML_COMMENTRule(); - } - - //terminal SL_COMMENT: - // '//' !('\n' | '\r')* ('\r'? '\n')?; - public TerminalRule getSL_COMMENTRule() { - return gaTerminals.getSL_COMMENTRule(); - } - - //terminal WS: - // ' ' | '\t' | '\r' | '\n'+; - public TerminalRule getWSRule() { - return gaTerminals.getWSRule(); - } - - //terminal ANY_OTHER: - // .; - public TerminalRule getANY_OTHERRule() { - return gaTerminals.getANY_OTHERRule(); - } -} diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/validation/AbstractOseeDslJavaValidator.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/validation/AbstractOseeDslJavaValidator.java deleted file mode 100644 index 448821ed483..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/validation/AbstractOseeDslJavaValidator.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.osee.framework.core.dsl.validation; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.ComposedChecks; - -@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) -public class AbstractOseeDslJavaValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { - - @Override - protected List<EPackage> getEPackages() { - List<EPackage> result = new ArrayList<EPackage>(); - result.add(org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage.eINSTANCE); - return result; - } - -} |