diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl')
70 files changed, 33163 insertions, 34462 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 index bd3e2812d34..d63424c5a49 100644 --- 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 @@ -4,137 +4,134 @@ package org.eclipse.osee.framework.core.dsl; import java.util.Properties; + import org.eclipse.xtext.Constants; import org.eclipse.xtext.service.DefaultRuntimeModule; + import com.google.inject.Binder; import com.google.inject.name.Names; /** * Manual modifications go to {org.eclipse.osee.framework.core.dsl.OseeDslRuntimeModule} */ -@SuppressWarnings("all") + @SuppressWarnings("all") public abstract class AbstractOseeDslRuntimeModule extends DefaultRuntimeModule { - 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 - public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { - return org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment - public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() { - return org.eclipse.osee.framework.core.dsl.parseTreeConstruction.OseeDslParsetreeConstructor.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() { - return org.eclipse.osee.framework.core.dsl.parser.antlr.OseeDslParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - 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 - public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.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 - 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.delegate")).to( - org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { - return org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment - public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { - return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - 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 - 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 configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith( - com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to( - org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment - public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { - return org.eclipse.osee.framework.core.dsl.formatting.OseeDslFormatter.class; - } + 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 + public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { + return org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess.class; + } + + // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment + public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() { + return org.eclipse.osee.framework.core.dsl.parseTreeConstruction.OseeDslParsetreeConstructor.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 + 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 + public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { + return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.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 + 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 Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { + return org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.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 + public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { + return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + 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 + 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 configureIResourceDescriptionsBuilderScope(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.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment + public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { + return org.eclipse.osee.framework.core.dsl.formatting.OseeDslFormatter.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 index 3772e7fa46d..7d83224152c 100644 --- 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 @@ -5,86 +5,98 @@ 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"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//Import" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypes" upperBound="-1" - eType="#//XArtifactType" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypes" upperBound="-1" - eType="#//XRelationType" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="attributeTypes" upperBound="-1" - eType="#//XAttributeType" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="enumTypes" upperBound="-1" - eType="#//XOseeEnumType" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumType" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="enumOverrides" upperBound="-1" - eType="#//XOseeEnumOverride" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumOverride" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="branchRefs" upperBound="-1" - eType="#//XBranchRef" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XBranchRef" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="artifactRefs" upperBound="-1" - eType="#//XArtifactRef" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactRef" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="accessDeclarations" upperBound="-1" - eType="#//AccessContext" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext" + 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"> + <eClassifiers xsi:type="ecore:EClass" name="OseeType" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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="typeGuid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XArtifactType" eSuperTypes="#//OseeType"> + <eClassifiers xsi:type="ecore:EClass" name="XArtifactType" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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"/> + upperBound="-1" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType"/> <eStructuralFeatures xsi:type="ecore:EReference" name="validAttributeTypes" upperBound="-1" - eType="#//XAttributeTypeRef" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeTypeRef" + containment="true"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="XAttributeTypeRef"> - <eStructuralFeatures xsi:type="ecore:EReference" name="validAttributeType" eType="#//XAttributeType"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="validAttributeType" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="branchGuid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XAttributeType" eSuperTypes="#//OseeType"> + <eClassifiers xsi:type="ecore:EClass" name="XAttributeType" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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:EReference" name="override" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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:EReference" name="enumType" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XOseeEnumType" eSuperTypes="#//OseeType"> + <eClassifiers xsi:type="ecore:EClass" name="XOseeEnumType" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeType"> <eStructuralFeatures xsi:type="ecore:EReference" name="enumEntries" upperBound="-1" - eType="#//XOseeEnumEntry" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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="entryGuid" 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"/> + <eClassifiers xsi:type="ecore:EClass" name="XOseeEnumOverride" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeElement"> + <eStructuralFeatures xsi:type="ecore:EReference" name="overridenEnumType" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OverrideOption" + containment="true"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="OverrideOption"/> - <eClassifiers xsi:type="ecore:EClass" name="AddEnum" eSuperTypes="#//OverrideOption"> + <eClassifiers xsi:type="ecore:EClass" name="AddEnum" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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="entryGuid" 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 xsi:type="ecore:EClass" name="RemoveEnum" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OverrideOption"> + <eStructuralFeatures xsi:type="ecore:EReference" name="enumEntry" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumEntry"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="XRelationType" eSuperTypes="#//OseeType"> + <eClassifiers xsi:type="ecore:EClass" name="XRelationType" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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:EReference" name="sideAArtifactType" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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:EReference" name="sideBArtifactType" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiplicity" eType="ecore:EEnum platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationMultiplicityEnum"/> </eClassifiers> <eClassifiers xsi:type="ecore:EEnum" name="RelationMultiplicityEnum"> <eLiterals name="ONE_TO_ONE" literal="ONE_TO_ONE"/> @@ -103,38 +115,41 @@ <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"/> + upperBound="-1" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction" + containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="hierarchyRestrictions" - upperBound="-1" eType="#//HierarchyRestriction" containment="true"/> + upperBound="-1" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//HierarchyRestriction" + containment="true"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="HierarchyRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifact" eType="#//XArtifactRef"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="artifact" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactRef"/> <eStructuralFeatures xsi:type="ecore:EReference" name="accessRules" upperBound="-1" - eType="#//ObjectRestriction" containment="true"/> + eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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="ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="permission" eType="#//AccessPermissionEnum"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="permission" eType="ecore:EEnum platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessPermissionEnum"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ArtifactInstanceRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactRef" eType="#//XArtifactRef"/> + <eClassifiers xsi:type="ecore:EClass" name="ArtifactInstanceRestriction" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction"> + <eStructuralFeatures xsi:type="ecore:EReference" name="artifactRef" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactRef"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ArtifactTypeRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="#//XArtifactType"/> + <eClassifiers xsi:type="ecore:EClass" name="ArtifactTypeRestriction" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction"> + <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//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 xsi:type="ecore:EClass" name="AttributeTypeRestriction" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction"> + <eStructuralFeatures xsi:type="ecore:EReference" name="attributeTypeRef" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="RelationTypeRestriction" eSuperTypes="#//ObjectRestriction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypeRef" eType="#//XRelationType"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="restrictedToSide" eType="#//XRelationSideEnum"/> + <eClassifiers xsi:type="ecore:EClass" name="RelationTypeRestriction" eSuperTypes="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction"> + <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypeRef" eType="ecore:EClass platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="restrictedToSide" eType="ecore:EEnum platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationSideEnum"/> </eClassifiers> <eClassifiers xsi:type="ecore:EEnum" name="XRelationSideEnum"> <eLiterals name="SIDE_A" literal="SIDE_A"/> 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 index 0895124f5ac..ccac83ae7a3 100644 --- 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 @@ -8,127 +8,127 @@ complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.osee.framework.core.dsl.edit" editorPluginID="org.eclipse.osee.framework.core.dsl.editor"> <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"/> + disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#/"> + <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationMultiplicityEnum"> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationMultiplicityEnum/ONE_TO_ONE"/> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationMultiplicityEnum/ONE_TO_MANY"/> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationMultiplicityEnum/MANY_TO_ONE"/> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationMultiplicityEnum/MANY_TO_MANY"/> </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//AccessPermissionEnum"> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//AccessPermissionEnum/ALLOW"/> - <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//AccessPermissionEnum/DENY"/> + <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessPermissionEnum"> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessPermissionEnum/ALLOW"/> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessPermissionEnum/DENY"/> </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 typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationSideEnum"> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationSideEnum/SIDE_A"/> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationSideEnum/SIDE_B"/> + <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/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/branchRefs"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/artifactRefs"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/accessDeclarations"/> - </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/typeGuid"/> - </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/branchGuid"/> - </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"/> - </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/entryGuid"/> - </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/entryGuid"/> - </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#//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#//XArtifactRef"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XArtifactRef/name"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XArtifactRef/guid"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//XBranchRef"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XBranchRef/name"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//XBranchRef/guid"/> - </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/artifact"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//HierarchyRestriction/accessRules"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//ObjectRestriction"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//ObjectRestriction/permission"/> - </genClasses> - <genClasses ecoreClass="OseeDsl.ecore#//ArtifactInstanceRestriction"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//ArtifactInstanceRestriction/artifactRef"/> - </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#//RelationTypeRestriction"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RelationTypeRestriction/relationTypeRef"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//RelationTypeRestriction/restrictedToSide"/> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl"> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/imports"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/artifactTypes"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/relationTypes"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/attributeTypes"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/enumTypes"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/enumOverrides"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/branchRefs"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/artifactRefs"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeDsl/accessDeclarations"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//Import"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//Import/importURI"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeElement"/> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeType"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeType/name"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OseeType/typeGuid"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType/abstract"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType/superArtifactTypes"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactType/validAttributeTypes"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeTypeRef"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeTypeRef/validAttributeType"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeTypeRef/branchGuid"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/baseAttributeType"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/override"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/dataProvider"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/min"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/max"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/taggerId"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/enumType"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/description"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/defaultValue"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XAttributeType/fileExtension"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumType"> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumType/enumEntries"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumEntry"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumEntry/name"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumEntry/ordinal"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumEntry/entryGuid"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumOverride"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumOverride/overridenEnumType"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumOverride/inheritAll"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XOseeEnumOverride/overrideOptions"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//OverrideOption"/> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AddEnum"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AddEnum/enumEntry"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AddEnum/ordinal"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AddEnum/entryGuid"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RemoveEnum"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RemoveEnum/enumEntry"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType/sideAName"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType/sideAArtifactType"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType/sideBName"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType/sideBArtifactType"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType/defaultOrderType"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XRelationType/multiplicity"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactRef"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactRef/name"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XArtifactRef/guid"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XBranchRef"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XBranchRef/name"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//XBranchRef/guid"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext/name"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext/superAccessContexts"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext/guid"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext/accessRules"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AccessContext/hierarchyRestrictions"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//HierarchyRestriction"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//HierarchyRestriction/artifact"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//HierarchyRestriction/accessRules"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ObjectRestriction/permission"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ArtifactInstanceRestriction"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ArtifactInstanceRestriction/artifactRef"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ArtifactTypeRestriction"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//ArtifactTypeRestriction/artifactTypeRef"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AttributeTypeRestriction"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AttributeTypeRestriction/attributeTypeRef"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//AttributeTypeRestriction/artifactTypeRef"/> + </genClasses> + <genClasses ecoreClass="platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationTypeRestriction"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationTypeRestriction/relationTypeRef"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.ecore#//RelationTypeRestriction/restrictedToSide"/> </genClasses> </genPackages> </genmodel:GenModel> diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xmi b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xmi index f764e9c5dc5..0b74f104571 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xmi +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.xmi @@ -826,6 +826,7 @@ <elements xsi:type="xtext:Keyword" value="n"/> <elements xsi:type="xtext:Keyword" value="f"/> <elements xsi:type="xtext:Keyword" value="r"/> + <elements xsi:type="xtext:Keyword" value="u"/> <elements xsi:type="xtext:Keyword" value="""/> <elements xsi:type="xtext:Keyword" value="'"/> <elements xsi:type="xtext:Keyword" value="\"/> @@ -851,6 +852,7 @@ <elements xsi:type="xtext:Keyword" value="n"/> <elements xsi:type="xtext:Keyword" value="f"/> <elements xsi:type="xtext:Keyword" value="r"/> + <elements xsi:type="xtext:Keyword" value="u"/> <elements xsi:type="xtext:Keyword" value="""/> <elements xsi:type="xtext:Keyword" value="'"/> <elements xsi:type="xtext:Keyword" value="\"/> 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 index 813e75c7401..c17a95e1981 100644 --- 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 @@ -1,18 +1,10 @@ -/******************************************************************************* - * Copyright (c) 2010 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ + 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 org.eclipse.emf.ecore.resource.Resource; + import com.google.inject.Guice; import com.google.inject.Injector; @@ -22,31 +14,30 @@ import com.google.inject.Injector; @SuppressWarnings("all") public class OseeDslStandaloneSetupGenerated implements ISetup { - 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); - - } + 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 index a4740e50acc..4a33402ace2 100644 --- 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 @@ -7,124 +7,129 @@ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Access Context</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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> + * <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> * </p> - * + * * @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(); +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); + /** + * 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>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(); + /** + * 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); + /** + * 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>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(); + /** + * 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 index 1b4f048f40e..82c98022f1b 100644 --- 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 @@ -9,200 +9,219 @@ 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 --> - * + * <!-- 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 --> - * - * @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 --> - * - * @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; - } +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 --> + * @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 integer value. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - */ - public static AccessPermissionEnum get(int value) { - switch (value) { - case ALLOW_VALUE: - return ALLOW; - case DENY_VALUE: - return DENY; + } + return null; + } + + /** + * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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; - } - - /** - * <!-- 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 - */ - @Override - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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; - } - + } + return null; + } + + /** + * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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/AddEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java index db23718caa2..6a76948e61a 100644 --- 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 @@ -6,98 +6,103 @@ */ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Add Enum</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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#getEntryGuid <em>Entry Guid</em>}</li> + * <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#getEntryGuid <em>Entry Guid</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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(); + /** + * 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); + /** + * 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>Entry Guid</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Entry 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>Entry Guid</em>' attribute. - * @see #setEntryGuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EntryGuid() - * @model - * @generated - */ - String getEntryGuid(); + /** + * Returns the value of the '<em><b>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Entry 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>Entry Guid</em>' attribute. + * @see #setEntryGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EntryGuid() + * @model + * @generated + */ + String getEntryGuid(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid - * <em>Entry Guid</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Entry Guid</em>' attribute. - * @see #getEntryGuid() - * @generated - */ - void setEntryGuid(String value); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Entry Guid</em>' attribute. + * @see #getEntryGuid() + * @generated + */ + void setEntryGuid(String value); } // AddEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java index aca07e789f6..5fde68b4615 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java @@ -6,47 +6,49 @@ */ package org.eclipse.osee.framework.core.dsl.oseeDsl; + /** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Artifact Instance Restriction</b></em>'. <!-- - * end-user-doc --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Artifact Instance Restriction</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef <em>Artifact Ref - * </em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef <em>Artifact Ref</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction() * @model * @generated */ -public interface ArtifactInstanceRestriction extends ObjectRestriction { - /** - * Returns the value of the '<em><b>Artifact Ref</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact 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 Ref</em>' reference. - * @see #setArtifactRef(XArtifactRef) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction_ArtifactRef() - * @model - * @generated - */ - XArtifactRef getArtifactRef(); +public interface ArtifactInstanceRestriction extends ObjectRestriction +{ + /** + * Returns the value of the '<em><b>Artifact Ref</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact 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 Ref</em>' reference. + * @see #setArtifactRef(XArtifactRef) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction_ArtifactRef() + * @model + * @generated + */ + XArtifactRef getArtifactRef(); - /** - * Sets the value of the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef - * <em>Artifact Ref</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Artifact Ref</em>' reference. - * @see #getArtifactRef() - * @generated - */ - void setArtifactRef(XArtifactRef value); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef <em>Artifact Ref</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Artifact Ref</em>' reference. + * @see #getArtifactRef() + * @generated + */ + void setArtifactRef(XArtifactRef value); } // ArtifactInstanceRestriction 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 index 86c8ac1e451..0b9ba58fbb6 100644 --- 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 @@ -6,47 +6,49 @@ */ 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 --> + * <!-- 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: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactTypeRef <em>Artifact Type - * Ref</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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/AttributeTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java index 34f69fd09d0..bcb1980a045 100644 --- 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 @@ -6,76 +6,76 @@ */ 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 --> + * <!-- 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: * <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> + * <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> * </p> - * + * * @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(); +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); + /** + * 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(); + /** + * 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); + /** + * 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/HierarchyRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java index c9db2581eaa..0ff98105713 100644 --- 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 @@ -7,64 +7,68 @@ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Hierarchy Restriction</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}</li> * </ul> * </p> - * + * * @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</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact</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</em>' reference. - * @see #setArtifact(XArtifactRef) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_Artifact() - * @model - * @generated - */ - XArtifactRef getArtifact(); +public interface HierarchyRestriction extends EObject +{ + /** + * Returns the value of the '<em><b>Artifact</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact</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</em>' reference. + * @see #setArtifact(XArtifactRef) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_Artifact() + * @model + * @generated + */ + XArtifactRef getArtifact(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact - * <em>Artifact</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Artifact</em>' reference. - * @see #getArtifact() - * @generated - */ - void setArtifact(XArtifactRef value); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Artifact</em>' reference. + * @see #getArtifact() + * @generated + */ + void setArtifact(XArtifactRef 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(); + /** + * 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 index 142b8c34d2a..019b2f34337 100644 --- 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 @@ -9,43 +9,47 @@ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Import</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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/ObjectRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java index 9b0e600ceeb..8ceebfd5a31 100644 --- 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 @@ -9,47 +9,50 @@ 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 - * --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Object Restriction</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction#getPermission <em>Permission</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction#getPermission <em>Permission</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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 index be0bffe7203..f4150eb414f 100644 --- 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 @@ -7,172 +7,177 @@ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Osee Dsl</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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#getBranchRefs <em>Branch Refs</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact 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#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#getBranchRefs <em>Branch Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}</li> * </ul> * </p> - * + * * @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(); +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>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>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>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 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>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>Branch Refs</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Branch 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>Branch Refs</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_BranchRefs() - * @model containment="true" - * @generated - */ - EList<XBranchRef> getBranchRefs(); + /** + * Returns the value of the '<em><b>Branch Refs</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Branch 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>Branch Refs</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_BranchRefs() + * @model containment="true" + * @generated + */ + EList<XBranchRef> getBranchRefs(); - /** - * Returns the value of the '<em><b>Artifact Refs</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact 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 Refs</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactRefs() - * @model containment="true" - * @generated - */ - EList<XArtifactRef> getArtifactRefs(); + /** + * Returns the value of the '<em><b>Artifact Refs</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact 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 Refs</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactRefs() + * @model containment="true" + * @generated + */ + EList<XArtifactRef> getArtifactRefs(); - /** - * 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>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(); } // 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 index d52c22b107b..7ce8474c76b 100644 --- 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 @@ -9,211 +9,237 @@ 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 --> - * + * <!-- 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>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>XArtifact Ref</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XArtifact Ref</em>'. - * @generated - */ - XArtifactRef createXArtifactRef(); - - /** - * Returns a new object of class '<em>XBranch Ref</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XBranch Ref</em>'. - * @generated - */ - XBranchRef createXBranchRef(); - - /** - * 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>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 Instance Restriction</em>'. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @return a new object of class '<em>Artifact Instance Restriction</em>'. - * @generated - */ - ArtifactInstanceRestriction createArtifactInstanceRestriction(); - - /** - * 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>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(); +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>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>XArtifact Ref</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XArtifact Ref</em>'. + * @generated + */ + XArtifactRef createXArtifactRef(); + + /** + * Returns a new object of class '<em>XBranch Ref</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XBranch Ref</em>'. + * @generated + */ + XBranchRef createXBranchRef(); + + /** + * 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>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 Instance Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Artifact Instance Restriction</em>'. + * @generated + */ + ArtifactInstanceRestriction createArtifactInstanceRestriction(); + + /** + * 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>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 index fc86d206602..552752e45e0 100644 --- 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 @@ -13,2916 +13,2909 @@ 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 + * <!-- 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> + * <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>Branch Refs</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__BRANCH_REFS = 6; - - /** - * The feature id for the '<em><b>Artifact Refs</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__ARTIFACT_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 number of structural features of the '<em>Osee Dsl</em>' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL_FEATURE_COUNT = 9; - - /** - * 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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_TYPE__TYPE_GUID = 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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XARTIFACT_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; - - /** - * 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 Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE_REF__BRANCH_GUID = 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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XATTRIBUTE_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; - - /** - * 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 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 + 10; - - /** - * 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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XOSEE_ENUM_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; - - /** - * 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>Entry Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XOSEE_ENUM_ENTRY__ENTRY_GUID = 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>Entry Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ADD_ENUM__ENTRY_GUID = 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.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 = 13; - - /** - * 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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XRELATION_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; - - /** - * 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.XArtifactRefImpl - * <em>XArtifact Ref</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef() - * @generated - */ - int XARTIFACT_REF = 14; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XARTIFACT_REF__NAME = 0; - - /** - * The feature id for the '<em><b>Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XARTIFACT_REF__GUID = 1; - - /** - * The number of structural features of the '<em>XArtifact Ref</em>' class. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int XARTIFACT_REF_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl - * <em>XBranch Ref</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef() - * @generated - */ - int XBRANCH_REF = 15; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XBRANCH_REF__NAME = 0; - - /** - * The feature id for the '<em><b>Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int XBRANCH_REF__GUID = 1; - - /** - * The number of structural features of the '<em>XBranch Ref</em>' class. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int XBRANCH_REF_FEATURE_COUNT = 2; - - /** - * 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 = 16; - - /** - * 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 = 17; - - /** - * The feature id for the '<em><b>Artifact</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int HIERARCHY_RESTRICTION__ARTIFACT = 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.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 = 18; - - /** - * 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.ArtifactInstanceRestrictionImpl - * <em>Artifact Instance Restriction</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction() - * @generated - */ - int ARTIFACT_INSTANCE_RESTRICTION = 19; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ARTIFACT_INSTANCE_RESTRICTION__PERMISSION = OBJECT_RESTRICTION__PERMISSION; - - /** - * The feature id for the '<em><b>Artifact Ref</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Artifact Instance Restriction</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ARTIFACT_INSTANCE_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 = 20; - - /** - * 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 = 21; - - /** - * 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.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 = 22; - - /** - * 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 Ref</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * 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 + 1; - - /** - * 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 + 2; - - /** - * 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 = 23; - - /** - * 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 = 24; - - /** - * 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 = 25; - - /** - * 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#getBranchRefs <em>Branch Refs</em>}'. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the containment reference list '<em>Branch Refs</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_BranchRefs(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}'. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the containment reference list '<em>Artifact Refs</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs() - * @see #getOseeDsl() - * @generated - */ - EReference getOseeDsl_ArtifactRefs(); - - /** - * 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 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#getTypeGuid <em>Type Guid</em>}'. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @return the meta object for the attribute '<em>Type Guid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid() - * @see #getOseeType() - * @generated - */ - EAttribute getOseeType_TypeGuid(); - - /** - * 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#getBranchGuid <em>Branch Guid</em>}'. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the attribute '<em>Branch Guid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid() - * @see #getXAttributeTypeRef() - * @generated - */ - EAttribute getXAttributeTypeRef_BranchGuid(); - - /** - * 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 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#getEntryGuid <em>Entry Guid</em>}'. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the attribute '<em>Entry Guid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid() - * @see #getXOseeEnumEntry() - * @generated - */ - EAttribute getXOseeEnumEntry_EntryGuid(); - - /** - * 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#getEntryGuid <em>Entry Guid</em>}'. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @return the meta object for the attribute '<em>Entry Guid</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid() - * @see #getAddEnum() - * @generated - */ - EAttribute getAddEnum_EntryGuid(); - - /** - * 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.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.XArtifactRef - * <em>XArtifact Ref</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>XArtifact Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef - * @generated - */ - EClass getXArtifactRef(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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.XArtifactRef#getName() - * @see #getXArtifactRef() - * @generated - */ - EAttribute getXArtifactRef_Name(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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.XArtifactRef#getGuid() - * @see #getXArtifactRef() - * @generated - */ - EAttribute getXArtifactRef_Guid(); - - /** - * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef - * <em>XBranch Ref</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>XBranch Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef - * @generated - */ - EClass getXBranchRef(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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.XBranchRef#getName() - * @see #getXBranchRef() - * @generated - */ - EAttribute getXBranchRef_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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.XBranchRef#getGuid() - * @see #getXBranchRef() - * @generated - */ - EAttribute getXBranchRef_Guid(); - - /** - * 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#getArtifact <em>Artifact</em>}'. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Artifact</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact() - * @see #getHierarchyRestriction() - * @generated - */ - EReference getHierarchyRestriction_Artifact(); - - /** - * 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.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.ArtifactInstanceRestriction - * <em>Artifact Instance Restriction</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>Artifact Instance Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction - * @generated - */ - EClass getArtifactInstanceRestriction(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef - * <em>Artifact Ref</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Artifact Ref</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef() - * @see #getArtifactInstanceRestriction() - * @generated - */ - EReference getArtifactInstanceRestriction_ArtifactRef(); - - /** - * 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.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 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 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.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.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>Branch Refs</b></em>' containment reference list feature. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - EReference OSEE_DSL__BRANCH_REFS = eINSTANCE.getOseeDsl_BranchRefs(); - - /** - * The meta object literal for the '<em><b>Artifact Refs</b></em>' containment reference list feature. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - EReference OSEE_DSL__ARTIFACT_REFS = eINSTANCE.getOseeDsl_ArtifactRefs(); - - /** - * 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 '{@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>Type Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute OSEE_TYPE__TYPE_GUID = eINSTANCE.getOseeType_TypeGuid(); - - /** - * 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 Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute XATTRIBUTE_TYPE_REF__BRANCH_GUID = eINSTANCE.getXAttributeTypeRef_BranchGuid(); - - /** - * 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 '{@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>Entry Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute XOSEE_ENUM_ENTRY__ENTRY_GUID = eINSTANCE.getXOseeEnumEntry_EntryGuid(); - - /** - * 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>Entry Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute ADD_ENUM__ENTRY_GUID = eINSTANCE.getAddEnum_EntryGuid(); - - /** - * 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.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.XArtifactRefImpl - * <em>XArtifact Ref</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef() - * @generated - */ - EClass XARTIFACT_REF = eINSTANCE.getXArtifactRef(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute XARTIFACT_REF__NAME = eINSTANCE.getXArtifactRef_Name(); - - /** - * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute XARTIFACT_REF__GUID = eINSTANCE.getXArtifactRef_Guid(); - - /** - * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl - * <em>XBranch Ref</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef() - * @generated - */ - EClass XBRANCH_REF = eINSTANCE.getXBranchRef(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute XBRANCH_REF__NAME = eINSTANCE.getXBranchRef_Name(); - - /** - * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute XBRANCH_REF__GUID = eINSTANCE.getXBranchRef_Guid(); - - /** - * 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</b></em>' reference feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EReference HIERARCHY_RESTRICTION__ARTIFACT = eINSTANCE.getHierarchyRestriction_Artifact(); - - /** - * 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.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.ArtifactInstanceRestrictionImpl - * <em>Artifact Instance Restriction</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction() - * @generated - */ - EClass ARTIFACT_INSTANCE_RESTRICTION = eINSTANCE.getArtifactInstanceRestriction(); - - /** - * The meta object literal for the '<em><b>Artifact Ref</b></em>' reference feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EReference ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF = eINSTANCE.getArtifactInstanceRestriction_ArtifactRef(); - - /** - * 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.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 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 '{@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.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.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(); - - } +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>Branch Refs</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__BRANCH_REFS = 6; + + /** + * The feature id for the '<em><b>Artifact Refs</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ARTIFACT_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 number of structural features of the '<em>Osee Dsl</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL_FEATURE_COUNT = 9; + + /** + * 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>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_TYPE__TYPE_GUID = 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>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * 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 Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE_REF__BRANCH_GUID = 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>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * 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 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 + 10; + + /** + * 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>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * 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>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_ENTRY__ENTRY_GUID = 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>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADD_ENUM__ENTRY_GUID = 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.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 = 13; + + /** + * 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>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * 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.XArtifactRefImpl <em>XArtifact Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef() + * @generated + */ + int XARTIFACT_REF = 14; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_REF__NAME = 0; + + /** + * The feature id for the '<em><b>Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_REF__GUID = 1; + + /** + * The number of structural features of the '<em>XArtifact Ref</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_REF_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl <em>XBranch Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef() + * @generated + */ + int XBRANCH_REF = 15; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XBRANCH_REF__NAME = 0; + + /** + * The feature id for the '<em><b>Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XBRANCH_REF__GUID = 1; + + /** + * The number of structural features of the '<em>XBranch Ref</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XBRANCH_REF_FEATURE_COUNT = 2; + + /** + * 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 = 16; + + /** + * 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 = 17; + + /** + * The feature id for the '<em><b>Artifact</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIERARCHY_RESTRICTION__ARTIFACT = 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.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 = 18; + + /** + * 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.ArtifactInstanceRestrictionImpl <em>Artifact Instance Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction() + * @generated + */ + int ARTIFACT_INSTANCE_RESTRICTION = 19; + + /** + * The feature id for the '<em><b>Permission</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_INSTANCE_RESTRICTION__PERMISSION = OBJECT_RESTRICTION__PERMISSION; + + /** + * The feature id for the '<em><b>Artifact Ref</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Artifact Instance Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_INSTANCE_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 = 20; + + /** + * 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 = 21; + + /** + * 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.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 = 22; + + /** + * 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 Ref</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * 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 + 1; + + /** + * 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 + 2; + + /** + * 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 = 23; + + /** + * 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 = 24; + + /** + * 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 = 25; + + + /** + * 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#getBranchRefs <em>Branch Refs</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Branch Refs</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_BranchRefs(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Artifact Refs</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_ArtifactRefs(); + + /** + * 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 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#getTypeGuid <em>Type Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Type Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid() + * @see #getOseeType() + * @generated + */ + EAttribute getOseeType_TypeGuid(); + + /** + * 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#getBranchGuid <em>Branch Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Branch Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid() + * @see #getXAttributeTypeRef() + * @generated + */ + EAttribute getXAttributeTypeRef_BranchGuid(); + + /** + * 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 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#getEntryGuid <em>Entry Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Entry Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid() + * @see #getXOseeEnumEntry() + * @generated + */ + EAttribute getXOseeEnumEntry_EntryGuid(); + + /** + * 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#getEntryGuid <em>Entry Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Entry Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid() + * @see #getAddEnum() + * @generated + */ + EAttribute getAddEnum_EntryGuid(); + + /** + * 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.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.XArtifactRef <em>XArtifact Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XArtifact Ref</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef + * @generated + */ + EClass getXArtifactRef(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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.XArtifactRef#getName() + * @see #getXArtifactRef() + * @generated + */ + EAttribute getXArtifactRef_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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.XArtifactRef#getGuid() + * @see #getXArtifactRef() + * @generated + */ + EAttribute getXArtifactRef_Guid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef <em>XBranch Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XBranch Ref</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef + * @generated + */ + EClass getXBranchRef(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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.XBranchRef#getName() + * @see #getXBranchRef() + * @generated + */ + EAttribute getXBranchRef_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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.XBranchRef#getGuid() + * @see #getXBranchRef() + * @generated + */ + EAttribute getXBranchRef_Guid(); + + /** + * 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#getArtifact <em>Artifact</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Artifact</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact() + * @see #getHierarchyRestriction() + * @generated + */ + EReference getHierarchyRestriction_Artifact(); + + /** + * 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.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.ArtifactInstanceRestriction <em>Artifact Instance Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Artifact Instance Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction + * @generated + */ + EClass getArtifactInstanceRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef <em>Artifact Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Artifact Ref</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactRef() + * @see #getArtifactInstanceRestriction() + * @generated + */ + EReference getArtifactInstanceRestriction_ArtifactRef(); + + /** + * 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.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 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 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.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.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>Branch Refs</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__BRANCH_REFS = eINSTANCE.getOseeDsl_BranchRefs(); + + /** + * The meta object literal for the '<em><b>Artifact Refs</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ARTIFACT_REFS = eINSTANCE.getOseeDsl_ArtifactRefs(); + + /** + * 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 '{@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>Type Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute OSEE_TYPE__TYPE_GUID = eINSTANCE.getOseeType_TypeGuid(); + + /** + * 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 Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE_REF__BRANCH_GUID = eINSTANCE.getXAttributeTypeRef_BranchGuid(); + + /** + * 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 '{@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>Entry Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XOSEE_ENUM_ENTRY__ENTRY_GUID = eINSTANCE.getXOseeEnumEntry_EntryGuid(); + + /** + * 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>Entry Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADD_ENUM__ENTRY_GUID = eINSTANCE.getAddEnum_EntryGuid(); + + /** + * 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.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.XArtifactRefImpl <em>XArtifact Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef() + * @generated + */ + EClass XARTIFACT_REF = eINSTANCE.getXArtifactRef(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XARTIFACT_REF__NAME = eINSTANCE.getXArtifactRef_Name(); + + /** + * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XARTIFACT_REF__GUID = eINSTANCE.getXArtifactRef_Guid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl <em>XBranch Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef() + * @generated + */ + EClass XBRANCH_REF = eINSTANCE.getXBranchRef(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XBRANCH_REF__NAME = eINSTANCE.getXBranchRef_Name(); + + /** + * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XBRANCH_REF__GUID = eINSTANCE.getXBranchRef_Guid(); + + /** + * 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</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference HIERARCHY_RESTRICTION__ARTIFACT = eINSTANCE.getHierarchyRestriction_Artifact(); + + /** + * 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.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.ArtifactInstanceRestrictionImpl <em>Artifact Instance Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction() + * @generated + */ + EClass ARTIFACT_INSTANCE_RESTRICTION = eINSTANCE.getArtifactInstanceRestriction(); + + /** + * The meta object literal for the '<em><b>Artifact Ref</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF = eINSTANCE.getArtifactInstanceRestriction_ArtifactRef(); + + /** + * 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.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 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 '{@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.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.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 index 9c443a30c42..e2bcbd3983a 100644 --- 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 @@ -9,11 +9,15 @@ 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 --> - * + * <!-- 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 { +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 index ba30d1f6c10..026e735b9a6 100644 --- 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 @@ -6,70 +6,76 @@ */ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Osee Type</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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#getTypeGuid <em>Type Guid</em>}</li> + * <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#getTypeGuid <em>Type Guid</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Type 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>Type Guid</em>' attribute. - * @see #setTypeGuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_TypeGuid() - * @model - * @generated - */ - String getTypeGuid(); + /** + * Returns the value of the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Type 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>Type Guid</em>' attribute. + * @see #setTypeGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_TypeGuid() + * @model + * @generated + */ + String getTypeGuid(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>} - * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Type Guid</em>' attribute. - * @see #getTypeGuid() - * @generated - */ - void setTypeGuid(String value); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Type Guid</em>' attribute. + * @see #getTypeGuid() + * @generated + */ + void setTypeGuid(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 index 5246cae20c6..0e9db0b37dd 100644 --- 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 @@ -9,11 +9,15 @@ 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 --> - * + * <!-- 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 { +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/RelationMultiplicityEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java index 1e2383b6863..e7aa85b8f90 100644 --- 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 @@ -9,257 +9,273 @@ 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 --> - * + * <!-- 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"), +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>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 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>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 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>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 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; + /** + * 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[] { + /** + * 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)); + MANY_TO_MANY, + }; - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @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; - } + /** + * 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 name. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @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; - } + /** + * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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; - } + } + return null; + } - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @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; + /** + * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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; - } + } + return null; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private final int value; + /** + * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 String name; + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private final String literal; + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; - /** - * 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 + */ + private final String literal; - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public int getValue() { - return value; - } + /** + * 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 - */ - @Override - public String getName() { - return name; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() + { + return value; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } - /** - * 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; - } + /** + * <!-- 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/RelationTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java index 6fbe84048ba..f280be8956b 100644 --- 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 @@ -6,79 +6,79 @@ */ 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 --> + * <!-- 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: * <ul> - * <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#getRelationTypeRef <em>Relation Type Ref</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}</li> * </ul> * </p> - * + * * @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 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(); +public interface RelationTypeRestriction extends ObjectRestriction +{ + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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); } // RelationTypeRestriction 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 index 67b76d4fbe1..7044cf25f90 100644 --- 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 @@ -6,44 +6,49 @@ */ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Remove Enum</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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/XArtifactRef.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java index 58d0dd14444..e3517db9fc7 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java @@ -9,68 +9,74 @@ 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>XArtifact Ref</b></em>'. <!-- end-user-doc --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XArtifact Ref</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef() * @model * @generated */ -public interface XArtifactRef 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#getXArtifactRef_Name() - * @model - * @generated - */ - String getName(); +public interface XArtifactRef 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#getXArtifactRef_Name() + * @model + * @generated + */ + String getName(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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>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#getXArtifactRef_Guid() - * @model - * @generated - */ - String getGuid(); + /** + * 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#getXArtifactRef_Guid() + * @model + * @generated + */ + String getGuid(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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); } // XArtifactRef 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 index bd1d2b03f0e..722f8fca97f 100644 --- 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 @@ -9,79 +9,81 @@ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XArtifact Type</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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> + * <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> * </p> - * + * * @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(); +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); + /** + * 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>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(); + /** + * 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 index fa1b72fac8d..a4bdb36d648 100644 --- 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 @@ -6,286 +6,292 @@ */ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XAttribute Type</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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#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> * </ul> * </p> - * + * * @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(); +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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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); } // 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 index 32818ffc2d6..19140ae9572 100644 --- 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 @@ -9,72 +9,74 @@ 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 - * --> + * <!-- 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: * <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#getBranchGuid <em>Branch Guid</em>}</li> + * <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#getBranchGuid <em>Branch Guid</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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 Guid</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Branch 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>Branch Guid</em>' attribute. - * @see #setBranchGuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_BranchGuid() - * @model - * @generated - */ - String getBranchGuid(); + /** + * Returns the value of the '<em><b>Branch Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Branch 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>Branch Guid</em>' attribute. + * @see #setBranchGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_BranchGuid() + * @model + * @generated + */ + String getBranchGuid(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid - * <em>Branch Guid</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Branch Guid</em>' attribute. - * @see #getBranchGuid() - * @generated - */ - void setBranchGuid(String value); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Branch Guid</em>' attribute. + * @see #getBranchGuid() + * @generated + */ + void setBranchGuid(String value); } // XAttributeTypeRef diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java index 592aeee81f9..b00c1842709 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java @@ -9,68 +9,74 @@ 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>XBranch Ref</b></em>'. <!-- end-user-doc --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XBranch Ref</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef() * @model * @generated */ -public interface XBranchRef 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#getXBranchRef_Name() - * @model - * @generated - */ - String getName(); +public interface XBranchRef 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#getXBranchRef_Name() + * @model + * @generated + */ + String getName(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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>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#getXBranchRef_Guid() - * @model - * @generated - */ - String getGuid(); + /** + * 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#getXBranchRef_Guid() + * @model + * @generated + */ + String getGuid(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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); } // XBranchRef 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 index 4d655ab8046..7d8b53db4eb 100644 --- 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 @@ -9,97 +9,101 @@ 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 - * --> + * <!-- 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: * <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#getEntryGuid <em>Entry Guid</em>}</li> + * <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#getEntryGuid <em>Entry Guid</em>}</li> * </ul> * </p> - * + * * @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(); +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); + /** + * 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(); + /** + * 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); + /** + * 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>Entry Guid</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Entry 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>Entry Guid</em>' attribute. - * @see #setEntryGuid(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_EntryGuid() - * @model - * @generated - */ - String getEntryGuid(); + /** + * Returns the value of the '<em><b>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Entry 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>Entry Guid</em>' attribute. + * @see #setEntryGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_EntryGuid() + * @model + * @generated + */ + String getEntryGuid(); - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid - * <em>Entry Guid</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Entry Guid</em>' attribute. - * @see #getEntryGuid() - * @generated - */ - void setEntryGuid(String value); + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Entry Guid</em>' attribute. + * @see #getEntryGuid() + * @generated + */ + void setEntryGuid(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 index 6cb6ccf7382..1549fea1191 100644 --- 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 @@ -9,90 +9,91 @@ 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 - * --> + * <!-- 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: * <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> + * <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> * </p> - * + * * @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(); +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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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 index eae96d95bf7..7ee0fc7244c 100644 --- 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 @@ -9,33 +9,37 @@ 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 --> + * <!-- 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: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}</li> * </ul> * </p> - * + * * @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(); +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 index 45a4f292556..fa676c23edf 100644 --- 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 @@ -9,226 +9,246 @@ 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 --> - * + * <!-- 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 --> - * - * @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 --> - * - * @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; - } +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 --> + * @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 integer value. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @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; + } + + /** + * Returns the '<em><b>XRelation Side Enum</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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; - } - - /** - * <!-- 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 - */ - @Override - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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; - } - + } + return null; + } + + /** + * Returns the '<em><b>XRelation Side Enum</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 index 9e5246d36e8..278422e93b9 100644 --- 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 @@ -6,185 +6,187 @@ */ 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 --> + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XRelation Type</b></em>'. + * <!-- end-user-doc --> + * * <p> * The following features are supported: * <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> + * <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> * </p> - * + * * @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(); +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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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(); + /** + * 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); + /** + * 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 index f5e786d7c8e..14b2ee97e39 100644 --- 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 @@ -7,357 +7,370 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Access Context</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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> + * <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> * </p> - * + * * @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 - */ - @Override - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - public String getGuid() { - return guid; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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(); - } +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/AddEnumImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java index ec745f8f4d8..8e7c76256ae 100644 --- 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 @@ -7,276 +7,286 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Add Enum</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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#getEntryGuid <em>Entry Guid</em>}</li> + * <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#getEntryGuid <em>Entry Guid</em>}</li> * </ul> * </p> - * + * * @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; +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 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 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 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 #getEntryGuid() <em>Entry Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getEntryGuid() - * @generated - * @ordered - */ - protected static final String ENTRY_GUID_EDEFAULT = null; + /** + * The default value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected static final String ENTRY_GUID_EDEFAULT = null; - /** - * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getEntryGuid() - * @generated - * @ordered - */ - protected String entryGuid = ENTRY_GUID_EDEFAULT; + /** + * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected String entryGuid = ENTRY_GUID_EDEFAULT; - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected AddEnumImpl() { - super(); - } + /** + * <!-- 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 + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ADD_ENUM; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getEnumEntry() { - return enumEntry; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEnumEntry() + { + return enumEntry; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - public String getOrdinal() { - return ordinal; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getOrdinal() + { + return ordinal; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - public String getEntryGuid() { - return entryGuid; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEntryGuid() + { + return entryGuid; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setEntryGuid(String newEntryGuid) { - String oldEntryGuid = entryGuid; - entryGuid = newEntryGuid; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENTRY_GUID, oldEntryGuid, - entryGuid)); - } - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEntryGuid(String newEntryGuid) + { + String oldEntryGuid = entryGuid; + entryGuid = newEntryGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENTRY_GUID, oldEntryGuid, entryGuid)); + } - /** - * <!-- 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__ENTRY_GUID: - return getEntryGuid(); - } - return super.eGet(featureID, resolve, coreType); - } + /** + * <!-- 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__ENTRY_GUID: + return getEntryGuid(); + } + 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__ENTRY_GUID: - setEntryGuid((String) newValue); - return; - } - super.eSet(featureID, newValue); - } + /** + * <!-- 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__ENTRY_GUID: + setEntryGuid((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__ENTRY_GUID: - setEntryGuid(ENTRY_GUID_EDEFAULT); - return; - } - super.eUnset(featureID); - } + /** + * <!-- 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__ENTRY_GUID: + setEntryGuid(ENTRY_GUID_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__ENTRY_GUID: - return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid); - } - return super.eIsSet(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__ENTRY_GUID: + return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid); + } + return super.eIsSet(featureID); + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } + /** + * <!-- 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(", entryGuid: "); - result.append(entryGuid); - result.append(')'); - return result.toString(); - } + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (enumEntry: "); + result.append(enumEntry); + result.append(", ordinal: "); + result.append(ordinal); + result.append(", entryGuid: "); + result.append(entryGuid); + 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/ArtifactInstanceRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java index a69e983bb11..e6e898c47b5 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java @@ -7,159 +7,170 @@ 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.ArtifactInstanceRestriction; import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; /** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Artifact Instance Restriction</b></em>'. <!-- - * end-user-doc --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Artifact Instance Restriction</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl#getArtifactRef <em> - * Artifact Ref</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl#getArtifactRef <em>Artifact Ref</em>}</li> * </ul> * </p> - * + * * @generated */ -public class ArtifactInstanceRestrictionImpl extends ObjectRestrictionImpl implements ArtifactInstanceRestriction { - /** - * The cached value of the '{@link #getArtifactRef() <em>Artifact Ref</em>}' reference. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getArtifactRef() - * @generated - * @ordered - */ - protected XArtifactRef artifactRef; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected ArtifactInstanceRestrictionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.ARTIFACT_INSTANCE_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XArtifactRef getArtifactRef() { - if (artifactRef != null && artifactRef.eIsProxy()) { - InternalEObject oldArtifactRef = (InternalEObject) artifactRef; - artifactRef = (XArtifactRef) eResolveProxy(oldArtifactRef); - if (artifactRef != oldArtifactRef) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF, oldArtifactRef, artifactRef)); - } - } - } - return artifactRef; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XArtifactRef basicGetArtifactRef() { - return artifactRef; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setArtifactRef(XArtifactRef newArtifactRef) { - XArtifactRef oldArtifactRef = artifactRef; - artifactRef = newArtifactRef; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, - OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF, oldArtifactRef, artifactRef)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF: - if (resolve) { - return getArtifactRef(); - } - return basicGetArtifactRef(); - } - 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_INSTANCE_RESTRICTION__ARTIFACT_REF: - setArtifactRef((XArtifactRef) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF: - setArtifactRef((XArtifactRef) null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF: - return artifactRef != null; +public class ArtifactInstanceRestrictionImpl extends ObjectRestrictionImpl implements ArtifactInstanceRestriction +{ + /** + * The cached value of the '{@link #getArtifactRef() <em>Artifact Ref</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactRef() + * @generated + * @ordered + */ + protected XArtifactRef artifactRef; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ArtifactInstanceRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ARTIFACT_INSTANCE_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef getArtifactRef() + { + if (artifactRef != null && artifactRef.eIsProxy()) + { + InternalEObject oldArtifactRef = (InternalEObject)artifactRef; + artifactRef = (XArtifactRef)eResolveProxy(oldArtifactRef); + if (artifactRef != oldArtifactRef) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF, oldArtifactRef, artifactRef)); } - return super.eIsSet(featureID); - } + } + return artifactRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef basicGetArtifactRef() + { + return artifactRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setArtifactRef(XArtifactRef newArtifactRef) + { + XArtifactRef oldArtifactRef = artifactRef; + artifactRef = newArtifactRef; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF, oldArtifactRef, artifactRef)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF: + if (resolve) return getArtifactRef(); + return basicGetArtifactRef(); + } + 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_INSTANCE_RESTRICTION__ARTIFACT_REF: + setArtifactRef((XArtifactRef)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF: + setArtifactRef((XArtifactRef)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_REF: + return artifactRef != null; + } + return super.eIsSet(featureID); + } } //ArtifactInstanceRestrictionImpl 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 index 2f41b5fd916..adbb61d0540 100644 --- 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 @@ -7,159 +7,170 @@ 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 --> + * <!-- 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: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl#getArtifactTypeRef <em> - * Artifact Type Ref</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl#getArtifactTypeRef <em>Artifact Type Ref</em>}</li> * </ul> * </p> - * + * * @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 - */ - @Override - 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 - */ - @Override - 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; +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 super.eIsSet(featureID); - } + } + 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/AttributeTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java index 791d938aa6f..5f85c438493 100644 --- 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 @@ -7,229 +7,236 @@ 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 --> + * <!-- 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: * <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> + * <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> * </p> - * + * * @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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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; +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)); } - 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 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 super.eIsSet(featureID); - } + } + 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/HierarchyRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java index a9e95df2cae..6a42e313489 100644 --- 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 @@ -7,218 +7,233 @@ 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.XArtifactRef; /** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Hierarchy Restriction</b></em>'. <!-- - * end-user-doc --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Hierarchy Restriction</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getArtifact <em>Artifact</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getAccessRules <em>Access Rules - * </em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getArtifact <em>Artifact</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getAccessRules <em>Access Rules</em>}</li> * </ul> * </p> - * + * * @generated */ -public class HierarchyRestrictionImpl extends MinimalEObjectImpl.Container implements HierarchyRestriction { - /** - * The cached value of the '{@link #getArtifact() <em>Artifact</em>}' reference. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getArtifact() - * @generated - * @ordered - */ - protected XArtifactRef artifact; - - /** - * 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 - */ - @Override - public XArtifactRef getArtifact() { - if (artifact != null && artifact.eIsProxy()) { - InternalEObject oldArtifact = (InternalEObject) artifact; - artifact = (XArtifactRef) eResolveProxy(oldArtifact); - if (artifact != oldArtifact) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact)); - } - } - } - return artifact; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XArtifactRef basicGetArtifact() { - return artifact; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setArtifact(XArtifactRef newArtifact) { - XArtifactRef oldArtifact = artifact; - artifact = newArtifact; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, - oldArtifact, artifact)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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: - if (resolve) { - return getArtifact(); - } - return basicGetArtifact(); - 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: - setArtifact((XArtifactRef) 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: - setArtifact((XArtifactRef) 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: - return artifact != null; - case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: - return accessRules != null && !accessRules.isEmpty(); +public class HierarchyRestrictionImpl extends MinimalEObjectImpl.Container implements HierarchyRestriction +{ + /** + * The cached value of the '{@link #getArtifact() <em>Artifact</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifact() + * @generated + * @ordered + */ + protected XArtifactRef artifact; + + /** + * 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 XArtifactRef getArtifact() + { + if (artifact != null && artifact.eIsProxy()) + { + InternalEObject oldArtifact = (InternalEObject)artifact; + artifact = (XArtifactRef)eResolveProxy(oldArtifact); + if (artifact != oldArtifact) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact)); } - return super.eIsSet(featureID); - } + } + return artifact; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef basicGetArtifact() + { + return artifact; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setArtifact(XArtifactRef newArtifact) + { + XArtifactRef oldArtifact = artifact; + artifact = newArtifact; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact)); + } + + /** + * <!-- 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: + if (resolve) return getArtifact(); + return basicGetArtifact(); + 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: + setArtifact((XArtifactRef)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: + setArtifact((XArtifactRef)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: + return artifact != 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 index 4e2333aa40b..04a446ade27 100644 --- 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 @@ -7,162 +7,175 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Import</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl#getImportURI <em>Import URI</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl#getImportURI <em>Import URI</em>}</li> * </ul> * </p> - * + * * @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 - */ - @Override - public String getImportURI() { - return importURI; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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(); - } +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/ObjectRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java index 215f8afee51..502efd8a169 100644 --- 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 @@ -7,164 +7,176 @@ 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 - * --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Object Restriction</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl#getPermission <em>Permission</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl#getPermission <em>Permission</em>}</li> * </ul> * </p> - * + * * @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 - */ - @Override - public AccessPermissionEnum getPermission() { - return permission; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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(); - } +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 index 9f5f3ec8a58..8320e94894b 100644 --- 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 @@ -10,508 +10,474 @@ 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.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction; -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.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -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.RelationMultiplicityEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; -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.XBranchRef; -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; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.*; /** - * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc --> - * + * <!-- 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("http://www.eclipse.org/osee/framework/core/dsl/OseeDsl"); - 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.XRELATION_TYPE: - return createXRelationType(); - case OseeDslPackage.XARTIFACT_REF: - return createXArtifactRef(); - case OseeDslPackage.XBRANCH_REF: - return createXBranchRef(); - case OseeDslPackage.ACCESS_CONTEXT: - return createAccessContext(); - case OseeDslPackage.HIERARCHY_RESTRICTION: - return createHierarchyRestriction(); - case OseeDslPackage.OBJECT_RESTRICTION: - return createObjectRestriction(); - case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: - return createArtifactInstanceRestriction(); - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: - return createArtifactTypeRestriction(); - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: - return createAttributeTypeRestriction(); - 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.ACCESS_PERMISSION_ENUM: - return createAccessPermissionEnumFromString(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.ACCESS_PERMISSION_ENUM: - return convertAccessPermissionEnumToString(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 - */ - @Override - public OseeDsl createOseeDsl() { - OseeDslImpl oseeDsl = new OseeDslImpl(); - return oseeDsl; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Import createImport() { - ImportImpl import_ = new ImportImpl(); - return import_; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public OseeElement createOseeElement() { - OseeElementImpl oseeElement = new OseeElementImpl(); - return oseeElement; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public OseeType createOseeType() { - OseeTypeImpl oseeType = new OseeTypeImpl(); - return oseeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XArtifactType createXArtifactType() { - XArtifactTypeImpl xArtifactType = new XArtifactTypeImpl(); - return xArtifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XAttributeTypeRef createXAttributeTypeRef() { - XAttributeTypeRefImpl xAttributeTypeRef = new XAttributeTypeRefImpl(); - return xAttributeTypeRef; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XAttributeType createXAttributeType() { - XAttributeTypeImpl xAttributeType = new XAttributeTypeImpl(); - return xAttributeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XOseeEnumType createXOseeEnumType() { - XOseeEnumTypeImpl xOseeEnumType = new XOseeEnumTypeImpl(); - return xOseeEnumType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XOseeEnumEntry createXOseeEnumEntry() { - XOseeEnumEntryImpl xOseeEnumEntry = new XOseeEnumEntryImpl(); - return xOseeEnumEntry; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XOseeEnumOverride createXOseeEnumOverride() { - XOseeEnumOverrideImpl xOseeEnumOverride = new XOseeEnumOverrideImpl(); - return xOseeEnumOverride; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public OverrideOption createOverrideOption() { - OverrideOptionImpl overrideOption = new OverrideOptionImpl(); - return overrideOption; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public AddEnum createAddEnum() { - AddEnumImpl addEnum = new AddEnumImpl(); - return addEnum; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public RemoveEnum createRemoveEnum() { - RemoveEnumImpl removeEnum = new RemoveEnumImpl(); - return removeEnum; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XRelationType createXRelationType() { - XRelationTypeImpl xRelationType = new XRelationTypeImpl(); - return xRelationType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XArtifactRef createXArtifactRef() { - XArtifactRefImpl xArtifactRef = new XArtifactRefImpl(); - return xArtifactRef; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XBranchRef createXBranchRef() { - XBranchRefImpl xBranchRef = new XBranchRefImpl(); - return xBranchRef; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public AccessContext createAccessContext() { - AccessContextImpl accessContext = new AccessContextImpl(); - return accessContext; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public HierarchyRestriction createHierarchyRestriction() { - HierarchyRestrictionImpl hierarchyRestriction = new HierarchyRestrictionImpl(); - return hierarchyRestriction; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public ObjectRestriction createObjectRestriction() { - ObjectRestrictionImpl objectRestriction = new ObjectRestrictionImpl(); - return objectRestriction; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public ArtifactInstanceRestriction createArtifactInstanceRestriction() { - ArtifactInstanceRestrictionImpl artifactInstanceRestriction = new ArtifactInstanceRestrictionImpl(); - return artifactInstanceRestriction; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public ArtifactTypeRestriction createArtifactTypeRestriction() { - ArtifactTypeRestrictionImpl artifactTypeRestriction = new ArtifactTypeRestrictionImpl(); - return artifactTypeRestriction; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public AttributeTypeRestriction createAttributeTypeRestriction() { - AttributeTypeRestrictionImpl attributeTypeRestriction = new AttributeTypeRestrictionImpl(); - return attributeTypeRestriction; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 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() + "'"); +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("http://www.eclipse.org/osee/framework/core/dsl/OseeDsl"); + if (theOseeDslFactory != null) + { + return theOseeDslFactory; } - 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 - */ - @Override - public OseeDslPackage getOseeDslPackage() { - return (OseeDslPackage) getEPackage(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @deprecated - * @generated - */ - @Deprecated - public static OseeDslPackage getPackage() { - return OseeDslPackage.eINSTANCE; - } + } + 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.XRELATION_TYPE: return createXRelationType(); + case OseeDslPackage.XARTIFACT_REF: return createXArtifactRef(); + case OseeDslPackage.XBRANCH_REF: return createXBranchRef(); + case OseeDslPackage.ACCESS_CONTEXT: return createAccessContext(); + case OseeDslPackage.HIERARCHY_RESTRICTION: return createHierarchyRestriction(); + case OseeDslPackage.OBJECT_RESTRICTION: return createObjectRestriction(); + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: return createArtifactInstanceRestriction(); + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: return createArtifactTypeRestriction(); + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: return createAttributeTypeRestriction(); + 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.ACCESS_PERMISSION_ENUM: + return createAccessPermissionEnumFromString(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.ACCESS_PERMISSION_ENUM: + return convertAccessPermissionEnumToString(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 XRelationType createXRelationType() + { + XRelationTypeImpl xRelationType = new XRelationTypeImpl(); + return xRelationType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef createXArtifactRef() + { + XArtifactRefImpl xArtifactRef = new XArtifactRefImpl(); + return xArtifactRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XBranchRef createXBranchRef() + { + XBranchRefImpl xBranchRef = new XBranchRefImpl(); + return xBranchRef; + } + + /** + * <!-- 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 ObjectRestriction createObjectRestriction() + { + ObjectRestrictionImpl objectRestriction = new ObjectRestrictionImpl(); + return objectRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ArtifactInstanceRestriction createArtifactInstanceRestriction() + { + ArtifactInstanceRestrictionImpl artifactInstanceRestriction = new ArtifactInstanceRestrictionImpl(); + return artifactInstanceRestriction; + } + + /** + * <!-- 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 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 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 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 index d5cc416e1db..2bae4bfd96d 100644 --- 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 @@ -7,13 +7,19 @@ 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; @@ -27,441 +33,451 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Osee Dsl</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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#getBranchRefs <em>Branch Refs</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactRefs <em>Artifact 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#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#getBranchRefs <em>Branch Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactRefs <em>Artifact Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAccessDeclarations <em>Access Declarations</em>}</li> * </ul> * </p> - * + * * @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 #getBranchRefs() <em>Branch Refs</em>}' containment reference list. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @see #getBranchRefs() - * @generated - * @ordered - */ - protected EList<XBranchRef> branchRefs; - - /** - * The cached value of the '{@link #getArtifactRefs() <em>Artifact Refs</em>}' containment reference list. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @see #getArtifactRefs() - * @generated - * @ordered - */ - protected EList<XArtifactRef> artifactRefs; - - /** - * 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; - - /** - * <!-- 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - public EList<XBranchRef> getBranchRefs() { - if (branchRefs == null) { - branchRefs = - new EObjectContainmentEList<XBranchRef>(XBranchRef.class, this, OseeDslPackage.OSEE_DSL__BRANCH_REFS); - } - return branchRefs; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EList<XArtifactRef> getArtifactRefs() { - if (artifactRefs == null) { - artifactRefs = - new EObjectContainmentEList<XArtifactRef>(XArtifactRef.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_REFS); - } - return artifactRefs; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @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__BRANCH_REFS: - return ((InternalEList<?>) getBranchRefs()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: - return ((InternalEList<?>) getArtifactRefs()).basicRemove(otherEnd, msgs); - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - return ((InternalEList<?>) getAccessDeclarations()).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__BRANCH_REFS: - return getBranchRefs(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: - return getArtifactRefs(); - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - return getAccessDeclarations(); - } - 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__BRANCH_REFS: - getBranchRefs().clear(); - getBranchRefs().addAll((Collection<? extends XBranchRef>) newValue); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: - getArtifactRefs().clear(); - getArtifactRefs().addAll((Collection<? extends XArtifactRef>) newValue); - return; - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - getAccessDeclarations().clear(); - getAccessDeclarations().addAll((Collection<? extends AccessContext>) 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__BRANCH_REFS: - getBranchRefs().clear(); - return; - case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: - getArtifactRefs().clear(); - return; - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - getAccessDeclarations().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__BRANCH_REFS: - return branchRefs != null && !branchRefs.isEmpty(); - case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: - return artifactRefs != null && !artifactRefs.isEmpty(); - case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: - return accessDeclarations != null && !accessDeclarations.isEmpty(); - } - return super.eIsSet(featureID); - } +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 #getBranchRefs() <em>Branch Refs</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBranchRefs() + * @generated + * @ordered + */ + protected EList<XBranchRef> branchRefs; + + /** + * The cached value of the '{@link #getArtifactRefs() <em>Artifact Refs</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactRefs() + * @generated + * @ordered + */ + protected EList<XArtifactRef> artifactRefs; + + /** + * 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; + + /** + * <!-- 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<XBranchRef> getBranchRefs() + { + if (branchRefs == null) + { + branchRefs = new EObjectContainmentEList<XBranchRef>(XBranchRef.class, this, OseeDslPackage.OSEE_DSL__BRANCH_REFS); + } + return branchRefs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XArtifactRef> getArtifactRefs() + { + if (artifactRefs == null) + { + artifactRefs = new EObjectContainmentEList<XArtifactRef>(XArtifactRef.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_REFS); + } + return artifactRefs; + } + + /** + * <!-- 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 + */ + @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__BRANCH_REFS: + return ((InternalEList<?>)getBranchRefs()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + return ((InternalEList<?>)getArtifactRefs()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + return ((InternalEList<?>)getAccessDeclarations()).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__BRANCH_REFS: + return getBranchRefs(); + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + return getArtifactRefs(); + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + return getAccessDeclarations(); + } + 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__BRANCH_REFS: + getBranchRefs().clear(); + getBranchRefs().addAll((Collection<? extends XBranchRef>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + getArtifactRefs().clear(); + getArtifactRefs().addAll((Collection<? extends XArtifactRef>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + getAccessDeclarations().clear(); + getAccessDeclarations().addAll((Collection<? extends AccessContext>)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__BRANCH_REFS: + getBranchRefs().clear(); + return; + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + getArtifactRefs().clear(); + return; + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + getAccessDeclarations().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__BRANCH_REFS: + return branchRefs != null && !branchRefs.isEmpty(); + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + return artifactRefs != null && !artifactRefs.isEmpty(); + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + return accessDeclarations != null && !accessDeclarations.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 index 53d6ed70075..8e5077a0a39 100644 --- 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 @@ -11,7 +11,9 @@ 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.AddEnum; @@ -42,1522 +44,1451 @@ 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 --> - * + * <!-- 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 xRelationTypeEClass = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EClass xArtifactRefEClass = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EClass xBranchRefEClass = 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 objectRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EClass artifactInstanceRestrictionEClass = 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 relationTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EEnum relationMultiplicityEnumEEnum = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EEnum accessPermissionEnumEEnum = 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 - */ - @Override - public EClass getOseeDsl() { - return oseeDslEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_Imports() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_ArtifactTypes() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_RelationTypes() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_AttributeTypes() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_EnumTypes() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_EnumOverrides() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_BranchRefs() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_ArtifactRefs() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getOseeDsl_AccessDeclarations() { - return (EReference) oseeDslEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getImport() { - return importEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getImport_ImportURI() { - return (EAttribute) importEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getOseeElement() { - return oseeElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getOseeType() { - return oseeTypeEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getOseeType_Name() { - return (EAttribute) oseeTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getOseeType_TypeGuid() { - return (EAttribute) oseeTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getXArtifactType() { - return xArtifactTypeEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXArtifactType_Abstract() { - return (EAttribute) xArtifactTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getXArtifactType_SuperArtifactTypes() { - return (EReference) xArtifactTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getXArtifactType_ValidAttributeTypes() { - return (EReference) xArtifactTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getXAttributeTypeRef() { - return xAttributeTypeRefEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getXAttributeTypeRef_ValidAttributeType() { - return (EReference) xAttributeTypeRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeTypeRef_BranchGuid() { - return (EAttribute) xAttributeTypeRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getXAttributeType() { - return xAttributeTypeEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_BaseAttributeType() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getXAttributeType_Override() { - return (EReference) xAttributeTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_DataProvider() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_Min() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_Max() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_TaggerId() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EReference getXAttributeType_EnumType() { - return (EReference) xAttributeTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_Description() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_DefaultValue() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EAttribute getXAttributeType_FileExtension() { - return (EAttribute) xAttributeTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EClass getXOseeEnumType() { - return xOseeEnumTypeEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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_EntryGuid() { - 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_EntryGuid() { - 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 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 getXArtifactRef() { - return xArtifactRefEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getXArtifactRef_Name() { - return (EAttribute) xArtifactRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getXArtifactRef_Guid() { - return (EAttribute) xArtifactRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getXBranchRef() { - return xBranchRefEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getXBranchRef_Name() { - return (EAttribute) xBranchRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getXBranchRef_Guid() { - return (EAttribute) xBranchRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- 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_Artifact() { - 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 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 getArtifactInstanceRestriction() { - return artifactInstanceRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getArtifactInstanceRestriction_ArtifactRef() { - return (EReference) artifactInstanceRestrictionEClass.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 getRelationTypeRestriction() { - return relationTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getRelationTypeRestriction_RelationTypeRef() { - return (EReference) relationTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getRelationTypeRestriction_RestrictedToSide() { - return (EAttribute) relationTypeRestrictionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EEnum getRelationMultiplicityEnum() { - return relationMultiplicityEnumEEnum; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EEnum getAccessPermissionEnum() { - return accessPermissionEnumEEnum; - } - - /** - * <!-- 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__BRANCH_REFS); - createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_REFS); - createEReference(oseeDslEClass, OSEE_DSL__ACCESS_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__TYPE_GUID); - - 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_GUID); - - 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); - - 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__ENTRY_GUID); - - 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__ENTRY_GUID); - - removeEnumEClass = createEClass(REMOVE_ENUM); - createEReference(removeEnumEClass, REMOVE_ENUM__ENUM_ENTRY); - - 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); - - xArtifactRefEClass = createEClass(XARTIFACT_REF); - createEAttribute(xArtifactRefEClass, XARTIFACT_REF__NAME); - createEAttribute(xArtifactRefEClass, XARTIFACT_REF__GUID); - - xBranchRefEClass = createEClass(XBRANCH_REF); - createEAttribute(xBranchRefEClass, XBRANCH_REF__NAME); - createEAttribute(xBranchRefEClass, XBRANCH_REF__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); - createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ACCESS_RULES); - - objectRestrictionEClass = createEClass(OBJECT_RESTRICTION); - createEAttribute(objectRestrictionEClass, OBJECT_RESTRICTION__PERMISSION); - - artifactInstanceRestrictionEClass = createEClass(ARTIFACT_INSTANCE_RESTRICTION); - createEReference(artifactInstanceRestrictionEClass, ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_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); - - relationTypeRestrictionEClass = createEClass(RELATION_TYPE_RESTRICTION); - createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF); - createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE); - - // Create enums - relationMultiplicityEnumEEnum = createEEnum(RELATION_MULTIPLICITY_ENUM); - accessPermissionEnumEEnum = createEEnum(ACCESS_PERMISSION_ENUM); - 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()); - xRelationTypeEClass.getESuperTypes().add(this.getOseeType()); - artifactInstanceRestrictionEClass.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_BranchRefs(), this.getXBranchRef(), null, "branchRefs", 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_ArtifactRefs(), this.getXArtifactRef(), null, "artifactRefs", 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); - - 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_TypeGuid(), ecorePackage.getEString(), "typeGuid", 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_BranchGuid(), ecorePackage.getEString(), "branchGuid", 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); - - 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_EntryGuid(), ecorePackage.getEString(), "entryGuid", 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_EntryGuid(), ecorePackage.getEString(), "entryGuid", 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(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(xArtifactRefEClass, XArtifactRef.class, "XArtifactRef", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXArtifactRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XArtifactRef.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXArtifactRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XArtifactRef.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xBranchRefEClass, XBranchRef.class, "XBranchRef", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXBranchRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XBranchRef.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXBranchRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XBranchRef.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_Artifact(), this.getXArtifactRef(), null, "artifact", 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(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(artifactInstanceRestrictionEClass, ArtifactInstanceRestriction.class, "ArtifactInstanceRestriction", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArtifactInstanceRestriction_ArtifactRef(), this.getXArtifactRef(), null, "artifactRef", null, - 0, 1, ArtifactInstanceRestriction.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(relationTypeRestrictionEClass, RelationTypeRestriction.class, "RelationTypeRestriction", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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); - - // 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(accessPermissionEnumEEnum, AccessPermissionEnum.class, "AccessPermissionEnum"); - addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.ALLOW); - addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.DENY); - - initEEnum(xRelationSideEnumEEnum, XRelationSideEnum.class, "XRelationSideEnum"); - addEEnumLiteral(xRelationSideEnumEEnum, XRelationSideEnum.SIDE_A); - addEEnumLiteral(xRelationSideEnumEEnum, XRelationSideEnum.SIDE_B); - addEEnumLiteral(xRelationSideEnumEEnum, XRelationSideEnum.BOTH); - - // Create resource - createResource(eNS_URI); - } +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 xRelationTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xArtifactRefEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xBranchRefEClass = 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 objectRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass artifactInstanceRestrictionEClass = 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 relationTypeRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum relationMultiplicityEnumEEnum = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum accessPermissionEnumEEnum = 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_BranchRefs() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_ArtifactRefs() + { + 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 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_TypeGuid() + { + 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_BranchGuid() + { + 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 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_EntryGuid() + { + 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_EntryGuid() + { + 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 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 getXArtifactRef() + { + return xArtifactRefEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXArtifactRef_Name() + { + return (EAttribute)xArtifactRefEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXArtifactRef_Guid() + { + return (EAttribute)xArtifactRefEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXBranchRef() + { + return xBranchRefEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXBranchRef_Name() + { + return (EAttribute)xBranchRefEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXBranchRef_Guid() + { + return (EAttribute)xBranchRefEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- 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_Artifact() + { + 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 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 getArtifactInstanceRestriction() + { + return artifactInstanceRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getArtifactInstanceRestriction_ArtifactRef() + { + return (EReference)artifactInstanceRestrictionEClass.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 getRelationTypeRestriction() + { + return relationTypeRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRelationTypeRestriction_RelationTypeRef() + { + return (EReference)relationTypeRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRelationTypeRestriction_RestrictedToSide() + { + return (EAttribute)relationTypeRestrictionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getRelationMultiplicityEnum() + { + return relationMultiplicityEnumEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getAccessPermissionEnum() + { + return accessPermissionEnumEEnum; + } + + /** + * <!-- 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__BRANCH_REFS); + createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_REFS); + createEReference(oseeDslEClass, OSEE_DSL__ACCESS_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__TYPE_GUID); + + 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_GUID); + + 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); + + 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__ENTRY_GUID); + + 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__ENTRY_GUID); + + removeEnumEClass = createEClass(REMOVE_ENUM); + createEReference(removeEnumEClass, REMOVE_ENUM__ENUM_ENTRY); + + 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); + + xArtifactRefEClass = createEClass(XARTIFACT_REF); + createEAttribute(xArtifactRefEClass, XARTIFACT_REF__NAME); + createEAttribute(xArtifactRefEClass, XARTIFACT_REF__GUID); + + xBranchRefEClass = createEClass(XBRANCH_REF); + createEAttribute(xBranchRefEClass, XBRANCH_REF__NAME); + createEAttribute(xBranchRefEClass, XBRANCH_REF__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); + createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ACCESS_RULES); + + objectRestrictionEClass = createEClass(OBJECT_RESTRICTION); + createEAttribute(objectRestrictionEClass, OBJECT_RESTRICTION__PERMISSION); + + artifactInstanceRestrictionEClass = createEClass(ARTIFACT_INSTANCE_RESTRICTION); + createEReference(artifactInstanceRestrictionEClass, ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_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); + + relationTypeRestrictionEClass = createEClass(RELATION_TYPE_RESTRICTION); + createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF); + createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE); + + // Create enums + relationMultiplicityEnumEEnum = createEEnum(RELATION_MULTIPLICITY_ENUM); + accessPermissionEnumEEnum = createEEnum(ACCESS_PERMISSION_ENUM); + 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()); + xRelationTypeEClass.getESuperTypes().add(this.getOseeType()); + artifactInstanceRestrictionEClass.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_BranchRefs(), this.getXBranchRef(), null, "branchRefs", 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_ArtifactRefs(), this.getXArtifactRef(), null, "artifactRefs", 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); + + 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_TypeGuid(), ecorePackage.getEString(), "typeGuid", 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_BranchGuid(), ecorePackage.getEString(), "branchGuid", 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); + + 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_EntryGuid(), ecorePackage.getEString(), "entryGuid", 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_EntryGuid(), ecorePackage.getEString(), "entryGuid", 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(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(xArtifactRefEClass, XArtifactRef.class, "XArtifactRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXArtifactRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XArtifactRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXArtifactRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XArtifactRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xBranchRefEClass, XBranchRef.class, "XBranchRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXBranchRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XBranchRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXBranchRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XBranchRef.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_Artifact(), this.getXArtifactRef(), null, "artifact", 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(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(artifactInstanceRestrictionEClass, ArtifactInstanceRestriction.class, "ArtifactInstanceRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getArtifactInstanceRestriction_ArtifactRef(), this.getXArtifactRef(), null, "artifactRef", null, 0, 1, ArtifactInstanceRestriction.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(relationTypeRestrictionEClass, RelationTypeRestriction.class, "RelationTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + + // 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(accessPermissionEnumEEnum, AccessPermissionEnum.class, "AccessPermissionEnum"); + addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.ALLOW); + addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.DENY); + + 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 index 8173fdce80a..16350560fa3 100644 --- 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 @@ -7,35 +7,42 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Osee Element</b></em>'. + * <!-- end-user-doc --> * <p> * </p> - * + * * @generated */ -public class OseeElementImpl extends MinimalEObjectImpl.Container implements OseeElement { - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected OseeElementImpl() { - super(); - } +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; - } + /** + * <!-- 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 index 841d7b6265c..62a888d91d9 100644 --- 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 @@ -7,218 +7,230 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Osee Type</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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#getTypeGuid <em>Type Guid</em>}</li> + * <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#getTypeGuid <em>Type Guid</em>}</li> * </ul> * </p> - * + * * @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 #getTypeGuid() <em>Type Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getTypeGuid() - * @generated - * @ordered - */ - protected static final String TYPE_GUID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getTypeGuid() - * @generated - * @ordered - */ - protected String typeGuid = TYPE_GUID_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 - */ - @Override - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public String getTypeGuid() { - return typeGuid; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setTypeGuid(String newTypeGuid) { - String oldTypeGuid = typeGuid; - typeGuid = newTypeGuid; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__TYPE_GUID, oldTypeGuid, - typeGuid)); - } - } - - /** - * <!-- 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__TYPE_GUID: - return getTypeGuid(); - } - 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__TYPE_GUID: - setTypeGuid((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__TYPE_GUID: - setTypeGuid(TYPE_GUID_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__TYPE_GUID: - return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid); - } - 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(", typeGuid: "); - result.append(typeGuid); - result.append(')'); - return result.toString(); - } +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 #getTypeGuid() <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypeGuid() + * @generated + * @ordered + */ + protected static final String TYPE_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypeGuid() + * @generated + * @ordered + */ + protected String typeGuid = TYPE_GUID_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 getTypeGuid() + { + return typeGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTypeGuid(String newTypeGuid) + { + String oldTypeGuid = typeGuid; + typeGuid = newTypeGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__TYPE_GUID, oldTypeGuid, typeGuid)); + } + + /** + * <!-- 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__TYPE_GUID: + return getTypeGuid(); + } + 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__TYPE_GUID: + setTypeGuid((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__TYPE_GUID: + setTypeGuid(TYPE_GUID_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__TYPE_GUID: + return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid); + } + 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(", typeGuid: "); + result.append(typeGuid); + 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 index a43264b4ecf..beb8bf2e23b 100644 --- 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 @@ -7,36 +7,42 @@ 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 - * --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Override Option</b></em>'. + * <!-- end-user-doc --> * <p> * </p> - * + * * @generated */ -public class OverrideOptionImpl extends MinimalEObjectImpl.Container implements OverrideOption { - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected OverrideOptionImpl() { - super(); - } +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; - } + /** + * <!-- 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/RelationTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java index 2209e575e30..557f725e319 100644 --- 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 @@ -7,235 +7,242 @@ 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.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 --> + * <!-- 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: * <ul> - * <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#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> * </ul> * </p> - * + * * @generated */ -public class RelationTypeRestrictionImpl extends ObjectRestrictionImpl implements RelationTypeRestriction { - /** - * 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; - - /** - * <!-- 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - public XRelationSideEnum getRestrictedToSide() { - return restrictedToSide; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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)); +public class RelationTypeRestrictionImpl extends ObjectRestrictionImpl implements RelationTypeRestriction +{ + /** + * 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; + + /** + * <!-- 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 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)); } - } - - /** - * <!-- 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_REF: - if (resolve) { - return getRelationTypeRef(); - } - return basicGetRelationTypeRef(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - return getRestrictedToSide(); - } - 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_REF: - setRelationTypeRef((XRelationType) newValue); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - setRestrictedToSide((XRelationSideEnum) 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_REF: - setRelationTypeRef((XRelationType) null); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - setRestrictedToSide(RESTRICTED_TO_SIDE_EDEFAULT); - 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_REF: - return relationTypeRef != null; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: - return restrictedToSide != RESTRICTED_TO_SIDE_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(" (restrictedToSide: "); - result.append(restrictedToSide); - result.append(')'); - return result.toString(); - } + } + 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 + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF: + if (resolve) return getRelationTypeRef(); + return basicGetRelationTypeRef(); + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: + return getRestrictedToSide(); + } + 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_REF: + setRelationTypeRef((XRelationType)newValue); + return; + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: + setRestrictedToSide((XRelationSideEnum)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_REF: + setRelationTypeRef((XRelationType)null); + return; + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: + setRestrictedToSide(RESTRICTED_TO_SIDE_EDEFAULT); + 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_REF: + return relationTypeRef != null; + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE: + return restrictedToSide != RESTRICTED_TO_SIDE_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(" (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/RemoveEnumImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java index 63e1e001ce6..cd4fba33204 100644 --- 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 @@ -7,157 +7,170 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Remove Enum</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl#getEnumEntry <em>Enum Entry</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl#getEnumEntry <em>Enum Entry</em>}</li> * </ul> * </p> - * + * * @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 - */ - @Override - 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 - */ - @Override - 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; +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 super.eIsSet(featureID); - } + } + 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/XArtifactRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java index d1936e66f30..b4061afbf19 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java @@ -7,218 +7,231 @@ 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.XArtifactRef; /** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XArtifact Ref</b></em>'. <!-- end-user-doc --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XArtifact Ref</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getGuid <em>Guid</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getGuid <em>Guid</em>}</li> * </ul> * </p> - * + * * @generated */ -public class XArtifactRefImpl extends MinimalEObjectImpl.Container implements XArtifactRef { - /** - * 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 #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; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected XArtifactRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.XARTIFACT_REF; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_REF__NAME, oldName, name)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getGuid() { - return guid; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setGuid(String newGuid) { - String oldGuid = guid; - guid = newGuid; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_REF__GUID, oldGuid, guid)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_REF__NAME: - return getName(); - case OseeDslPackage.XARTIFACT_REF__GUID: - return getGuid(); - } - 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.XARTIFACT_REF__NAME: - setName((String) newValue); - return; - case OseeDslPackage.XARTIFACT_REF__GUID: - setGuid((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_REF__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.XARTIFACT_REF__GUID: - setGuid(GUID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_REF__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.XARTIFACT_REF__GUID: - return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); - } - 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(); - } +public class XArtifactRefImpl extends MinimalEObjectImpl.Container implements XArtifactRef +{ + /** + * 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 #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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XArtifactRefImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XARTIFACT_REF; + } + + /** + * <!-- 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_REF__NAME, oldName, name)); + } + + /** + * <!-- 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.XARTIFACT_REF__GUID, oldGuid, guid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + return getName(); + case OseeDslPackage.XARTIFACT_REF__GUID: + return getGuid(); + } + 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.XARTIFACT_REF__NAME: + setName((String)newValue); + return; + case OseeDslPackage.XARTIFACT_REF__GUID: + setGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.XARTIFACT_REF__GUID: + setGuid(GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.XARTIFACT_REF__GUID: + return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); + } + 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(); + } } //XArtifactRefImpl 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 index b79ad1e1fc5..e07e2b6a813 100644 --- 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 @@ -7,260 +7,274 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XArtifact Type</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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> + * <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> * </p> - * + * * @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; +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 #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 #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; + /** + * 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 + */ + 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 + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XARTIFACT_TYPE; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean isAbstract() { - return abstract_; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isAbstract() + { + return abstract_; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - 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<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 - */ - @Override - 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 + */ + 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 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 + */ + @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 + */ + @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 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 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(); - } + /** + * <!-- 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(); - } + 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 index 23e853b62f4..f0cd91eb0c4 100644 --- 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 @@ -7,704 +7,698 @@ 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 - * --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XAttribute Type</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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#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> * </ul> * </p> - * + * * @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; - - /** - * <!-- 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 - */ - @Override - public String getBaseAttributeType() { - return baseAttributeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - public String getDataProvider() { - return dataProvider; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public String getMin() { - return min; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public String getMax() { - return max; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public String getTaggerId() { - return taggerId; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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)); +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; + + /** + * <!-- 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)); } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - 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 - */ - @Override - public String getDescription() { - return description; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public String getDefaultValue() { - return defaultValue; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public String getFileExtension() { - return fileExtension; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @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(); - } - 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; - } - 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; - } - 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); - } - 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(')'); - return result.toString(); - } + } + 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 + */ + @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(); + } + 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; + } + 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; + } + 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); + } + 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(')'); + 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 index 69fbfe3a25b..cb9acaea600 100644 --- 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 @@ -7,235 +7,242 @@ 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 --> + * <!-- 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: * <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#getBranchGuid <em>Branch Guid</em>} - * </li> + * <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#getBranchGuid <em>Branch Guid</em>}</li> * </ul> * </p> - * + * * @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 #getBranchGuid() <em>Branch Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getBranchGuid() - * @generated - * @ordered - */ - protected static final String BRANCH_GUID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBranchGuid() <em>Branch Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getBranchGuid() - * @generated - * @ordered - */ - protected String branchGuid = BRANCH_GUID_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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - public String getBranchGuid() { - return branchGuid; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setBranchGuid(String newBranchGuid) { - String oldBranchGuid = branchGuid; - branchGuid = newBranchGuid; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID, - oldBranchGuid, branchGuid)); +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 #getBranchGuid() <em>Branch Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBranchGuid() + * @generated + * @ordered + */ + protected static final String BRANCH_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBranchGuid() <em>Branch Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBranchGuid() + * @generated + * @ordered + */ + protected String branchGuid = BRANCH_GUID_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)); } - } - - /** - * <!-- 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_GUID: - return getBranchGuid(); - } - 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_GUID: - setBranchGuid((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_GUID: - setBranchGuid(BRANCH_GUID_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_GUID: - return BRANCH_GUID_EDEFAULT == null ? branchGuid != null : !BRANCH_GUID_EDEFAULT.equals(branchGuid); - } - 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(" (branchGuid: "); - result.append(branchGuid); - result.append(')'); - return result.toString(); - } + } + 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 getBranchGuid() + { + return branchGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBranchGuid(String newBranchGuid) + { + String oldBranchGuid = branchGuid; + branchGuid = newBranchGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID, oldBranchGuid, branchGuid)); + } + + /** + * <!-- 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_GUID: + return getBranchGuid(); + } + 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_GUID: + setBranchGuid((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_GUID: + setBranchGuid(BRANCH_GUID_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_GUID: + return BRANCH_GUID_EDEFAULT == null ? branchGuid != null : !BRANCH_GUID_EDEFAULT.equals(branchGuid); + } + 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(" (branchGuid: "); + result.append(branchGuid); + 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/XBranchRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java index 44239e01382..89329339d82 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java @@ -7,218 +7,231 @@ 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.XBranchRef; /** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XBranch Ref</b></em>'. <!-- end-user-doc --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XBranch Ref</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getGuid <em>Guid</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getGuid <em>Guid</em>}</li> * </ul> * </p> - * + * * @generated */ -public class XBranchRefImpl extends MinimalEObjectImpl.Container implements XBranchRef { - /** - * 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 #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; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected XBranchRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.XBRANCH_REF; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XBRANCH_REF__NAME, oldName, name)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getGuid() { - return guid; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setGuid(String newGuid) { - String oldGuid = guid; - guid = newGuid; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XBRANCH_REF__GUID, oldGuid, guid)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.XBRANCH_REF__NAME: - return getName(); - case OseeDslPackage.XBRANCH_REF__GUID: - return getGuid(); - } - 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.XBRANCH_REF__NAME: - setName((String) newValue); - return; - case OseeDslPackage.XBRANCH_REF__GUID: - setGuid((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case OseeDslPackage.XBRANCH_REF__NAME: - setName(NAME_EDEFAULT); - return; - case OseeDslPackage.XBRANCH_REF__GUID: - setGuid(GUID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case OseeDslPackage.XBRANCH_REF__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case OseeDslPackage.XBRANCH_REF__GUID: - return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); - } - 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(); - } +public class XBranchRefImpl extends MinimalEObjectImpl.Container implements XBranchRef +{ + /** + * 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 #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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XBranchRefImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XBRANCH_REF; + } + + /** + * <!-- 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.XBRANCH_REF__NAME, oldName, name)); + } + + /** + * <!-- 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.XBRANCH_REF__GUID, oldGuid, guid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + return getName(); + case OseeDslPackage.XBRANCH_REF__GUID: + return getGuid(); + } + 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.XBRANCH_REF__NAME: + setName((String)newValue); + return; + case OseeDslPackage.XBRANCH_REF__GUID: + setGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.XBRANCH_REF__GUID: + setGuid(GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.XBRANCH_REF__GUID: + return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); + } + 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(); + } } //XBranchRefImpl 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 index 83a571faef1..836de4fddba 100644 --- 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 @@ -7,278 +7,287 @@ 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 - * --> + * <!-- 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: * <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#getEntryGuid <em>Entry Guid</em>}</li> + * <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#getEntryGuid <em>Entry Guid</em>}</li> * </ul> * </p> - * + * * @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; +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 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 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 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 #getEntryGuid() <em>Entry Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getEntryGuid() - * @generated - * @ordered - */ - protected static final String ENTRY_GUID_EDEFAULT = null; + /** + * The default value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected static final String ENTRY_GUID_EDEFAULT = null; - /** - * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getEntryGuid() - * @generated - * @ordered - */ - protected String entryGuid = ENTRY_GUID_EDEFAULT; + /** + * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected String entryGuid = ENTRY_GUID_EDEFAULT; - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected XOseeEnumEntryImpl() { - super(); - } + /** + * <!-- 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 + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XOSEE_ENUM_ENTRY; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getName() { - return name; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - public String getOrdinal() { - return ordinal; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getOrdinal() + { + return ordinal; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - public String getEntryGuid() { - return entryGuid; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEntryGuid() + { + return entryGuid; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setEntryGuid(String newEntryGuid) { - String oldEntryGuid = entryGuid; - entryGuid = newEntryGuid; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID, - oldEntryGuid, entryGuid)); - } - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEntryGuid(String newEntryGuid) + { + String oldEntryGuid = entryGuid; + entryGuid = newEntryGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID, oldEntryGuid, entryGuid)); + } - /** - * <!-- 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__ENTRY_GUID: - return getEntryGuid(); - } - return super.eGet(featureID, resolve, coreType); - } + /** + * <!-- 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__ENTRY_GUID: + return getEntryGuid(); + } + 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__ENTRY_GUID: - setEntryGuid((String) newValue); - return; - } - super.eSet(featureID, newValue); - } + /** + * <!-- 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__ENTRY_GUID: + setEntryGuid((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__ENTRY_GUID: - setEntryGuid(ENTRY_GUID_EDEFAULT); - return; - } - super.eUnset(featureID); - } + /** + * <!-- 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__ENTRY_GUID: + setEntryGuid(ENTRY_GUID_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__ENTRY_GUID: - return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid); - } - return super.eIsSet(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__ENTRY_GUID: + return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid); + } + return super.eIsSet(featureID); + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } + /** + * <!-- 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(", entryGuid: "); - result.append(entryGuid); - result.append(')'); - return result.toString(); - } + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", ordinal: "); + result.append(ordinal); + result.append(", entryGuid: "); + result.append(entryGuid); + 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 index 5a3a5d578a5..30c14cc80ca 100644 --- 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 @@ -7,292 +7,303 @@ 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 --> + * <!-- 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: * <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> + * <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> * </p> - * + * * @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; +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 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 #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; + /** + * 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 + */ + 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 + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XOSEE_ENUM_OVERRIDE; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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)); - } - } + /** + * <!-- 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; - } + } + return overridenEnumType; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XOseeEnumType basicGetOverridenEnumType() { - return overridenEnumType; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumType basicGetOverridenEnumType() + { + return overridenEnumType; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - public boolean isInheritAll() { - return inheritAll; - } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isInheritAll() + { + return inheritAll; + } - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 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 - */ - @Override - 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 + */ + 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 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 + */ + @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 + */ + @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 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 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(); - } + /** + * <!-- 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(); - } + 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 index 8ceffc1cbe5..9f6deff0e97 100644 --- 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 @@ -7,145 +7,163 @@ 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 - * --> + * <!-- 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: * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl#getEnumEntries <em>Enum Entries</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl#getEnumEntries <em>Enum Entries</em>}</li> * </ul> * </p> - * + * * @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 - */ - @Override - 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); - } +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 index eee6b80c1e9..f5c6605e109 100644 --- 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 @@ -7,477 +7,475 @@ 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 --> + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XRelation Type</b></em>'. + * <!-- end-user-doc --> * <p> * The following features are implemented: * <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> + * <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> * </p> - * + * * @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 - */ - @Override - public String getSideAName() { - return sideAName; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @Override - public String getSideBName() { - return sideBName; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - 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)); - } - } +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 sideBArtifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XArtifactType basicGetSideBArtifactType() { - return sideBArtifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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)); + } + 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)); } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String getDefaultOrderType() { - return defaultOrderType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @Override - public RelationMultiplicityEnum getMultiplicity() { - return multiplicity; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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(); - } + } + 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 index bef585f32af..3fd3c9685b8 100644 --- 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 @@ -8,535 +8,569 @@ 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.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction; -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.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -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.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.RelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; -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.XBranchRef; -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.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 --> - * + * <!-- 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>() { +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(); + public Adapter caseOseeDsl(OseeDsl object) + { + return createOseeDslAdapter(); } - @Override - public Adapter caseImport(Import object) { - return createImportAdapter(); + public Adapter caseImport(Import object) + { + return createImportAdapter(); } - @Override - public Adapter caseOseeElement(OseeElement object) { - return createOseeElementAdapter(); + public Adapter caseOseeElement(OseeElement object) + { + return createOseeElementAdapter(); } - @Override - public Adapter caseOseeType(OseeType object) { - return createOseeTypeAdapter(); + public Adapter caseOseeType(OseeType object) + { + return createOseeTypeAdapter(); } - @Override - public Adapter caseXArtifactType(XArtifactType object) { - return createXArtifactTypeAdapter(); + public Adapter caseXArtifactType(XArtifactType object) + { + return createXArtifactTypeAdapter(); } - @Override - public Adapter caseXAttributeTypeRef(XAttributeTypeRef object) { - return createXAttributeTypeRefAdapter(); + public Adapter caseXAttributeTypeRef(XAttributeTypeRef object) + { + return createXAttributeTypeRefAdapter(); } - @Override - public Adapter caseXAttributeType(XAttributeType object) { - return createXAttributeTypeAdapter(); + public Adapter caseXAttributeType(XAttributeType object) + { + return createXAttributeTypeAdapter(); } - @Override - public Adapter caseXOseeEnumType(XOseeEnumType object) { - return createXOseeEnumTypeAdapter(); + public Adapter caseXOseeEnumType(XOseeEnumType object) + { + return createXOseeEnumTypeAdapter(); } - @Override - public Adapter caseXOseeEnumEntry(XOseeEnumEntry object) { - return createXOseeEnumEntryAdapter(); + public Adapter caseXOseeEnumEntry(XOseeEnumEntry object) + { + return createXOseeEnumEntryAdapter(); } - @Override - public Adapter caseXOseeEnumOverride(XOseeEnumOverride object) { - return createXOseeEnumOverrideAdapter(); + public Adapter caseXOseeEnumOverride(XOseeEnumOverride object) + { + return createXOseeEnumOverrideAdapter(); } - @Override - public Adapter caseOverrideOption(OverrideOption object) { - return createOverrideOptionAdapter(); + public Adapter caseOverrideOption(OverrideOption object) + { + return createOverrideOptionAdapter(); } - @Override - public Adapter caseAddEnum(AddEnum object) { - return createAddEnumAdapter(); + public Adapter caseAddEnum(AddEnum object) + { + return createAddEnumAdapter(); } - @Override - public Adapter caseRemoveEnum(RemoveEnum object) { - return createRemoveEnumAdapter(); + public Adapter caseRemoveEnum(RemoveEnum object) + { + return createRemoveEnumAdapter(); } - @Override - public Adapter caseXRelationType(XRelationType object) { - return createXRelationTypeAdapter(); + public Adapter caseXRelationType(XRelationType object) + { + return createXRelationTypeAdapter(); } - @Override - public Adapter caseXArtifactRef(XArtifactRef object) { - return createXArtifactRefAdapter(); + public Adapter caseXArtifactRef(XArtifactRef object) + { + return createXArtifactRefAdapter(); } - @Override - public Adapter caseXBranchRef(XBranchRef object) { - return createXBranchRefAdapter(); + public Adapter caseXBranchRef(XBranchRef object) + { + return createXBranchRefAdapter(); } - @Override - public Adapter caseAccessContext(AccessContext object) { - return createAccessContextAdapter(); + public Adapter caseAccessContext(AccessContext object) + { + return createAccessContextAdapter(); } - @Override - public Adapter caseHierarchyRestriction(HierarchyRestriction object) { - return createHierarchyRestrictionAdapter(); + public Adapter caseHierarchyRestriction(HierarchyRestriction object) + { + return createHierarchyRestrictionAdapter(); } - @Override - public Adapter caseObjectRestriction(ObjectRestriction object) { - return createObjectRestrictionAdapter(); + public Adapter caseObjectRestriction(ObjectRestriction object) + { + return createObjectRestrictionAdapter(); } - @Override - public Adapter caseArtifactInstanceRestriction(ArtifactInstanceRestriction object) { - return createArtifactInstanceRestrictionAdapter(); + public Adapter caseArtifactInstanceRestriction(ArtifactInstanceRestriction object) + { + return createArtifactInstanceRestrictionAdapter(); } - @Override - public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object) { - return createArtifactTypeRestrictionAdapter(); + public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object) + { + return createArtifactTypeRestrictionAdapter(); } - @Override - public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object) { - return createAttributeTypeRestrictionAdapter(); + public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object) + { + return createAttributeTypeRestrictionAdapter(); } - @Override - public Adapter caseRelationTypeRestriction(RelationTypeRestriction object) { - return createRelationTypeRestrictionAdapter(); + public Adapter caseRelationTypeRestriction(RelationTypeRestriction object) + { + return createRelationTypeRestrictionAdapter(); } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); + 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.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.XArtifactRef - * <em>XArtifact 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.XArtifactRef - * @generated - */ - public Adapter createXArtifactRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef - * <em>XBranch 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.XBranchRef - * @generated - */ - public Adapter createXBranchRefAdapter() { - 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.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.ArtifactInstanceRestriction - * <em>Artifact Instance 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.ArtifactInstanceRestriction - * @generated - */ - public Adapter createArtifactInstanceRestrictionAdapter() { - 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.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; - } + }; + + /** + * 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.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.XArtifactRef <em>XArtifact 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.XArtifactRef + * @generated + */ + public Adapter createXArtifactRefAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef <em>XBranch 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.XBranchRef + * @generated + */ + public Adapter createXBranchRefAdapter() + { + 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.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.ArtifactInstanceRestriction <em>Artifact Instance 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.ArtifactInstanceRestriction + * @generated + */ + public Adapter createArtifactInstanceRestrictionAdapter() + { + 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.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 index 1aa4ee7ba15..9eb7e9eac13 100644 --- 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 @@ -6,653 +6,640 @@ */ package org.eclipse.osee.framework.core.dsl.oseeDsl.util; -import java.util.List; -import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction; -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.HierarchyRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -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.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.RelationTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; -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.XBranchRef; -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.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 --> - * + * <!-- 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> { - /** - * 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; +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 --> + * @parameter 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.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.XARTIFACT_REF: + { + XArtifactRef xArtifactRef = (XArtifactRef)theEObject; + T result = caseXArtifactRef(xArtifactRef); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XBRANCH_REF: + { + XBranchRef xBranchRef = (XBranchRef)theEObject; + T result = caseXBranchRef(xBranchRef); + 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.OBJECT_RESTRICTION: + { + ObjectRestriction objectRestriction = (ObjectRestriction)theEObject; + T result = caseObjectRestriction(objectRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: + { + ArtifactInstanceRestriction artifactInstanceRestriction = (ArtifactInstanceRestriction)theEObject; + T result = caseArtifactInstanceRestriction(artifactInstanceRestriction); + if (result == null) result = caseObjectRestriction(artifactInstanceRestriction); + 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; } - } - - /** - * 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 - */ - public T doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * 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 - */ - protected T doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } else { - List<EClass> eSuperTypes = theEClass.getESuperTypes(); - return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject); + 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; } - } - - /** - * 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 - */ - 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.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.XARTIFACT_REF: { - XArtifactRef xArtifactRef = (XArtifactRef) theEObject; - T result = caseXArtifactRef(xArtifactRef); - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case OseeDslPackage.XBRANCH_REF: { - XBranchRef xBranchRef = (XBranchRef) theEObject; - T result = caseXBranchRef(xBranchRef); - 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.OBJECT_RESTRICTION: { - ObjectRestriction objectRestriction = (ObjectRestriction) theEObject; - T result = caseObjectRestriction(objectRestriction); - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: { - ArtifactInstanceRestriction artifactInstanceRestriction = (ArtifactInstanceRestriction) theEObject; - T result = caseArtifactInstanceRestriction(artifactInstanceRestriction); - if (result == null) { - result = caseObjectRestriction(artifactInstanceRestriction); - } - 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.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); + 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; } - } - - /** - * 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>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>XArtifact 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>XArtifact Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXArtifactRef(XArtifactRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XBranch 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>XBranch Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXBranchRef(XBranchRef 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>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 Instance 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 Instance Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArtifactInstanceRestriction(ArtifactInstanceRestriction 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>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 - */ - public T defaultCase(EObject object) { - return null; - } + 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>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>XArtifact 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>XArtifact Ref</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXArtifactRef(XArtifactRef object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XBranch 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>XBranch Ref</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXBranchRef(XBranchRef 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>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 Instance 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 Instance Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArtifactInstanceRestriction(ArtifactInstanceRestriction 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>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/parseTreeConstruction/OseeDslParsetreeConstructor.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parseTreeConstruction/OseeDslParsetreeConstructor.java index 138b8b4012c..cd10922e6bd 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parseTreeConstruction/OseeDslParsetreeConstructor.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parseTreeConstruction/OseeDslParsetreeConstructor.java @@ -1,7022 +1,6333 @@ /* - * generated by Xtext - */ +* generated by Xtext +*/ package org.eclipse.osee.framework.core.dsl.parseTreeConstruction; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; -import org.eclipse.xtext.Alternatives; -import org.eclipse.xtext.Assignment; -import org.eclipse.xtext.Group; -import org.eclipse.xtext.Keyword; -import org.eclipse.xtext.RuleCall; +import org.eclipse.emf.ecore.*; +import org.eclipse.xtext.*; import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer; import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor; + +import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; + import com.google.inject.Inject; @SuppressWarnings("all") public class OseeDslParsetreeConstructor extends AbstractParseTreeConstructor { + + @Inject + private OseeDslGrammarAccess grammarAccess; + + @Override + protected AbstractToken getRootToken(IEObjectConsumer inst) { + return new ThisRootNode(inst); + } + +protected class ThisRootNode extends RootToken { + public ThisRootNode(IEObjectConsumer inst) { + super(inst); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeDsl_Group(this, this, 0, inst); + case 1: return new Import_Group(this, this, 1, inst); + case 2: return new OseeElement_Alternatives(this, this, 2, inst); + case 3: return new OseeType_Alternatives(this, this, 3, inst); + case 4: return new XArtifactType_Group(this, this, 4, inst); + case 5: return new XAttributeTypeRef_Group(this, this, 5, inst); + case 6: return new XAttributeType_Group(this, this, 6, inst); + case 7: return new XOseeEnumType_Group(this, this, 7, inst); + case 8: return new XOseeEnumEntry_Group(this, this, 8, inst); + case 9: return new XOseeEnumOverride_Group(this, this, 9, inst); + case 10: return new OverrideOption_Alternatives(this, this, 10, inst); + case 11: return new AddEnum_Group(this, this, 11, inst); + case 12: return new RemoveEnum_Group(this, this, 12, inst); + case 13: return new XRelationType_Group(this, this, 13, inst); + case 14: return new XArtifactRef_Group(this, this, 14, inst); + case 15: return new XBranchRef_Group(this, this, 15, inst); + case 16: return new AccessContext_Group(this, this, 16, inst); + case 17: return new HierarchyRestriction_Group(this, this, 17, inst); + case 18: return new ObjectRestriction_Alternatives(this, this, 18, inst); + case 19: return new ArtifactInstanceRestriction_Group(this, this, 19, inst); + case 20: return new ArtifactTypeRestriction_Group(this, this, 20, inst); + case 21: return new AttributeTypeRestriction_Group(this, this, 21, inst); + case 22: return new RelationTypeRestriction_Group(this, this, 22, inst); + default: return null; + } + } +} + + +/************ begin Rule OseeDsl **************** + * + * OseeDsl: + * imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | + * enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* + * accessDeclarations+=AccessContext*; + * + **/ + +// imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | +// enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* +// accessDeclarations+=AccessContext* +protected class OseeDsl_Group extends GroupToken { + + public OseeDsl_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getOseeDslAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeDsl_AccessDeclarationsAssignment_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new OseeDsl_Alternatives_2(lastRuleCallOrigin, this, 1, inst); + case 2: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, this, 2, inst); + case 3: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, this, 3, inst); + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 4, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getOseeDslRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// imports+=Import* +protected class OseeDsl_ImportsAssignment_0 extends AssignmentToken { + + public OseeDsl_ImportsAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getImportsAssignment_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Import_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("imports",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("imports"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getImportRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 1, consumed); + } + } +} + +// (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | enumTypes+=XOseeEnumType +// | enumOverrides+=XOseeEnumOverride)* +protected class OseeDsl_Alternatives_1 extends AlternativesToken { + + public OseeDsl_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getOseeDslAccess().getAlternatives_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeDsl_ArtifactTypesAssignment_1_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new OseeDsl_RelationTypesAssignment_1_1(lastRuleCallOrigin, this, 1, inst); + case 2: return new OseeDsl_AttributeTypesAssignment_1_2(lastRuleCallOrigin, this, 2, inst); + case 3: return new OseeDsl_EnumTypesAssignment_1_3(lastRuleCallOrigin, this, 3, inst); + case 4: return new OseeDsl_EnumOverridesAssignment_1_4(lastRuleCallOrigin, this, 4, inst); + default: return null; + } + } + +} + +// artifactTypes+=XArtifactType +protected class OseeDsl_ArtifactTypesAssignment_1_0 extends AssignmentToken { + + public OseeDsl_ArtifactTypesAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getArtifactTypesAssignment_1_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("artifactTypes",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXArtifactTypeRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 2, consumed); + } + } +} + +// relationTypes+=XRelationType +protected class OseeDsl_RelationTypesAssignment_1_1 extends AssignmentToken { + + public OseeDsl_RelationTypesAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getRelationTypesAssignment_1_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("relationTypes",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("relationTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXRelationTypeRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 2, consumed); + } + } +} + +// attributeTypes+=XAttributeType +protected class OseeDsl_AttributeTypesAssignment_1_2 extends AssignmentToken { + + public OseeDsl_AttributeTypesAssignment_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getAttributeTypesAssignment_1_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("attributeTypes",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("attributeTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXAttributeTypeRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 2, consumed); + } + } +} + +// enumTypes+=XOseeEnumType +protected class OseeDsl_EnumTypesAssignment_1_3 extends AssignmentToken { + + public OseeDsl_EnumTypesAssignment_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getEnumTypesAssignment_1_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("enumTypes",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 2, consumed); + } + } +} + +// enumOverrides+=XOseeEnumOverride +protected class OseeDsl_EnumOverridesAssignment_1_4 extends AssignmentToken { + + public OseeDsl_EnumOverridesAssignment_1_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getEnumOverridesAssignment_1_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("enumOverrides",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumOverrides"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 2, consumed); + } + } +} + + +// (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* +protected class OseeDsl_Alternatives_2 extends AlternativesToken { + + public OseeDsl_Alternatives_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getOseeDslAccess().getAlternatives_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeDsl_BranchRefsAssignment_2_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new OseeDsl_ArtifactRefsAssignment_2_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// branchRefs+=XBranchRef +protected class OseeDsl_BranchRefsAssignment_2_0 extends AssignmentToken { + + public OseeDsl_BranchRefsAssignment_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getBranchRefsAssignment_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XBranchRef_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("branchRefs",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branchRefs"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXBranchRefRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getBranchRefsXBranchRefParserRuleCall_2_0_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 2: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 3, consumed); + } + } +} + +// artifactRefs+=XArtifactRef +protected class OseeDsl_ArtifactRefsAssignment_2_1 extends AssignmentToken { + + public OseeDsl_ArtifactRefsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getArtifactRefsAssignment_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactRef_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("artifactRefs",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactRefs"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXArtifactRefRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getArtifactRefsXArtifactRefParserRuleCall_2_1_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 2: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 3, consumed); + } + } +} + + +// accessDeclarations+=AccessContext* +protected class OseeDsl_AccessDeclarationsAssignment_3 extends AssignmentToken { + + public OseeDsl_AccessDeclarationsAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getOseeDslAccess().getAccessDeclarationsAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("accessDeclarations",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessDeclarations"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAccessContextRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_3_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new OseeDsl_AccessDeclarationsAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new OseeDsl_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed); + case 2: return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); + case 3: return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 4, consumed); + } + } +} + + +/************ end Rule OseeDsl ****************/ + + +/************ begin Rule Import **************** + * + * Import: + * "import" importURI=STRING; + * + **/ + +// "import" importURI=STRING +protected class Import_Group extends GroupToken { + + public Import_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getImportAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Import_ImportURIAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getImportRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "import" +protected class Import_ImportKeyword_0 extends KeywordToken { + + public Import_ImportKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getImportAccess().getImportKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// importURI=STRING +protected class Import_ImportURIAssignment_1 extends AssignmentToken { + + public Import_ImportURIAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getImportAccess().getImportURIAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new Import_ImportKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("importURI",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("importURI"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(); + return obj; + } + return null; + } + +} + + +/************ end Rule Import ****************/ + + + + + + + + + +/************ begin Rule OseeElement **************** + * + * /////////////////////////////////////// + * // OSEE TYPE MODEL // + * /////////////////////////////////////// + * OseeElement: + * XOseeEnumOverride | OseeType; + * + **/ + +// XOseeEnumOverride | OseeType +protected class OseeElement_Alternatives extends AlternativesToken { + + public OseeElement_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getOseeElementAccess().getAlternatives(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeElement_XOseeEnumOverrideParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new OseeElement_OseeTypeParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// XOseeEnumOverride +protected class OseeElement_XOseeEnumOverrideParserRuleCall_0 extends RuleCallToken { + + public OseeElement_XOseeEnumOverrideParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOseeElementAccess().getXOseeEnumOverrideParserRuleCall_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()) + return null; + if(checkForRecursion(XOseeEnumOverride_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// OseeType +protected class OseeElement_OseeTypeParserRuleCall_1 extends RuleCallToken { + + public OseeElement_OseeTypeParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOseeElementAccess().getOseeTypeParserRuleCall_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeType_Alternatives(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) + return null; + if(checkForRecursion(OseeType_Alternatives.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + + +/************ end Rule OseeElement ****************/ + + +/************ begin Rule OseeType **************** + * + * OseeType: + * XArtifactType | XRelationType | XAttributeType | XOseeEnumType; + * + **/ + +// XArtifactType | XRelationType | XAttributeType | XOseeEnumType +protected class OseeType_Alternatives extends AlternativesToken { + + public OseeType_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getOseeTypeAccess().getAlternatives(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OseeType_XArtifactTypeParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new OseeType_XRelationTypeParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); + case 2: return new OseeType_XAttributeTypeParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); + case 3: return new OseeType_XOseeEnumTypeParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// XArtifactType +protected class OseeType_XArtifactTypeParserRuleCall_0 extends RuleCallToken { + + public OseeType_XArtifactTypeParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier()) + return null; + if(checkForRecursion(XArtifactType_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// XRelationType +protected class OseeType_XRelationTypeParserRuleCall_1 extends RuleCallToken { + + public OseeType_XRelationTypeParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) + return null; + if(checkForRecursion(XRelationType_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// XAttributeType +protected class OseeType_XAttributeTypeParserRuleCall_2 extends RuleCallToken { + + public OseeType_XAttributeTypeParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier()) + return null; + if(checkForRecursion(XAttributeType_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// XOseeEnumType +protected class OseeType_XOseeEnumTypeParserRuleCall_3 extends RuleCallToken { + + public OseeType_XOseeEnumTypeParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()) + return null; + if(checkForRecursion(XOseeEnumType_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + + +/************ end Rule OseeType ****************/ + + +/************ begin Rule XArtifactType **************** + * + * XArtifactType: + * abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" + * superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," + * superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING + * validAttributeTypes+=XAttributeTypeRef* "}"; + * + **/ + +// abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" +// superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," +// superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING +// validAttributeTypes+=XAttributeTypeRef* "}" +protected class XArtifactType_Group extends GroupToken { + + public XArtifactType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// abstract?="abstract"? +protected class XArtifactType_AbstractAssignment_0 extends AssignmentToken { + + public XArtifactType_AbstractAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getAbstractAssignment_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("abstract",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("abstract"); + if(Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl + type = AssignmentType.KEYWORD; + element = grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0(); + return obj; + } + return null; + } + +} + +// "artifactType" +protected class XArtifactType_ArtifactTypeKeyword_1 extends KeywordToken { + + public XArtifactType_ArtifactTypeKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_AbstractAssignment_0(lastRuleCallOrigin, this, 0, inst); + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); + } + } + +} + +// name=ARTIFACT_TYPE_REFERENCE +protected class XArtifactType_NameAssignment_2 extends AssignmentToken { + + public XArtifactType_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getNameAssignment_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_ArtifactTypeKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0(); + return obj; + } + return null; + } + +} + +// ("extends" superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," +// superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? +protected class XArtifactType_Group_3 extends GroupToken { + + public XArtifactType_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getGroup_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_Group_3_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new XArtifactType_SuperArtifactTypesAssignment_3_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// "extends" +protected class XArtifactType_ExtendsKeyword_3_0 extends KeywordToken { + + public XArtifactType_ExtendsKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_NameAssignment_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] +protected class XArtifactType_SuperArtifactTypesAssignment_3_1 extends AssignmentToken { + + public XArtifactType_SuperArtifactTypesAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesAssignment_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_ExtendsKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("superArtifactTypes",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superArtifactTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0(); + return obj; + } + } + return null; + } + +} + +// ("," superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])* +protected class XArtifactType_Group_3_2 extends GroupToken { + + public XArtifactType_Group_3_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getGroup_3_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_SuperArtifactTypesAssignment_3_2_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "," +protected class XArtifactType_CommaKeyword_3_2_0 extends KeywordToken { + + public XArtifactType_CommaKeyword_3_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_Group_3_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new XArtifactType_SuperArtifactTypesAssignment_3_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] +protected class XArtifactType_SuperArtifactTypesAssignment_3_2_1 extends AssignmentToken { + + public XArtifactType_SuperArtifactTypesAssignment_3_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesAssignment_3_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_CommaKeyword_3_2_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("superArtifactTypes",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superArtifactTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0(); + return obj; + } + } + return null; + } + +} + + + +// "{" +protected class XArtifactType_LeftCurlyBracketKeyword_4 extends KeywordToken { + + public XArtifactType_LeftCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_Group_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new XArtifactType_NameAssignment_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// "guid" +protected class XArtifactType_GuidKeyword_5 extends KeywordToken { + + public XArtifactType_GuidKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// typeGuid=STRING +protected class XArtifactType_TypeGuidAssignment_6 extends AssignmentToken { + + public XArtifactType_TypeGuidAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getTypeGuidAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_GuidKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("typeGuid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(); + return obj; + } + return null; + } + +} + +// validAttributeTypes+=XAttributeTypeRef* +protected class XArtifactType_ValidAttributeTypesAssignment_7 extends AssignmentToken { + + public XArtifactType_ValidAttributeTypesAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesAssignment_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeTypeRef_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("validAttributeTypes",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("validAttributeTypes"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new XArtifactType_ValidAttributeTypesAssignment_7(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new XArtifactType_TypeGuidAssignment_6(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class XArtifactType_RightCurlyBracketKeyword_8 extends KeywordToken { + + public XArtifactType_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactType_ValidAttributeTypesAssignment_7(lastRuleCallOrigin, this, 0, inst); + case 1: return new XArtifactType_TypeGuidAssignment_6(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + + +/************ end Rule XArtifactType ****************/ + + +/************ begin Rule XAttributeTypeRef **************** + * + * XAttributeTypeRef: + * "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)?; + * + **/ + +// "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)? +protected class XAttributeTypeRef_Group extends GroupToken { + + public XAttributeTypeRef_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeRefAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeTypeRef_Group_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeTypeRef_ValidAttributeTypeAssignment_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "attribute" +protected class XAttributeTypeRef_AttributeKeyword_0 extends KeywordToken { + + public XAttributeTypeRef_AttributeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] +protected class XAttributeTypeRef_ValidAttributeTypeAssignment_1 extends AssignmentToken { + + public XAttributeTypeRef_ValidAttributeTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeTypeRef_AttributeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("validAttributeType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("validAttributeType"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0(); + return obj; + } + } + return null; + } + +} + +// ("branchGuid" branchGuid=STRING)? +protected class XAttributeTypeRef_Group_2 extends GroupToken { + + public XAttributeTypeRef_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeRefAccess().getGroup_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeTypeRef_BranchGuidAssignment_2_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "branchGuid" +protected class XAttributeTypeRef_BranchGuidKeyword_2_0 extends KeywordToken { + + public XAttributeTypeRef_BranchGuidKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeRefAccess().getBranchGuidKeyword_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeTypeRef_ValidAttributeTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// branchGuid=STRING +protected class XAttributeTypeRef_BranchGuidAssignment_2_1 extends AssignmentToken { + + public XAttributeTypeRef_BranchGuidAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeRefAccess().getBranchGuidAssignment_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeTypeRef_BranchGuidKeyword_2_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("branchGuid",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branchGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0(); + return obj; + } + return null; + } + +} + + + +/************ end Rule XAttributeTypeRef ****************/ + + +/************ begin Rule XAttributeType **************** + * + * XAttributeType: + * "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" + * override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" + * defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}"; + * + **/ + +// "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" +// override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" +// defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}" +protected class XAttributeType_Group extends GroupToken { + + public XAttributeType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_RightCurlyBracketKeyword_18(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "attributeType" +protected class XAttributeType_AttributeTypeKeyword_0 extends KeywordToken { + + public XAttributeType_AttributeTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=ATTRIBUTE_TYPE_REFERENCE +protected class XAttributeType_NameAssignment_1 extends AssignmentToken { + + public XAttributeType_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_AttributeTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "extends" baseAttributeType=AttributeBaseType +protected class XAttributeType_Group_2 extends GroupToken { + + public XAttributeType_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_BaseAttributeTypeAssignment_2_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "extends" +protected class XAttributeType_ExtendsKeyword_2_0 extends KeywordToken { + + public XAttributeType_ExtendsKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// baseAttributeType=AttributeBaseType +protected class XAttributeType_BaseAttributeTypeAssignment_2_1 extends AssignmentToken { + + public XAttributeType_BaseAttributeTypeAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAssignment_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_ExtendsKeyword_2_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("baseAttributeType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("baseAttributeType"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0(); + return obj; + } + return null; + } + +} + + +// ("overrides" override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? +protected class XAttributeType_Group_3 extends GroupToken { + + public XAttributeType_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_OverrideAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "overrides" +protected class XAttributeType_OverridesKeyword_3_0 extends KeywordToken { + + public XAttributeType_OverridesKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] +protected class XAttributeType_OverrideAssignment_3_1 extends AssignmentToken { + + public XAttributeType_OverrideAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getOverrideAssignment_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_OverridesKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("override",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("override"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0(); + return obj; + } + } + return null; + } + +} + + +// "{" +protected class XAttributeType_LeftCurlyBracketKeyword_4 extends KeywordToken { + + public XAttributeType_LeftCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeType_Group_2(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// "guid" +protected class XAttributeType_GuidKeyword_5 extends KeywordToken { + + public XAttributeType_GuidKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGuidKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// typeGuid=STRING +protected class XAttributeType_TypeGuidAssignment_6 extends AssignmentToken { + + public XAttributeType_TypeGuidAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getTypeGuidAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_GuidKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("typeGuid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(); + return obj; + } + return null; + } + +} + +// "dataProvider" +protected class XAttributeType_DataProviderKeyword_7 extends KeywordToken { + + public XAttributeType_DataProviderKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_TypeGuidAssignment_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// dataProvider=("DefaultAttributeDataProvider" | "UriAttributeDataProvider" | QUALIFIED_NAME) +protected class XAttributeType_DataProviderAssignment_8 extends AssignmentToken { + + public XAttributeType_DataProviderAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getDataProviderAssignment_8(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_DataProviderKeyword_7(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("dataProvider",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("dataProvider"); + if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(), value, null)) { + type = AssignmentType.KEYWORD; + element = grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(); + return obj; + } + if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1(), value, null)) { + type = AssignmentType.KEYWORD; + element = grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1(); + return obj; + } + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2(); + return obj; + } + return null; + } + +} + +// "min" +protected class XAttributeType_MinKeyword_9 extends KeywordToken { + + public XAttributeType_MinKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getMinKeyword_9(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_DataProviderAssignment_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// min=WHOLE_NUM_STR +protected class XAttributeType_MinAssignment_10 extends AssignmentToken { + + public XAttributeType_MinAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getMinAssignment_10(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_MinKeyword_9(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("min",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("min"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(); + return obj; + } + return null; + } + +} + +// "max" +protected class XAttributeType_MaxKeyword_11 extends KeywordToken { + + public XAttributeType_MaxKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_MinAssignment_10(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// max=(WHOLE_NUM_STR | "unlimited") +protected class XAttributeType_MaxAssignment_12 extends AssignmentToken { + + public XAttributeType_MaxAssignment_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getMaxAssignment_12(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_MaxKeyword_11(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("max",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("max"); + if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1(), value, null)) { + type = AssignmentType.KEYWORD; + element = grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1(); + return obj; + } + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0(); + return obj; + } + return null; + } + +} + +// ("taggerId" taggerId=("DefaultAttributeTaggerProvider" | QUALIFIED_NAME))? +protected class XAttributeType_Group_13 extends GroupToken { + + public XAttributeType_Group_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_13(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_TaggerIdAssignment_13_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "taggerId" +protected class XAttributeType_TaggerIdKeyword_13_0 extends KeywordToken { + + public XAttributeType_TaggerIdKeyword_13_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// taggerId=("DefaultAttributeTaggerProvider" | QUALIFIED_NAME) +protected class XAttributeType_TaggerIdAssignment_13_1 extends AssignmentToken { + + public XAttributeType_TaggerIdAssignment_13_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getTaggerIdAssignment_13_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_TaggerIdKeyword_13_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("taggerId",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("taggerId"); + if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0(), value, null)) { + type = AssignmentType.KEYWORD; + element = grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0(); + return obj; + } + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1(); + return obj; + } + return null; + } + +} + + +// ("enumType" enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE])? +protected class XAttributeType_Group_14 extends GroupToken { + + public XAttributeType_Group_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_14(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_EnumTypeAssignment_14_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "enumType" +protected class XAttributeType_EnumTypeKeyword_14_0 extends KeywordToken { + + public XAttributeType_EnumTypeKeyword_14_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_14_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_13(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] +protected class XAttributeType_EnumTypeAssignment_14_1 extends AssignmentToken { + + public XAttributeType_EnumTypeAssignment_14_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getEnumTypeAssignment_14_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_EnumTypeKeyword_14_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("enumType",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumType"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0(); + return obj; + } + } + return null; + } + +} + + +// ("description" description=STRING)? +protected class XAttributeType_Group_15 extends GroupToken { + + public XAttributeType_Group_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_15(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_DescriptionAssignment_15_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "description" +protected class XAttributeType_DescriptionKeyword_15_0 extends KeywordToken { + + public XAttributeType_DescriptionKeyword_15_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_14(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeType_Group_13(lastRuleCallOrigin, this, 1, inst); + case 2: return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 2, inst); + default: return null; + } + } + +} + +// description=STRING +protected class XAttributeType_DescriptionAssignment_15_1 extends AssignmentToken { + + public XAttributeType_DescriptionAssignment_15_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getDescriptionAssignment_15_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_DescriptionKeyword_15_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("description",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("description"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0(); + return obj; + } + return null; + } + +} + + +// ("defaultValue" defaultValue=STRING)? +protected class XAttributeType_Group_16 extends GroupToken { + + public XAttributeType_Group_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_16(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_DefaultValueAssignment_16_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "defaultValue" +protected class XAttributeType_DefaultValueKeyword_16_0 extends KeywordToken { + + public XAttributeType_DefaultValueKeyword_16_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_15(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeType_Group_14(lastRuleCallOrigin, this, 1, inst); + case 2: return new XAttributeType_Group_13(lastRuleCallOrigin, this, 2, inst); + case 3: return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 3, inst); + default: return null; + } + } + +} + +// defaultValue=STRING +protected class XAttributeType_DefaultValueAssignment_16_1 extends AssignmentToken { + + public XAttributeType_DefaultValueAssignment_16_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getDefaultValueAssignment_16_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_DefaultValueKeyword_16_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("defaultValue",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultValue"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0(); + return obj; + } + return null; + } + +} + + +// ("fileExtension" fileExtension=STRING)? +protected class XAttributeType_Group_17 extends GroupToken { + + public XAttributeType_Group_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getGroup_17(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_FileExtensionAssignment_17_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "fileExtension" +protected class XAttributeType_FileExtensionKeyword_17_0 extends KeywordToken { + + public XAttributeType_FileExtensionKeyword_17_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_16(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeType_Group_15(lastRuleCallOrigin, this, 1, inst); + case 2: return new XAttributeType_Group_14(lastRuleCallOrigin, this, 2, inst); + case 3: return new XAttributeType_Group_13(lastRuleCallOrigin, this, 3, inst); + case 4: return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 4, inst); + default: return null; + } + } + +} + +// fileExtension=STRING +protected class XAttributeType_FileExtensionAssignment_17_1 extends AssignmentToken { + + public XAttributeType_FileExtensionAssignment_17_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getFileExtensionAssignment_17_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_FileExtensionKeyword_17_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("fileExtension",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("fileExtension"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0(); + return obj; + } + return null; + } + +} + + +// "}" +protected class XAttributeType_RightCurlyBracketKeyword_18 extends KeywordToken { + + public XAttributeType_RightCurlyBracketKeyword_18(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XAttributeType_Group_17(lastRuleCallOrigin, this, 0, inst); + case 1: return new XAttributeType_Group_16(lastRuleCallOrigin, this, 1, inst); + case 2: return new XAttributeType_Group_15(lastRuleCallOrigin, this, 2, inst); + case 3: return new XAttributeType_Group_14(lastRuleCallOrigin, this, 3, inst); + case 4: return new XAttributeType_Group_13(lastRuleCallOrigin, this, 4, inst); + case 5: return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 5, inst); + default: return null; + } + } + +} + + +/************ end Rule XAttributeType ****************/ + + + +/************ begin Rule XOseeEnumType **************** + * + * XOseeEnumType: + * "oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}"; + * + **/ + +// "oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}" +protected class XOseeEnumType_Group extends GroupToken { + + public XOseeEnumType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "oseeEnumType" +protected class XOseeEnumType_OseeEnumTypeKeyword_0 extends KeywordToken { + + public XOseeEnumType_OseeEnumTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=ENUM_TYPE_REFERENCE +protected class XOseeEnumType_NameAssignment_1 extends AssignmentToken { + + public XOseeEnumType_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_OseeEnumTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class XOseeEnumType_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public XOseeEnumType_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "guid" +protected class XOseeEnumType_GuidKeyword_3 extends KeywordToken { + + public XOseeEnumType_GuidKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getGuidKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// typeGuid=STRING +protected class XOseeEnumType_TypeGuidAssignment_4 extends AssignmentToken { + + public XOseeEnumType_TypeGuidAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getTypeGuidAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_GuidKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("typeGuid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// enumEntries+=XOseeEnumEntry* +protected class XOseeEnumType_EnumEntriesAssignment_5 extends AssignmentToken { + + public XOseeEnumType_EnumEntriesAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesAssignment_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("enumEntries",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumEntries"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new XOseeEnumType_EnumEntriesAssignment_5(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new XOseeEnumType_TypeGuidAssignment_4(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class XOseeEnumType_RightCurlyBracketKeyword_6 extends KeywordToken { + + public XOseeEnumType_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumType_EnumEntriesAssignment_5(lastRuleCallOrigin, this, 0, inst); + case 1: return new XOseeEnumType_TypeGuidAssignment_4(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + + +/************ end Rule XOseeEnumType ****************/ + + +/************ begin Rule XOseeEnumEntry **************** + * + * XOseeEnumEntry: + * "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; + * + **/ + +// "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? +protected class XOseeEnumEntry_Group extends GroupToken { + + public XOseeEnumEntry_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_Group_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new XOseeEnumEntry_OrdinalAssignment_2(lastRuleCallOrigin, this, 1, inst); + case 2: return new XOseeEnumEntry_NameAssignment_1(lastRuleCallOrigin, this, 2, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "entry" +protected class XOseeEnumEntry_EntryKeyword_0 extends KeywordToken { + + public XOseeEnumEntry_EntryKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=ENUM_ENTRY_TYPE_REFERENCE +protected class XOseeEnumEntry_NameAssignment_1 extends AssignmentToken { + + public XOseeEnumEntry_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_EntryKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// ordinal=WHOLE_NUM_STR? +protected class XOseeEnumEntry_OrdinalAssignment_2 extends AssignmentToken { + + public XOseeEnumEntry_OrdinalAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getOrdinalAssignment_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("ordinal",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("ordinal"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(); + return obj; + } + return null; + } + +} + +// ("entryGuid" entryGuid=STRING)? +protected class XOseeEnumEntry_Group_3 extends GroupToken { + + public XOseeEnumEntry_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getGroup_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_EntryGuidAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "entryGuid" +protected class XOseeEnumEntry_EntryGuidKeyword_3_0 extends KeywordToken { + + public XOseeEnumEntry_EntryGuidKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getEntryGuidKeyword_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_OrdinalAssignment_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new XOseeEnumEntry_NameAssignment_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// entryGuid=STRING +protected class XOseeEnumEntry_EntryGuidAssignment_3_1 extends AssignmentToken { + + public XOseeEnumEntry_EntryGuidAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumEntryAccess().getEntryGuidAssignment_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumEntry_EntryGuidKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("entryGuid",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("entryGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(); + return obj; + } + return null; + } + +} + + + +/************ end Rule XOseeEnumEntry ****************/ + + +/************ begin Rule XOseeEnumOverride **************** + * + * XOseeEnumOverride: + * "overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? + * overrideOptions+=OverrideOption* "}"; + * + **/ + +// "overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? +// overrideOptions+=OverrideOption* "}" +protected class XOseeEnumOverride_Group extends GroupToken { + + public XOseeEnumOverride_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "overrides enum" +protected class XOseeEnumOverride_OverridesEnumKeyword_0 extends KeywordToken { + + public XOseeEnumOverride_OverridesEnumKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] +protected class XOseeEnumOverride_OverridenEnumTypeAssignment_1 extends AssignmentToken { + + public XOseeEnumOverride_OverridenEnumTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_OverridesEnumKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("overridenEnumType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("overridenEnumType"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0(); + return obj; + } + } + return null; + } + +} + +// "{" +protected class XOseeEnumOverride_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public XOseeEnumOverride_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_OverridenEnumTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// inheritAll?="inheritAll"? +protected class XOseeEnumOverride_InheritAllAssignment_3 extends AssignmentToken { + + public XOseeEnumOverride_InheritAllAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getInheritAllAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("inheritAll",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("inheritAll"); + if(Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl + type = AssignmentType.KEYWORD; + element = grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0(); + return obj; + } + return null; + } + +} + +// overrideOptions+=OverrideOption* +protected class XOseeEnumOverride_OverrideOptionsAssignment_4 extends AssignmentToken { + + public XOseeEnumOverride_OverrideOptionsAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OverrideOption_Alternatives(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("overrideOptions",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("overrideOptions"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getOverrideOptionRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new XOseeEnumOverride_OverrideOptionsAssignment_4(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new XOseeEnumOverride_InheritAllAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); + case 2: return new XOseeEnumOverride_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class XOseeEnumOverride_RightCurlyBracketKeyword_5 extends KeywordToken { + + public XOseeEnumOverride_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XOseeEnumOverride_OverrideOptionsAssignment_4(lastRuleCallOrigin, this, 0, inst); + case 1: return new XOseeEnumOverride_InheritAllAssignment_3(lastRuleCallOrigin, this, 1, inst); + case 2: return new XOseeEnumOverride_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 2, inst); + default: return null; + } + } + +} + + +/************ end Rule XOseeEnumOverride ****************/ + + +/************ begin Rule OverrideOption **************** + * + * OverrideOption: + * AddEnum | RemoveEnum; + * + **/ + +// AddEnum | RemoveEnum +protected class OverrideOption_Alternatives extends AlternativesToken { + + public OverrideOption_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getOverrideOptionAccess().getAlternatives(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new OverrideOption_AddEnumParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new OverrideOption_RemoveEnumParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getAddEnumRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getRemoveEnumRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// AddEnum +protected class OverrideOption_AddEnumParserRuleCall_0 extends RuleCallToken { + + public OverrideOption_AddEnumParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getAddEnumRule().getType().getClassifier()) + return null; + if(checkForRecursion(AddEnum_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// RemoveEnum +protected class OverrideOption_RemoveEnumParserRuleCall_1 extends RuleCallToken { + + public OverrideOption_RemoveEnumParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RemoveEnum_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getRemoveEnumRule().getType().getClassifier()) + return null; + if(checkForRecursion(RemoveEnum_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + + +/************ end Rule OverrideOption ****************/ + + +/************ begin Rule AddEnum **************** + * + * AddEnum: + * "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; + * + **/ + +// "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? +protected class AddEnum_Group extends GroupToken { + + public AddEnum_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAddEnumAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_Group_3(lastRuleCallOrigin, this, 0, inst); + case 1: return new AddEnum_OrdinalAssignment_2(lastRuleCallOrigin, this, 1, inst); + case 2: return new AddEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 2, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getAddEnumRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "add" +protected class AddEnum_AddKeyword_0 extends KeywordToken { + + public AddEnum_AddKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAddEnumAccess().getAddKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// enumEntry=ENUM_ENTRY_TYPE_REFERENCE +protected class AddEnum_EnumEntryAssignment_1 extends AssignmentToken { + + public AddEnum_EnumEntryAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAddEnumAccess().getEnumEntryAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_AddKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("enumEntry",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumEntry"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// ordinal=WHOLE_NUM_STR? +protected class AddEnum_OrdinalAssignment_2 extends AssignmentToken { + + public AddEnum_OrdinalAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAddEnumAccess().getOrdinalAssignment_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("ordinal",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("ordinal"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(); + return obj; + } + return null; + } + +} + +// ("entryGuid" entryGuid=STRING)? +protected class AddEnum_Group_3 extends GroupToken { + + public AddEnum_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAddEnumAccess().getGroup_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_EntryGuidAssignment_3_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "entryGuid" +protected class AddEnum_EntryGuidKeyword_3_0 extends KeywordToken { + + public AddEnum_EntryGuidKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAddEnumAccess().getEntryGuidKeyword_3_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_OrdinalAssignment_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new AddEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// entryGuid=STRING +protected class AddEnum_EntryGuidAssignment_3_1 extends AssignmentToken { + + public AddEnum_EntryGuidAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAddEnumAccess().getEntryGuidAssignment_3_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AddEnum_EntryGuidKeyword_3_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("entryGuid",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("entryGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(); + return obj; + } + return null; + } + +} + + + +/************ end Rule AddEnum ****************/ + + +/************ begin Rule RemoveEnum **************** + * + * RemoveEnum: + * "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE]; + * + **/ + +// "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] +protected class RemoveEnum_Group extends GroupToken { + + public RemoveEnum_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getRemoveEnumAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RemoveEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getRemoveEnumRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "remove" +protected class RemoveEnum_RemoveKeyword_0 extends KeywordToken { + + public RemoveEnum_RemoveKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] +protected class RemoveEnum_EnumEntryAssignment_1 extends AssignmentToken { + + public RemoveEnum_EnumEntryAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getRemoveEnumAccess().getEnumEntryAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RemoveEnum_RemoveKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("enumEntry",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumEntry"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0(); + return obj; + } + } + return null; + } + +} + + +/************ end Rule RemoveEnum ****************/ + + +/************ begin Rule XRelationType **************** + * + * XRelationType: + * "relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING + * "sideAArtifactType" sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING + * "sideBArtifactType" sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" + * defaultOrderType=RelationOrderType "multiplicity" multiplicity=RelationMultiplicityEnum "}"; + * + **/ + +// "relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING "sideAArtifactType" +// sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING "sideBArtifactType" +// sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" defaultOrderType=RelationOrderType +// "multiplicity" multiplicity=RelationMultiplicityEnum "}" +protected class XRelationType_Group extends GroupToken { + + public XRelationType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_RightCurlyBracketKeyword_17(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "relationType" +protected class XRelationType_RelationTypeKeyword_0 extends KeywordToken { + + public XRelationType_RelationTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=RELATION_TYPE_REFERENCE +protected class XRelationType_NameAssignment_1 extends AssignmentToken { + + public XRelationType_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_RelationTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "{" +protected class XRelationType_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public XRelationType_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "guid" +protected class XRelationType_GuidKeyword_3 extends KeywordToken { + + public XRelationType_GuidKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getGuidKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// typeGuid=STRING +protected class XRelationType_TypeGuidAssignment_4 extends AssignmentToken { + + public XRelationType_TypeGuidAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getTypeGuidAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_GuidKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("typeGuid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// "sideAName" +protected class XRelationType_SideANameKeyword_5 extends KeywordToken { + + public XRelationType_SideANameKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_TypeGuidAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// sideAName=STRING +protected class XRelationType_SideANameAssignment_6 extends AssignmentToken { + + public XRelationType_SideANameAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideANameAssignment_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideANameKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("sideAName",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideAName"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(); + return obj; + } + return null; + } + +} + +// "sideAArtifactType" +protected class XRelationType_SideAArtifactTypeKeyword_7 extends KeywordToken { + + public XRelationType_SideAArtifactTypeKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideANameAssignment_6(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] +protected class XRelationType_SideAArtifactTypeAssignment_8 extends AssignmentToken { + + public XRelationType_SideAArtifactTypeAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeAssignment_8(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideAArtifactTypeKeyword_7(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("sideAArtifactType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideAArtifactType"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0(); + return obj; + } + } + return null; + } + +} + +// "sideBName" +protected class XRelationType_SideBNameKeyword_9 extends KeywordToken { + + public XRelationType_SideBNameKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideAArtifactTypeAssignment_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// sideBName=STRING +protected class XRelationType_SideBNameAssignment_10 extends AssignmentToken { + + public XRelationType_SideBNameAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideBNameAssignment_10(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideBNameKeyword_9(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("sideBName",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideBName"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(); + return obj; + } + return null; + } + +} + +// "sideBArtifactType" +protected class XRelationType_SideBArtifactTypeKeyword_11 extends KeywordToken { + + public XRelationType_SideBArtifactTypeKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideBNameAssignment_10(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] +protected class XRelationType_SideBArtifactTypeAssignment_12 extends AssignmentToken { + + public XRelationType_SideBArtifactTypeAssignment_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeAssignment_12(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideBArtifactTypeKeyword_11(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("sideBArtifactType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideBArtifactType"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0(); + return obj; + } + } + return null; + } + +} + +// "defaultOrderType" +protected class XRelationType_DefaultOrderTypeKeyword_13 extends KeywordToken { + + public XRelationType_DefaultOrderTypeKeyword_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_SideBArtifactTypeAssignment_12(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// defaultOrderType=RelationOrderType +protected class XRelationType_DefaultOrderTypeAssignment_14 extends AssignmentToken { + + public XRelationType_DefaultOrderTypeAssignment_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeAssignment_14(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_DefaultOrderTypeKeyword_13(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("defaultOrderType",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultOrderType"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(); + return obj; + } + return null; + } + +} + +// "multiplicity" +protected class XRelationType_MultiplicityKeyword_15 extends KeywordToken { + + public XRelationType_MultiplicityKeyword_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_DefaultOrderTypeAssignment_14(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// multiplicity=RelationMultiplicityEnum +protected class XRelationType_MultiplicityAssignment_16 extends AssignmentToken { + + public XRelationType_MultiplicityAssignment_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getMultiplicityAssignment_16(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_MultiplicityKeyword_15(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("multiplicity",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicity"); + if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(), value, null)) { + type = AssignmentType.ENUM_RULE_CALL; + element = grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(); + return obj; + } + return null; + } + +} + +// "}" +protected class XRelationType_RightCurlyBracketKeyword_17 extends KeywordToken { + + public XRelationType_RightCurlyBracketKeyword_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XRelationType_MultiplicityAssignment_16(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule XRelationType ****************/ + + + + +/************ begin Rule XArtifactRef **************** + * + * XArtifactRef: + * "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";"; + * + **/ + +// "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";" +protected class XArtifactRef_Group extends GroupToken { + + public XArtifactRef_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXArtifactRefAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactRef_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXArtifactRefRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "artifact" +protected class XArtifactRef_ArtifactKeyword_0 extends KeywordToken { + + public XArtifactRef_ArtifactKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactRefAccess().getArtifactKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=ARTIFACT_INSTANCE_REFERENCE +protected class XArtifactRef_NameAssignment_1 extends AssignmentToken { + + public XArtifactRef_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactRefAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactRef_ArtifactKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "artGuid" +protected class XArtifactRef_ArtGuidKeyword_2 extends KeywordToken { + + public XArtifactRef_ArtGuidKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactRef_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// guid=STRING +protected class XArtifactRef_GuidAssignment_3 extends AssignmentToken { + + public XArtifactRef_GuidAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXArtifactRefAccess().getGuidAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactRef_ArtGuidKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("guid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("guid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(); + return obj; + } + return null; + } + +} + +// ";" +protected class XArtifactRef_SemicolonKeyword_4 extends KeywordToken { + + public XArtifactRef_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XArtifactRef_GuidAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule XArtifactRef ****************/ + + + +/************ begin Rule XBranchRef **************** + * + * XBranchRef: + * "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";"; + * + **/ + +// "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";" +protected class XBranchRef_Group extends GroupToken { + + public XBranchRef_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getXBranchRefAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XBranchRef_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getXBranchRefRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "branch" +protected class XBranchRef_BranchKeyword_0 extends KeywordToken { + + public XBranchRef_BranchKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXBranchRefAccess().getBranchKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=BRANCH_INSTANCE_REFERENCE +protected class XBranchRef_NameAssignment_1 extends AssignmentToken { + + public XBranchRef_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXBranchRefAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XBranchRef_BranchKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// "branchGuid" +protected class XBranchRef_BranchGuidKeyword_2 extends KeywordToken { + + public XBranchRef_BranchGuidKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XBranchRef_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// guid=STRING +protected class XBranchRef_GuidAssignment_3 extends AssignmentToken { + + public XBranchRef_GuidAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getXBranchRefAccess().getGuidAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XBranchRef_BranchGuidKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("guid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("guid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(); + return obj; + } + return null; + } + +} + +// ";" +protected class XBranchRef_SemicolonKeyword_4 extends KeywordToken { + + public XBranchRef_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new XBranchRef_GuidAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule XBranchRef ****************/ + + + +/************ begin Rule AccessContext **************** + * + * AccessContext: + * "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" + * superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," + * superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" + * (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}"; + * + **/ + +// "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" +// superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," +// superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" +// (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}" +protected class AccessContext_Group extends GroupToken { + + public AccessContext_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAccessContextAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getAccessContextRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "accessContext" +protected class AccessContext_AccessContextKeyword_0 extends KeywordToken { + + public AccessContext_AccessContextKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getAccessContextKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// name=ACCESS_CONTEXT_TYPE_REFRENCE +protected class AccessContext_NameAssignment_1 extends AssignmentToken { + + public AccessContext_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAccessContextAccess().getNameAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_AccessContextKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0(), value, null)) { + type = AssignmentType.DATATYPE_RULE_CALL; + element = grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0(); + return obj; + } + return null; + } + +} + +// ("extends" superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," +// superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? +protected class AccessContext_Group_2 extends GroupToken { + + public AccessContext_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAccessContextAccess().getGroup_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_Group_2_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new AccessContext_SuperAccessContextsAssignment_2_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// "extends" +protected class AccessContext_ExtendsKeyword_2_0 extends KeywordToken { + + public AccessContext_ExtendsKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] +protected class AccessContext_SuperAccessContextsAssignment_2_1 extends AssignmentToken { + + public AccessContext_SuperAccessContextsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAccessContextAccess().getSuperAccessContextsAssignment_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_ExtendsKeyword_2_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("superAccessContexts",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superAccessContexts"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0(); + return obj; + } + } + return null; + } + +} + +// ("," superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])* +protected class AccessContext_Group_2_2 extends GroupToken { + + public AccessContext_Group_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAccessContextAccess().getGroup_2_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_SuperAccessContextsAssignment_2_2_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "," +protected class AccessContext_CommaKeyword_2_2_0 extends KeywordToken { + + public AccessContext_CommaKeyword_2_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getCommaKeyword_2_2_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_Group_2_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new AccessContext_SuperAccessContextsAssignment_2_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] +protected class AccessContext_SuperAccessContextsAssignment_2_2_1 extends AssignmentToken { + + public AccessContext_SuperAccessContextsAssignment_2_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAccessContextAccess().getSuperAccessContextsAssignment_2_2_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_CommaKeyword_2_2_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("superAccessContexts",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superAccessContexts"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0(); + return obj; + } + } + return null; + } + +} + + + +// "{" +protected class AccessContext_LeftCurlyBracketKeyword_3 extends KeywordToken { + + public AccessContext_LeftCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_Group_2(lastRuleCallOrigin, this, 0, inst); + case 1: return new AccessContext_NameAssignment_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// "guid" +protected class AccessContext_GuidKeyword_4 extends KeywordToken { + + public AccessContext_GuidKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getGuidKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// guid=STRING +protected class AccessContext_GuidAssignment_5 extends AssignmentToken { + + public AccessContext_GuidAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAccessContextAccess().getGuidAssignment_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_GuidKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("guid",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("guid"); + if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(), value, null)) { + type = AssignmentType.TERMINAL_RULE_CALL; + element = grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(); + return obj; + } + return null; + } + +} + +// ";" +protected class AccessContext_SemicolonKeyword_6 extends KeywordToken { + + public AccessContext_SemicolonKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_GuidAssignment_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ +protected class AccessContext_Alternatives_7 extends AlternativesToken { + + public AccessContext_Alternatives_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getAccessContextAccess().getAlternatives_7(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_AccessRulesAssignment_7_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new AccessContext_HierarchyRestrictionsAssignment_7_1(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + +// accessRules+=ObjectRestriction +protected class AccessContext_AccessRulesAssignment_7_0 extends AssignmentToken { + + public AccessContext_AccessRulesAssignment_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAccessContextAccess().getAccessRulesAssignment_7_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ObjectRestriction_Alternatives(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("accessRules",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessRules"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getObjectRestrictionRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new AccessContext_Alternatives_7(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new AccessContext_SemicolonKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// hierarchyRestrictions+=HierarchyRestriction +protected class AccessContext_HierarchyRestrictionsAssignment_7_1 extends AssignmentToken { + + public AccessContext_HierarchyRestrictionsAssignment_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAccessContextAccess().getHierarchyRestrictionsAssignment_7_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new HierarchyRestriction_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("hierarchyRestrictions",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("hierarchyRestrictions"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new AccessContext_Alternatives_7(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new AccessContext_SemicolonKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + + +// "}" +protected class AccessContext_RightCurlyBracketKeyword_8 extends KeywordToken { + + public AccessContext_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AccessContext_Alternatives_7(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule AccessContext ****************/ + + +/************ begin Rule HierarchyRestriction **************** + * + * HierarchyRestriction: + * "childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}"; + * + **/ + +// "childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}" +protected class HierarchyRestriction_Group extends GroupToken { + + public HierarchyRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getHierarchyRestrictionAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new HierarchyRestriction_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// "childrenOf" +protected class HierarchyRestriction_ChildrenOfKeyword_0 extends KeywordToken { + + public HierarchyRestriction_ChildrenOfKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + +} + +// artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] +protected class HierarchyRestriction_ArtifactAssignment_1 extends AssignmentToken { + + public HierarchyRestriction_ArtifactAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getHierarchyRestrictionAccess().getArtifactAssignment_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new HierarchyRestriction_ChildrenOfKeyword_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("artifact",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifact"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0(); + return obj; + } + } + return null; + } + +} + +// "{" +protected class HierarchyRestriction_LeftCurlyBracketKeyword_2 extends KeywordToken { + + public HierarchyRestriction_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new HierarchyRestriction_ArtifactAssignment_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// accessRules+=ObjectRestriction+ +protected class HierarchyRestriction_AccessRulesAssignment_3 extends AssignmentToken { + + public HierarchyRestriction_AccessRulesAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getHierarchyRestrictionAccess().getAccessRulesAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ObjectRestriction_Alternatives(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("accessRules",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessRules"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getObjectRestrictionRule().getType().getClassifier())) { + type = AssignmentType.PARSER_RULE_CALL; + element = grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0(); + consumed = obj; + return param; + } + } + return null; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + if(value == inst.getEObject() && !inst.isConsumed()) return null; + switch(index) { + case 0: return new HierarchyRestriction_AccessRulesAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); + case 1: return new HierarchyRestriction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); + default: return null; + } + } +} + +// "}" +protected class HierarchyRestriction_RightCurlyBracketKeyword_4 extends KeywordToken { + + public HierarchyRestriction_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new HierarchyRestriction_AccessRulesAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule HierarchyRestriction ****************/ + + +/************ begin Rule ObjectRestriction **************** + * + * ObjectRestriction: + * ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; + * + **/ + +// ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction +protected class ObjectRestriction_Alternatives extends AlternativesToken { + + public ObjectRestriction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Alternatives getGrammarElement() { + return grammarAccess.getObjectRestrictionAccess().getAlternatives(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); + case 1: return new ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); + case 2: return new ObjectRestriction_RelationTypeRestrictionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); + case 3: return new ObjectRestriction_AttributeTypeRestrictionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier() && + getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// ArtifactInstanceRestriction +protected class ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_0 extends RuleCallToken { + + public ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactInstanceRestriction_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()) + return null; + if(checkForRecursion(ArtifactInstanceRestriction_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// ArtifactTypeRestriction +protected class ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_1 extends RuleCallToken { + + public ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactTypeRestriction_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()) + return null; + if(checkForRecursion(ArtifactTypeRestriction_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// RelationTypeRestriction +protected class ObjectRestriction_RelationTypeRestrictionParserRuleCall_2 extends RuleCallToken { + + public ObjectRestriction_RelationTypeRestrictionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) + return null; + if(checkForRecursion(RelationTypeRestriction_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + +// AttributeTypeRestriction +protected class ObjectRestriction_AttributeTypeRestrictionParserRuleCall_3 extends RuleCallToken { + + public ObjectRestriction_AttributeTypeRestrictionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public RuleCall getGrammarElement() { + return grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_Group(this, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()) + return null; + if(checkForRecursion(AttributeTypeRestriction_Group.class, eObjectConsumer)) return null; + return eObjectConsumer; + } + + @Override + public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); + } + } +} + + +/************ end Rule ObjectRestriction ****************/ + + +/************ begin Rule ArtifactInstanceRestriction **************** + * + * ArtifactInstanceRestriction: + * permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; + * + **/ + +// permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";" +protected class ArtifactInstanceRestriction_Group extends GroupToken { + + public ArtifactInstanceRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getArtifactInstanceRestrictionAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactInstanceRestriction_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// permission=AccessPermissionEnum +protected class ArtifactInstanceRestriction_PermissionAssignment_0 extends AssignmentToken { + + public ArtifactInstanceRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAssignment_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("permission",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); + if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), value, null)) { + type = AssignmentType.ENUM_RULE_CALL; + element = grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); + return obj; + } + return null; + } + +} + +// "edit" +protected class ArtifactInstanceRestriction_EditKeyword_1 extends KeywordToken { + + public ArtifactInstanceRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactInstanceRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "artifact" +protected class ArtifactInstanceRestriction_ArtifactKeyword_2 extends KeywordToken { + + public ArtifactInstanceRestriction_ArtifactKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactInstanceRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] +protected class ArtifactInstanceRestriction_ArtifactRefAssignment_3 extends AssignmentToken { + + public ArtifactInstanceRestriction_ArtifactRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactInstanceRestriction_ArtifactKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("artifactRef",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactRef"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0(); + return obj; + } + } + return null; + } + +} + +// ";" +protected class ArtifactInstanceRestriction_SemicolonKeyword_4 extends KeywordToken { + + public ArtifactInstanceRestriction_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactInstanceRestriction_ArtifactRefAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule ArtifactInstanceRestriction ****************/ + + +/************ begin Rule ArtifactTypeRestriction **************** + * + * ArtifactTypeRestriction: + * permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; + * + **/ + +// permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" +protected class ArtifactTypeRestriction_Group extends GroupToken { + + public ArtifactTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getArtifactTypeRestrictionAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactTypeRestriction_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// permission=AccessPermissionEnum +protected class ArtifactTypeRestriction_PermissionAssignment_0 extends AssignmentToken { + + public ArtifactTypeRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAssignment_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("permission",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); + if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), value, null)) { + type = AssignmentType.ENUM_RULE_CALL; + element = grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); + return obj; + } + return null; + } + +} + +// "edit" +protected class ArtifactTypeRestriction_EditKeyword_1 extends KeywordToken { + + public ArtifactTypeRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactTypeRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "artifactType" +protected class ArtifactTypeRestriction_ArtifactTypeKeyword_2 extends KeywordToken { + + public ArtifactTypeRestriction_ArtifactTypeKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactTypeRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] +protected class ArtifactTypeRestriction_ArtifactTypeRefAssignment_3 extends AssignmentToken { + + public ArtifactTypeRestriction_ArtifactTypeRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactTypeRestriction_ArtifactTypeKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("artifactTypeRef",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactTypeRef"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0(); + return obj; + } + } + return null; + } + +} + +// ";" +protected class ArtifactTypeRestriction_SemicolonKeyword_4 extends KeywordToken { + + public ArtifactTypeRestriction_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new ArtifactTypeRestriction_ArtifactTypeRefAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + + +/************ end Rule ArtifactTypeRestriction ****************/ + + +/************ begin Rule AttributeTypeRestriction **************** + * + * AttributeTypeRestriction: + * permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + * ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";"; + * + **/ + +// permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("of" +// "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";" +protected class AttributeTypeRestriction_Group extends GroupToken { + + public AttributeTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_SemicolonKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// permission=AccessPermissionEnum +protected class AttributeTypeRestriction_PermissionAssignment_0 extends AssignmentToken { + + public AttributeTypeRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAssignment_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("permission",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); + if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), value, null)) { + type = AssignmentType.ENUM_RULE_CALL; + element = grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); + return obj; + } + return null; + } + +} + +// "edit" +protected class AttributeTypeRestriction_EditKeyword_1 extends KeywordToken { + + public AttributeTypeRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "attributeType" +protected class AttributeTypeRestriction_AttributeTypeKeyword_2 extends KeywordToken { + + public AttributeTypeRestriction_AttributeTypeKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] +protected class AttributeTypeRestriction_AttributeTypeRefAssignment_3 extends AssignmentToken { + + public AttributeTypeRestriction_AttributeTypeRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_AttributeTypeKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("attributeTypeRef",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("attributeTypeRef"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0(); + return obj; + } + } + return null; + } + +} + +// ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? +protected class AttributeTypeRestriction_Group_4 extends GroupToken { + + public AttributeTypeRestriction_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getGroup_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_ArtifactTypeRefAssignment_4_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "of" +protected class AttributeTypeRestriction_OfKeyword_4_0 extends KeywordToken { + + public AttributeTypeRestriction_OfKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_AttributeTypeRefAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "artifactType" +protected class AttributeTypeRestriction_ArtifactTypeKeyword_4_1 extends KeywordToken { + + public AttributeTypeRestriction_ArtifactTypeKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_OfKeyword_4_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] +protected class AttributeTypeRestriction_ArtifactTypeRefAssignment_4_2 extends AssignmentToken { + + public AttributeTypeRestriction_ArtifactTypeRefAssignment_4_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefAssignment_4_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_ArtifactTypeKeyword_4_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("artifactTypeRef",false)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactTypeRef"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0(); + return obj; + } + } + return null; + } + +} + + +// ";" +protected class AttributeTypeRestriction_SemicolonKeyword_5 extends KeywordToken { + + public AttributeTypeRestriction_SemicolonKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new AttributeTypeRestriction_Group_4(lastRuleCallOrigin, this, 0, inst); + case 1: return new AttributeTypeRestriction_AttributeTypeRefAssignment_3(lastRuleCallOrigin, this, 1, inst); + default: return null; + } + } + +} + + +/************ end Rule AttributeTypeRestriction ****************/ + + +/************ begin Rule RelationTypeRestriction **************** + * + * RelationTypeRestriction: + * permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] + * restrictedToSide=XRelationSideEnum ";"; + * + **/ + +// permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] +// restrictedToSide=XRelationSideEnum ";" +protected class RelationTypeRestriction_Group extends GroupToken { + + public RelationTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Group getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getGroup(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_SemicolonKeyword_5(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if(getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) + return null; + return eObjectConsumer; + } + +} + +// permission=AccessPermissionEnum +protected class RelationTypeRestriction_PermissionAssignment_0 extends AssignmentToken { + + public RelationTypeRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getPermissionAssignment_0(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("permission",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); + if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), value, null)) { + type = AssignmentType.ENUM_RULE_CALL; + element = grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); + return obj; + } + return null; + } + +} + +// "edit" +protected class RelationTypeRestriction_EditKeyword_1 extends KeywordToken { + + public RelationTypeRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// "relationType" +protected class RelationTypeRestriction_RelationTypeKeyword_2 extends KeywordToken { + + public RelationTypeRestriction_RelationTypeKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + +// relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] +protected class RelationTypeRestriction_RelationTypeRefAssignment_3 extends AssignmentToken { + + public RelationTypeRestriction_RelationTypeRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefAssignment_3(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_RelationTypeKeyword_2(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("relationTypeRef",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("relationTypeRef"); + if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl + IEObjectConsumer param = createEObjectConsumer((EObject)value); + if(param.isInstanceOf(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0().getType().getClassifier())) { + type = AssignmentType.CROSS_REFERENCE; + element = grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0(); + return obj; + } + } + return null; + } + +} + +// restrictedToSide=XRelationSideEnum +protected class RelationTypeRestriction_RestrictedToSideAssignment_4 extends AssignmentToken { + + public RelationTypeRestriction_RestrictedToSideAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Assignment getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideAssignment_4(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_RelationTypeRefAssignment_3(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + + @Override + public IEObjectConsumer tryConsume() { + if((value = eObjectConsumer.getConsumable("restrictedToSide",true)) == null) return null; + IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("restrictedToSide"); + if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(), value, null)) { + type = AssignmentType.ENUM_RULE_CALL; + element = grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(); + return obj; + } + return null; + } + +} + +// ";" +protected class RelationTypeRestriction_SemicolonKeyword_5 extends KeywordToken { + + public RelationTypeRestriction_SemicolonKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { + super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); + } + + @Override + public Keyword getGrammarElement() { + return grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5(); + } + + @Override + public AbstractToken createFollower(int index, IEObjectConsumer inst) { + switch(index) { + case 0: return new RelationTypeRestriction_RestrictedToSideAssignment_4(lastRuleCallOrigin, this, 0, inst); + default: return null; + } + } + +} + - @Inject - private OseeDslGrammarAccess grammarAccess; - - @Override - protected AbstractToken getRootToken(IEObjectConsumer inst) { - return new ThisRootNode(inst); - } - - protected class ThisRootNode extends RootToken { - public ThisRootNode(IEObjectConsumer inst) { - super(inst); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeDsl_Group(this, this, 0, inst); - case 1: - return new Import_Group(this, this, 1, inst); - case 2: - return new OseeElement_Alternatives(this, this, 2, inst); - case 3: - return new OseeType_Alternatives(this, this, 3, inst); - case 4: - return new XArtifactType_Group(this, this, 4, inst); - case 5: - return new XAttributeTypeRef_Group(this, this, 5, inst); - case 6: - return new XAttributeType_Group(this, this, 6, inst); - case 7: - return new XOseeEnumType_Group(this, this, 7, inst); - case 8: - return new XOseeEnumEntry_Group(this, this, 8, inst); - case 9: - return new XOseeEnumOverride_Group(this, this, 9, inst); - case 10: - return new OverrideOption_Alternatives(this, this, 10, inst); - case 11: - return new AddEnum_Group(this, this, 11, inst); - case 12: - return new RemoveEnum_Group(this, this, 12, inst); - case 13: - return new XRelationType_Group(this, this, 13, inst); - case 14: - return new XArtifactRef_Group(this, this, 14, inst); - case 15: - return new XBranchRef_Group(this, this, 15, inst); - case 16: - return new AccessContext_Group(this, this, 16, inst); - case 17: - return new HierarchyRestriction_Group(this, this, 17, inst); - case 18: - return new ObjectRestriction_Alternatives(this, this, 18, inst); - case 19: - return new ArtifactInstanceRestriction_Group(this, this, 19, inst); - case 20: - return new ArtifactTypeRestriction_Group(this, this, 20, inst); - case 21: - return new AttributeTypeRestriction_Group(this, this, 21, inst); - case 22: - return new RelationTypeRestriction_Group(this, this, 22, inst); - default: - return null; - } - } - } - - /************ - * begin Rule OseeDsl **************** OseeDsl: imports+=Import* (artifactTypes+=XArtifactType | - * relationTypes+=XRelationType | attributeTypes+=XAttributeType | enumTypes+=XOseeEnumType | - * enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - * accessDeclarations+=AccessContext*; - **/ - - // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - // accessDeclarations+=AccessContext* - protected class OseeDsl_Group extends GroupToken { - - public OseeDsl_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getOseeDslAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeDsl_AccessDeclarationsAssignment_3(lastRuleCallOrigin, this, 0, inst); - case 1: - return new OseeDsl_Alternatives_2(lastRuleCallOrigin, this, 1, inst); - case 2: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, this, 2, inst); - case 3: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, this, 3, inst); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 4, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getOseeDslRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // imports+=Import* - protected class OseeDsl_ImportsAssignment_0 extends AssignmentToken { - - public OseeDsl_ImportsAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getImportsAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new Import_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("imports", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("imports"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getImportRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed); - } - } - } - - // (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | enumTypes+=XOseeEnumType - // | enumOverrides+=XOseeEnumOverride)* - protected class OseeDsl_Alternatives_1 extends AlternativesToken { - - public OseeDsl_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getOseeDslAccess().getAlternatives_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeDsl_ArtifactTypesAssignment_1_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new OseeDsl_RelationTypesAssignment_1_1(lastRuleCallOrigin, this, 1, inst); - case 2: - return new OseeDsl_AttributeTypesAssignment_1_2(lastRuleCallOrigin, this, 2, inst); - case 3: - return new OseeDsl_EnumTypesAssignment_1_3(lastRuleCallOrigin, this, 3, inst); - case 4: - return new OseeDsl_EnumOverridesAssignment_1_4(lastRuleCallOrigin, this, 4, inst); - default: - return null; - } - } - - } - - // artifactTypes+=XArtifactType - protected class OseeDsl_ArtifactTypesAssignment_1_0 extends AssignmentToken { - - public OseeDsl_ArtifactTypesAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getArtifactTypesAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactTypes", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXArtifactTypeRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 2, consumed); - } - } - } - - // relationTypes+=XRelationType - protected class OseeDsl_RelationTypesAssignment_1_1 extends AssignmentToken { - - public OseeDsl_RelationTypesAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getRelationTypesAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("relationTypes", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("relationTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXRelationTypeRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 2, consumed); - } - } - } - - // attributeTypes+=XAttributeType - protected class OseeDsl_AttributeTypesAssignment_1_2 extends AssignmentToken { - - public OseeDsl_AttributeTypesAssignment_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getAttributeTypesAssignment_1_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("attributeTypes", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("attributeTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXAttributeTypeRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 2, consumed); - } - } - } - - // enumTypes+=XOseeEnumType - protected class OseeDsl_EnumTypesAssignment_1_3 extends AssignmentToken { - - public OseeDsl_EnumTypesAssignment_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getEnumTypesAssignment_1_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("enumTypes", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 2, consumed); - } - } - } - - // enumOverrides+=XOseeEnumOverride - protected class OseeDsl_EnumOverridesAssignment_1_4 extends AssignmentToken { - - public OseeDsl_EnumOverridesAssignment_1_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getEnumOverridesAssignment_1_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("enumOverrides", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumOverrides"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 2, consumed); - } - } - } - - // (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - protected class OseeDsl_Alternatives_2 extends AlternativesToken { - - public OseeDsl_Alternatives_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getOseeDslAccess().getAlternatives_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeDsl_BranchRefsAssignment_2_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new OseeDsl_ArtifactRefsAssignment_2_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // branchRefs+=XBranchRef - protected class OseeDsl_BranchRefsAssignment_2_0 extends AssignmentToken { - - public OseeDsl_BranchRefsAssignment_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getBranchRefsAssignment_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XBranchRef_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("branchRefs", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branchRefs"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXBranchRefRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getBranchRefsXBranchRefParserRuleCall_2_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 2: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 3, consumed); - } - } - } - - // artifactRefs+=XArtifactRef - protected class OseeDsl_ArtifactRefsAssignment_2_1 extends AssignmentToken { - - public OseeDsl_ArtifactRefsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getArtifactRefsAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactRef_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactRefs", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactRefs"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXArtifactRefRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getArtifactRefsXArtifactRefParserRuleCall_2_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 2: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 3, consumed); - } - } - } - - // accessDeclarations+=AccessContext* - protected class OseeDsl_AccessDeclarationsAssignment_3 extends AssignmentToken { - - public OseeDsl_AccessDeclarationsAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOseeDslAccess().getAccessDeclarationsAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("accessDeclarations", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessDeclarations"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAccessContextRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new OseeDsl_AccessDeclarationsAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new OseeDsl_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed); - case 2: - return new OseeDsl_Alternatives_1(lastRuleCallOrigin, next, actIndex, consumed); - case 3: - return new OseeDsl_ImportsAssignment_0(lastRuleCallOrigin, next, actIndex, consumed); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 4, consumed); - } - } - } - - /************ end Rule OseeDsl ****************/ - - /************ - * begin Rule Import **************** Import: "import" importURI=STRING; - **/ - - // "import" importURI=STRING - protected class Import_Group extends GroupToken { - - public Import_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getImportAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new Import_ImportURIAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getImportRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "import" - protected class Import_ImportKeyword_0 extends KeywordToken { - - public Import_ImportKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getImportAccess().getImportKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // importURI=STRING - protected class Import_ImportURIAssignment_1 extends AssignmentToken { - - public Import_ImportURIAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getImportAccess().getImportURIAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new Import_ImportKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("importURI", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("importURI"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(); - return obj; - } - return null; - } - - } - - /************ end Rule Import ****************/ - - /************ - * begin Rule OseeElement **************** /////////////////////////////////////// // OSEE TYPE MODEL // - * /////////////////////////////////////// OseeElement: XOseeEnumOverride | OseeType; - **/ - - // XOseeEnumOverride | OseeType - protected class OseeElement_Alternatives extends AlternativesToken { - - public OseeElement_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getOseeElementAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeElement_XOseeEnumOverrideParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new OseeElement_OseeTypeParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // XOseeEnumOverride - protected class OseeElement_XOseeEnumOverrideParserRuleCall_0 extends RuleCallToken { - - public OseeElement_XOseeEnumOverrideParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOseeElementAccess().getXOseeEnumOverrideParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(XOseeEnumOverride_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // OseeType - protected class OseeElement_OseeTypeParserRuleCall_1 extends RuleCallToken { - - public OseeElement_OseeTypeParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOseeElementAccess().getOseeTypeParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeType_Alternatives(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(OseeType_Alternatives.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - /************ end Rule OseeElement ****************/ - - /************ - * begin Rule OseeType **************** OseeType: XArtifactType | XRelationType | XAttributeType | XOseeEnumType; - **/ - - // XArtifactType | XRelationType | XAttributeType | XOseeEnumType - protected class OseeType_Alternatives extends AlternativesToken { - - public OseeType_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getOseeTypeAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OseeType_XArtifactTypeParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new OseeType_XRelationTypeParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: - return new OseeType_XAttributeTypeParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: - return new OseeType_XOseeEnumTypeParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // XArtifactType - protected class OseeType_XArtifactTypeParserRuleCall_0 extends RuleCallToken { - - public OseeType_XArtifactTypeParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(XArtifactType_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // XRelationType - protected class OseeType_XRelationTypeParserRuleCall_1 extends RuleCallToken { - - public OseeType_XRelationTypeParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(XRelationType_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // XAttributeType - protected class OseeType_XAttributeTypeParserRuleCall_2 extends RuleCallToken { - - public OseeType_XAttributeTypeParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(XAttributeType_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // XOseeEnumType - protected class OseeType_XOseeEnumTypeParserRuleCall_3 extends RuleCallToken { - - public OseeType_XOseeEnumTypeParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(XOseeEnumType_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - /************ end Rule OseeType ****************/ - - /************ - * begin Rule XArtifactType **************** XArtifactType: abstract?="abstract"? "artifactType" - * name=ARTIFACT_TYPE_REFERENCE ("extends" superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - * superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING - * validAttributeTypes+=XAttributeTypeRef* "}"; - **/ - - // abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING - // validAttributeTypes+=XAttributeTypeRef* "}" - protected class XArtifactType_Group extends GroupToken { - - public XArtifactType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXArtifactTypeRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // abstract?="abstract"? - protected class XArtifactType_AbstractAssignment_0 extends AssignmentToken { - - public XArtifactType_AbstractAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getAbstractAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("abstract", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("abstract"); - if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl - type = AssignmentType.KEYWORD; - element = grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0(); - return obj; - } - return null; - } - - } - - // "artifactType" - protected class XArtifactType_ArtifactTypeKeyword_1 extends KeywordToken { - - public XArtifactType_ArtifactTypeKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_AbstractAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); - } - } - - } - - // name=ARTIFACT_TYPE_REFERENCE - protected class XArtifactType_NameAssignment_2 extends AssignmentToken { - - public XArtifactType_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getNameAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_ArtifactTypeKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0(); - return obj; - } - return null; - } - - } - - // ("extends" superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? - protected class XArtifactType_Group_3 extends GroupToken { - - public XArtifactType_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getGroup_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_Group_3_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XArtifactType_SuperArtifactTypesAssignment_3_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // "extends" - protected class XArtifactType_ExtendsKeyword_3_0 extends KeywordToken { - - public XArtifactType_ExtendsKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_NameAssignment_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class XArtifactType_SuperArtifactTypesAssignment_3_1 extends AssignmentToken { - - public XArtifactType_SuperArtifactTypesAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesAssignment_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_ExtendsKeyword_3_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("superArtifactTypes", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superArtifactTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0(); - return obj; - } - } - return null; - } - - } - - // ("," superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])* - protected class XArtifactType_Group_3_2 extends GroupToken { - - public XArtifactType_Group_3_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getGroup_3_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_SuperArtifactTypesAssignment_3_2_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "," - protected class XArtifactType_CommaKeyword_3_2_0 extends KeywordToken { - - public XArtifactType_CommaKeyword_3_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_Group_3_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XArtifactType_SuperArtifactTypesAssignment_3_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class XArtifactType_SuperArtifactTypesAssignment_3_2_1 extends AssignmentToken { - - public XArtifactType_SuperArtifactTypesAssignment_3_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesAssignment_3_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_CommaKeyword_3_2_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("superArtifactTypes", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superArtifactTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0(); - return obj; - } - } - return null; - } - - } - - // "{" - protected class XArtifactType_LeftCurlyBracketKeyword_4 extends KeywordToken { - - public XArtifactType_LeftCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XArtifactType_NameAssignment_2(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // "guid" - protected class XArtifactType_GuidKeyword_5 extends KeywordToken { - - public XArtifactType_GuidKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // typeGuid=STRING - protected class XArtifactType_TypeGuidAssignment_6 extends AssignmentToken { - - public XArtifactType_TypeGuidAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getTypeGuidAssignment_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_GuidKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("typeGuid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(); - return obj; - } - return null; - } - - } - - // validAttributeTypes+=XAttributeTypeRef* - protected class XArtifactType_ValidAttributeTypesAssignment_7 extends AssignmentToken { - - public XArtifactType_ValidAttributeTypesAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesAssignment_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeTypeRef_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("validAttributeTypes", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("validAttributeTypes"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = - grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new XArtifactType_ValidAttributeTypesAssignment_7(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new XArtifactType_TypeGuidAssignment_6(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // "}" - protected class XArtifactType_RightCurlyBracketKeyword_8 extends KeywordToken { - - public XArtifactType_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactType_ValidAttributeTypesAssignment_7(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XArtifactType_TypeGuidAssignment_6(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - /************ end Rule XArtifactType ****************/ - - /************ - * begin Rule XAttributeTypeRef **************** XAttributeTypeRef: "attribute" - * validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)?; - **/ - - // "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)? - protected class XAttributeTypeRef_Group extends GroupToken { - - public XAttributeTypeRef_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeRefAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeTypeRef_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeTypeRef_ValidAttributeTypeAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "attribute" - protected class XAttributeTypeRef_AttributeKeyword_0 extends KeywordToken { - - public XAttributeTypeRef_AttributeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - protected class XAttributeTypeRef_ValidAttributeTypeAssignment_1 extends AssignmentToken { - - public XAttributeTypeRef_ValidAttributeTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeTypeRef_AttributeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("validAttributeType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("validAttributeType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // ("branchGuid" branchGuid=STRING)? - protected class XAttributeTypeRef_Group_2 extends GroupToken { - - public XAttributeTypeRef_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeRefAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeTypeRef_BranchGuidAssignment_2_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "branchGuid" - protected class XAttributeTypeRef_BranchGuidKeyword_2_0 extends KeywordToken { - - public XAttributeTypeRef_BranchGuidKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeRefAccess().getBranchGuidKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeTypeRef_ValidAttributeTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // branchGuid=STRING - protected class XAttributeTypeRef_BranchGuidAssignment_2_1 extends AssignmentToken { - - public XAttributeTypeRef_BranchGuidAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeRefAccess().getBranchGuidAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeTypeRef_BranchGuidKeyword_2_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("branchGuid", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("branchGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0(); - return obj; - } - return null; - } - - } - - /************ end Rule XAttributeTypeRef ****************/ - - /************ - * begin Rule XAttributeType **************** XAttributeType: "attributeType" name=ATTRIBUTE_TYPE_REFERENCE - * ("extends" baseAttributeType=AttributeBaseType) ("overrides" override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? - * "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" - * defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}"; - **/ - - // "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" - // override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" - // defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}" - protected class XAttributeType_Group extends GroupToken { - - public XAttributeType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_RightCurlyBracketKeyword_18(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXAttributeTypeRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "attributeType" - protected class XAttributeType_AttributeTypeKeyword_0 extends KeywordToken { - - public XAttributeType_AttributeTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=ATTRIBUTE_TYPE_REFERENCE - protected class XAttributeType_NameAssignment_1 extends AssignmentToken { - - public XAttributeType_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_AttributeTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // "extends" baseAttributeType=AttributeBaseType - protected class XAttributeType_Group_2 extends GroupToken { - - public XAttributeType_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_BaseAttributeTypeAssignment_2_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "extends" - protected class XAttributeType_ExtendsKeyword_2_0 extends KeywordToken { - - public XAttributeType_ExtendsKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // baseAttributeType=AttributeBaseType - protected class XAttributeType_BaseAttributeTypeAssignment_2_1 extends AssignmentToken { - - public XAttributeType_BaseAttributeTypeAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_ExtendsKeyword_2_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("baseAttributeType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("baseAttributeType"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0(), value, - null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = - grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0(); - return obj; - } - return null; - } - - } - - // ("overrides" override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? - protected class XAttributeType_Group_3 extends GroupToken { - - public XAttributeType_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_OverrideAssignment_3_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "overrides" - protected class XAttributeType_OverridesKeyword_3_0 extends KeywordToken { - - public XAttributeType_OverridesKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - protected class XAttributeType_OverrideAssignment_3_1 extends AssignmentToken { - - public XAttributeType_OverrideAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getOverrideAssignment_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_OverridesKeyword_3_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("override", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("override"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0(); - return obj; - } - } - return null; - } - - } - - // "{" - protected class XAttributeType_LeftCurlyBracketKeyword_4 extends KeywordToken { - - public XAttributeType_LeftCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeType_Group_2(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // "guid" - protected class XAttributeType_GuidKeyword_5 extends KeywordToken { - - public XAttributeType_GuidKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGuidKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // typeGuid=STRING - protected class XAttributeType_TypeGuidAssignment_6 extends AssignmentToken { - - public XAttributeType_TypeGuidAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getTypeGuidAssignment_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_GuidKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("typeGuid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(); - return obj; - } - return null; - } - - } - - // "dataProvider" - protected class XAttributeType_DataProviderKeyword_7 extends KeywordToken { - - public XAttributeType_DataProviderKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_TypeGuidAssignment_6(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // dataProvider=("DefaultAttributeDataProvider" | "UriAttributeDataProvider" | QUALIFIED_NAME) - protected class XAttributeType_DataProviderAssignment_8 extends AssignmentToken { - - public XAttributeType_DataProviderAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getDataProviderAssignment_8(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_DataProviderKeyword_7(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("dataProvider", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("dataProvider"); - if (keywordSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(), value, - null)) { - type = AssignmentType.KEYWORD; - element = - grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(); - return obj; - } - if (keywordSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1(); - return obj; - } - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2(); - return obj; - } - return null; - } - - } - - // "min" - protected class XAttributeType_MinKeyword_9 extends KeywordToken { - - public XAttributeType_MinKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getMinKeyword_9(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_DataProviderAssignment_8(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // min=WHOLE_NUM_STR - protected class XAttributeType_MinAssignment_10 extends AssignmentToken { - - public XAttributeType_MinAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getMinAssignment_10(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_MinKeyword_9(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("min", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("min"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(); - return obj; - } - return null; - } - - } - - // "max" - protected class XAttributeType_MaxKeyword_11 extends KeywordToken { - - public XAttributeType_MaxKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_MinAssignment_10(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // max=(WHOLE_NUM_STR | "unlimited") - protected class XAttributeType_MaxAssignment_12 extends AssignmentToken { - - public XAttributeType_MaxAssignment_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getMaxAssignment_12(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_MaxKeyword_11(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("max", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("max"); - if (keywordSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1(); - return obj; - } - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0(); - return obj; - } - return null; - } - - } - - // ("taggerId" taggerId=("DefaultAttributeTaggerProvider" | QUALIFIED_NAME))? - protected class XAttributeType_Group_13 extends GroupToken { - - public XAttributeType_Group_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_13(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_TaggerIdAssignment_13_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "taggerId" - protected class XAttributeType_TaggerIdKeyword_13_0 extends KeywordToken { - - public XAttributeType_TaggerIdKeyword_13_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // taggerId=("DefaultAttributeTaggerProvider" | QUALIFIED_NAME) - protected class XAttributeType_TaggerIdAssignment_13_1 extends AssignmentToken { - - public XAttributeType_TaggerIdAssignment_13_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getTaggerIdAssignment_13_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_TaggerIdKeyword_13_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("taggerId", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("taggerId"); - if (keywordSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0(), value, - null)) { - type = AssignmentType.KEYWORD; - element = - grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0(); - return obj; - } - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1(); - return obj; - } - return null; - } - - } - - // ("enumType" enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE])? - protected class XAttributeType_Group_14 extends GroupToken { - - public XAttributeType_Group_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_14(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_EnumTypeAssignment_14_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "enumType" - protected class XAttributeType_EnumTypeKeyword_14_0 extends KeywordToken { - - public XAttributeType_EnumTypeKeyword_14_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_14_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_13(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] - protected class XAttributeType_EnumTypeAssignment_14_1 extends AssignmentToken { - - public XAttributeType_EnumTypeAssignment_14_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getEnumTypeAssignment_14_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_EnumTypeKeyword_14_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("enumType", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0(); - return obj; - } - } - return null; - } - - } - - // ("description" description=STRING)? - protected class XAttributeType_Group_15 extends GroupToken { - - public XAttributeType_Group_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_15(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_DescriptionAssignment_15_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "description" - protected class XAttributeType_DescriptionKeyword_15_0 extends KeywordToken { - - public XAttributeType_DescriptionKeyword_15_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_14(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeType_Group_13(lastRuleCallOrigin, this, 1, inst); - case 2: - return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 2, inst); - default: - return null; - } - } - - } - - // description=STRING - protected class XAttributeType_DescriptionAssignment_15_1 extends AssignmentToken { - - public XAttributeType_DescriptionAssignment_15_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getDescriptionAssignment_15_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_DescriptionKeyword_15_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("description", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("description"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0(); - return obj; - } - return null; - } - - } - - // ("defaultValue" defaultValue=STRING)? - protected class XAttributeType_Group_16 extends GroupToken { - - public XAttributeType_Group_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_16(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_DefaultValueAssignment_16_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "defaultValue" - protected class XAttributeType_DefaultValueKeyword_16_0 extends KeywordToken { - - public XAttributeType_DefaultValueKeyword_16_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_15(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeType_Group_14(lastRuleCallOrigin, this, 1, inst); - case 2: - return new XAttributeType_Group_13(lastRuleCallOrigin, this, 2, inst); - case 3: - return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 3, inst); - default: - return null; - } - } - - } - - // defaultValue=STRING - protected class XAttributeType_DefaultValueAssignment_16_1 extends AssignmentToken { - - public XAttributeType_DefaultValueAssignment_16_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getDefaultValueAssignment_16_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_DefaultValueKeyword_16_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("defaultValue", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultValue"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0(); - return obj; - } - return null; - } - - } - - // ("fileExtension" fileExtension=STRING)? - protected class XAttributeType_Group_17 extends GroupToken { - - public XAttributeType_Group_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getGroup_17(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_FileExtensionAssignment_17_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "fileExtension" - protected class XAttributeType_FileExtensionKeyword_17_0 extends KeywordToken { - - public XAttributeType_FileExtensionKeyword_17_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_16(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeType_Group_15(lastRuleCallOrigin, this, 1, inst); - case 2: - return new XAttributeType_Group_14(lastRuleCallOrigin, this, 2, inst); - case 3: - return new XAttributeType_Group_13(lastRuleCallOrigin, this, 3, inst); - case 4: - return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 4, inst); - default: - return null; - } - } - - } - - // fileExtension=STRING - protected class XAttributeType_FileExtensionAssignment_17_1 extends AssignmentToken { - - public XAttributeType_FileExtensionAssignment_17_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getFileExtensionAssignment_17_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_FileExtensionKeyword_17_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("fileExtension", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("fileExtension"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0(); - return obj; - } - return null; - } - - } - - // "}" - protected class XAttributeType_RightCurlyBracketKeyword_18 extends KeywordToken { - - public XAttributeType_RightCurlyBracketKeyword_18(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XAttributeType_Group_17(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XAttributeType_Group_16(lastRuleCallOrigin, this, 1, inst); - case 2: - return new XAttributeType_Group_15(lastRuleCallOrigin, this, 2, inst); - case 3: - return new XAttributeType_Group_14(lastRuleCallOrigin, this, 3, inst); - case 4: - return new XAttributeType_Group_13(lastRuleCallOrigin, this, 4, inst); - case 5: - return new XAttributeType_MaxAssignment_12(lastRuleCallOrigin, this, 5, inst); - default: - return null; - } - } - - } - - /************ end Rule XAttributeType ****************/ - - /************ - * begin Rule XOseeEnumType **************** XOseeEnumType: "oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" - * typeGuid=STRING enumEntries+=XOseeEnumEntry* "}"; - **/ - - // "oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}" - protected class XOseeEnumType_Group extends GroupToken { - - public XOseeEnumType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_RightCurlyBracketKeyword_6(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "oseeEnumType" - protected class XOseeEnumType_OseeEnumTypeKeyword_0 extends KeywordToken { - - public XOseeEnumType_OseeEnumTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=ENUM_TYPE_REFERENCE - protected class XOseeEnumType_NameAssignment_1 extends AssignmentToken { - - public XOseeEnumType_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_OseeEnumTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // "{" - protected class XOseeEnumType_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public XOseeEnumType_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "guid" - protected class XOseeEnumType_GuidKeyword_3 extends KeywordToken { - - public XOseeEnumType_GuidKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getGuidKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // typeGuid=STRING - protected class XOseeEnumType_TypeGuidAssignment_4 extends AssignmentToken { - - public XOseeEnumType_TypeGuidAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getTypeGuidAssignment_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_GuidKeyword_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("typeGuid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(); - return obj; - } - return null; - } - - } - - // enumEntries+=XOseeEnumEntry* - protected class XOseeEnumType_EnumEntriesAssignment_5 extends AssignmentToken { - - public XOseeEnumType_EnumEntriesAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesAssignment_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("enumEntries", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumEntries"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new XOseeEnumType_EnumEntriesAssignment_5(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new XOseeEnumType_TypeGuidAssignment_4(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // "}" - protected class XOseeEnumType_RightCurlyBracketKeyword_6 extends KeywordToken { - - public XOseeEnumType_RightCurlyBracketKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumType_EnumEntriesAssignment_5(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XOseeEnumType_TypeGuidAssignment_4(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - /************ end Rule XOseeEnumType ****************/ - - /************ - * begin Rule XOseeEnumEntry **************** XOseeEnumEntry: "entry" name=ENUM_ENTRY_TYPE_REFERENCE - * ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; - **/ - - // "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? - protected class XOseeEnumEntry_Group extends GroupToken { - - public XOseeEnumEntry_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XOseeEnumEntry_OrdinalAssignment_2(lastRuleCallOrigin, this, 1, inst); - case 2: - return new XOseeEnumEntry_NameAssignment_1(lastRuleCallOrigin, this, 2, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "entry" - protected class XOseeEnumEntry_EntryKeyword_0 extends KeywordToken { - - public XOseeEnumEntry_EntryKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=ENUM_ENTRY_TYPE_REFERENCE - protected class XOseeEnumEntry_NameAssignment_1 extends AssignmentToken { - - public XOseeEnumEntry_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_EntryKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // ordinal=WHOLE_NUM_STR? - protected class XOseeEnumEntry_OrdinalAssignment_2 extends AssignmentToken { - - public XOseeEnumEntry_OrdinalAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getOrdinalAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("ordinal", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("ordinal"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(); - return obj; - } - return null; - } - - } - - // ("entryGuid" entryGuid=STRING)? - protected class XOseeEnumEntry_Group_3 extends GroupToken { - - public XOseeEnumEntry_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getGroup_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_EntryGuidAssignment_3_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "entryGuid" - protected class XOseeEnumEntry_EntryGuidKeyword_3_0 extends KeywordToken { - - public XOseeEnumEntry_EntryGuidKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getEntryGuidKeyword_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_OrdinalAssignment_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XOseeEnumEntry_NameAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // entryGuid=STRING - protected class XOseeEnumEntry_EntryGuidAssignment_3_1 extends AssignmentToken { - - public XOseeEnumEntry_EntryGuidAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumEntryAccess().getEntryGuidAssignment_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumEntry_EntryGuidKeyword_3_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("entryGuid", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("entryGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(); - return obj; - } - return null; - } - - } - - /************ end Rule XOseeEnumEntry ****************/ - - /************ - * begin Rule XOseeEnumOverride **************** XOseeEnumOverride: "overrides enum" - * overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? - * overrideOptions+=OverrideOption* "}"; - **/ - - // "overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? - // overrideOptions+=OverrideOption* "}" - protected class XOseeEnumOverride_Group extends GroupToken { - - public XOseeEnumOverride_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "overrides enum" - protected class XOseeEnumOverride_OverridesEnumKeyword_0 extends KeywordToken { - - public XOseeEnumOverride_OverridesEnumKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] - protected class XOseeEnumOverride_OverridenEnumTypeAssignment_1 extends AssignmentToken { - - public XOseeEnumOverride_OverridenEnumTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_OverridesEnumKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("overridenEnumType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("overridenEnumType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // "{" - protected class XOseeEnumOverride_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public XOseeEnumOverride_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_OverridenEnumTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // inheritAll?="inheritAll"? - protected class XOseeEnumOverride_InheritAllAssignment_3 extends AssignmentToken { - - public XOseeEnumOverride_InheritAllAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getInheritAllAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("inheritAll", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("inheritAll"); - if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl - type = AssignmentType.KEYWORD; - element = grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0(); - return obj; - } - return null; - } - - } - - // overrideOptions+=OverrideOption* - protected class XOseeEnumOverride_OverrideOptionsAssignment_4 extends AssignmentToken { - - public XOseeEnumOverride_OverrideOptionsAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsAssignment_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OverrideOption_Alternatives(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("overrideOptions", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("overrideOptions"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getOverrideOptionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = - grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new XOseeEnumOverride_OverrideOptionsAssignment_4(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new XOseeEnumOverride_InheritAllAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 2: - return new XOseeEnumOverride_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // "}" - protected class XOseeEnumOverride_RightCurlyBracketKeyword_5 extends KeywordToken { - - public XOseeEnumOverride_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XOseeEnumOverride_OverrideOptionsAssignment_4(lastRuleCallOrigin, this, 0, inst); - case 1: - return new XOseeEnumOverride_InheritAllAssignment_3(lastRuleCallOrigin, this, 1, inst); - case 2: - return new XOseeEnumOverride_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 2, inst); - default: - return null; - } - } - - } - - /************ end Rule XOseeEnumOverride ****************/ - - /************ - * begin Rule OverrideOption **************** OverrideOption: AddEnum | RemoveEnum; - **/ - - // AddEnum | RemoveEnum - protected class OverrideOption_Alternatives extends AlternativesToken { - - public OverrideOption_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getOverrideOptionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new OverrideOption_AddEnumParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new OverrideOption_RemoveEnumParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAddEnumRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getRemoveEnumRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // AddEnum - protected class OverrideOption_AddEnumParserRuleCall_0 extends RuleCallToken { - - public OverrideOption_AddEnumParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAddEnumRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(AddEnum_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // RemoveEnum - protected class OverrideOption_RemoveEnumParserRuleCall_1 extends RuleCallToken { - - public OverrideOption_RemoveEnumParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RemoveEnum_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getRemoveEnumRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(RemoveEnum_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - /************ end Rule OverrideOption ****************/ - - /************ - * begin Rule AddEnum **************** AddEnum: "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? - * ("entryGuid" entryGuid=STRING)?; - **/ - - // "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? - protected class AddEnum_Group extends GroupToken { - - public AddEnum_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAddEnumAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AddEnum_OrdinalAssignment_2(lastRuleCallOrigin, this, 1, inst); - case 2: - return new AddEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 2, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAddEnumRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "add" - protected class AddEnum_AddKeyword_0 extends KeywordToken { - - public AddEnum_AddKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAddEnumAccess().getAddKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // enumEntry=ENUM_ENTRY_TYPE_REFERENCE - protected class AddEnum_EnumEntryAssignment_1 extends AssignmentToken { - - public AddEnum_EnumEntryAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddEnumAccess().getEnumEntryAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_AddKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("enumEntry", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumEntry"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // ordinal=WHOLE_NUM_STR? - protected class AddEnum_OrdinalAssignment_2 extends AssignmentToken { - - public AddEnum_OrdinalAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddEnumAccess().getOrdinalAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("ordinal", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("ordinal"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(); - return obj; - } - return null; - } - - } - - // ("entryGuid" entryGuid=STRING)? - protected class AddEnum_Group_3 extends GroupToken { - - public AddEnum_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAddEnumAccess().getGroup_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_EntryGuidAssignment_3_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "entryGuid" - protected class AddEnum_EntryGuidKeyword_3_0 extends KeywordToken { - - public AddEnum_EntryGuidKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAddEnumAccess().getEntryGuidKeyword_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_OrdinalAssignment_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AddEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // entryGuid=STRING - protected class AddEnum_EntryGuidAssignment_3_1 extends AssignmentToken { - - public AddEnum_EntryGuidAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddEnumAccess().getEntryGuidAssignment_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AddEnum_EntryGuidKeyword_3_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("entryGuid", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("entryGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(); - return obj; - } - return null; - } - - } - - /************ end Rule AddEnum ****************/ - - /************ - * begin Rule RemoveEnum **************** RemoveEnum: "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE]; - **/ - - // "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] - protected class RemoveEnum_Group extends GroupToken { - - public RemoveEnum_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getRemoveEnumAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RemoveEnum_EnumEntryAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getRemoveEnumRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "remove" - protected class RemoveEnum_RemoveKeyword_0 extends KeywordToken { - - public RemoveEnum_RemoveKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] - protected class RemoveEnum_EnumEntryAssignment_1 extends AssignmentToken { - - public RemoveEnum_EnumEntryAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRemoveEnumAccess().getEnumEntryAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RemoveEnum_RemoveKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("enumEntry", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("enumEntry"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - /************ end Rule RemoveEnum ****************/ - - /************ - * begin Rule XRelationType **************** XRelationType: "relationType" name=RELATION_TYPE_REFERENCE "{" "guid" - * typeGuid=STRING "sideAName" sideAName=STRING "sideAArtifactType" - * sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING "sideBArtifactType" - * sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" defaultOrderType=RelationOrderType - * "multiplicity" multiplicity=RelationMultiplicityEnum "}"; - **/ - - // "relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING "sideAArtifactType" - // sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING "sideBArtifactType" - // sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" defaultOrderType=RelationOrderType - // "multiplicity" multiplicity=RelationMultiplicityEnum "}" - protected class XRelationType_Group extends GroupToken { - - public XRelationType_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_RightCurlyBracketKeyword_17(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXRelationTypeRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "relationType" - protected class XRelationType_RelationTypeKeyword_0 extends KeywordToken { - - public XRelationType_RelationTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=RELATION_TYPE_REFERENCE - protected class XRelationType_NameAssignment_1 extends AssignmentToken { - - public XRelationType_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_RelationTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // "{" - protected class XRelationType_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public XRelationType_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "guid" - protected class XRelationType_GuidKeyword_3 extends KeywordToken { - - public XRelationType_GuidKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getGuidKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // typeGuid=STRING - protected class XRelationType_TypeGuidAssignment_4 extends AssignmentToken { - - public XRelationType_TypeGuidAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getTypeGuidAssignment_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_GuidKeyword_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("typeGuid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(); - return obj; - } - return null; - } - - } - - // "sideAName" - protected class XRelationType_SideANameKeyword_5 extends KeywordToken { - - public XRelationType_SideANameKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_TypeGuidAssignment_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // sideAName=STRING - protected class XRelationType_SideANameAssignment_6 extends AssignmentToken { - - public XRelationType_SideANameAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideANameAssignment_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideANameKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("sideAName", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideAName"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(); - return obj; - } - return null; - } - - } - - // "sideAArtifactType" - protected class XRelationType_SideAArtifactTypeKeyword_7 extends KeywordToken { - - public XRelationType_SideAArtifactTypeKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideANameAssignment_6(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class XRelationType_SideAArtifactTypeAssignment_8 extends AssignmentToken { - - public XRelationType_SideAArtifactTypeAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeAssignment_8(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideAArtifactTypeKeyword_7(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("sideAArtifactType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideAArtifactType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0(); - return obj; - } - } - return null; - } - - } - - // "sideBName" - protected class XRelationType_SideBNameKeyword_9 extends KeywordToken { - - public XRelationType_SideBNameKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideAArtifactTypeAssignment_8(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // sideBName=STRING - protected class XRelationType_SideBNameAssignment_10 extends AssignmentToken { - - public XRelationType_SideBNameAssignment_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideBNameAssignment_10(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideBNameKeyword_9(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("sideBName", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideBName"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(); - return obj; - } - return null; - } - - } - - // "sideBArtifactType" - protected class XRelationType_SideBArtifactTypeKeyword_11 extends KeywordToken { - - public XRelationType_SideBArtifactTypeKeyword_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideBNameAssignment_10(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class XRelationType_SideBArtifactTypeAssignment_12 extends AssignmentToken { - - public XRelationType_SideBArtifactTypeAssignment_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeAssignment_12(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideBArtifactTypeKeyword_11(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("sideBArtifactType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sideBArtifactType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0(); - return obj; - } - } - return null; - } - - } - - // "defaultOrderType" - protected class XRelationType_DefaultOrderTypeKeyword_13 extends KeywordToken { - - public XRelationType_DefaultOrderTypeKeyword_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_SideBArtifactTypeAssignment_12(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // defaultOrderType=RelationOrderType - protected class XRelationType_DefaultOrderTypeAssignment_14 extends AssignmentToken { - - public XRelationType_DefaultOrderTypeAssignment_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeAssignment_14(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_DefaultOrderTypeKeyword_13(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("defaultOrderType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultOrderType"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), value, - null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(); - return obj; - } - return null; - } - - } - - // "multiplicity" - protected class XRelationType_MultiplicityKeyword_15 extends KeywordToken { - - public XRelationType_MultiplicityKeyword_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_DefaultOrderTypeAssignment_14(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // multiplicity=RelationMultiplicityEnum - protected class XRelationType_MultiplicityAssignment_16 extends AssignmentToken { - - public XRelationType_MultiplicityAssignment_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getMultiplicityAssignment_16(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_MultiplicityKeyword_15(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("multiplicity", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicity"); - if (enumLitSerializer.isValid(obj.getEObject(), - grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(), value, - null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(); - return obj; - } - return null; - } - - } - - // "}" - protected class XRelationType_RightCurlyBracketKeyword_17 extends KeywordToken { - - public XRelationType_RightCurlyBracketKeyword_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XRelationType_MultiplicityAssignment_16(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule XRelationType ****************/ - - /************ - * begin Rule XArtifactRef **************** XArtifactRef: "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" - * guid=STRING ";"; - **/ - - // "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";" - protected class XArtifactRef_Group extends GroupToken { - - public XArtifactRef_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXArtifactRefAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactRef_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXArtifactRefRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "artifact" - protected class XArtifactRef_ArtifactKeyword_0 extends KeywordToken { - - public XArtifactRef_ArtifactKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactRefAccess().getArtifactKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=ARTIFACT_INSTANCE_REFERENCE - protected class XArtifactRef_NameAssignment_1 extends AssignmentToken { - - public XArtifactRef_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactRefAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactRef_ArtifactKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // "artGuid" - protected class XArtifactRef_ArtGuidKeyword_2 extends KeywordToken { - - public XArtifactRef_ArtGuidKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactRef_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // guid=STRING - protected class XArtifactRef_GuidAssignment_3 extends AssignmentToken { - - public XArtifactRef_GuidAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXArtifactRefAccess().getGuidAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactRef_ArtGuidKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("guid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("guid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(); - return obj; - } - return null; - } - - } - - // ";" - protected class XArtifactRef_SemicolonKeyword_4 extends KeywordToken { - - public XArtifactRef_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XArtifactRef_GuidAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule XArtifactRef ****************/ - - /************ - * begin Rule XBranchRef **************** XBranchRef: "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" - * guid=STRING ";"; - **/ - - // "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";" - protected class XBranchRef_Group extends GroupToken { - - public XBranchRef_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getXBranchRefAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XBranchRef_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getXBranchRefRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "branch" - protected class XBranchRef_BranchKeyword_0 extends KeywordToken { - - public XBranchRef_BranchKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXBranchRefAccess().getBranchKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=BRANCH_INSTANCE_REFERENCE - protected class XBranchRef_NameAssignment_1 extends AssignmentToken { - - public XBranchRef_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXBranchRefAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XBranchRef_BranchKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // "branchGuid" - protected class XBranchRef_BranchGuidKeyword_2 extends KeywordToken { - - public XBranchRef_BranchGuidKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XBranchRef_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // guid=STRING - protected class XBranchRef_GuidAssignment_3 extends AssignmentToken { - - public XBranchRef_GuidAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getXBranchRefAccess().getGuidAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XBranchRef_BranchGuidKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("guid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("guid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(); - return obj; - } - return null; - } - - } - - // ";" - protected class XBranchRef_SemicolonKeyword_4 extends KeywordToken { - - public XBranchRef_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new XBranchRef_GuidAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule XBranchRef ****************/ - - /************ - * begin Rule AccessContext **************** AccessContext: "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE - * ("extends" superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - * superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" - * (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}"; - **/ - - // "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" - // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}" - protected class AccessContext_Group extends GroupToken { - - public AccessContext_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAccessContextAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAccessContextRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "accessContext" - protected class AccessContext_AccessContextKeyword_0 extends KeywordToken { - - public AccessContext_AccessContextKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getAccessContextKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // name=ACCESS_CONTEXT_TYPE_REFRENCE - protected class AccessContext_NameAssignment_1 extends AssignmentToken { - - public AccessContext_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_AccessContextKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("name", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0(); - return obj; - } - return null; - } - - } - - // ("extends" superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? - protected class AccessContext_Group_2 extends GroupToken { - - public AccessContext_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAccessContextAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_Group_2_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AccessContext_SuperAccessContextsAssignment_2_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // "extends" - protected class AccessContext_ExtendsKeyword_2_0 extends KeywordToken { - - public AccessContext_ExtendsKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] - protected class AccessContext_SuperAccessContextsAssignment_2_1 extends AssignmentToken { - - public AccessContext_SuperAccessContextsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getSuperAccessContextsAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_ExtendsKeyword_2_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("superAccessContexts", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superAccessContexts"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0(); - return obj; - } - } - return null; - } - - } - - // ("," superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])* - protected class AccessContext_Group_2_2 extends GroupToken { - - public AccessContext_Group_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAccessContextAccess().getGroup_2_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_SuperAccessContextsAssignment_2_2_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "," - protected class AccessContext_CommaKeyword_2_2_0 extends KeywordToken { - - public AccessContext_CommaKeyword_2_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getCommaKeyword_2_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_Group_2_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AccessContext_SuperAccessContextsAssignment_2_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] - protected class AccessContext_SuperAccessContextsAssignment_2_2_1 extends AssignmentToken { - - public AccessContext_SuperAccessContextsAssignment_2_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getSuperAccessContextsAssignment_2_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_CommaKeyword_2_2_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("superAccessContexts", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("superAccessContexts"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0(); - return obj; - } - } - return null; - } - - } - - // "{" - protected class AccessContext_LeftCurlyBracketKeyword_3 extends KeywordToken { - - public AccessContext_LeftCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AccessContext_NameAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // "guid" - protected class AccessContext_GuidKeyword_4 extends KeywordToken { - - public AccessContext_GuidKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getGuidKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // guid=STRING - protected class AccessContext_GuidAssignment_5 extends AssignmentToken { - - public AccessContext_GuidAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getGuidAssignment_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_GuidKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("guid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("guid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(); - return obj; - } - return null; - } - - } - - // ";" - protected class AccessContext_SemicolonKeyword_6 extends KeywordToken { - - public AccessContext_SemicolonKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_GuidAssignment_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ - protected class AccessContext_Alternatives_7 extends AlternativesToken { - - public AccessContext_Alternatives_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getAccessContextAccess().getAlternatives_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_AccessRulesAssignment_7_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AccessContext_HierarchyRestrictionsAssignment_7_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - // accessRules+=ObjectRestriction - protected class AccessContext_AccessRulesAssignment_7_0 extends AssignmentToken { - - public AccessContext_AccessRulesAssignment_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getAccessRulesAssignment_7_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ObjectRestriction_Alternatives(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("accessRules", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessRules"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getObjectRestrictionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new AccessContext_Alternatives_7(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new AccessContext_SemicolonKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // hierarchyRestrictions+=HierarchyRestriction - protected class AccessContext_HierarchyRestrictionsAssignment_7_1 extends AssignmentToken { - - public AccessContext_HierarchyRestrictionsAssignment_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getHierarchyRestrictionsAssignment_7_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new HierarchyRestriction_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("hierarchyRestrictions", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("hierarchyRestrictions"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = - grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new AccessContext_Alternatives_7(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new AccessContext_SemicolonKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // "}" - protected class AccessContext_RightCurlyBracketKeyword_8 extends KeywordToken { - - public AccessContext_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_Alternatives_7(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule AccessContext ****************/ - - /************ - * begin Rule HierarchyRestriction **************** HierarchyRestriction: "childrenOf" - * artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}"; - **/ - - // "childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}" - protected class HierarchyRestriction_Group extends GroupToken { - - public HierarchyRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getHierarchyRestrictionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new HierarchyRestriction_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "childrenOf" - protected class HierarchyRestriction_ChildrenOfKeyword_0 extends KeywordToken { - - public HierarchyRestriction_ChildrenOfKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - protected class HierarchyRestriction_ArtifactAssignment_1 extends AssignmentToken { - - public HierarchyRestriction_ArtifactAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getHierarchyRestrictionAccess().getArtifactAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new HierarchyRestriction_ChildrenOfKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifact", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifact"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // "{" - protected class HierarchyRestriction_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public HierarchyRestriction_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new HierarchyRestriction_ArtifactAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // accessRules+=ObjectRestriction+ - protected class HierarchyRestriction_AccessRulesAssignment_3 extends AssignmentToken { - - public HierarchyRestriction_AccessRulesAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getHierarchyRestrictionAccess().getAccessRulesAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ObjectRestriction_Alternatives(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("accessRules", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessRules"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getObjectRestrictionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = - grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if (value == inst.getEObject() && !inst.isConsumed()) { - return null; - } - switch (index) { - case 0: - return new HierarchyRestriction_AccessRulesAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new HierarchyRestriction_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // "}" - protected class HierarchyRestriction_RightCurlyBracketKeyword_4 extends KeywordToken { - - public HierarchyRestriction_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new HierarchyRestriction_AccessRulesAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule HierarchyRestriction ****************/ - - /************ - * begin Rule ObjectRestriction **************** ObjectRestriction: ArtifactInstanceRestriction | - * ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; - **/ - - // ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction - protected class ObjectRestriction_Alternatives extends AlternativesToken { - - public ObjectRestriction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_0(lastRuleCallOrigin, this, 0, - inst); - case 1: - return new ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: - return new ObjectRestriction_RelationTypeRestrictionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: - return new ObjectRestriction_AttributeTypeRestrictionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // ArtifactInstanceRestriction - protected class ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_0 extends RuleCallToken { - - public ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(ArtifactInstanceRestriction_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // ArtifactTypeRestriction - protected class ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_1 extends RuleCallToken { - - public ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(ArtifactTypeRestriction_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // RelationTypeRestriction - protected class ObjectRestriction_RelationTypeRestrictionParserRuleCall_2 extends RuleCallToken { - - public ObjectRestriction_RelationTypeRestrictionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(RelationTypeRestriction_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - // AttributeTypeRestriction - protected class ObjectRestriction_AttributeTypeRestrictionParserRuleCall_3 extends RuleCallToken { - - public ObjectRestriction_AttributeTypeRestrictionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(AttributeTypeRestriction_Group.class, eObjectConsumer)) { - return null; - } - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst); - } - } - } - - /************ end Rule ObjectRestriction ****************/ - - /************ - * begin Rule ArtifactInstanceRestriction **************** ArtifactInstanceRestriction: - * permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; - **/ - - // permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";" - protected class ArtifactInstanceRestriction_Group extends GroupToken { - - public ArtifactInstanceRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // permission=AccessPermissionEnum - protected class ArtifactInstanceRestriction_PermissionAssignment_0 extends AssignmentToken { - - public ArtifactInstanceRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("permission", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); - if (enumLitSerializer.isValid(obj.getEObject(), - grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = - grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); - return obj; - } - return null; - } - - } - - // "edit" - protected class ArtifactInstanceRestriction_EditKeyword_1 extends KeywordToken { - - public ArtifactInstanceRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "artifact" - protected class ArtifactInstanceRestriction_ArtifactKeyword_2 extends KeywordToken { - - public ArtifactInstanceRestriction_ArtifactKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - protected class ArtifactInstanceRestriction_ArtifactRefAssignment_3 extends AssignmentToken { - - public ArtifactInstanceRestriction_ArtifactRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_ArtifactKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactRef", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactRef"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class ArtifactInstanceRestriction_SemicolonKeyword_4 extends KeywordToken { - - public ArtifactInstanceRestriction_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_ArtifactRefAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule ArtifactInstanceRestriction ****************/ - - /************ - * begin Rule ArtifactTypeRestriction **************** ArtifactTypeRestriction: permission=AccessPermissionEnum - * "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - **/ - - // permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" - protected class ArtifactTypeRestriction_Group extends GroupToken { - - public ArtifactTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_SemicolonKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // permission=AccessPermissionEnum - protected class ArtifactTypeRestriction_PermissionAssignment_0 extends AssignmentToken { - - public ArtifactTypeRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("permission", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); - if (enumLitSerializer.isValid(obj.getEObject(), - grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = - grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); - return obj; - } - return null; - } - - } - - // "edit" - protected class ArtifactTypeRestriction_EditKeyword_1 extends KeywordToken { - - public ArtifactTypeRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "artifactType" - protected class ArtifactTypeRestriction_ArtifactTypeKeyword_2 extends KeywordToken { - - public ArtifactTypeRestriction_ArtifactTypeKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class ArtifactTypeRestriction_ArtifactTypeRefAssignment_3 extends AssignmentToken { - - public ArtifactTypeRestriction_ArtifactTypeRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_ArtifactTypeKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactTypeRef", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactTypeRef"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class ArtifactTypeRestriction_SemicolonKeyword_4 extends KeywordToken { - - public ArtifactTypeRestriction_SemicolonKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_ArtifactTypeRefAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule ArtifactTypeRestriction ****************/ - - /************ - * begin Rule AttributeTypeRestriction **************** AttributeTypeRestriction: permission=AccessPermissionEnum - * "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("of" "artifactType" - * artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";"; - **/ - - // permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("of" - // "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";" - protected class AttributeTypeRestriction_Group extends GroupToken { - - public AttributeTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_SemicolonKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // permission=AccessPermissionEnum - protected class AttributeTypeRestriction_PermissionAssignment_0 extends AssignmentToken { - - public AttributeTypeRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("permission", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); - if (enumLitSerializer.isValid(obj.getEObject(), - grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = - grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); - return obj; - } - return null; - } - - } - - // "edit" - protected class AttributeTypeRestriction_EditKeyword_1 extends KeywordToken { - - public AttributeTypeRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "attributeType" - protected class AttributeTypeRestriction_AttributeTypeKeyword_2 extends KeywordToken { - - public AttributeTypeRestriction_AttributeTypeKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - protected class AttributeTypeRestriction_AttributeTypeRefAssignment_3 extends AssignmentToken { - - public AttributeTypeRestriction_AttributeTypeRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_AttributeTypeKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("attributeTypeRef", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("attributeTypeRef"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0(); - return obj; - } - } - return null; - } - - } - - // ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? - protected class AttributeTypeRestriction_Group_4 extends GroupToken { - - public AttributeTypeRestriction_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getGroup_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_ArtifactTypeRefAssignment_4_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "of" - protected class AttributeTypeRestriction_OfKeyword_4_0 extends KeywordToken { - - public AttributeTypeRestriction_OfKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_AttributeTypeRefAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "artifactType" - protected class AttributeTypeRestriction_ArtifactTypeKeyword_4_1 extends KeywordToken { - - public AttributeTypeRestriction_ArtifactTypeKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_OfKeyword_4_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class AttributeTypeRestriction_ArtifactTypeRefAssignment_4_2 extends AssignmentToken { - - public AttributeTypeRestriction_ArtifactTypeRefAssignment_4_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefAssignment_4_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_ArtifactTypeKeyword_4_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactTypeRef", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactTypeRef"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class AttributeTypeRestriction_SemicolonKeyword_5 extends KeywordToken { - - public AttributeTypeRestriction_SemicolonKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AttributeTypeRestriction_AttributeTypeRefAssignment_3(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - /************ end Rule AttributeTypeRestriction ****************/ - - /************ - * begin Rule RelationTypeRestriction **************** RelationTypeRestriction: permission=AccessPermissionEnum - * "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] restrictedToSide=XRelationSideEnum - * ";"; - **/ - - // permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] - // restrictedToSide=XRelationSideEnum ";" - protected class RelationTypeRestriction_Group extends GroupToken { - - public RelationTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_SemicolonKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // permission=AccessPermissionEnum - protected class RelationTypeRestriction_PermissionAssignment_0 extends AssignmentToken { - - public RelationTypeRestriction_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getPermissionAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("permission", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("permission"); - if (enumLitSerializer.isValid(obj.getEObject(), - grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = - grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); - return obj; - } - return null; - } - - } - - // "edit" - protected class RelationTypeRestriction_EditKeyword_1 extends KeywordToken { - - public RelationTypeRestriction_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // "relationType" - protected class RelationTypeRestriction_RelationTypeKeyword_2 extends KeywordToken { - - public RelationTypeRestriction_RelationTypeKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_EditKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] - protected class RelationTypeRestriction_RelationTypeRefAssignment_3 extends AssignmentToken { - - public RelationTypeRestriction_RelationTypeRefAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_RelationTypeKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("relationTypeRef", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("relationTypeRef"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0(); - return obj; - } - } - return null; - } - - } - - // restrictedToSide=XRelationSideEnum - protected class RelationTypeRestriction_RestrictedToSideAssignment_4 extends AssignmentToken { - - public RelationTypeRestriction_RestrictedToSideAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideAssignment_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_RelationTypeRefAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("restrictedToSide", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("restrictedToSide"); - if (enumLitSerializer.isValid(obj.getEObject(), - grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(), - value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = - grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(); - return obj; - } - return null; - } - - } - - // ";" - protected class RelationTypeRestriction_SemicolonKeyword_5 extends KeywordToken { - - public RelationTypeRestriction_SemicolonKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_RestrictedToSideAssignment_4(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule RelationTypeRestriction ****************/ +/************ end Rule RelationTypeRestriction ****************/ } 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 index 0e5f6be3f1b..9f5bc04f868 100644 --- 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 @@ -1,16 +1,15 @@ /* - * generated by Xtext - */ +* 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"); - } + + 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 index fc1e3c1d018..5935e1d567d 100644 --- 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 @@ -1,57 +1,39 @@ /* - * generated by Xtext - */ +* generated by Xtext +*/ package org.eclipse.osee.framework.core.dsl.parser.antlr; -import org.antlr.runtime.CharStream; -import org.antlr.runtime.TokenSource; -import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; -import org.eclipse.xtext.parser.IParseResult; -import org.eclipse.xtext.parser.ParseException; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; import com.google.inject.Inject; -public class OseeDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private OseeDslGrammarAccess grammarAccess; - - @Override - protected IParseResult parse(String ruleName, CharStream in) { - TokenSource tokenSource = createLexer(in); - XtextTokenStream tokenStream = createTokenStream(tokenSource); - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - org.eclipse.osee.framework.core.dsl.parser.antlr.internal.InternalOseeDslParser parser = - createParser(tokenStream); - parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap()); - parser.setSyntaxErrorProvider(getSyntaxErrorProvider()); - parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get()); - try { - if (ruleName != null) { - return parser.parse(ruleName); - } - return parser.parse(); - } catch (Exception re) { - throw new ParseException(re.getMessage(), re); - } - } - - 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, - getElementFactory(), getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "OseeDsl"; - } - - public OseeDslGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(OseeDslGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } +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 index 08dc7bcde60..f4cabcc164a 100644 --- 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 @@ -19,11 +19,9 @@ import org.eclipse.xtext.parser.antlr.Lexer; @parser::header { package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; -import java.io.InputStream; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; import org.eclipse.xtext.parser.impl.*; -import org.eclipse.xtext.parsetree.*; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.common.util.Enumerator; @@ -31,7 +29,6 @@ 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.xtext.conversion.ValueConverterException; import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; } @@ -40,17 +37,10 @@ import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; private OseeDslGrammarAccess grammarAccess; - public InternalOseeDslParser(TokenStream input, IAstFactory factory, OseeDslGrammarAccess grammarAccess) { + public InternalOseeDslParser(TokenStream input, OseeDslGrammarAccess grammarAccess) { this(input); - this.factory = factory; - registerRules(grammarAccess.getGrammar()); this.grammarAccess = grammarAccess; - } - - @Override - protected InputStream getTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.tokens"); + registerRules(grammarAccess.getGrammar()); } @Override @@ -77,7 +67,7 @@ import org.eclipse.osee.framework.core.dsl.services.OseeDslGrammarAccess; // Entry rule entryRuleOseeDsl entryRuleOseeDsl returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getOseeDslRule(), currentNode); } + { newCompositeNode(grammarAccess.getOseeDslRule()); } iv_ruleOseeDsl=ruleOseeDsl { $current=$iv_ruleOseeDsl.current; } EOF @@ -85,56 +75,42 @@ entryRuleOseeDsl returns [EObject current=null] // Rule OseeDsl ruleOseeDsl returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: (( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0()); } lv_imports_0_0=ruleImport { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - try { - add( - $current, - "imports", - lv_imports_0_0, - "Import", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "imports", + lv_imports_0_0, + "Import"); + afterParserOrEnumRuleCall(); } ) )*(( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0()); } lv_artifactTypes_1_0=ruleXArtifactType { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "artifactTypes", - lv_artifactTypes_1_0, - "XArtifactType", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "artifactTypes", + lv_artifactTypes_1_0, + "XArtifactType"); + afterParserOrEnumRuleCall(); } ) @@ -142,24 +118,18 @@ ruleOseeDsl returns [EObject current=null] |( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0()); } lv_relationTypes_2_0=ruleXRelationType { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - try { - add( - $current, - "relationTypes", - lv_relationTypes_2_0, - "XRelationType", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "relationTypes", + lv_relationTypes_2_0, + "XRelationType"); + afterParserOrEnumRuleCall(); } ) @@ -167,24 +137,18 @@ ruleOseeDsl returns [EObject current=null] |( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0()); } lv_attributeTypes_3_0=ruleXAttributeType { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "attributeTypes", - lv_attributeTypes_3_0, - "XAttributeType", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "attributeTypes", + lv_attributeTypes_3_0, + "XAttributeType"); + afterParserOrEnumRuleCall(); } ) @@ -192,24 +156,18 @@ ruleOseeDsl returns [EObject current=null] |( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0()); } lv_enumTypes_4_0=ruleXOseeEnumType { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - try { - add( - $current, - "enumTypes", - lv_enumTypes_4_0, - "XOseeEnumType", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "enumTypes", + lv_enumTypes_4_0, + "XOseeEnumType"); + afterParserOrEnumRuleCall(); } ) @@ -217,48 +175,36 @@ ruleOseeDsl returns [EObject current=null] |( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0()); } lv_enumOverrides_5_0=ruleXOseeEnumOverride { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "enumOverrides", - lv_enumOverrides_5_0, - "XOseeEnumOverride", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "enumOverrides", + lv_enumOverrides_5_0, + "XOseeEnumOverride"); + afterParserOrEnumRuleCall(); } ) ))*(( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getBranchRefsXBranchRefParserRuleCall_2_0_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getBranchRefsXBranchRefParserRuleCall_2_0_0()); } lv_branchRefs_6_0=ruleXBranchRef { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - try { - add( - $current, - "branchRefs", - lv_branchRefs_6_0, - "XBranchRef", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "branchRefs", + lv_branchRefs_6_0, + "XBranchRef"); + afterParserOrEnumRuleCall(); } ) @@ -266,48 +212,36 @@ ruleOseeDsl returns [EObject current=null] |( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getArtifactRefsXArtifactRefParserRuleCall_2_1_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactRefsXArtifactRefParserRuleCall_2_1_0()); } lv_artifactRefs_7_0=ruleXArtifactRef { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "artifactRefs", - lv_artifactRefs_7_0, - "XArtifactRef", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "artifactRefs", + lv_artifactRefs_7_0, + "XArtifactRef"); + afterParserOrEnumRuleCall(); } ) ))*( ( { - currentNode=createCompositeNode(grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_3_0(), currentNode); + newCompositeNode(grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_3_0()); } lv_accessDeclarations_8_0=ruleAccessContext { if ($current==null) { - $current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getOseeDslRule()); } - try { - add( - $current, - "accessDeclarations", - lv_accessDeclarations_8_0, - "AccessContext", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "accessDeclarations", + lv_accessDeclarations_8_0, + "AccessContext"); + afterParserOrEnumRuleCall(); } ) @@ -321,7 +255,7 @@ ruleOseeDsl returns [EObject current=null] // Entry rule entryRuleImport entryRuleImport returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getImportRule(), currentNode); } + { newCompositeNode(grammarAccess.getImportRule()); } iv_ruleImport=ruleImport { $current=$iv_ruleImport.current; } EOF @@ -329,36 +263,28 @@ entryRuleImport returns [EObject current=null] // Rule Import ruleImport returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'import' + @after { leaveRule(); }: +( otherlv_0='import' { - createLeafNode(grammarAccess.getImportAccess().getImportKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); } ( ( lv_importURI_1_0=RULE_STRING { - createLeafNode(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), "importURI"); + newLeafNode(lv_importURI_1_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getImportRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "importURI", - lv_importURI_1_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getImportRule()); } + setWithLastConsumed( + $current, + "importURI", + lv_importURI_1_0, + "STRING"); } ) @@ -374,7 +300,7 @@ ruleImport returns [EObject current=null] // Entry rule entryRuleATTRIBUTE_TYPE_REFERENCE entryRuleATTRIBUTE_TYPE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCERule()); } iv_ruleATTRIBUTE_TYPE_REFERENCE=ruleATTRIBUTE_TYPE_REFERENCE { $current=$iv_ruleATTRIBUTE_TYPE_REFERENCE.current.getText(); } EOF @@ -382,17 +308,15 @@ entryRuleATTRIBUTE_TYPE_REFERENCE returns [String current=null] // Rule ATTRIBUTE_TYPE_REFERENCE ruleATTRIBUTE_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getATTRIBUTE_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -404,7 +328,7 @@ ruleATTRIBUTE_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDa // Entry rule entryRuleARTIFACT_TYPE_REFERENCE entryRuleARTIFACT_TYPE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getARTIFACT_TYPE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getARTIFACT_TYPE_REFERENCERule()); } iv_ruleARTIFACT_TYPE_REFERENCE=ruleARTIFACT_TYPE_REFERENCE { $current=$iv_ruleARTIFACT_TYPE_REFERENCE.current.getText(); } EOF @@ -412,17 +336,15 @@ entryRuleARTIFACT_TYPE_REFERENCE returns [String current=null] // Rule ARTIFACT_TYPE_REFERENCE ruleARTIFACT_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getARTIFACT_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getARTIFACT_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -434,7 +356,7 @@ ruleARTIFACT_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDat // Entry rule entryRuleRELATION_TYPE_REFERENCE entryRuleRELATION_TYPE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getRELATION_TYPE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getRELATION_TYPE_REFERENCERule()); } iv_ruleRELATION_TYPE_REFERENCE=ruleRELATION_TYPE_REFERENCE { $current=$iv_ruleRELATION_TYPE_REFERENCE.current.getText(); } EOF @@ -442,17 +364,15 @@ entryRuleRELATION_TYPE_REFERENCE returns [String current=null] // Rule RELATION_TYPE_REFERENCE ruleRELATION_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getRELATION_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getRELATION_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -464,7 +384,7 @@ ruleRELATION_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDat // Entry rule entryRuleENUM_TYPE_REFERENCE entryRuleENUM_TYPE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getENUM_TYPE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getENUM_TYPE_REFERENCERule()); } iv_ruleENUM_TYPE_REFERENCE=ruleENUM_TYPE_REFERENCE { $current=$iv_ruleENUM_TYPE_REFERENCE.current.getText(); } EOF @@ -472,17 +392,15 @@ entryRuleENUM_TYPE_REFERENCE returns [String current=null] // Rule ENUM_TYPE_REFERENCE ruleENUM_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getENUM_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getENUM_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -494,7 +412,7 @@ ruleENUM_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatyp // Entry rule entryRuleENUM_ENTRY_TYPE_REFERENCE entryRuleENUM_ENTRY_TYPE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCERule()); } iv_ruleENUM_ENTRY_TYPE_REFERENCE=ruleENUM_ENTRY_TYPE_REFERENCE { $current=$iv_ruleENUM_ENTRY_TYPE_REFERENCE.current.getText(); } EOF @@ -502,17 +420,15 @@ entryRuleENUM_ENTRY_TYPE_REFERENCE returns [String current=null] // Rule ENUM_ENTRY_TYPE_REFERENCE ruleENUM_ENTRY_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getENUM_ENTRY_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -524,7 +440,7 @@ ruleENUM_ENTRY_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrD // Entry rule entryRuleQUALIFIED_NAME entryRuleQUALIFIED_NAME returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getQUALIFIED_NAMERule(), currentNode); } + { newCompositeNode(grammarAccess.getQUALIFIED_NAMERule()); } iv_ruleQUALIFIED_NAME=ruleQUALIFIED_NAME { $current=$iv_ruleQUALIFIED_NAME.current.getText(); } EOF @@ -532,30 +448,28 @@ entryRuleQUALIFIED_NAME returns [String current=null] // Rule QUALIFIED_NAME ruleQUALIFIED_NAME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: ( this_ID_0=RULE_ID { $current.merge(this_ID_0); } { - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0(), null); + newLeafNode(this_ID_0, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0()); } ( kw='.' { $current.merge(kw); - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getFullStopKeyword_1_0(), null); + newLeafNode(kw, grammarAccess.getQUALIFIED_NAMEAccess().getFullStopKeyword_1_0()); } this_ID_2=RULE_ID { $current.merge(this_ID_2); } { - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_1_1(), null); + newLeafNode(this_ID_2, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_1_1()); } )*) ; @@ -569,7 +483,7 @@ ruleQUALIFIED_NAME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRule // Entry rule entryRuleOseeType entryRuleOseeType returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getOseeTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getOseeTypeRule()); } iv_ruleOseeType=ruleOseeType { $current=$iv_ruleOseeType.current; } EOF @@ -577,49 +491,47 @@ entryRuleOseeType returns [EObject current=null] // Rule OseeType ruleOseeType returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: ( { - currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0(), currentNode); + newCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0()); } this_XArtifactType_0=ruleXArtifactType { $current = $this_XArtifactType_0.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1(), currentNode); + newCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1()); } this_XRelationType_1=ruleXRelationType { $current = $this_XRelationType_1.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2(), currentNode); + newCompositeNode(grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2()); } this_XAttributeType_2=ruleXAttributeType { $current = $this_XAttributeType_2.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3(), currentNode); + newCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3()); } this_XOseeEnumType_3=ruleXOseeEnumType { $current = $this_XOseeEnumType_3.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) ; @@ -631,7 +543,7 @@ ruleOseeType returns [EObject current=null] // Entry rule entryRuleXArtifactType entryRuleXArtifactType returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXArtifactTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getXArtifactTypeRule()); } iv_ruleXArtifactType=ruleXArtifactType { $current=$iv_ruleXArtifactType.current; } EOF @@ -639,159 +551,131 @@ entryRuleXArtifactType returns [EObject current=null] // Rule XArtifactType ruleXArtifactType returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: (( ( lv_abstract_0_0= 'abstract' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0(), "abstract"); + newLeafNode(lv_abstract_0_0, grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "abstract", true, "abstract", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXArtifactTypeRule()); } + setWithLastConsumed($current, "abstract", true, "abstract"); } ) -)? 'artifactType' +)? otherlv_1='artifactType' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1(), null); + newLeafNode(otherlv_1, grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0(), currentNode); + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0()); } lv_name_2_0=ruleARTIFACT_TYPE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "name", - lv_name_2_0, - "ARTIFACT_TYPE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXArtifactTypeRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_2_0, + "ARTIFACT_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) -)( 'extends' +)( otherlv_3='extends' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0(), null); + newLeafNode(otherlv_3, grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXArtifactTypeRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0(), currentNode); + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0()); } ruleARTIFACT_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -)( ',' +)( otherlv_5=',' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0(), null); + newLeafNode(otherlv_5, grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXArtifactTypeRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0(), currentNode); + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0()); } ruleARTIFACT_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -))*)? '{' +))*)? otherlv_7='{' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4(), null); + newLeafNode(otherlv_7, grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4()); } - 'guid' + otherlv_8='guid' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5(), null); + newLeafNode(otherlv_8, grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5()); } ( ( lv_typeGuid_9_0=RULE_STRING { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), "typeGuid"); + newLeafNode(lv_typeGuid_9_0, grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "typeGuid", - lv_typeGuid_9_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXArtifactTypeRule()); } + setWithLastConsumed( + $current, + "typeGuid", + lv_typeGuid_9_0, + "STRING"); } ) )( ( { - currentNode=createCompositeNode(grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0(), currentNode); + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0()); } lv_validAttributeTypes_10_0=ruleXAttributeTypeRef { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "validAttributeTypes", - lv_validAttributeTypes_10_0, - "XAttributeTypeRef", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXArtifactTypeRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "validAttributeTypes", + lv_validAttributeTypes_10_0, + "XAttributeTypeRef"); + afterParserOrEnumRuleCall(); } ) -)* '}' +)* otherlv_11='}' { - createLeafNode(grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8(), null); + newLeafNode(otherlv_11, grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8()); } ) ; @@ -803,7 +687,7 @@ ruleXArtifactType returns [EObject current=null] // Entry rule entryRuleXAttributeTypeRef entryRuleXAttributeTypeRef returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXAttributeTypeRefRule(), currentNode); } + { newCompositeNode(grammarAccess.getXAttributeTypeRefRule()); } iv_ruleXAttributeTypeRef=ruleXAttributeTypeRef { $current=$iv_ruleXAttributeTypeRef.current; } EOF @@ -811,56 +695,47 @@ entryRuleXAttributeTypeRef returns [EObject current=null] // Rule XAttributeTypeRef ruleXAttributeTypeRef returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'attribute' + @after { leaveRule(); }: +( otherlv_0='attribute' { - createLeafNode(grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0()); } ruleATTRIBUTE_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -)( 'branchGuid' +)( otherlv_2='branchGuid' { - createLeafNode(grammarAccess.getXAttributeTypeRefAccess().getBranchGuidKeyword_2_0(), null); + newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeRefAccess().getBranchGuidKeyword_2_0()); } ( ( lv_branchGuid_3_0=RULE_STRING { - createLeafNode(grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0(), "branchGuid"); + newLeafNode(lv_branchGuid_3_0, grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "branchGuid", - lv_branchGuid_3_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); } + setWithLastConsumed( + $current, + "branchGuid", + lv_branchGuid_3_0, + "STRING"); } ) @@ -874,7 +749,7 @@ ruleXAttributeTypeRef returns [EObject current=null] // Entry rule entryRuleXAttributeType entryRuleXAttributeType returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXAttributeTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getXAttributeTypeRule()); } iv_ruleXAttributeType=ruleXAttributeType { $current=$iv_ruleXAttributeType.current; } EOF @@ -882,419 +757,331 @@ entryRuleXAttributeType returns [EObject current=null] // Rule XAttributeType ruleXAttributeType returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'attributeType' + @after { leaveRule(); }: +( otherlv_0='attributeType' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0()); } lv_name_1_0=ruleATTRIBUTE_TYPE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "name", - lv_name_1_0, - "ATTRIBUTE_TYPE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "ATTRIBUTE_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) -)( 'extends' +)( otherlv_2='extends' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0(), null); + newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0()); } lv_baseAttributeType_3_0=ruleAttributeBaseType { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); } - try { - set( - $current, - "baseAttributeType", - lv_baseAttributeType_3_0, - "AttributeBaseType", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "baseAttributeType", + lv_baseAttributeType_3_0, + "AttributeBaseType"); + afterParserOrEnumRuleCall(); } ) -))( 'overrides' +))( otherlv_4='overrides' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0(), null); + newLeafNode(otherlv_4, grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0()); } ruleATTRIBUTE_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -))? '{' +))? otherlv_6='{' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4(), null); + newLeafNode(otherlv_6, grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4()); } - 'guid' + otherlv_7='guid' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getGuidKeyword_5(), null); + newLeafNode(otherlv_7, grammarAccess.getXAttributeTypeAccess().getGuidKeyword_5()); } ( ( lv_typeGuid_8_0=RULE_STRING { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), "typeGuid"); + newLeafNode(lv_typeGuid_8_0, grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "typeGuid", - lv_typeGuid_8_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed( + $current, + "typeGuid", + lv_typeGuid_8_0, + "STRING"); } ) -) 'dataProvider' +) otherlv_9='dataProvider' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7(), null); + newLeafNode(otherlv_9, grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7()); } ( ( ( lv_dataProvider_10_1= 'DefaultAttributeDataProvider' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(), "dataProvider"); + newLeafNode(lv_dataProvider_10_1, grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "dataProvider", lv_dataProvider_10_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed($current, "dataProvider", lv_dataProvider_10_1, null); } | lv_dataProvider_10_2= 'UriAttributeDataProvider' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1(), "dataProvider"); + newLeafNode(lv_dataProvider_10_2, grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "dataProvider", lv_dataProvider_10_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed($current, "dataProvider", lv_dataProvider_10_2, null); } | { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2()); } lv_dataProvider_10_3=ruleQUALIFIED_NAME { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); } - try { - set( - $current, - "dataProvider", - lv_dataProvider_10_3, - "QUALIFIED_NAME", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "dataProvider", + lv_dataProvider_10_3, + "QUALIFIED_NAME"); + afterParserOrEnumRuleCall(); } ) ) -) 'min' +) otherlv_11='min' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMinKeyword_9(), null); + newLeafNode(otherlv_11, grammarAccess.getXAttributeTypeAccess().getMinKeyword_9()); } ( ( lv_min_12_0=RULE_WHOLE_NUM_STR { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(), "min"); + newLeafNode(lv_min_12_0, grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "min", - lv_min_12_0, - "WHOLE_NUM_STR", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed( + $current, + "min", + lv_min_12_0, + "WHOLE_NUM_STR"); } ) -) 'max' +) otherlv_13='max' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11(), null); + newLeafNode(otherlv_13, grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11()); } ( ( ( lv_max_14_1=RULE_WHOLE_NUM_STR { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0(), "max"); + newLeafNode(lv_max_14_1, grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "max", - lv_max_14_1, - "WHOLE_NUM_STR", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed( + $current, + "max", + lv_max_14_1, + "WHOLE_NUM_STR"); } | lv_max_14_2= 'unlimited' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1(), "max"); + newLeafNode(lv_max_14_2, grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "max", lv_max_14_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed($current, "max", lv_max_14_2, null); } ) ) -)( 'taggerId' +)( otherlv_15='taggerId' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0(), null); + newLeafNode(otherlv_15, grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0()); } ( ( ( lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0(), "taggerId"); + newLeafNode(lv_taggerId_16_1, grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "taggerId", lv_taggerId_16_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed($current, "taggerId", lv_taggerId_16_1, null); } | { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1()); } lv_taggerId_16_2=ruleQUALIFIED_NAME { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "taggerId", - lv_taggerId_16_2, - "QUALIFIED_NAME", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "taggerId", + lv_taggerId_16_2, + "QUALIFIED_NAME"); + afterParserOrEnumRuleCall(); } ) ) -))?( 'enumType' +))?( otherlv_17='enumType' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_14_0(), null); + newLeafNode(otherlv_17, grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_14_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0(), currentNode); + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0()); } ruleENUM_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -))?( 'description' +))?( otherlv_19='description' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0(), null); + newLeafNode(otherlv_19, grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0()); } ( ( lv_description_20_0=RULE_STRING { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0(), "description"); + newLeafNode(lv_description_20_0, grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "description", - lv_description_20_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed( + $current, + "description", + lv_description_20_0, + "STRING"); } ) -))?( 'defaultValue' +))?( otherlv_21='defaultValue' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0(), null); + newLeafNode(otherlv_21, grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0()); } ( ( lv_defaultValue_22_0=RULE_STRING { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0(), "defaultValue"); + newLeafNode(lv_defaultValue_22_0, grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "defaultValue", - lv_defaultValue_22_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed( + $current, + "defaultValue", + lv_defaultValue_22_0, + "STRING"); } ) -))?( 'fileExtension' +))?( otherlv_23='fileExtension' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0(), null); + newLeafNode(otherlv_23, grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0()); } ( ( lv_fileExtension_24_0=RULE_STRING { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0(), "fileExtension"); + newLeafNode(lv_fileExtension_24_0, grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "fileExtension", - lv_fileExtension_24_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXAttributeTypeRule()); } + setWithLastConsumed( + $current, + "fileExtension", + lv_fileExtension_24_0, + "STRING"); } ) -))? '}' +))? otherlv_25='}' { - createLeafNode(grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18(), null); + newLeafNode(otherlv_25, grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18()); } ) ; @@ -1306,7 +1093,7 @@ ruleXAttributeType returns [EObject current=null] // Entry rule entryRuleAttributeBaseType entryRuleAttributeBaseType returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getAttributeBaseTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getAttributeBaseTypeRule()); } iv_ruleAttributeBaseType=ruleAttributeBaseType { $current=$iv_ruleAttributeBaseType.current.getText(); } EOF @@ -1314,84 +1101,82 @@ entryRuleAttributeBaseType returns [String current=null] // Rule AttributeBaseType ruleAttributeBaseType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: ( kw='BooleanAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getBooleanAttributeKeyword_0(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getBooleanAttributeKeyword_0()); } | kw='CompressedContentAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getCompressedContentAttributeKeyword_1(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getCompressedContentAttributeKeyword_1()); } | kw='DateAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getDateAttributeKeyword_2(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getDateAttributeKeyword_2()); } | kw='EnumeratedAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getEnumeratedAttributeKeyword_3(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getEnumeratedAttributeKeyword_3()); } | kw='FloatingPointAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getFloatingPointAttributeKeyword_4(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getFloatingPointAttributeKeyword_4()); } | kw='IntegerAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getIntegerAttributeKeyword_5(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getIntegerAttributeKeyword_5()); } | kw='JavaObjectAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getJavaObjectAttributeKeyword_6(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getJavaObjectAttributeKeyword_6()); } | kw='StringAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getStringAttributeKeyword_7(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getStringAttributeKeyword_7()); } | kw='WordAttribute' { $current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getWordAttributeKeyword_8(), null); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getWordAttributeKeyword_8()); } | { - currentNode=createCompositeNode(grammarAccess.getAttributeBaseTypeAccess().getQUALIFIED_NAMEParserRuleCall_9(), currentNode); + newCompositeNode(grammarAccess.getAttributeBaseTypeAccess().getQUALIFIED_NAMEParserRuleCall_9()); } this_QUALIFIED_NAME_9=ruleQUALIFIED_NAME { $current.merge(this_QUALIFIED_NAME_9); } { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) ; @@ -1403,7 +1188,7 @@ ruleAttributeBaseType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeR // Entry rule entryRuleXOseeEnumType entryRuleXOseeEnumType returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXOseeEnumTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getXOseeEnumTypeRule()); } iv_ruleXOseeEnumType=ruleXOseeEnumType { $current=$iv_ruleXOseeEnumType.current; } EOF @@ -1411,98 +1196,78 @@ entryRuleXOseeEnumType returns [EObject current=null] // Rule XOseeEnumType ruleXOseeEnumType returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'oseeEnumType' + @after { leaveRule(); }: +( otherlv_0='oseeEnumType' { - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0()); } lv_name_1_0=ruleENUM_TYPE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "name", - lv_name_1_0, - "ENUM_TYPE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXOseeEnumTypeRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "ENUM_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) -) '{' +) otherlv_2='{' { - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2()); } - 'guid' + otherlv_3='guid' { - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getGuidKeyword_3(), null); + newLeafNode(otherlv_3, grammarAccess.getXOseeEnumTypeAccess().getGuidKeyword_3()); } ( ( lv_typeGuid_4_0=RULE_STRING { - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), "typeGuid"); + newLeafNode(lv_typeGuid_4_0, grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "typeGuid", - lv_typeGuid_4_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXOseeEnumTypeRule()); } + setWithLastConsumed( + $current, + "typeGuid", + lv_typeGuid_4_0, + "STRING"); } ) )( ( { - currentNode=createCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0(), currentNode); + newCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0()); } lv_enumEntries_5_0=ruleXOseeEnumEntry { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "enumEntries", - lv_enumEntries_5_0, - "XOseeEnumEntry", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXOseeEnumTypeRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "enumEntries", + lv_enumEntries_5_0, + "XOseeEnumEntry"); + afterParserOrEnumRuleCall(); } ) -)* '}' +)* otherlv_6='}' { - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6(), null); + newLeafNode(otherlv_6, grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6()); } ) ; @@ -1514,7 +1279,7 @@ ruleXOseeEnumType returns [EObject current=null] // Entry rule entryRuleXOseeEnumEntry entryRuleXOseeEnumEntry returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXOseeEnumEntryRule(), currentNode); } + { newCompositeNode(grammarAccess.getXOseeEnumEntryRule()); } iv_ruleXOseeEnumEntry=ruleXOseeEnumEntry { $current=$iv_ruleXOseeEnumEntry.current; } EOF @@ -1522,36 +1287,28 @@ entryRuleXOseeEnumEntry returns [EObject current=null] // Rule XOseeEnumEntry ruleXOseeEnumEntry returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'entry' + @after { leaveRule(); }: +( otherlv_0='entry' { - createLeafNode(grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0()); } lv_name_1_0=ruleENUM_ENTRY_TYPE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXOseeEnumEntryRule()); } - try { - set( - $current, - "name", - lv_name_1_0, - "ENUM_ENTRY_TYPE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "ENUM_ENTRY_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) @@ -1559,51 +1316,39 @@ ruleXOseeEnumEntry returns [EObject current=null] ( lv_ordinal_2_0=RULE_WHOLE_NUM_STR { - createLeafNode(grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), "ordinal"); + newLeafNode(lv_ordinal_2_0, grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "ordinal", - lv_ordinal_2_0, - "WHOLE_NUM_STR", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); } + setWithLastConsumed( + $current, + "ordinal", + lv_ordinal_2_0, + "WHOLE_NUM_STR"); } ) -)?( 'entryGuid' +)?( otherlv_3='entryGuid' { - createLeafNode(grammarAccess.getXOseeEnumEntryAccess().getEntryGuidKeyword_3_0(), null); + newLeafNode(otherlv_3, grammarAccess.getXOseeEnumEntryAccess().getEntryGuidKeyword_3_0()); } ( ( lv_entryGuid_4_0=RULE_STRING { - createLeafNode(grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), "entryGuid"); + newLeafNode(lv_entryGuid_4_0, grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "entryGuid", - lv_entryGuid_4_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); } + setWithLastConsumed( + $current, + "entryGuid", + lv_entryGuid_4_0, + "STRING"); } ) @@ -1617,7 +1362,7 @@ ruleXOseeEnumEntry returns [EObject current=null] // Entry rule entryRuleXOseeEnumOverride entryRuleXOseeEnumOverride returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXOseeEnumOverrideRule(), currentNode); } + { newCompositeNode(grammarAccess.getXOseeEnumOverrideRule()); } iv_ruleXOseeEnumOverride=ruleXOseeEnumOverride { $current=$iv_ruleXOseeEnumOverride.current; } EOF @@ -1625,83 +1370,68 @@ entryRuleXOseeEnumOverride returns [EObject current=null] // Rule XOseeEnumOverride ruleXOseeEnumOverride returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'overrides enum' + @after { leaveRule(); }: +( otherlv_0='overrides enum' { - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0(), currentNode); + newCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0()); } ruleENUM_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -) '{' +) otherlv_2='{' { - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2()); } ( ( lv_inheritAll_3_0= 'inheritAll' { - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0(), "inheritAll"); + newLeafNode(lv_inheritAll_3_0, grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "inheritAll", true, "inheritAll", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); } + setWithLastConsumed($current, "inheritAll", true, "inheritAll"); } ) )?( ( { - currentNode=createCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0(), currentNode); + newCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0()); } lv_overrideOptions_4_0=ruleOverrideOption { if ($current==null) { - $current = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXOseeEnumOverrideRule()); } - try { - add( - $current, - "overrideOptions", - lv_overrideOptions_4_0, - "OverrideOption", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "overrideOptions", + lv_overrideOptions_4_0, + "OverrideOption"); + afterParserOrEnumRuleCall(); } ) -)* '}' +)* otherlv_5='}' { - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5(), null); + newLeafNode(otherlv_5, grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5()); } ) ; @@ -1713,7 +1443,7 @@ ruleXOseeEnumOverride returns [EObject current=null] // Entry rule entryRuleOverrideOption entryRuleOverrideOption returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getOverrideOptionRule(), currentNode); } + { newCompositeNode(grammarAccess.getOverrideOptionRule()); } iv_ruleOverrideOption=ruleOverrideOption { $current=$iv_ruleOverrideOption.current; } EOF @@ -1721,29 +1451,27 @@ entryRuleOverrideOption returns [EObject current=null] // Rule OverrideOption ruleOverrideOption returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: ( { - currentNode=createCompositeNode(grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0(), currentNode); + newCompositeNode(grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0()); } this_AddEnum_0=ruleAddEnum { $current = $this_AddEnum_0.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1(), currentNode); + newCompositeNode(grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1()); } this_RemoveEnum_1=ruleRemoveEnum { $current = $this_RemoveEnum_1.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) ; @@ -1755,7 +1483,7 @@ ruleOverrideOption returns [EObject current=null] // Entry rule entryRuleAddEnum entryRuleAddEnum returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getAddEnumRule(), currentNode); } + { newCompositeNode(grammarAccess.getAddEnumRule()); } iv_ruleAddEnum=ruleAddEnum { $current=$iv_ruleAddEnum.current; } EOF @@ -1763,36 +1491,28 @@ entryRuleAddEnum returns [EObject current=null] // Rule AddEnum ruleAddEnum returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'add' + @after { leaveRule(); }: +( otherlv_0='add' { - createLeafNode(grammarAccess.getAddEnumAccess().getAddKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getAddEnumAccess().getAddKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0()); } lv_enumEntry_1_0=ruleENUM_ENTRY_TYPE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getAddEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "enumEntry", - lv_enumEntry_1_0, - "ENUM_ENTRY_TYPE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getAddEnumRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "enumEntry", + lv_enumEntry_1_0, + "ENUM_ENTRY_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) @@ -1800,51 +1520,39 @@ ruleAddEnum returns [EObject current=null] ( lv_ordinal_2_0=RULE_WHOLE_NUM_STR { - createLeafNode(grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), "ordinal"); + newLeafNode(lv_ordinal_2_0, grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getAddEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "ordinal", - lv_ordinal_2_0, - "WHOLE_NUM_STR", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getAddEnumRule()); } + setWithLastConsumed( + $current, + "ordinal", + lv_ordinal_2_0, + "WHOLE_NUM_STR"); } ) -)?( 'entryGuid' +)?( otherlv_3='entryGuid' { - createLeafNode(grammarAccess.getAddEnumAccess().getEntryGuidKeyword_3_0(), null); + newLeafNode(otherlv_3, grammarAccess.getAddEnumAccess().getEntryGuidKeyword_3_0()); } ( ( lv_entryGuid_4_0=RULE_STRING { - createLeafNode(grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), "entryGuid"); + newLeafNode(lv_entryGuid_4_0, grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getAddEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "entryGuid", - lv_entryGuid_4_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getAddEnumRule()); } + setWithLastConsumed( + $current, + "entryGuid", + lv_entryGuid_4_0, + "STRING"); } ) @@ -1858,7 +1566,7 @@ ruleAddEnum returns [EObject current=null] // Entry rule entryRuleRemoveEnum entryRuleRemoveEnum returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getRemoveEnumRule(), currentNode); } + { newCompositeNode(grammarAccess.getRemoveEnumRule()); } iv_ruleRemoveEnum=ruleRemoveEnum { $current=$iv_ruleRemoveEnum.current; } EOF @@ -1866,28 +1574,25 @@ entryRuleRemoveEnum returns [EObject current=null] // Rule RemoveEnum ruleRemoveEnum returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'remove' + @after { leaveRule(); }: +( otherlv_0='remove' { - createLeafNode(grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getRemoveEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getRemoveEnumRule()); } } { - currentNode=createCompositeNode(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0(), currentNode); + newCompositeNode(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0()); } ruleENUM_ENTRY_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) @@ -1901,7 +1606,7 @@ ruleRemoveEnum returns [EObject current=null] // Entry rule entryRuleXRelationType entryRuleXRelationType returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXRelationTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getXRelationTypeRule()); } iv_ruleXRelationType=ruleXRelationType { $current=$iv_ruleXRelationType.current; } EOF @@ -1909,226 +1614,186 @@ entryRuleXRelationType returns [EObject current=null] // Rule XRelationType ruleXRelationType returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'relationType' + @after { leaveRule(); }: +( otherlv_0='relationType' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0()); } lv_name_1_0=ruleRELATION_TYPE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); } - try { - set( - $current, - "name", - lv_name_1_0, - "RELATION_TYPE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "RELATION_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) -) '{' +) otherlv_2='{' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2()); } - 'guid' + otherlv_3='guid' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getGuidKeyword_3(), null); + newLeafNode(otherlv_3, grammarAccess.getXRelationTypeAccess().getGuidKeyword_3()); } ( ( lv_typeGuid_4_0=RULE_STRING { - createLeafNode(grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), "typeGuid"); + newLeafNode(lv_typeGuid_4_0, grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "typeGuid", - lv_typeGuid_4_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXRelationTypeRule()); } + setWithLastConsumed( + $current, + "typeGuid", + lv_typeGuid_4_0, + "STRING"); } ) -) 'sideAName' +) otherlv_5='sideAName' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5(), null); + newLeafNode(otherlv_5, grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5()); } ( ( lv_sideAName_6_0=RULE_STRING { - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), "sideAName"); + newLeafNode(lv_sideAName_6_0, grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "sideAName", - lv_sideAName_6_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXRelationTypeRule()); } + setWithLastConsumed( + $current, + "sideAName", + lv_sideAName_6_0, + "STRING"); } ) -) 'sideAArtifactType' +) otherlv_7='sideAArtifactType' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7(), null); + newLeafNode(otherlv_7, grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXRelationTypeRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0(), currentNode); + newCompositeNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0()); } ruleARTIFACT_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -) 'sideBName' +) otherlv_9='sideBName' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9(), null); + newLeafNode(otherlv_9, grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9()); } ( ( lv_sideBName_10_0=RULE_STRING { - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), "sideBName"); + newLeafNode(lv_sideBName_10_0, grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "sideBName", - lv_sideBName_10_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXRelationTypeRule()); } + setWithLastConsumed( + $current, + "sideBName", + lv_sideBName_10_0, + "STRING"); } ) -) 'sideBArtifactType' +) otherlv_11='sideBArtifactType' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11(), null); + newLeafNode(otherlv_11, grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getXRelationTypeRule()); } } { - currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0(), currentNode); + newCompositeNode(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0()); } ruleARTIFACT_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -) 'defaultOrderType' +) otherlv_13='defaultOrderType' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13(), null); + newLeafNode(otherlv_13, grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), currentNode); + newCompositeNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0()); } lv_defaultOrderType_14_0=ruleRelationOrderType { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); } - try { - set( - $current, - "defaultOrderType", - lv_defaultOrderType_14_0, - "RelationOrderType", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "defaultOrderType", + lv_defaultOrderType_14_0, + "RelationOrderType"); + afterParserOrEnumRuleCall(); } ) -) 'multiplicity' +) otherlv_15='multiplicity' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15(), null); + newLeafNode(otherlv_15, grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(), currentNode); + newCompositeNode(grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0()); } lv_multiplicity_16_0=ruleRelationMultiplicityEnum { if ($current==null) { - $current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "multiplicity", - lv_multiplicity_16_0, - "RelationMultiplicityEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "multiplicity", + lv_multiplicity_16_0, + "RelationMultiplicityEnum"); + afterParserOrEnumRuleCall(); } ) -) '}' +) otherlv_17='}' { - createLeafNode(grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17(), null); + newLeafNode(otherlv_17, grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17()); } ) ; @@ -2140,7 +1805,7 @@ ruleXRelationType returns [EObject current=null] // Entry rule entryRuleRelationOrderType entryRuleRelationOrderType returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getRelationOrderTypeRule(), currentNode); } + { newCompositeNode(grammarAccess.getRelationOrderTypeRule()); } iv_ruleRelationOrderType=ruleRelationOrderType { $current=$iv_ruleRelationOrderType.current.getText(); } EOF @@ -2148,30 +1813,28 @@ entryRuleRelationOrderType returns [String current=null] // Rule RelationOrderType ruleRelationOrderType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: ( kw='Lexicographical_Ascending' { $current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getLexicographical_AscendingKeyword_0(), null); + newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_AscendingKeyword_0()); } | kw='Lexicographical_Descending' { $current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getLexicographical_DescendingKeyword_1(), null); + newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_DescendingKeyword_1()); } | kw='Unordered' { $current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2(), null); + newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2()); } | this_ID_3=RULE_ID { @@ -2179,7 +1842,7 @@ ruleRelationOrderType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeR } { - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3(), null); + newLeafNode(this_ID_3, grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3()); } ) ; @@ -2191,7 +1854,7 @@ ruleRelationOrderType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeR // Entry rule entryRuleARTIFACT_INSTANCE_REFERENCE entryRuleARTIFACT_INSTANCE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCERule()); } iv_ruleARTIFACT_INSTANCE_REFERENCE=ruleARTIFACT_INSTANCE_REFERENCE { $current=$iv_ruleARTIFACT_INSTANCE_REFERENCE.current.getText(); } EOF @@ -2199,17 +1862,15 @@ entryRuleARTIFACT_INSTANCE_REFERENCE returns [String current=null] // Rule ARTIFACT_INSTANCE_REFERENCE ruleARTIFACT_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getARTIFACT_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -2221,7 +1882,7 @@ ruleARTIFACT_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new Antl // Entry rule entryRuleXArtifactRef entryRuleXArtifactRef returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXArtifactRefRule(), currentNode); } + { newCompositeNode(grammarAccess.getXArtifactRefRule()); } iv_ruleXArtifactRef=ruleXArtifactRef { $current=$iv_ruleXArtifactRef.current; } EOF @@ -2229,70 +1890,56 @@ entryRuleXArtifactRef returns [EObject current=null] // Rule XArtifactRef ruleXArtifactRef returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'artifact' + @after { leaveRule(); }: +( otherlv_0='artifact' { - createLeafNode(grammarAccess.getXArtifactRefAccess().getArtifactKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXArtifactRefAccess().getArtifactKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0()); } lv_name_1_0=ruleARTIFACT_INSTANCE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXArtifactRefRule()); } - try { - set( - $current, - "name", - lv_name_1_0, - "ARTIFACT_INSTANCE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "ARTIFACT_INSTANCE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) -) 'artGuid' +) otherlv_2='artGuid' { - createLeafNode(grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2()); } ( ( lv_guid_3_0=RULE_STRING { - createLeafNode(grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + newLeafNode(lv_guid_3_0, grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXArtifactRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "guid", - lv_guid_3_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXArtifactRefRule()); } + setWithLastConsumed( + $current, + "guid", + lv_guid_3_0, + "STRING"); } ) -) ';' +) otherlv_4=';' { - createLeafNode(grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4(), null); + newLeafNode(otherlv_4, grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4()); } ) ; @@ -2304,7 +1951,7 @@ ruleXArtifactRef returns [EObject current=null] // Entry rule entryRuleBRANCH_INSTANCE_REFERENCE entryRuleBRANCH_INSTANCE_REFERENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getBRANCH_INSTANCE_REFERENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getBRANCH_INSTANCE_REFERENCERule()); } iv_ruleBRANCH_INSTANCE_REFERENCE=ruleBRANCH_INSTANCE_REFERENCE { $current=$iv_ruleBRANCH_INSTANCE_REFERENCE.current.getText(); } EOF @@ -2312,17 +1959,15 @@ entryRuleBRANCH_INSTANCE_REFERENCE returns [String current=null] // Rule BRANCH_INSTANCE_REFERENCE ruleBRANCH_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getBRANCH_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getBRANCH_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -2334,7 +1979,7 @@ ruleBRANCH_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrD // Entry rule entryRuleXBranchRef entryRuleXBranchRef returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getXBranchRefRule(), currentNode); } + { newCompositeNode(grammarAccess.getXBranchRefRule()); } iv_ruleXBranchRef=ruleXBranchRef { $current=$iv_ruleXBranchRef.current; } EOF @@ -2342,70 +1987,56 @@ entryRuleXBranchRef returns [EObject current=null] // Rule XBranchRef ruleXBranchRef returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'branch' + @after { leaveRule(); }: +( otherlv_0='branch' { - createLeafNode(grammarAccess.getXBranchRefAccess().getBranchKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getXBranchRefAccess().getBranchKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0()); } lv_name_1_0=ruleBRANCH_INSTANCE_REFERENCE { if ($current==null) { - $current = factory.create(grammarAccess.getXBranchRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getXBranchRefRule()); } - try { - set( - $current, - "name", - lv_name_1_0, - "BRANCH_INSTANCE_REFERENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "BRANCH_INSTANCE_REFERENCE"); + afterParserOrEnumRuleCall(); } ) -) 'branchGuid' +) otherlv_2='branchGuid' { - createLeafNode(grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2()); } ( ( lv_guid_3_0=RULE_STRING { - createLeafNode(grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + newLeafNode(lv_guid_3_0, grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getXBranchRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "guid", - lv_guid_3_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getXBranchRefRule()); } + setWithLastConsumed( + $current, + "guid", + lv_guid_3_0, + "STRING"); } ) -) ';' +) otherlv_4=';' { - createLeafNode(grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4(), null); + newLeafNode(otherlv_4, grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4()); } ) ; @@ -2417,7 +2048,7 @@ ruleXBranchRef returns [EObject current=null] // Entry rule entryRuleACCESS_CONTEXT_TYPE_REFRENCE entryRuleACCESS_CONTEXT_TYPE_REFRENCE returns [String current=null] : - { currentNode = createCompositeNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCERule(), currentNode); } + { newCompositeNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCERule()); } iv_ruleACCESS_CONTEXT_TYPE_REFRENCE=ruleACCESS_CONTEXT_TYPE_REFRENCE { $current=$iv_ruleACCESS_CONTEXT_TYPE_REFRENCE.current.getText(); } EOF @@ -2425,17 +2056,15 @@ entryRuleACCESS_CONTEXT_TYPE_REFRENCE returns [String current=null] // Rule ACCESS_CONTEXT_TYPE_REFRENCE ruleACCESS_CONTEXT_TYPE_REFRENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: this_STRING_0=RULE_STRING { $current.merge(this_STRING_0); } { - createLeafNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(this_STRING_0, grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCEAccess().getSTRINGTerminalRuleCall()); } ; @@ -2447,7 +2076,7 @@ ruleACCESS_CONTEXT_TYPE_REFRENCE returns [AntlrDatatypeRuleToken current=new Ant // Entry rule entryRuleAccessContext entryRuleAccessContext returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getAccessContextRule(), currentNode); } + { newCompositeNode(grammarAccess.getAccessContextRule()); } iv_ruleAccessContext=ruleAccessContext { $current=$iv_ruleAccessContext.current; } EOF @@ -2455,136 +2084,114 @@ entryRuleAccessContext returns [EObject current=null] // Rule AccessContext ruleAccessContext returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'accessContext' + @after { leaveRule(); }: +( otherlv_0='accessContext' { - createLeafNode(grammarAccess.getAccessContextAccess().getAccessContextKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getAccessContextAccess().getAccessContextKeyword_0()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0(), currentNode); + newCompositeNode(grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0()); } lv_name_1_0=ruleACCESS_CONTEXT_TYPE_REFRENCE { if ($current==null) { - $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getAccessContextRule()); } - try { - set( - $current, - "name", - lv_name_1_0, - "ACCESS_CONTEXT_TYPE_REFRENCE", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "name", + lv_name_1_0, + "ACCESS_CONTEXT_TYPE_REFRENCE"); + afterParserOrEnumRuleCall(); } ) -)( 'extends' +)( otherlv_2='extends' { - createLeafNode(grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0(), null); + newLeafNode(otherlv_2, grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getAccessContextRule()); } } { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0(), currentNode); + newCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0()); } ruleACCESS_CONTEXT_TYPE_REFRENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -)( ',' +)( otherlv_4=',' { - createLeafNode(grammarAccess.getAccessContextAccess().getCommaKeyword_2_2_0(), null); + newLeafNode(otherlv_4, grammarAccess.getAccessContextAccess().getCommaKeyword_2_2_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getAccessContextRule()); } } { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0(), currentNode); + newCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0()); } ruleACCESS_CONTEXT_TYPE_REFRENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -))*)? '{' +))*)? otherlv_6='{' { - createLeafNode(grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3(), null); + newLeafNode(otherlv_6, grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3()); } - 'guid' + otherlv_7='guid' { - createLeafNode(grammarAccess.getAccessContextAccess().getGuidKeyword_4(), null); + newLeafNode(otherlv_7, grammarAccess.getAccessContextAccess().getGuidKeyword_4()); } ( ( lv_guid_8_0=RULE_STRING { - createLeafNode(grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(), "guid"); + newLeafNode(lv_guid_8_0, grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0()); } { if ($current==null) { - $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "guid", - lv_guid_8_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElement(grammarAccess.getAccessContextRule()); } + setWithLastConsumed( + $current, + "guid", + lv_guid_8_0, + "STRING"); } ) -) ';' +) otherlv_9=';' { - createLeafNode(grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(), null); + newLeafNode(otherlv_9, grammarAccess.getAccessContextAccess().getSemicolonKeyword_6()); } (( ( { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0(), currentNode); + newCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0()); } lv_accessRules_10_0=ruleObjectRestriction { if ($current==null) { - $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getAccessContextRule()); } - try { - add( - $current, - "accessRules", - lv_accessRules_10_0, - "ObjectRestriction", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "accessRules", + lv_accessRules_10_0, + "ObjectRestriction"); + afterParserOrEnumRuleCall(); } ) @@ -2592,30 +2199,24 @@ ruleAccessContext returns [EObject current=null] |( ( { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0(), currentNode); + newCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0()); } lv_hierarchyRestrictions_11_0=ruleHierarchyRestriction { if ($current==null) { - $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "hierarchyRestrictions", - lv_hierarchyRestrictions_11_0, - "HierarchyRestriction", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getAccessContextRule()); } - currentNode = currentNode.getParent(); + add( + $current, + "hierarchyRestrictions", + lv_hierarchyRestrictions_11_0, + "HierarchyRestriction"); + afterParserOrEnumRuleCall(); } ) -))+ '}' +))+ otherlv_12='}' { - createLeafNode(grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8(), null); + newLeafNode(otherlv_12, grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8()); } ) ; @@ -2627,7 +2228,7 @@ ruleAccessContext returns [EObject current=null] // Entry rule entryRuleHierarchyRestriction entryRuleHierarchyRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getHierarchyRestrictionRule(), currentNode); } + { newCompositeNode(grammarAccess.getHierarchyRestrictionRule()); } iv_ruleHierarchyRestriction=ruleHierarchyRestriction { $current=$iv_ruleHierarchyRestriction.current; } EOF @@ -2635,62 +2236,53 @@ entryRuleHierarchyRestriction returns [EObject current=null] // Rule HierarchyRestriction ruleHierarchyRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'childrenOf' + @after { leaveRule(); }: +( otherlv_0='childrenOf' { - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0(), null); + newLeafNode(otherlv_0, grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getHierarchyRestrictionRule()); } } { - currentNode=createCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0(), currentNode); + newCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0()); } ruleARTIFACT_INSTANCE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -) '{' +) otherlv_2='{' { - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2()); } ( ( { - currentNode=createCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0(), currentNode); + newCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0()); } lv_accessRules_3_0=ruleObjectRestriction { if ($current==null) { - $current = factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getHierarchyRestrictionRule()); } - try { - add( - $current, - "accessRules", - lv_accessRules_3_0, - "ObjectRestriction", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + add( + $current, + "accessRules", + lv_accessRules_3_0, + "ObjectRestriction"); + afterParserOrEnumRuleCall(); } ) -)+ '}' +)+ otherlv_4='}' { - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4(), null); + newLeafNode(otherlv_4, grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4()); } ) ; @@ -2702,7 +2294,7 @@ ruleHierarchyRestriction returns [EObject current=null] // Entry rule entryRuleObjectRestriction entryRuleObjectRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getObjectRestrictionRule(), currentNode); } + { newCompositeNode(grammarAccess.getObjectRestrictionRule()); } iv_ruleObjectRestriction=ruleObjectRestriction { $current=$iv_ruleObjectRestriction.current; } EOF @@ -2710,49 +2302,47 @@ entryRuleObjectRestriction returns [EObject current=null] // Rule ObjectRestriction ruleObjectRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: ( { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0(), currentNode); + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0()); } this_ArtifactInstanceRestriction_0=ruleArtifactInstanceRestriction { $current = $this_ArtifactInstanceRestriction_0.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1(), currentNode); + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1()); } this_ArtifactTypeRestriction_1=ruleArtifactTypeRestriction { $current = $this_ArtifactTypeRestriction_1.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2(), currentNode); + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2()); } this_RelationTypeRestriction_2=ruleRelationTypeRestriction { $current = $this_RelationTypeRestriction_2.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } | { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3(), currentNode); + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3()); } this_AttributeTypeRestriction_3=ruleAttributeTypeRestriction { $current = $this_AttributeTypeRestriction_3.current; - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) ; @@ -2764,7 +2354,7 @@ ruleObjectRestriction returns [EObject current=null] // Entry rule entryRuleArtifactInstanceRestriction entryRuleArtifactInstanceRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getArtifactInstanceRestrictionRule(), currentNode); } + { newCompositeNode(grammarAccess.getArtifactInstanceRestrictionRule()); } iv_ruleArtifactInstanceRestriction=ruleArtifactInstanceRestriction { $current=$iv_ruleArtifactInstanceRestriction.current; } EOF @@ -2772,62 +2362,53 @@ entryRuleArtifactInstanceRestriction returns [EObject current=null] // Rule ArtifactInstanceRestriction ruleArtifactInstanceRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: (( ( { - currentNode=createCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + newCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); } lv_permission_0_0=ruleAccessPermissionEnum { if ($current==null) { - $current = factory.create(grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "permission", - lv_permission_0_0, - "AccessPermissionEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getArtifactInstanceRestrictionRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); } ) -) 'edit' +) otherlv_1='edit' { - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1(), null); + newLeafNode(otherlv_1, grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1()); } - 'artifact' + otherlv_2='artifact' { - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getArtifactInstanceRestrictionRule()); } } { - currentNode=createCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0(), currentNode); + newCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0()); } ruleARTIFACT_INSTANCE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -) ';' +) otherlv_4=';' { - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4(), null); + newLeafNode(otherlv_4, grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4()); } ) ; @@ -2839,7 +2420,7 @@ ruleArtifactInstanceRestriction returns [EObject current=null] // Entry rule entryRuleArtifactTypeRestriction entryRuleArtifactTypeRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getArtifactTypeRestrictionRule(), currentNode); } + { newCompositeNode(grammarAccess.getArtifactTypeRestrictionRule()); } iv_ruleArtifactTypeRestriction=ruleArtifactTypeRestriction { $current=$iv_ruleArtifactTypeRestriction.current; } EOF @@ -2847,62 +2428,53 @@ entryRuleArtifactTypeRestriction returns [EObject current=null] // Rule ArtifactTypeRestriction ruleArtifactTypeRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: (( ( { - currentNode=createCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + newCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); } lv_permission_0_0=ruleAccessPermissionEnum { if ($current==null) { - $current = factory.create(grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getArtifactTypeRestrictionRule()); } - try { - set( - $current, - "permission", - lv_permission_0_0, - "AccessPermissionEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); } ) -) 'edit' +) otherlv_1='edit' { - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1(), null); + newLeafNode(otherlv_1, grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1()); } - 'artifactType' + otherlv_2='artifactType' { - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getArtifactTypeRestrictionRule()); } } { - currentNode=createCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0(), currentNode); + newCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0()); } ruleARTIFACT_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -) ';' +) otherlv_4=';' { - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4(), null); + newLeafNode(otherlv_4, grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4()); } ) ; @@ -2914,7 +2486,7 @@ ruleArtifactTypeRestriction returns [EObject current=null] // Entry rule entryRuleAttributeTypeRestriction entryRuleAttributeTypeRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getAttributeTypeRestrictionRule(), currentNode); } + { newCompositeNode(grammarAccess.getAttributeTypeRestrictionRule()); } iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction { $current=$iv_ruleAttributeTypeRestriction.current; } EOF @@ -2922,86 +2494,76 @@ entryRuleAttributeTypeRestriction returns [EObject current=null] // Rule AttributeTypeRestriction ruleAttributeTypeRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: (( ( { - currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); } lv_permission_0_0=ruleAccessPermissionEnum { if ($current==null) { - $current = factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "permission", - lv_permission_0_0, - "AccessPermissionEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getAttributeTypeRestrictionRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); } ) -) 'edit' +) otherlv_1='edit' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1(), null); + newLeafNode(otherlv_1, grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1()); } - 'attributeType' + otherlv_2='attributeType' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); } } { - currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0(), currentNode); + newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0()); } ruleATTRIBUTE_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -)( 'of' +)( otherlv_4='of' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0(), null); + newLeafNode(otherlv_4, grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0()); } - 'artifactType' + otherlv_5='artifactType' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1(), null); + newLeafNode(otherlv_5, grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); } } { - currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0(), currentNode); + newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0()); } ruleARTIFACT_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) -))? ';' +))? otherlv_7=';' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5(), null); + newLeafNode(otherlv_7, grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5()); } ) ; @@ -3013,7 +2575,7 @@ ruleAttributeTypeRestriction returns [EObject current=null] // Entry rule entryRuleRelationTypeRestriction entryRuleRelationTypeRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getRelationTypeRestrictionRule(), currentNode); } + { newCompositeNode(grammarAccess.getRelationTypeRestrictionRule()); } iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction { $current=$iv_ruleRelationTypeRestriction.current; } EOF @@ -3021,86 +2583,71 @@ entryRuleRelationTypeRestriction returns [EObject current=null] // Rule RelationTypeRestriction ruleRelationTypeRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); + @init { enterRule(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: + @after { leaveRule(); }: (( ( { - currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); } lv_permission_0_0=ruleAccessPermissionEnum { if ($current==null) { - $current = factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); + $current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); } - try { - set( - $current, - "permission", - lv_permission_0_0, - "AccessPermissionEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + set( + $current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); } ) -) 'edit' +) otherlv_1='edit' { - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1(), null); + newLeafNode(otherlv_1, grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1()); } - 'relationType' + otherlv_2='relationType' { - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2(), null); + newLeafNode(otherlv_2, grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2()); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); + $current = createModelElement(grammarAccess.getRelationTypeRestrictionRule()); } } { - currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0(), currentNode); + newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0()); } ruleRELATION_TYPE_REFERENCE { - currentNode = currentNode.getParent(); + afterParserOrEnumRuleCall(); } ) )( ( { - currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(), currentNode); + newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0()); } lv_restrictedToSide_4_0=ruleXRelationSideEnum { if ($current==null) { - $current = factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "restrictedToSide", - lv_restrictedToSide_4_0, - "XRelationSideEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); + $current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); } - currentNode = currentNode.getParent(); + set( + $current, + "restrictedToSide", + lv_restrictedToSide_4_0, + "XRelationSideEnum"); + afterParserOrEnumRuleCall(); } ) -) ';' +) otherlv_5=';' { - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5(), null); + newLeafNode(otherlv_5, grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5()); } ) ; @@ -3111,32 +2658,30 @@ ruleRelationTypeRestriction returns [EObject current=null] // Rule RelationMultiplicityEnum ruleRelationMultiplicityEnum returns [Enumerator current=null] - @init { setCurrentLookahead(); resetLookahead(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( 'ONE_TO_ONE' + @init { enterRule(); } + @after { leaveRule(); }: +(( enumLiteral_0='ONE_TO_ONE' { $current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0(), null); + newLeafNode(enumLiteral_0, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0()); } ) - |( 'ONE_TO_MANY' + |( enumLiteral_1='ONE_TO_MANY' { $current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1(), null); + newLeafNode(enumLiteral_1, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1()); } ) - |( 'MANY_TO_ONE' + |( enumLiteral_2='MANY_TO_ONE' { $current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2(), null); + newLeafNode(enumLiteral_2, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2()); } ) - |( 'MANY_TO_MANY' + |( enumLiteral_3='MANY_TO_MANY' { $current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3(), null); + newLeafNode(enumLiteral_3, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3()); } )); @@ -3144,20 +2689,18 @@ ruleRelationMultiplicityEnum returns [Enumerator current=null] // Rule AccessPermissionEnum ruleAccessPermissionEnum returns [Enumerator current=null] - @init { setCurrentLookahead(); resetLookahead(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( 'ALLOW' + @init { enterRule(); } + @after { leaveRule(); }: +(( enumLiteral_0='ALLOW' { $current = grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0(), null); + newLeafNode(enumLiteral_0, grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0()); } ) - |( 'DENY' + |( enumLiteral_1='DENY' { $current = grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1(), null); + newLeafNode(enumLiteral_1, grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1()); } )); @@ -3165,26 +2708,24 @@ ruleAccessPermissionEnum returns [Enumerator current=null] // Rule XRelationSideEnum ruleXRelationSideEnum returns [Enumerator current=null] - @init { setCurrentLookahead(); resetLookahead(); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( 'SIDE_A' + @init { enterRule(); } + @after { leaveRule(); }: +(( enumLiteral_0='SIDE_A' { $current = grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0(), null); + newLeafNode(enumLiteral_0, grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0()); } ) - |( 'SIDE_B' + |( enumLiteral_1='SIDE_B' { $current = grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1(), null); + newLeafNode(enumLiteral_1, grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1()); } ) - |( 'BOTH' + |( enumLiteral_2='BOTH' { $current = grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2(), null); + newLeafNode(enumLiteral_2, grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2()); } )); @@ -3196,7 +2737,7 @@ RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; RULE_INT : ('0'..'9')+; -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); +RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; 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 index ec59b98d675..465d04ef674 100644 --- 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 @@ -1,11 +1,79 @@ +T__68=68 +T__69=69 RULE_ID=5 -RULE_STRING=4 -RULE_WHOLE_NUM_STR=6 +T__66=66 +T__67=67 +T__64=64 +T__29=29 +T__65=65 +T__28=28 +T__62=62 +T__27=27 +T__63=63 +T__26=26 +T__25=25 +T__24=24 +T__23=23 +T__22=22 RULE_ANY_OTHER=11 +T__21=21 +T__20=20 +T__61=61 +T__60=60 +T__55=55 +T__56=56 +T__19=19 +T__57=57 +T__58=58 +T__16=16 +T__51=51 +T__52=52 +T__15=15 +T__53=53 +T__18=18 +T__54=54 +T__17=17 +T__12=12 +T__14=14 +T__13=13 +T__59=59 RULE_INT=7 -RULE_WS=10 +T__50=50 +T__42=42 +T__43=43 +T__40=40 +T__41=41 +T__46=46 +T__47=47 +T__44=44 +T__45=45 +RULE_WHOLE_NUM_STR=6 +T__48=48 +T__49=49 RULE_SL_COMMENT=9 RULE_ML_COMMENT=8 +T__30=30 +T__31=31 +RULE_STRING=4 +T__32=32 +T__71=71 +T__33=33 +T__72=72 +T__34=34 +T__35=35 +T__70=70 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +RULE_WS=10 +T__76=76 +T__75=75 +T__74=74 +T__73=73 +T__79=79 +T__78=78 +T__77=77 'branch'=66 'remove'=52 'WordAttribute'=45 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 index 4fbeee2aa15..afb2b2f62be 100644 --- 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 @@ -1,3123 +1,3642 @@ -/******************************************************************************* - * Copyright (c) 2010 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; -// Hack: Use our own Lexer superclass by means of import. +// 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.antlr.runtime.BaseRecognizer; -import org.antlr.runtime.CharStream; -import org.antlr.runtime.DFA; -import org.antlr.runtime.EarlyExitException; -import org.antlr.runtime.MismatchedSetException; -import org.antlr.runtime.NoViableAltException; -import org.antlr.runtime.RecognitionException; 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 T75 = 75; - public static final int T76 = 76; - public static final int T73 = 73; - public static final int RULE_ID = 5; - public static final int T74 = 74; - public static final int T79 = 79; - public static final int T77 = 77; - public static final int T78 = 78; - public static final int RULE_ANY_OTHER = 11; - public static final int T29 = 29; - public static final int T28 = 28; - public static final int T27 = 27; - public static final int T26 = 26; - public static final int T25 = 25; - public static final int EOF = -1; - public static final int T24 = 24; - public static final int T23 = 23; - public static final int T22 = 22; - public static final int T72 = 72; - public static final int T21 = 21; - public static final int T71 = 71; - public static final int T20 = 20; - public static final int T70 = 70; - public static final int T62 = 62; - public static final int T63 = 63; - public static final int T64 = 64; - public static final int T65 = 65; - public static final int T66 = 66; - public static final int T67 = 67; - public static final int T68 = 68; - public static final int T69 = 69; - public static final int RULE_INT = 7; - public static final int T38 = 38; - public static final int T37 = 37; - public static final int T39 = 39; - public static final int T34 = 34; - public static final int T33 = 33; - public static final int T36 = 36; - public static final int T35 = 35; - public static final int T30 = 30; - public static final int T61 = 61; - public static final int T32 = 32; - public static final int T60 = 60; - public static final int T31 = 31; - public static final int RULE_WHOLE_NUM_STR = 6; - public static final int T49 = 49; - public static final int T48 = 48; - public static final int T43 = 43; - public static final int Tokens = 80; - public static final int RULE_SL_COMMENT = 9; - public static final int T42 = 42; - public static final int T41 = 41; - public static final int T40 = 40; - public static final int T47 = 47; - public static final int T46 = 46; - public static final int T45 = 45; - public static final int RULE_ML_COMMENT = 8; - public static final int T44 = 44; - public static final int RULE_STRING = 4; - public static final int T50 = 50; - public static final int T59 = 59; - public static final int T12 = 12; - public static final int T13 = 13; - public static final int T14 = 14; - public static final int T52 = 52; - public static final int T15 = 15; - public static final int RULE_WS = 10; - public static final int T51 = 51; - public static final int T16 = 16; - public static final int T54 = 54; - public static final int T17 = 17; - public static final int T53 = 53; - public static final int T18 = 18; - public static final int T56 = 56; - public static final int T19 = 19; - public static final int T55 = 55; - public static final int T58 = 58; - public static final int T57 = 57; - - public InternalOseeDslLexer() { - ; - } - - public InternalOseeDslLexer(CharStream input) { - super(input); - } - - public String getGrammarFileName() { - return "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g"; - } - - // $ANTLR start T12 - public final void mT12() throws RecognitionException { - try { - int _type = T12; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:10:5: ( 'import' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:10:7: 'import' - { - match("import"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T12 - - // $ANTLR start T13 - public final void mT13() throws RecognitionException { - try { - int _type = T13; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:11:5: ( '.' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:11:7: '.' - { - match('.'); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T13 - - // $ANTLR start T14 - public final void mT14() throws RecognitionException { - try { - int _type = T14; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:12:5: ( 'abstract' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:12:7: 'abstract' - { - match("abstract"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T14 - - // $ANTLR start T15 - public final void mT15() throws RecognitionException { - try { - int _type = T15; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:13:5: ( 'artifactType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:13:7: 'artifactType' - { - match("artifactType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T15 - - // $ANTLR start T16 - public final void mT16() throws RecognitionException { - try { - int _type = T16; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:14:5: ( 'extends' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:14:7: 'extends' - { - match("extends"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T16 - - // $ANTLR start T17 - public final void mT17() throws RecognitionException { - try { - int _type = T17; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:15:5: ( ',' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:15:7: ',' - { - match(','); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T17 - - // $ANTLR start T18 - public final void mT18() throws RecognitionException { - try { - int _type = T18; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:16:5: ( '{' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:16:7: '{' - { - match('{'); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T18 - - // $ANTLR start T19 - public final void mT19() throws RecognitionException { - try { - int _type = T19; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:17:5: ( 'guid' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:17:7: 'guid' - { - match("guid"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T19 - - // $ANTLR start T20 - public final void mT20() throws RecognitionException { - try { - int _type = T20; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:18:5: ( '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:18:7: '}' - { - match('}'); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T20 - - // $ANTLR start T21 - public final void mT21() throws RecognitionException { - try { - int _type = T21; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:19:5: ( 'attribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:19:7: 'attribute' - { - match("attribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T21 - - // $ANTLR start T22 - public final void mT22() throws RecognitionException { - try { - int _type = T22; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:20:5: ( 'branchGuid' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:20:7: 'branchGuid' - { - match("branchGuid"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T22 - - // $ANTLR start T23 - public final void mT23() throws RecognitionException { - try { - int _type = T23; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:21:5: ( 'attributeType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:21:7: 'attributeType' - { - match("attributeType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T23 - - // $ANTLR start T24 - public final void mT24() throws RecognitionException { - try { - int _type = T24; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:22:5: ( 'overrides' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:22:7: 'overrides' - { - match("overrides"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T24 - - // $ANTLR start T25 - public final void mT25() throws RecognitionException { - try { - int _type = T25; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:23:5: ( 'dataProvider' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:23:7: 'dataProvider' - { - match("dataProvider"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T25 - - // $ANTLR start T26 - public final void mT26() throws RecognitionException { - try { - int _type = T26; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:24:5: ( 'DefaultAttributeDataProvider' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:24:7: 'DefaultAttributeDataProvider' - { - match("DefaultAttributeDataProvider"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T26 - - // $ANTLR start T27 - public final void mT27() throws RecognitionException { - try { - int _type = T27; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:25:5: ( 'UriAttributeDataProvider' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:25:7: 'UriAttributeDataProvider' - { - match("UriAttributeDataProvider"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T27 - - // $ANTLR start T28 - public final void mT28() throws RecognitionException { - try { - int _type = T28; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:26:5: ( 'min' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:26:7: 'min' - { - match("min"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T28 - - // $ANTLR start T29 - public final void mT29() throws RecognitionException { - try { - int _type = T29; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:27:5: ( 'max' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:27:7: 'max' - { - match("max"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T29 - - // $ANTLR start T30 - public final void mT30() throws RecognitionException { - try { - int _type = T30; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:28:5: ( 'unlimited' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:28:7: 'unlimited' - { - match("unlimited"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T30 - - // $ANTLR start T31 - public final void mT31() throws RecognitionException { - try { - int _type = T31; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:29:5: ( 'taggerId' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:29:7: 'taggerId' - { - match("taggerId"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T31 - - // $ANTLR start T32 - public final void mT32() throws RecognitionException { - try { - int _type = T32; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:30:5: ( 'DefaultAttributeTaggerProvider' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:30:7: 'DefaultAttributeTaggerProvider' - { - match("DefaultAttributeTaggerProvider"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T32 - - // $ANTLR start T33 - public final void mT33() throws RecognitionException { - try { - int _type = T33; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:31:5: ( 'enumType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:31:7: 'enumType' - { - match("enumType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T33 - - // $ANTLR start T34 - public final void mT34() throws RecognitionException { - try { - int _type = T34; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:32:5: ( 'description' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:32:7: 'description' - { - match("description"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T34 - - // $ANTLR start T35 - public final void mT35() throws RecognitionException { - try { - int _type = T35; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:33:5: ( 'defaultValue' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:33:7: 'defaultValue' - { - match("defaultValue"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T35 - - // $ANTLR start T36 - public final void mT36() throws RecognitionException { - try { - int _type = T36; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:34:5: ( 'fileExtension' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:34:7: 'fileExtension' - { - match("fileExtension"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T36 - - // $ANTLR start T37 - public final void mT37() throws RecognitionException { - try { - int _type = T37; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:35:5: ( 'BooleanAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:35:7: 'BooleanAttribute' - { - match("BooleanAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T37 - - // $ANTLR start T38 - public final void mT38() throws RecognitionException { - try { - int _type = T38; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:36:5: ( 'CompressedContentAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:36:7: 'CompressedContentAttribute' - { - match("CompressedContentAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T38 - - // $ANTLR start T39 - public final void mT39() throws RecognitionException { - try { - int _type = T39; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:37:5: ( 'DateAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:37:7: 'DateAttribute' - { - match("DateAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T39 - - // $ANTLR start T40 - public final void mT40() throws RecognitionException { - try { - int _type = T40; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:38:5: ( 'EnumeratedAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:38:7: 'EnumeratedAttribute' - { - match("EnumeratedAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T40 - - // $ANTLR start T41 - public final void mT41() throws RecognitionException { - try { - int _type = T41; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:39:5: ( 'FloatingPointAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:39:7: 'FloatingPointAttribute' - { - match("FloatingPointAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T41 - - // $ANTLR start T42 - public final void mT42() throws RecognitionException { - try { - int _type = T42; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:40:5: ( 'IntegerAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:40:7: 'IntegerAttribute' - { - match("IntegerAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T42 - - // $ANTLR start T43 - public final void mT43() throws RecognitionException { - try { - int _type = T43; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:41:5: ( 'JavaObjectAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:41:7: 'JavaObjectAttribute' - { - match("JavaObjectAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T43 - - // $ANTLR start T44 - public final void mT44() throws RecognitionException { - try { - int _type = T44; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:42:5: ( 'StringAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:42:7: 'StringAttribute' - { - match("StringAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T44 - - // $ANTLR start T45 - public final void mT45() throws RecognitionException { - try { - int _type = T45; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:43:5: ( 'WordAttribute' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:43:7: 'WordAttribute' - { - match("WordAttribute"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T45 - - // $ANTLR start T46 - public final void mT46() throws RecognitionException { - try { - int _type = T46; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:44:5: ( 'oseeEnumType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:44:7: 'oseeEnumType' - { - match("oseeEnumType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T46 - - // $ANTLR start T47 - public final void mT47() throws RecognitionException { - try { - int _type = T47; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:45:5: ( 'entry' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:45:7: 'entry' - { - match("entry"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T47 - - // $ANTLR start T48 - public final void mT48() throws RecognitionException { - try { - int _type = T48; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:46:5: ( 'entryGuid' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:46:7: 'entryGuid' - { - match("entryGuid"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T48 - - // $ANTLR start T49 - public final void mT49() throws RecognitionException { - try { - int _type = T49; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:47:5: ( 'overrides enum' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:47:7: 'overrides enum' - { - match("overrides enum"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T49 - - // $ANTLR start T50 - public final void mT50() throws RecognitionException { - try { - int _type = T50; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:48:5: ( 'inheritAll' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:48:7: 'inheritAll' - { - match("inheritAll"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T50 - - // $ANTLR start T51 - public final void mT51() throws RecognitionException { - try { - int _type = T51; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:49:5: ( 'add' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:49:7: 'add' - { - match("add"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T51 - - // $ANTLR start T52 - public final void mT52() throws RecognitionException { - try { - int _type = T52; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:50:5: ( 'remove' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:50:7: 'remove' - { - match("remove"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T52 - - // $ANTLR start T53 - public final void mT53() throws RecognitionException { - try { - int _type = T53; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:51:5: ( 'relationType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:51:7: 'relationType' - { - match("relationType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T53 - - // $ANTLR start T54 - public final void mT54() throws RecognitionException { - try { - int _type = T54; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:52:5: ( 'sideAName' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:52:7: 'sideAName' - { - match("sideAName"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T54 - - // $ANTLR start T55 - public final void mT55() throws RecognitionException { - try { - int _type = T55; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:53:5: ( 'sideAArtifactType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:53:7: 'sideAArtifactType' - { - match("sideAArtifactType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T55 - - // $ANTLR start T56 - public final void mT56() throws RecognitionException { - try { - int _type = T56; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:54:5: ( 'sideBName' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:54:7: 'sideBName' - { - match("sideBName"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T56 - - // $ANTLR start T57 - public final void mT57() throws RecognitionException { - try { - int _type = T57; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:55:5: ( 'sideBArtifactType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:55:7: 'sideBArtifactType' - { - match("sideBArtifactType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T57 - - // $ANTLR start T58 - public final void mT58() throws RecognitionException { - try { - int _type = T58; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:56:5: ( 'defaultOrderType' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:56:7: 'defaultOrderType' - { - match("defaultOrderType"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T58 - - // $ANTLR start T59 - public final void mT59() throws RecognitionException { - try { - int _type = T59; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:57:5: ( 'multiplicity' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:57:7: 'multiplicity' - { - match("multiplicity"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T59 - - // $ANTLR start T60 - public final void mT60() throws RecognitionException { - try { - int _type = T60; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:58:5: ( 'Lexicographical_Ascending' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:58:7: 'Lexicographical_Ascending' - { - match("Lexicographical_Ascending"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T60 - - // $ANTLR start T61 - public final void mT61() throws RecognitionException { - try { - int _type = T61; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:59:5: ( 'Lexicographical_Descending' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:59:7: 'Lexicographical_Descending' - { - match("Lexicographical_Descending"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T61 - - // $ANTLR start T62 - public final void mT62() throws RecognitionException { - try { - int _type = T62; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:60:5: ( 'Unordered' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:60:7: 'Unordered' - { - match("Unordered"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T62 - - // $ANTLR start T63 - public final void mT63() throws RecognitionException { - try { - int _type = T63; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:61:5: ( 'artifact' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:61:7: 'artifact' - { - match("artifact"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T63 - - // $ANTLR start T64 - public final void mT64() throws RecognitionException { - try { - int _type = T64; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:62:5: ( 'artGuid' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:62:7: 'artGuid' - { - match("artGuid"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T64 - - // $ANTLR start T65 - public final void mT65() throws RecognitionException { - try { - int _type = T65; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:63:5: ( ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:63:7: ';' - { - match(';'); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T65 - - // $ANTLR start T66 - public final void mT66() throws RecognitionException { - try { - int _type = T66; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:64:5: ( 'branch' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:64:7: 'branch' - { - match("branch"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T66 - - // $ANTLR start T67 - public final void mT67() throws RecognitionException { - try { - int _type = T67; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:65:5: ( 'accessContext' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:65:7: 'accessContext' - { - match("accessContext"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T67 - - // $ANTLR start T68 - public final void mT68() throws RecognitionException { - try { - int _type = T68; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:66:5: ( 'childrenOf' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:66:7: 'childrenOf' - { - match("childrenOf"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T68 - - // $ANTLR start T69 - public final void mT69() throws RecognitionException { - try { - int _type = T69; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:67:5: ( 'edit' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:67:7: 'edit' - { - match("edit"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T69 - - // $ANTLR start T70 - public final void mT70() throws RecognitionException { - try { - int _type = T70; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:68:5: ( 'of' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:68:7: 'of' - { - match("of"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T70 - - // $ANTLR start T71 - public final void mT71() throws RecognitionException { - try { - int _type = T71; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:69:5: ( 'ONE_TO_ONE' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:69:7: 'ONE_TO_ONE' - { - match("ONE_TO_ONE"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T71 - - // $ANTLR start T72 - public final void mT72() throws RecognitionException { - try { - int _type = T72; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:70:5: ( 'ONE_TO_MANY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:70:7: 'ONE_TO_MANY' - { - match("ONE_TO_MANY"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T72 - - // $ANTLR start T73 - public final void mT73() throws RecognitionException { - try { - int _type = T73; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:71:5: ( 'MANY_TO_ONE' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:71:7: 'MANY_TO_ONE' - { - match("MANY_TO_ONE"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T73 - - // $ANTLR start T74 - public final void mT74() throws RecognitionException { - try { - int _type = T74; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:72:5: ( 'MANY_TO_MANY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:72:7: 'MANY_TO_MANY' - { - match("MANY_TO_MANY"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T74 - - // $ANTLR start T75 - public final void mT75() throws RecognitionException { - try { - int _type = T75; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:73:5: ( 'ALLOW' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:73:7: 'ALLOW' - { - match("ALLOW"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T75 - - // $ANTLR start T76 - public final void mT76() throws RecognitionException { - try { - int _type = T76; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:74:5: ( 'DENY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:74:7: 'DENY' - { - match("DENY"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T76 - - // $ANTLR start T77 - public final void mT77() throws RecognitionException { - try { - int _type = T77; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:75:5: ( 'SIDE_A' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:75:7: 'SIDE_A' - { - match("SIDE_A"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T77 - - // $ANTLR start T78 - public final void mT78() throws RecognitionException { - try { - int _type = T78; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:76:5: ( 'SIDE_B' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:76:7: 'SIDE_B' - { - match("SIDE_B"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T78 - - // $ANTLR start T79 - public final void mT79() throws RecognitionException { - try { - int _type = T79; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:77:5: ( 'BOTH' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:77:7: 'BOTH' - { - match("BOTH"); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end T79 - - // $ANTLR start RULE_WHOLE_NUM_STR - public final void mRULE_WHOLE_NUM_STR() throws RecognitionException { - try { - int _type = RULE_WHOLE_NUM_STR; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3193:20: ( ( '0' .. '9' )+ ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3193:22: ( '0' .. '9' )+ - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3193:22: ( '0' .. '9' )+ - int cnt1 = 0; - loop1: do { - int alt1 = 2; - int LA1_0 = input.LA(1); - - if (LA1_0 >= '0' && LA1_0 <= '9') { - alt1 = 1; - } - - switch (alt1) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3193:23: '0' .. '9' - { - matchRange('0', '9'); - - } - break; - - default: - if (cnt1 >= 1) { - break loop1; - } - EarlyExitException eee = new EarlyExitException(1, input); - throw eee; - } - cnt1++; - } while (true); + public static final int T__68=68; + public static final int T__69=69; + public static final int RULE_ID=5; + public static final int T__66=66; + public static final int T__67=67; + public static final int T__29=29; + public static final int T__64=64; + public static final int T__28=28; + public static final int T__65=65; + public static final int T__27=27; + public static final int T__62=62; + public static final int T__26=26; + public static final int T__63=63; + public static final int T__25=25; + public static final int T__24=24; + public static final int T__23=23; + public static final int T__22=22; + public static final int RULE_ANY_OTHER=11; + public static final int T__21=21; + public static final int T__20=20; + public static final int T__61=61; + public static final int EOF=-1; + public static final int T__60=60; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__19=19; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__16=16; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__15=15; + public static final int T__53=53; + public static final int T__18=18; + public static final int T__54=54; + public static final int T__17=17; + public static final int T__12=12; + public static final int T__14=14; + public static final int T__13=13; + public static final int T__59=59; + public static final int RULE_INT=7; + public static final int T__50=50; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__48=48; + public static final int RULE_WHOLE_NUM_STR=6; + public static final int T__49=49; + public static final int RULE_SL_COMMENT=9; + public static final int RULE_ML_COMMENT=8; + 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 RULE_STRING=4; + public static final int T__33=33; + public static final int T__71=71; + public static final int T__34=34; + public static final int T__72=72; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__70=70; + 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 T__76=76; + public static final int RULE_WS=10; + public static final int T__75=75; + public static final int T__74=74; + public static final int T__73=73; + public static final int T__79=79; + public static final int T__78=78; + public static final int T__77=77; + + // 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 "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g"; } + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:11:7: ( 'import' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:11:9: 'import' + { + match("import"); - } - this.type = _type; - } finally { - } - } + } - // $ANTLR end RULE_WHOLE_NUM_STR + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:12:7: ( '.' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:13:7: ( 'abstract' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:13:9: 'abstract' + { + match("abstract"); - // $ANTLR start RULE_ID - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3195:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3195:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3195:11: ( '^' )? - int alt2 = 2; - int LA2_0 = input.LA(1); - if (LA2_0 == '^') { - alt2 = 1; } - switch (alt2) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3195:11: '^' - { - match('^'); - } - break; + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:14:7: ( 'artifactType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:15:7: ( 'extends' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:16:7: ( ',' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:17:7: ( '{' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:18:7: ( 'guid' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:18:9: 'guid' + { + match("guid"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:19:7: ( '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:20:7: ( 'attribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:21:7: ( 'branchGuid' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:21:9: 'branchGuid' + { + match("branchGuid"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:22:7: ( 'attributeType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:23:7: ( 'overrides' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:24:7: ( 'dataProvider' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:25:7: ( 'DefaultAttributeDataProvider' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:26:7: ( 'UriAttributeDataProvider' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:27:7: ( 'min' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:28:7: ( 'max' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:29:7: ( 'unlimited' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:30:7: ( 'taggerId' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:31:7: ( 'DefaultAttributeTaggerProvider' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:32:7: ( 'enumType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:33:7: ( 'description' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:34:7: ( 'defaultValue' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:35:7: ( 'fileExtension' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:35:9: 'fileExtension' + { + match("fileExtension"); + } - if (input.LA(1) >= 'A' && input.LA(1) <= 'Z' || input.LA(1) == '_' || input.LA(1) >= 'a' && input.LA(1) <= 'z') { - input.consume(); + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:36:7: ( 'BooleanAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:36:9: 'BooleanAttribute' + { + match("BooleanAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:37:7: ( 'CompressedContentAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:37:9: 'CompressedContentAttribute' + { + match("CompressedContentAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:38:7: ( 'DateAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:38:9: 'DateAttribute' + { + match("DateAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:39:7: ( 'EnumeratedAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:39:9: 'EnumeratedAttribute' + { + match("EnumeratedAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:40:7: ( 'FloatingPointAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:40:9: 'FloatingPointAttribute' + { + match("FloatingPointAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:41:7: ( 'IntegerAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:41:9: 'IntegerAttribute' + { + match("IntegerAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:42:7: ( 'JavaObjectAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:42:9: 'JavaObjectAttribute' + { + match("JavaObjectAttribute"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:43:7: ( 'StringAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:43:9: 'StringAttribute' + { + match("StringAttribute"); + - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3195:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop3: do { - int alt3 = 2; - int LA3_0 = input.LA(1); + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:44:7: ( 'WordAttribute' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:44:9: 'WordAttribute' + { + match("WordAttribute"); - if (LA3_0 >= '0' && LA3_0 <= '9' || LA3_0 >= 'A' && LA3_0 <= 'Z' || LA3_0 == '_' || LA3_0 >= 'a' && LA3_0 <= 'z') { - alt3 = 1; - } - switch (alt3) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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(); + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:45:7: ( 'oseeEnumType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:45:9: 'oseeEnumType' + { + match("oseeEnumType"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:46:7: ( 'entry' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:46:9: 'entry' + { + match("entry"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:47:7: ( 'entryGuid' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:47:9: 'entryGuid' + { + match("entryGuid"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:48:7: ( 'overrides enum' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:48:9: 'overrides enum' + { + match("overrides enum"); + + + } - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; - } + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:49:7: ( 'inheritAll' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:49:9: 'inheritAll' + { + match("inheritAll"); - } - break; - default: - break loop3; - } + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:50:7: ( 'add' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:50:9: 'add' + { + match("add"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:51:7: ( 'remove' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:51:9: 'remove' + { + match("remove"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:52:7: ( 'relationType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:52:9: 'relationType' + { + match("relationType"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:53:7: ( 'sideAName' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:53:9: 'sideAName' + { + match("sideAName"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:54:7: ( 'sideAArtifactType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:54:9: 'sideAArtifactType' + { + match("sideAArtifactType"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:55:7: ( 'sideBName' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:55:9: 'sideBName' + { + match("sideBName"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:56:7: ( 'sideBArtifactType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:56:9: 'sideBArtifactType' + { + match("sideBArtifactType"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:57:7: ( 'defaultOrderType' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:57:9: 'defaultOrderType' + { + match("defaultOrderType"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:58:7: ( 'multiplicity' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:58:9: 'multiplicity' + { + match("multiplicity"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:59:7: ( 'Lexicographical_Ascending' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:59:9: 'Lexicographical_Ascending' + { + match("Lexicographical_Ascending"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:60:7: ( 'Lexicographical_Descending' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:60:9: 'Lexicographical_Descending' + { + match("Lexicographical_Descending"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:61:7: ( 'Unordered' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:61:9: 'Unordered' + { + match("Unordered"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:62:7: ( 'artifact' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:62:9: 'artifact' + { + match("artifact"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:63:7: ( 'artGuid' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:63:9: 'artGuid' + { + match("artGuid"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:64:7: ( ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:64:9: ';' + { + match(';'); + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:65:7: ( 'branch' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:65:9: 'branch' + { + match("branch"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:66:7: ( 'accessContext' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:66:9: 'accessContext' + { + match("accessContext"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:67:7: ( 'childrenOf' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:67:9: 'childrenOf' + { + match("childrenOf"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:68:7: ( 'edit' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:68:9: 'edit' + { + match("edit"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:69:7: ( 'of' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:69:9: 'of' + { + match("of"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:70:7: ( 'ONE_TO_ONE' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:70:9: 'ONE_TO_ONE' + { + match("ONE_TO_ONE"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:71:7: ( 'ONE_TO_MANY' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:71:9: 'ONE_TO_MANY' + { + match("ONE_TO_MANY"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:72:7: ( 'MANY_TO_ONE' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:72:9: 'MANY_TO_ONE' + { + match("MANY_TO_ONE"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:73:7: ( 'MANY_TO_MANY' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:73:9: 'MANY_TO_MANY' + { + match("MANY_TO_MANY"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:74:7: ( 'ALLOW' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:74:9: 'ALLOW' + { + match("ALLOW"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:75:7: ( 'DENY' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:75:9: 'DENY' + { + match("DENY"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:76:7: ( 'SIDE_A' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:76:9: 'SIDE_A' + { + match("SIDE_A"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:77:7: ( 'SIDE_B' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:77:9: 'SIDE_B' + { + match("SIDE_B"); + + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:78:7: ( 'BOTH' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:78:9: 'BOTH' + { + match("BOTH"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__79" + + // $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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2734:20: ( ( '0' .. '9' )+ ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2734:22: ( '0' .. '9' )+ + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2734:22: ( '0' .. '9' )+ + int cnt1=0; + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( ((LA1_0>='0' && LA1_0<='9')) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2734:23: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt1 >= 1 ) break loop1; + EarlyExitException eee = + new EarlyExitException(1, input); + throw eee; + } + cnt1++; } while (true); - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end RULE_ID - - // $ANTLR start RULE_INT - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3197:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3197:12: ( '0' .. '9' )+ - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3197:12: ( '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: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3197:13: '0' .. '9' - { - matchRange('0', '9'); - - } - break; - - default: - if (cnt4 >= 1) { - break loop4; - } - EarlyExitException eee = new EarlyExitException(4, input); - throw eee; - } - cnt4++; + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2736:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2736:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2736:11: ( '^' )? + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0=='^') ) { + alt2=1; + } + switch (alt2) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2736: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;} + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2736:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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 loop3; + } } while (true); - } - this.type = _type; - } finally { - } - } + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2738:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2738:12: ( '0' .. '9' )+ + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2738:12: ( '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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2738:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt4 >= 1 ) break loop4; + EarlyExitException eee = + new EarlyExitException(4, input); + throw eee; + } + cnt4++; + } while (true); - // $ANTLR end RULE_INT - // $ANTLR start RULE_STRING - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt7 = 2; + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt7=2; int LA7_0 = input.LA(1); - if (LA7_0 == '\"') { - alt7 = 1; - } else if (LA7_0 == '\'') { - alt7 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException( - "3199:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", - 7, 0, input); + if ( (LA7_0=='\"') ) { + alt7=1; + } + else if ( (LA7_0=='\'') ) { + alt7=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); - throw nvae; + throw nvae; } switch (alt7) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* - loop5: do { - int alt5 = 3; - int LA5_0 = input.LA(1); - - if (LA5_0 == '\\') { - alt5 = 1; - } else if (LA5_0 >= '\u0000' && LA5_0 <= '!' || LA5_0 >= '#' && LA5_0 <= '[' || LA5_0 >= ']' && LA5_0 <= '\uFFFE') { - alt5 = 2; - } - - switch (alt5) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) - { - match('\\'); - if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') { - input.consume(); - - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; - } - + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop5: + do { + int alt5=3; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='\\') ) { + alt5=1; } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:62: ~ ( ( '\\\\' | '\"' ) ) - { - if (input.LA(1) >= '\u0000' && input.LA(1) <= '!' || input.LA(1) >= '#' && input.LA(1) <= '[' || input.LA(1) >= ']' && input.LA(1) <= '\uFFFE') { - input.consume(); - - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; - } - + else if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { + alt5=2; } - break; - - default: - break loop5; - } - } while (true); - - match('\"'); - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* - loop6: do { - int alt6 = 3; - int LA6_0 = input.LA(1); - - if (LA6_0 == '\\') { - alt6 = 1; - } else if (LA6_0 >= '\u0000' && LA6_0 <= '&' || LA6_0 >= '(' && LA6_0 <= '[' || LA6_0 >= ']' && LA6_0 <= '\uFFFE') { - alt6 = 2; - } - - switch (alt6) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) - { - match('\\'); - if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') { - input.consume(); - - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; - } - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3199:129: ~ ( ( '\\\\' | '\\'' ) ) - { - if (input.LA(1) >= '\u0000' && input.LA(1) <= '&' || input.LA(1) >= '(' && input.LA(1) <= '[' || input.LA(1) >= ']' && input.LA(1) <= '\uFFFE') { - input.consume(); - - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; - } + switch (alt5) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + { + match('\\'); + if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:66: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && 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 loop5; + } + } while (true); + + match('\"'); + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + loop6: + do { + int alt6=3; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\\') ) { + alt6=1; + } + else if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) { + alt6=2; } - break; - default: - break loop6; - } - } while (true); - match('\''); + switch (alt6) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + { + match('\\'); + if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { + input.consume(); - } - break; + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} - } - } + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2740:137: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); - this.type = _type; - } finally { - } - } + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} - // $ANTLR end RULE_STRING - // $ANTLR start RULE_ML_COMMENT - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3201:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3201:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); + } + break; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3201:24: ( options {greedy=false; } : . )* - loop8: do { - int alt8 = 2; - int LA8_0 = input.LA(1); + default : + break loop6; + } + } while (true); - if (LA8_0 == '*') { - int LA8_1 = input.LA(2); + match('\''); - if (LA8_1 == '/') { - alt8 = 2; - } else if (LA8_1 >= '\u0000' && LA8_1 <= '.' || LA8_1 >= '0' && LA8_1 <= '\uFFFE') { - alt8 = 1; - } + } + break; - } else if (LA8_0 >= '\u0000' && LA8_0 <= ')' || LA8_0 >= '+' && LA8_0 <= '\uFFFE') { - alt8 = 1; - } + } - switch (alt8) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3201:52: . - { - matchAny(); - } - break; + } - default: - break loop8; - } + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2742:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2742:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2742: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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2742:52: . + { + matchAny(); + + } + break; + + default : + break loop8; + } } while (true); - match("*/"); - - } - - this.type = _type; - } 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; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203: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 <= '\uFFFE') { - alt9 = 1; - } - - switch (alt9) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203: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) <= '\uFFFE') { - input.consume(); - - } else { - MismatchedSetException mse = new MismatchedSetException(null, input); - recover(mse); - throw mse; - } - - } - break; - - default: - break loop9; - } + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744: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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744: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); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203:40: ( ( '\\r' )? '\\n' )? - int alt11 = 2; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744:40: ( ( '\\r' )? '\\n' )? + int alt11=2; int LA11_0 = input.LA(1); - if (LA11_0 == '\n' || LA11_0 == '\r') { - alt11 = 1; + if ( (LA11_0=='\n'||LA11_0=='\r') ) { + alt11=1; } switch (alt11) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203:41: ( '\\r' )? - int alt10 = 2; - int LA10_0 = input.LA(1); - - if (LA10_0 == '\r') { - alt10 = 1; - } - switch (alt10) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3203:41: '\\r' - { - match('\r'); - - } - break; + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744:41: ( '\\r' )? '\\n' + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744:41: ( '\\r' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2744:41: '\\r' + { + match('\r'); - } - - match('\n'); - - } - break; - - } - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end RULE_SL_COMMENT - - // $ANTLR start RULE_WS - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3205:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3205:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3205: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: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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++; + } + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2746:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2746:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2746: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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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); - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end RULE_WS - - // $ANTLR start RULE_ANY_OTHER - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3207:16: ( . ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3207:18: . - { - matchAny(); - - } - - this.type = _type; - } finally { - } - } - - // $ANTLR end RULE_ANY_OTHER - - public void mTokens() throws RecognitionException { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt13 = 76; - alt13 = dfa13.predict(input); - switch (alt13) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:10: T12 - { - mT12(); - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:14: T13 - { - mT13(); - - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:18: T14 - { - mT14(); - - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:22: T15 - { - mT15(); - - } - break; - case 5: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:26: T16 - { - mT16(); - - } - break; - case 6: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:30: T17 - { - mT17(); - - } - break; - case 7: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:34: T18 - { - mT18(); - - } - break; - case 8: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:38: T19 - { - mT19(); - - } - break; - case 9: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:42: T20 - { - mT20(); - - } - break; - case 10: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:46: T21 - { - mT21(); - - } - break; - case 11: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:50: T22 - { - mT22(); - - } - break; - case 12: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:54: T23 - { - mT23(); - - } - break; - case 13: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:58: T24 - { - mT24(); - - } - break; - case 14: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:62: T25 - { - mT25(); - - } - break; - case 15: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:66: T26 - { - mT26(); - - } - break; - case 16: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:70: T27 - { - mT27(); - - } - break; - case 17: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:74: T28 - { - mT28(); - - } - break; - case 18: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:78: T29 - { - mT29(); - - } - break; - case 19: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:82: T30 - { - mT30(); - - } - break; - case 20: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:86: T31 - { - mT31(); - - } - break; - case 21: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:90: T32 - { - mT32(); - - } - break; - case 22: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:94: T33 - { - mT33(); - - } - break; - case 23: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:98: T34 - { - mT34(); - - } - break; - case 24: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:102: T35 - { - mT35(); - - } - break; - case 25: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:106: T36 - { - mT36(); - - } - break; - case 26: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:110: T37 - { - mT37(); - - } - break; - case 27: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:114: T38 - { - mT38(); - - } - break; - case 28: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:118: T39 - { - mT39(); - - } - break; - case 29: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:122: T40 - { - mT40(); - - } - break; - case 30: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:126: T41 - { - mT41(); - - } - break; - case 31: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:130: T42 - { - mT42(); - - } - break; - case 32: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:134: T43 - { - mT43(); - - } - break; - case 33: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:138: T44 - { - mT44(); - - } - break; - case 34: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:142: T45 - { - mT45(); - - } - break; - case 35: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:146: T46 - { - mT46(); - - } - break; - case 36: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:150: T47 - { - mT47(); - - } - break; - case 37: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:154: T48 - { - mT48(); - - } - break; - case 38: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:158: T49 - { - mT49(); - - } - break; - case 39: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:162: T50 - { - mT50(); - - } - break; - case 40: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:166: T51 - { - mT51(); - - } - break; - case 41: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:170: T52 - { - mT52(); - - } - break; - case 42: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:174: T53 - { - mT53(); - - } - break; - case 43: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:178: T54 - { - mT54(); - - } - break; - case 44: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:182: T55 - { - mT55(); - - } - break; - case 45: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:186: T56 - { - mT56(); - - } - break; - case 46: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:190: T57 - { - mT57(); - - } - break; - case 47: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:194: T58 - { - mT58(); - - } - break; - case 48: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:198: T59 - { - mT59(); - - } - break; - case 49: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:202: T60 - { - mT60(); - - } - break; - case 50: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:206: T61 - { - mT61(); - - } - break; - case 51: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:210: T62 - { - mT62(); - - } - break; - case 52: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:214: T63 - { - mT63(); - - } - break; - case 53: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:218: T64 - { - mT64(); - - } - break; - case 54: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:222: T65 - { - mT65(); - - } - break; - case 55: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:226: T66 - { - mT66(); - - } - break; - case 56: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:230: T67 - { - mT67(); - - } - break; - case 57: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:234: T68 - { - mT68(); - - } - break; - case 58: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:238: T69 - { - mT69(); - - } - break; - case 59: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:242: T70 - { - mT70(); - - } - break; - case 60: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:246: T71 - { - mT71(); - - } - break; - case 61: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:250: T72 - { - mT72(); - - } - break; - case 62: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:254: T73 - { - mT73(); - - } - break; - case 63: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:258: T74 - { - mT74(); - - } - break; - case 64: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:262: T75 - { - mT75(); - - } - break; - case 65: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:266: T76 - { - mT76(); - - } - break; - case 66: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:270: T77 - { - mT77(); - - } - break; - case 67: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:274: T78 - { - mT78(); - - } - break; - case 68: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:278: T79 - { - mT79(); - - } - break; - case 69: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:282: RULE_WHOLE_NUM_STR - { - mRULE_WHOLE_NUM_STR(); - - } - break; - case 70: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:301: RULE_ID - { - mRULE_ID(); - - } - break; - case 71: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:309: RULE_INT - { - mRULE_INT(); - - } - break; - case 72: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:318: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 73: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:330: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 74: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:346: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 75: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:362: RULE_WS - { - mRULE_WS(); - - } - break; - case 76: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:370: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - protected DFA13 dfa13 = new DFA13(this); - static final String DFA13_eotS = - "\1\uffff\1\54\1\uffff\2\54\2\uffff\1\54\1\uffff\24\54\1\uffff\4" + "\54\1\135\1\51\1\uffff\3\51\2\uffff\2\54\2\uffff\10\54\2\uffff\1" + "\54\1\uffff\1\54\1\160\34\54\1\uffff\4\54\1\uffff\1\135\4\uffff" + "\6\54\1\u009a\6\54\1\uffff\13\54\1\u00ac\1\u00ad\34\54\1\uffff\1" + "\u00ca\3\54\1\u00ce\10\54\1\u00d7\3\54\2\uffff\4\54\1\u00df\27\54" + "\1\uffff\1\u00f9\2\54\1\uffff\10\54\1\uffff\7\54\1\uffff\20\54\1" + "\u011e\1\u011f\7\54\1\uffff\2\54\1\u012a\24\54\1\u013f\1\u0140\1" + "\54\1\u0142\11\54\2\uffff\3\54\1\u014f\4\54\1\u0154\1\54\1\uffff" + "\24\54\2\uffff\1\54\1\uffff\13\54\1\u0179\1\uffff\1\54\1\u017b\1" + "\54\1\u017d\1\uffff\15\54\1\u018b\26\54\1\uffff\1\u01a4\1\uffff" + "\1\u01a5\1\uffff\1\54\1\u01a8\7\54\1\u01b0\2\54\1\u01b3\1\uffff" + "\12\54\1\u01be\2\54\1\u01c1\6\54\1\u01c8\3\54\2\uffff\1\u01cc\2" + "\uffff\7\54\1\uffff\2\54\1\uffff\12\54\1\uffff\2\54\1\uffff\1\54" + "\1\u01e3\1\54\1\u01e5\2\54\1\uffff\3\54\1\uffff\1\54\1\u01ec\24" + "\54\1\uffff\1\u0201\1\uffff\1\54\1\u0203\1\54\1\u0205\1\54\1\u0207" + "\1\uffff\1\54\1\u0209\1\u020a\3\54\1\u020e\11\54\1\u0218\3\54\1" + "\uffff\1\u021c\1\uffff\1\u021d\1\uffff\1\u021e\1\uffff\1\54\2\uffff" + "\1\54\1\u0221\1\54\1\uffff\1\u0223\7\54\1\u022b\1\uffff\3\54\3\uffff" + "\2\54\1\uffff\1\54\1\uffff\7\54\1\uffff\14\54\1\u0245\3\54\1\u0249" + "\2\54\1\u024d\3\54\1\u0251\1\54\1\uffff\3\54\1\uffff\3\54\1\uffff" + "\3\54\1\uffff\1\54\1\u025e\1\u025f\11\54\2\uffff\6\54\1\u026f\1" + "\54\1\u0271\6\54\1\uffff\1\54\1\uffff\15\54\1\u0286\6\54\1\uffff" + "\4\54\1\u0291\5\54\1\uffff\2\54\1\u0299\2\54\1\u029c\1\u029d\1\uffff" + "\2\54\2\uffff\1\54\1\u02a1\1\54\1\uffff\1\u02a3\1\uffff"; - static final String DFA13_eofS = "\u02a4\uffff"; - static final String DFA13_minS = - "\1\0\1\155\1\uffff\1\142\1\144\2\uffff\1\165\1\uffff\1\162\1\146" + "\1\141\1\105\1\156\1\141\1\156\1\141\1\151\1\117\1\157\1\156\1\154" + "\1\156\1\141\1\111\1\157\1\145\1\151\1\145\1\uffff\1\150\1\116\1" + "\101\1\114\1\60\1\101\1\uffff\2\0\1\52\2\uffff\1\160\1\150\2\uffff" + "\1\143\2\164\1\163\1\144\1\151\2\164\2\uffff\1\151\1\uffff\1\141" + "\1\60\2\145\1\146\1\164\1\146\1\164\1\116\1\157\1\151\1\154\1\156" + "\1\170\1\154\1\147\1\154\1\157\1\124\1\155\1\165\1\157\1\164\1\166" + "\1\162\1\104\1\162\1\154\1\144\1\170\1\uffff\1\151\1\105\1\116\1" + "\114\1\uffff\1\60\4\uffff\1\157\2\145\1\107\1\162\1\164\1\60\1\164" + "\1\162\1\155\1\145\1\144\1\156\1\uffff\1\162\1\145\1\143\3\141\1" + "\145\1\131\1\162\1\101\1\164\2\60\1\151\1\147\1\145\1\154\1\110" + "\1\160\1\155\1\141\1\145\1\141\1\151\1\105\1\144\1\157\1\141\1\145" + "\1\151\1\154\1\137\1\131\1\117\2\162\1\163\1\146\1\165\1\151\1\162" + "\1\uffff\1\60\1\171\1\124\1\156\1\60\1\143\1\162\1\105\1\162\1\165" + "\1\120\1\165\1\101\1\60\1\144\1\164\1\151\2\uffff\1\155\1\145\1" + "\105\1\145\1\60\1\162\1\145\1\164\1\147\1\117\1\156\1\137\1\101" + "\1\166\1\164\1\101\1\143\1\144\1\124\1\137\1\127\1\164\1\151\1\163" + "\1\141\1\151\1\142\1\141\1\uffff\1\60\1\171\1\144\1\uffff\1\150" + "\1\151\1\156\1\151\1\154\1\162\1\154\1\164\1\uffff\1\145\1\164\1" + "\160\1\151\1\162\1\170\1\141\1\uffff\1\145\1\162\1\151\1\145\1\142" + "\1\147\1\101\1\164\1\145\1\151\2\101\1\157\1\162\1\117\1\124\2\60" + "\1\164\1\103\1\143\1\144\1\165\1\143\1\165\1\uffff\1\160\1\163\1" + "\60\1\144\1\165\1\160\1\164\1\157\2\164\2\162\1\154\1\164\1\111" + "\1\164\1\156\1\163\1\141\1\156\1\162\1\152\1\101\2\60\1\164\1\60" + "\1\157\1\141\2\162\1\141\1\147\1\145\1\137\1\117\2\uffff\1\101\1" + "\157\1\164\1\60\2\164\1\151\1\145\1\60\1\165\1\uffff\1\145\1\155" + "\1\164\1\117\1\166\1\101\1\162\1\145\2\151\1\145\1\144\1\145\1\101" + "\1\163\1\164\1\147\1\101\1\145\1\164\2\uffff\1\162\1\uffff\1\156" + "\1\155\2\164\1\155\1\162\1\156\1\115\1\137\1\154\1\156\1\60\1\uffff" + "\1\145\1\60\1\144\1\60\1\uffff\1\151\1\163\1\124\1\151\1\162\1\141" + "\1\151\1\164\1\151\1\144\1\142\1\143\1\144\1\60\1\156\1\164\2\145" + "\1\120\1\164\1\143\1\164\1\151\1\124\1\145\2\151\1\145\1\141\1\117" + "\1\101\1\116\1\115\1\154\1\164\1\171\1\uffff\1\60\1\uffff\1\60\1" + "\uffff\1\144\1\40\1\171\1\157\1\144\1\154\1\144\1\164\1\142\1\60" + "\1\165\1\151\1\60\1\uffff\1\163\1\164\2\144\1\157\2\164\1\162\1" + "\142\1\171\1\60\2\146\1\60\1\160\1\146\1\116\1\105\1\101\1\116\1" + "\60\1\145\1\160\1\171\2\uffff\1\60\2\uffff\1\160\1\156\1\145\1\165" + "\1\145\1\162\1\165\1\uffff\2\164\1\uffff\1\151\1\162\1\103\1\101" + "\1\151\1\162\1\101\1\151\1\165\1\160\1\uffff\2\141\1\uffff\1\150" + "\1\60\1\131\1\60\1\116\1\105\1\uffff\1\170\1\145\1\160\1\uffff\1" + "\145\1\60\1\162\1\145\1\162\1\151\1\164\1\145\1\171\1\157\1\151" + "\1\157\1\164\1\156\1\151\1\164\1\142\1\164\1\145\2\143\1\151\1\uffff" + "\1\60\1\uffff\1\131\1\60\1\164\1\60\1\145\1\60\1\uffff\1\124\2\60" + "\1\142\1\145\1\104\1\60\1\156\1\142\1\156\2\164\1\142\1\164\1\165" + "\1\145\1\60\2\164\1\143\1\uffff\1\60\1\uffff\1\60\1\uffff\1\60\1" + "\uffff\1\171\2\uffff\1\165\1\60\1\141\1\uffff\1\60\1\165\1\164\1" + "\162\1\101\1\165\1\162\1\164\1\60\1\uffff\2\124\1\141\3\uffff\1" + "\160\1\164\1\uffff\1\164\1\uffff\1\164\1\145\1\151\2\164\1\151\1" + "\145\1\uffff\2\171\1\154\2\145\1\141\1\145\1\156\1\142\1\164\1\145" + "\1\142\1\60\2\160\1\137\1\60\1\104\1\120\1\60\1\164\1\165\1\162" + "\1\60\1\165\1\uffff\2\145\1\101\1\uffff\2\141\1\162\1\uffff\1\101" + "\1\164\1\151\1\uffff\1\164\2\60\1\145\1\163\1\147\1\164\1\157\1" + "\164\1\145\1\142\1\145\2\uffff\1\163\1\143\1\147\1\141\1\166\1\164" + "\1\60\1\165\1\60\1\143\2\145\1\120\1\151\1\162\1\uffff\1\164\1\uffff" + "\1\145\1\156\2\162\1\144\1\151\1\145\1\156\1\144\1\120\1\157\1\145" + "\1\142\1\60\1\144\1\151\1\162\1\166\1\162\1\165\1\uffff\1\151\1" + "\156\1\157\1\151\1\60\1\164\1\156\1\147\1\166\1\144\1\uffff\1\145" + "\1\147\1\60\1\151\1\145\2\60\1\uffff\1\144\1\162\2\uffff\1\145\1" + "\60\1\162\1\uffff\1\60\1\uffff"; - static final String DFA13_maxS = - "\1\ufffe\1\156\1\uffff\1\164\1\170\2\uffff\1\165\1\uffff\1\162\1" + "\166\2\145\1\162\1\165\1\156\1\141\1\151\2\157\1\156\1\154\1\156" + "\1\141\1\164\1\157\1\145\1\151\1\145\1\uffff\1\150\1\116\1\101\1" + "\114\1\71\1\172\1\uffff\2\ufffe\1\57\2\uffff\1\160\1\150\2\uffff" + "\1\143\2\164\1\163\1\144\1\151\1\165\1\164\2\uffff\1\151\1\uffff" + "\1\141\1\172\2\145\1\163\1\164\1\146\1\164\1\116\1\157\1\151\1\154" + "\1\156\1\170\1\154\1\147\1\154\1\157\1\124\1\155\1\165\1\157\1\164" + "\1\166\1\162\1\104\1\162\1\155\1\144\1\170\1\uffff\1\151\1\105\1" + "\116\1\114\1\uffff\1\71\4\uffff\1\157\2\145\1\151\1\162\1\164\1" + "\172\1\164\1\162\1\155\1\145\1\144\1\156\1\uffff\1\162\1\145\1\143" + "\3\141\1\145\1\131\1\162\1\101\1\164\2\172\1\151\1\147\1\145\1\154" + "\1\110\1\160\1\155\1\141\1\145\1\141\1\151\1\105\1\144\1\157\1\141" + "\1\145\1\151\1\154\1\137\1\131\1\117\2\162\1\163\1\146\1\165\1\151" + "\1\162\1\uffff\1\172\1\171\1\124\1\156\1\172\1\143\1\162\1\105\1" + "\162\1\165\1\120\1\165\1\101\1\172\1\144\1\164\1\151\2\uffff\1\155" + "\1\145\1\105\1\145\1\172\1\162\1\145\1\164\1\147\1\117\1\156\1\137" + "\1\101\1\166\1\164\1\102\1\143\1\144\1\124\1\137\1\127\1\164\1\151" + "\1\163\1\141\1\151\1\142\1\141\1\uffff\1\172\1\171\1\144\1\uffff" + "\1\150\1\151\1\156\1\151\1\154\1\162\1\154\1\164\1\uffff\1\145\1" + "\164\1\160\1\151\1\162\1\170\1\141\1\uffff\1\145\1\162\1\151\1\145" + "\1\142\1\147\1\102\1\164\1\145\1\151\2\116\1\157\1\162\1\117\1\124" + "\2\172\1\164\1\103\1\143\1\144\1\165\1\143\1\165\1\uffff\1\160\1" + "\163\1\172\1\144\1\165\1\160\1\164\1\157\2\164\2\162\1\154\1\164" + "\1\111\1\164\1\156\1\163\1\141\1\156\1\162\1\152\1\101\2\172\1\164" + "\1\172\1\157\1\141\2\162\1\141\1\147\1\145\1\137\1\117\2\uffff\1" + "\101\1\157\1\164\1\172\2\164\1\151\1\145\1\172\1\165\1\uffff\1\145" + "\1\155\1\164\1\126\1\166\1\101\1\162\1\145\2\151\1\145\1\144\1\145" + "\1\101\1\163\1\164\1\147\1\101\1\145\1\164\2\uffff\1\162\1\uffff" + "\1\156\1\155\2\164\1\155\1\162\1\156\1\117\1\137\1\154\1\156\1\172" + "\1\uffff\1\145\1\172\1\144\1\172\1\uffff\1\151\1\163\1\124\1\151" + "\1\162\1\141\1\151\1\164\1\151\1\144\1\142\1\143\1\144\1\172\1\156" + "\1\164\2\145\1\120\1\164\1\143\1\164\1\151\1\124\1\145\2\151\1\145" + "\1\141\1\117\1\101\1\116\1\117\1\154\1\164\1\171\1\uffff\1\172\1" + "\uffff\1\172\1\uffff\1\144\1\172\1\171\1\157\1\144\1\154\1\144\1" + "\164\1\142\1\172\1\165\1\151\1\172\1\uffff\1\163\1\164\2\144\1\157" + "\2\164\1\162\1\142\1\171\1\172\2\146\1\172\1\160\1\146\1\116\1\105" + "\1\101\1\116\1\172\1\145\1\160\1\171\2\uffff\1\172\2\uffff\1\160" + "\1\156\1\145\1\165\1\145\1\162\1\165\1\uffff\2\164\1\uffff\1\151" + "\1\162\1\103\1\101\1\151\1\162\1\101\1\151\1\165\1\160\1\uffff\2" + "\141\1\uffff\1\150\1\172\1\131\1\172\1\116\1\105\1\uffff\1\170\1" + "\145\1\160\1\uffff\1\145\1\172\1\162\1\145\1\162\1\151\1\164\1\145" + "\1\171\1\157\1\151\1\157\1\164\1\156\1\151\1\164\1\142\1\164\1\145" + "\2\143\1\151\1\uffff\1\172\1\uffff\1\131\1\172\1\164\1\172\1\145" + "\1\172\1\uffff\1\124\2\172\1\142\1\145\1\104\1\172\1\156\1\142\1" + "\156\2\164\1\142\1\164\1\165\1\145\1\172\2\164\1\143\1\uffff\1\172" + "\1\uffff\1\172\1\uffff\1\172\1\uffff\1\171\2\uffff\1\165\1\172\1" + "\141\1\uffff\1\172\1\165\1\164\1\162\1\101\1\165\1\162\1\164\1\172" + "\1\uffff\2\124\1\141\3\uffff\1\160\1\164\1\uffff\1\164\1\uffff\1" + "\164\1\145\1\151\2\164\1\151\1\145\1\uffff\2\171\1\154\2\145\1\141" + "\1\145\1\156\1\142\1\164\1\145\1\142\1\172\2\160\1\137\1\172\1\124" + "\1\120\1\172\1\164\1\165\1\162\1\172\1\165\1\uffff\2\145\1\104\1" + "\uffff\2\141\1\162\1\uffff\1\101\1\164\1\151\1\uffff\1\164\2\172" + "\1\145\1\163\1\147\1\164\1\157\1\164\1\145\1\142\1\145\2\uffff\1" + "\163\1\143\1\147\1\141\1\166\1\164\1\172\1\165\1\172\1\143\2\145" + "\1\120\1\151\1\162\1\uffff\1\164\1\uffff\1\145\1\156\2\162\1\144" + "\1\151\1\145\1\156\1\144\1\120\1\157\1\145\1\142\1\172\1\144\1\151" + "\1\162\1\166\1\162\1\165\1\uffff\1\151\1\156\1\157\1\151\1\172\1" + "\164\1\156\1\147\1\166\1\144\1\uffff\1\145\1\147\1\172\1\151\1\145" + "\2\172\1\uffff\1\144\1\162\2\uffff\1\145\1\172\1\162\1\uffff\1\172" + "\1\uffff"; - static final String DFA13_acceptS = - "\2\uffff\1\2\2\uffff\1\6\1\7\1\uffff\1\11\24\uffff\1\66\6\uffff" + "\1\106\3\uffff\1\113\1\114\2\uffff\1\106\1\2\10\uffff\1\6\1\7\1" + "\uffff\1\11\36\uffff\1\66\4\uffff\1\105\1\uffff\1\110\1\111\1\112" + "\1\113\15\uffff\1\73\51\uffff\1\50\21\uffff\1\21\1\22\34\uffff\1" + "\72\3\uffff\1\10\10\uffff\1\101\7\uffff\1\104\31\uffff\1\44\44\uffff" + "\1\100\1\1\12\uffff\1\67\24\uffff\1\102\1\103\1\uffff\1\51\14\uffff" + "\1\65\4\uffff\1\5\44\uffff\1\64\1\uffff\1\3\1\uffff\1\26\15\uffff" + "\1\24\30\uffff\1\12\1\45\1\uffff\1\46\1\15\7\uffff\1\63\2\uffff" + "\1\23\12\uffff\1\55\2\uffff\1\53\6\uffff\1\47\3\uffff\1\13\26\uffff" + "\1\71\1\uffff\1\74\6\uffff\1\27\24\uffff\1\75\1\uffff\1\76\1\uffff" + "\1\4\1\uffff\1\43\1\uffff\1\30\1\16\3\uffff\1\60\11\uffff\1\52\3" + "\uffff\1\77\1\70\1\14\2\uffff\1\34\1\uffff\1\31\7\uffff\1\42\31" + "\uffff\1\41\3\uffff\1\57\3\uffff\1\32\3\uffff\1\37\14\uffff\1\56" + "\1\54\17\uffff\1\35\1\uffff\1\40\24\uffff\1\36\12\uffff\1\20\7\uffff" + "\1\61\2\uffff\1\33\1\62\3\uffff\1\17\1\uffff\1\25"; - static final String DFA13_specialS = "\u02a4\uffff}>"; - static final String[] DFA13_transitionS = - { - "\11\51\2\50\2\51\1\50\22\51\1\50\1\51\1\45\4\51\1\46\4\51\1" + "\5\1\51\1\2\1\47\12\42\1\51\1\35\5\51\1\41\1\22\1\23\1\14\1" + "\24\1\25\2\44\1\26\1\27\1\44\1\34\1\40\1\44\1\37\3\44\1\30\1" + "\44\1\15\1\44\1\31\3\44\3\51\1\43\1\44\1\51\1\3\1\11\1\36\1" + "\13\1\4\1\21\1\7\1\44\1\1\3\44\1\16\1\44\1\12\2\44\1\32\1\33" + "\1\20\1\17\5\44\1\6\1\51\1\10\uff81\51", - "\1\52\1\53", - "", - "\1\61\1\56\1\62\15\uffff\1\57\1\uffff\1\60", - "\1\63\11\uffff\1\64\11\uffff\1\65", - "", - "", - "\1\70", - "", - "\1\72", - "\1\73\14\uffff\1\75\2\uffff\1\74", - "\1\77\3\uffff\1\76", - "\1\102\33\uffff\1\101\3\uffff\1\100", - "\1\103\3\uffff\1\104", - "\1\107\7\uffff\1\106\13\uffff\1\105", - "\1\110", - "\1\111", - "\1\112", - "\1\114\37\uffff\1\113", - "\1\115", - "\1\116", - "\1\117", - "\1\120", - "\1\121", - "\1\123\52\uffff\1\122", - "\1\124", - "\1\125", - "\1\126", - "\1\127", - "", - "\1\131", - "\1\132", - "\1\133", - "\1\134", - "\12\136", - "\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\uffff\137", - "\uffff\137", - "\1\140\4\uffff\1\141", - "", - "", - "\1\143", - "\1\144", - "", - "", - "\1\145", - "\1\146", - "\1\147", - "\1\150", - "\1\151", - "\1\152", - "\1\153\1\154", - "\1\155", - "", - "", - "\1\156", - "", - "\1\157", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\161", - "\1\162", - "\1\164\14\uffff\1\163", - "\1\165", - "\1\166", - "\1\167", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "\1\177", - "\1\u0080", - "\1\u0081", - "\1\u0082", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008c\1\u008b", - "\1\u008d", - "\1\u008e", - "", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "", - "\12\136", - "", - "", - "", - "", - "\1\u0093", - "\1\u0094", - "\1\u0095", - "\1\u0097\41\uffff\1\u0096", - "\1\u0098", - "\1\u0099", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\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", - "\1\u00a9", - "\1\u00aa", - "\1\u00ab", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00ae", - "\1\u00af", - "\1\u00b0", - "\1\u00b1", - "\1\u00b2", - "\1\u00b3", - "\1\u00b4", - "\1\u00b5", - "\1\u00b6", - "\1\u00b7", - "\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", - "\1\u00c8", - "\1\u00c9", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00cb", - "\1\u00cc", - "\1\u00cd", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00cf", - "\1\u00d0", - "\1\u00d1", - "\1\u00d2", - "\1\u00d3", - "\1\u00d4", - "\1\u00d5", - "\1\u00d6", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00d8", - "\1\u00d9", - "\1\u00da", - "", - "", - "\1\u00db", - "\1\u00dc", - "\1\u00dd", - "\1\u00de", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00e0", - "\1\u00e1", - "\1\u00e2", - "\1\u00e3", - "\1\u00e4", - "\1\u00e5", - "\1\u00e6", - "\1\u00e7", - "\1\u00e8", - "\1\u00e9", - "\1\u00eb\1\u00ea", - "\1\u00ec", - "\1\u00ed", - "\1\u00ee", - "\1\u00ef", - "\1\u00f0", - "\1\u00f1", - "\1\u00f2", - "\1\u00f3", - "\1\u00f4", - "\1\u00f5", - "\1\u00f6", - "\1\u00f7", - "", - "\12\54\7\uffff\6\54\1\u00f8\23\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00fa", - "\1\u00fb", - "", - "\1\u00fc", - "\1\u00fd", - "\1\u00fe", - "\1\u00ff", - "\1\u0100", - "\1\u0101", - "\1\u0102", - "\1\u0103", - "", - "\1\u0104", - "\1\u0105", - "\1\u0106", - "\1\u0107", - "\1\u0108", - "\1\u0109", - "\1\u010a", - "", - "\1\u010b", - "\1\u010c", - "\1\u010d", - "\1\u010e", - "\1\u010f", - "\1\u0110", - "\1\u0111\1\u0112", - "\1\u0113", - "\1\u0114", - "\1\u0115", - "\1\u0117\14\uffff\1\u0116", - "\1\u0118\14\uffff\1\u0119", - "\1\u011a", - "\1\u011b", - "\1\u011c", - "\1\u011d", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0120", - "\1\u0121", - "\1\u0122", - "\1\u0123", - "\1\u0124", - "\1\u0125", - "\1\u0126", - "", - "\1\u0127", - "\1\u0128", - "\12\54\7\uffff\6\54\1\u0129\23\54\4\uffff\1\54\1\uffff\32\54", - "\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", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0141", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0143", - "\1\u0144", - "\1\u0145", - "\1\u0146", - "\1\u0147", - "\1\u0148", - "\1\u0149", - "\1\u014a", - "\1\u014b", - "", - "", - "\1\u014c", - "\1\u014d", - "\1\u014e", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0150", - "\1\u0151", - "\1\u0152", - "\1\u0153", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0155", - "", - "\1\u0156", - "\1\u0157", - "\1\u0158", - "\1\u0159\6\uffff\1\u015a", - "\1\u015b", - "\1\u015c", - "\1\u015d", - "\1\u015e", - "\1\u015f", - "\1\u0160", - "\1\u0161", - "\1\u0162", - "\1\u0163", - "\1\u0164", - "\1\u0165", - "\1\u0166", - "\1\u0167", - "\1\u0168", - "\1\u0169", - "\1\u016a", - "", - "", - "\1\u016b", - "", - "\1\u016c", - "\1\u016d", - "\1\u016e", - "\1\u016f", - "\1\u0170", - "\1\u0171", - "\1\u0172", - "\1\u0173\1\uffff\1\u0174", - "\1\u0175", - "\1\u0176", - "\1\u0177", - "\12\54\7\uffff\23\54\1\u0178\6\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u017a", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u017c", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u017e", - "\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\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u018c", - "\1\u018d", - "\1\u018e", - "\1\u018f", - "\1\u0190", - "\1\u0191", - "\1\u0192", - "\1\u0193", - "\1\u0194", - "\1\u0195", - "\1\u0196", - "\1\u0197", - "\1\u0198", - "\1\u0199", - "\1\u019a", - "\1\u019b", - "\1\u019c", - "\1\u019d", - "\1\u019e\1\uffff\1\u019f", - "\1\u01a0", - "\1\u01a1", - "\1\u01a2", - "", - "\12\54\7\uffff\23\54\1\u01a3\6\54\4\uffff\1\54\1\uffff\32\54", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u01a6", - "\1\u01a7\17\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32" + "\54", - "\1\u01a9", - "\1\u01aa", - "\1\u01ab", - "\1\u01ac", - "\1\u01ad", - "\1\u01ae", - "\1\u01af", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01b1", - "\1\u01b2", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u01b4", - "\1\u01b5", - "\1\u01b6", - "\1\u01b7", - "\1\u01b8", - "\1\u01b9", - "\1\u01ba", - "\1\u01bb", - "\1\u01bc", - "\1\u01bd", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01bf", - "\1\u01c0", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01c2", - "\1\u01c3", - "\1\u01c4", - "\1\u01c5", - "\1\u01c6", - "\1\u01c7", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01c9", - "\1\u01ca", - "\1\u01cb", - "", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "", - "\1\u01cd", - "\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", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01e4", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01e6", - "\1\u01e7", - "", - "\1\u01e8", - "\1\u01e9", - "\1\u01ea", - "", - "\1\u01eb", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01ed", - "\1\u01ee", - "\1\u01ef", - "\1\u01f0", - "\1\u01f1", - "\1\u01f2", - "\1\u01f3", - "\1\u01f4", - "\1\u01f5", - "\1\u01f6", - "\1\u01f7", - "\1\u01f8", - "\1\u01f9", - "\1\u01fa", - "\1\u01fb", - "\1\u01fc", - "\1\u01fd", - "\1\u01fe", - "\1\u01ff", - "\1\u0200", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u0202", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0204", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0206", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u0208", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u020b", - "\1\u020c", - "\1\u020d", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u020f", - "\1\u0210", - "\1\u0211", - "\1\u0212", - "\1\u0213", - "\1\u0214", - "\1\u0215", - "\1\u0216", - "\1\u0217", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0219", - "\1\u021a", - "\1\u021b", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u021f", - "", - "", - "\1\u0220", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0222", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0224", - "\1\u0225", - "\1\u0226", - "\1\u0227", - "\1\u0228", - "\1\u0229", - "\1\u022a", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u022c", - "\1\u022d", - "\1\u022e", - "", - "", - "", - "\1\u022f", - "\1\u0230", - "", - "\1\u0231", - "", - "\1\u0232", - "\1\u0233", - "\1\u0234", - "\1\u0235", - "\1\u0236", - "\1\u0237", - "\1\u0238", - "", - "\1\u0239", - "\1\u023a", - "\1\u023b", - "\1\u023c", - "\1\u023d", - "\1\u023e", - "\1\u023f", - "\1\u0240", - "\1\u0241", - "\1\u0242", - "\1\u0243", - "\1\u0244", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0246", - "\1\u0247", - "\1\u0248", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u024b\17\uffff\1\u024a", - "\1\u024c", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u024e", - "\1\u024f", - "\1\u0250", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0252", - "", - "\1\u0253", - "\1\u0254", - "\1\u0256\2\uffff\1\u0255", - "", - "\1\u0257", - "\1\u0258", - "\1\u0259", - "", - "\1\u025a", - "\1\u025b", - "\1\u025c", - "", - "\1\u025d", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0260", - "\1\u0261", - "\1\u0262", - "\1\u0263", - "\1\u0264", - "\1\u0265", - "\1\u0266", - "\1\u0267", - "\1\u0268", - "", - "", - "\1\u0269", - "\1\u026a", - "\1\u026b", - "\1\u026c", - "\1\u026d", - "\1\u026e", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0270", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0272", - "\1\u0273", - "\1\u0274", - "\1\u0275", - "\1\u0276", - "\1\u0277", - "", - "\1\u0278", - "", - "\1\u0279", - "\1\u027a", - "\1\u027b", - "\1\u027c", - "\1\u027d", - "\1\u027e", - "\1\u027f", - "\1\u0280", - "\1\u0281", - "\1\u0282", - "\1\u0283", - "\1\u0284", - "\1\u0285", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0287", - "\1\u0288", - "\1\u0289", - "\1\u028a", - "\1\u028b", - "\1\u028c", - "", - "\1\u028d", - "\1\u028e", - "\1\u028f", - "\1\u0290", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0292", - "\1\u0293", - "\1\u0294", - "\1\u0295", - "\1\u0296", - "", - "\1\u0297", - "\1\u0298", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u029a", - "\1\u029b", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\1\u029e", - "\1\u029f", - "", - "", - "\1\u02a0", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u02a2", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - ""}; - - 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 : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - } + + } + + 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; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2748:16: ( . ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2748:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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 | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt13=76; + alt13 = dfa13.predict(input); + switch (alt13) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:10: T__12 + { + mT__12(); + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:16: T__13 + { + mT__13(); + + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:22: T__14 + { + mT__14(); + + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:28: T__15 + { + mT__15(); + + } + break; + case 5 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:34: T__16 + { + mT__16(); + + } + break; + case 6 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:40: T__17 + { + mT__17(); + + } + break; + case 7 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:46: T__18 + { + mT__18(); + + } + break; + case 8 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:52: T__19 + { + mT__19(); + + } + break; + case 9 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:58: T__20 + { + mT__20(); + + } + break; + case 10 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:64: T__21 + { + mT__21(); + + } + break; + case 11 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:70: T__22 + { + mT__22(); + + } + break; + case 12 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:76: T__23 + { + mT__23(); + + } + break; + case 13 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:82: T__24 + { + mT__24(); + + } + break; + case 14 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:88: T__25 + { + mT__25(); + + } + break; + case 15 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:94: T__26 + { + mT__26(); + + } + break; + case 16 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:100: T__27 + { + mT__27(); + + } + break; + case 17 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:106: T__28 + { + mT__28(); + + } + break; + case 18 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:112: T__29 + { + mT__29(); + + } + break; + case 19 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:118: T__30 + { + mT__30(); + + } + break; + case 20 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:124: T__31 + { + mT__31(); + + } + break; + case 21 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:130: T__32 + { + mT__32(); + + } + break; + case 22 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:136: T__33 + { + mT__33(); + + } + break; + case 23 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:142: T__34 + { + mT__34(); + + } + break; + case 24 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:148: T__35 + { + mT__35(); + + } + break; + case 25 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:154: T__36 + { + mT__36(); + + } + break; + case 26 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:160: T__37 + { + mT__37(); + + } + break; + case 27 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:166: T__38 + { + mT__38(); + + } + break; + case 28 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:172: T__39 + { + mT__39(); + + } + break; + case 29 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:178: T__40 + { + mT__40(); + + } + break; + case 30 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:184: T__41 + { + mT__41(); + + } + break; + case 31 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:190: T__42 + { + mT__42(); + + } + break; + case 32 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:196: T__43 + { + mT__43(); + + } + break; + case 33 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:202: T__44 + { + mT__44(); + + } + break; + case 34 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:208: T__45 + { + mT__45(); + + } + break; + case 35 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:214: T__46 + { + mT__46(); + + } + break; + case 36 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:220: T__47 + { + mT__47(); + + } + break; + case 37 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:226: T__48 + { + mT__48(); + + } + break; + case 38 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:232: T__49 + { + mT__49(); + + } + break; + case 39 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:238: T__50 + { + mT__50(); + + } + break; + case 40 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:244: T__51 + { + mT__51(); + + } + break; + case 41 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:250: T__52 + { + mT__52(); + + } + break; + case 42 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:256: T__53 + { + mT__53(); + + } + break; + case 43 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:262: T__54 + { + mT__54(); + + } + break; + case 44 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:268: T__55 + { + mT__55(); + + } + break; + case 45 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:274: T__56 + { + mT__56(); + + } + break; + case 46 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:280: T__57 + { + mT__57(); + + } + break; + case 47 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:286: T__58 + { + mT__58(); + + } + break; + case 48 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:292: T__59 + { + mT__59(); + + } + break; + case 49 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:298: T__60 + { + mT__60(); + + } + break; + case 50 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:304: T__61 + { + mT__61(); + + } + break; + case 51 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:310: T__62 + { + mT__62(); + + } + break; + case 52 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:316: T__63 + { + mT__63(); + + } + break; + case 53 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:322: T__64 + { + mT__64(); + + } + break; + case 54 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:328: T__65 + { + mT__65(); + + } + break; + case 55 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:334: T__66 + { + mT__66(); + + } + break; + case 56 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:340: T__67 + { + mT__67(); + + } + break; + case 57 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:346: T__68 + { + mT__68(); + + } + break; + case 58 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:352: T__69 + { + mT__69(); + + } + break; + case 59 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:358: T__70 + { + mT__70(); + + } + break; + case 60 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:364: T__71 + { + mT__71(); + + } + break; + case 61 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:370: T__72 + { + mT__72(); + + } + break; + case 62 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:376: T__73 + { + mT__73(); + + } + break; + case 63 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:382: T__74 + { + mT__74(); + + } + break; + case 64 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:388: T__75 + { + mT__75(); + + } + break; + case 65 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:394: T__76 + { + mT__76(); + + } + break; + case 66 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:400: T__77 + { + mT__77(); + + } + break; + case 67 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:406: T__78 + { + mT__78(); + + } + break; + case 68 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:412: T__79 + { + mT__79(); + + } + break; + case 69 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:418: RULE_WHOLE_NUM_STR + { + mRULE_WHOLE_NUM_STR(); + + } + break; + case 70 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:437: RULE_ID + { + mRULE_ID(); + + } + break; + case 71 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:445: RULE_INT + { + mRULE_INT(); + + } + break; + case 72 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:454: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 73 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:466: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 74 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:482: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 75 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:498: RULE_WS + { + mRULE_WS(); + + } + break; + case 76 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:506: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA13 dfa13 = new DFA13(this); + static final String DFA13_eotS = + "\1\uffff\1\54\1\uffff\2\54\2\uffff\1\54\1\uffff\24\54\1\uffff\4"+ + "\54\1\135\1\51\1\uffff\3\51\2\uffff\2\54\2\uffff\10\54\2\uffff\1"+ + "\54\1\uffff\3\54\1\162\32\54\1\uffff\4\54\1\uffff\1\135\4\uffff"+ + "\5\54\1\u0099\11\54\1\uffff\10\54\1\u00ab\1\u00ac\34\54\1\uffff"+ + "\4\54\1\u00cd\1\u00ce\10\54\1\u00d7\2\54\2\uffff\5\54\1\u00df\31"+ + "\54\1\u00fb\2\uffff\10\54\1\uffff\7\54\1\uffff\20\54\1\u011e\1\u011f"+ + "\11\54\1\uffff\1\u012a\24\54\1\u013f\1\u0140\1\54\1\u0142\11\54"+ + "\2\uffff\3\54\1\u014f\2\54\1\u0152\3\54\1\uffff\24\54\2\uffff\1"+ + "\54\1\uffff\12\54\1\u0177\1\u0179\1\uffff\2\54\1\uffff\1\u017c\16"+ + "\54\1\u018b\24\54\1\uffff\1\54\1\uffff\1\u01a3\1\54\1\uffff\1\u01a5"+ + "\1\54\1\u01a8\10\54\1\u01b1\1\54\1\u01b3\1\uffff\12\54\1\u01be\1"+ + "\54\1\u01c0\7\54\1\u01c8\2\54\1\uffff\1\54\1\uffff\1\u01cc\2\uffff"+ + "\10\54\1\uffff\1\54\1\uffff\12\54\1\uffff\1\54\1\uffff\2\54\1\u01e3"+ + "\1\u01e4\3\54\1\uffff\3\54\1\uffff\2\54\1\u01ed\23\54\2\uffff\1"+ + "\u0201\1\u0202\1\54\1\u0204\2\54\1\u0207\1\u0208\1\uffff\1\u0209"+ + "\4\54\1\u020e\11\54\1\u0218\3\54\2\uffff\1\u021c\1\uffff\1\u021d"+ + "\1\u021e\3\uffff\2\54\1\u0221\1\54\1\uffff\1\u0223\7\54\1\u022b"+ + "\1\uffff\3\54\3\uffff\2\54\1\uffff\1\54\1\uffff\7\54\1\uffff\14"+ + "\54\1\u0245\3\54\1\u0249\2\54\1\u024d\3\54\1\u0251\1\54\1\uffff"+ + "\3\54\1\uffff\3\54\1\uffff\3\54\1\uffff\1\54\1\u025e\1\u025f\11"+ + "\54\2\uffff\6\54\1\u026f\1\54\1\u0271\6\54\1\uffff\1\54\1\uffff"+ + "\15\54\1\u0286\6\54\1\uffff\4\54\1\u0291\5\54\1\uffff\1\54\1\u0298"+ + "\3\54\1\u029c\1\uffff\1\u029d\2\54\2\uffff\1\u02a0\1\54\1\uffff"+ + "\1\54\1\u02a3\1\uffff"; + static final String DFA13_eofS = + "\u02a4\uffff"; + static final String DFA13_minS = + "\1\0\1\155\1\uffff\1\142\1\144\2\uffff\1\165\1\uffff\1\162\1\146"+ + "\1\141\1\105\1\156\1\141\1\156\1\141\1\151\1\117\1\157\1\156\1\154"+ + "\1\156\1\141\1\111\1\157\1\145\1\151\1\145\1\uffff\1\150\1\116\1"+ + "\101\1\114\1\60\1\101\1\uffff\2\0\1\52\2\uffff\1\160\1\150\2\uffff"+ + "\1\163\2\164\1\144\1\143\2\164\1\151\2\uffff\1\151\1\uffff\1\141"+ + "\2\145\1\60\1\164\2\146\1\164\1\116\1\151\1\157\1\156\1\170\2\154"+ + "\1\147\1\154\1\157\1\124\1\155\1\165\1\157\1\164\1\166\1\162\1\104"+ + "\1\162\1\154\1\144\1\170\1\uffff\1\151\1\105\1\116\1\114\1\uffff"+ + "\1\60\4\uffff\1\157\1\145\1\164\1\107\1\162\1\60\2\145\1\155\1\162"+ + "\1\164\1\144\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\164\1\151\1\147\1\145\1\154\1\110\1\160"+ + "\1\155\1\141\1\145\1\141\1\151\1\105\1\144\1\157\1\141\1\145\1\151"+ + "\1\154\1\137\1\131\1\117\3\162\1\146\1\165\1\151\1\uffff\1\163\1"+ + "\156\1\124\1\171\2\60\1\143\1\162\1\105\1\120\1\162\2\165\1\101"+ + "\1\60\1\164\1\144\2\uffff\1\151\1\155\1\145\1\105\1\145\1\60\1\162"+ + "\1\145\1\164\1\147\1\117\1\156\1\137\1\101\1\166\1\164\1\101\1\143"+ + "\1\144\1\124\1\137\1\127\1\164\1\151\2\141\1\151\1\142\1\163\1\144"+ + "\1\171\1\60\2\uffff\1\150\1\151\1\156\1\162\1\151\2\154\1\164\1"+ + "\uffff\1\164\1\145\1\160\1\151\1\162\1\170\1\141\1\uffff\1\145\1"+ + "\162\1\151\1\145\1\142\1\147\1\101\1\164\1\145\1\151\2\101\1\157"+ + "\1\162\1\117\1\124\2\60\1\164\2\143\1\144\1\165\1\103\1\163\1\160"+ + "\1\165\1\uffff\1\60\1\144\1\165\1\157\1\160\3\164\2\162\1\154\1"+ + "\164\1\111\1\164\1\156\1\163\1\141\1\156\1\162\1\152\1\101\2\60"+ + "\1\164\1\60\1\157\1\141\1\162\1\141\1\162\1\147\1\145\1\137\1\117"+ + "\2\uffff\1\101\2\164\1\60\1\164\1\157\1\60\1\145\1\151\1\165\1\uffff"+ + "\1\145\1\155\1\166\1\164\1\117\1\101\1\162\1\151\1\145\1\151\1\145"+ + "\1\144\1\145\1\101\1\163\1\164\1\147\1\101\1\145\1\164\2\uffff\1"+ + "\162\1\uffff\1\156\1\155\1\164\1\155\1\164\1\162\1\156\1\115\1\137"+ + "\1\154\2\60\1\uffff\1\145\1\156\1\uffff\1\60\1\144\1\151\1\163\1"+ + "\124\2\151\1\141\1\162\1\164\1\151\1\142\1\144\1\143\1\144\1\60"+ + "\1\156\1\164\2\145\1\120\1\164\1\143\1\164\1\151\1\124\1\145\1\151"+ + "\1\145\1\151\1\141\1\117\1\116\1\101\1\115\1\154\1\uffff\1\171\1"+ + "\uffff\1\60\1\164\1\uffff\1\60\1\144\1\40\1\171\1\144\1\157\1\154"+ + "\1\144\1\164\1\142\1\165\1\60\1\151\1\60\1\uffff\1\163\1\164\2\144"+ + "\1\157\2\164\1\162\1\142\1\171\1\60\1\146\1\60\1\146\1\160\1\146"+ + "\1\105\2\116\1\101\1\60\1\160\1\171\1\uffff\1\145\1\uffff\1\60\2"+ + "\uffff\1\160\1\145\1\156\1\165\1\145\1\162\1\165\1\164\1\uffff\1"+ + "\164\1\uffff\1\151\1\162\1\103\1\101\1\151\1\162\1\101\1\151\1\165"+ + "\1\160\1\uffff\1\141\1\uffff\1\141\1\150\2\60\1\131\1\105\1\116"+ + "\1\uffff\1\145\1\160\1\170\1\uffff\1\145\1\162\1\60\1\145\1\162"+ + "\1\151\1\164\1\145\1\171\1\157\1\151\1\157\1\164\1\156\1\151\1\164"+ + "\1\142\1\164\1\145\2\143\1\151\2\uffff\2\60\1\131\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\1\156"+ + "\2\164\1\142\1\164\1\165\1\145\1\60\2\164\1\143\2\uffff\1\60\1\uffff"+ + "\2\60\3\uffff\1\171\1\165\1\60\1\141\1\uffff\1\60\1\165\1\164\1"+ + "\162\1\101\1\165\1\162\1\164\1\60\1\uffff\2\124\1\141\3\uffff\1"+ + "\160\1\164\1\uffff\1\164\1\uffff\1\164\1\145\1\151\2\164\1\151\1"+ + "\145\1\uffff\2\171\1\154\2\145\1\141\1\145\1\156\1\142\1\164\1\145"+ + "\1\142\1\60\2\160\1\137\1\60\1\104\1\120\1\60\1\164\1\165\1\162"+ + "\1\60\1\165\1\uffff\2\145\1\101\1\uffff\2\141\1\162\1\uffff\1\101"+ + "\1\164\1\151\1\uffff\1\164\2\60\1\163\1\145\1\164\1\147\1\157\1"+ + "\164\1\145\1\142\1\145\2\uffff\1\143\1\163\1\141\1\147\1\166\1\164"+ + "\1\60\1\165\1\60\1\145\1\143\1\120\1\145\1\151\1\162\1\uffff\1\164"+ + "\1\uffff\1\156\1\145\2\162\1\144\1\151\1\145\1\144\1\156\1\157\1"+ + "\120\1\145\1\142\1\60\1\151\1\144\1\166\2\162\1\165\1\uffff\1\156"+ + "\2\151\1\157\1\60\1\164\1\147\1\156\1\144\1\166\1\uffff\1\145\1"+ + "\60\1\147\1\145\1\151\1\60\1\uffff\1\60\1\162\1\144\2\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\2\uffff\1\165\1\uffff\1\162"+ + "\1\166\2\145\1\162\1\165\1\156\1\141\1\151\2\157\1\156\1\154\1\156"+ + "\1\141\1\164\1\157\1\145\1\151\1\145\1\uffff\1\150\1\116\1\101\1"+ + "\114\1\71\1\172\1\uffff\2\uffff\1\57\2\uffff\1\160\1\150\2\uffff"+ + "\1\163\2\164\1\144\1\143\1\164\1\165\1\151\2\uffff\1\151\1\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\2\154\1\147\1\154\1\157\1\124\1\155\1\165\1\157\1\164\1\166"+ + "\1\162\1\104\1\162\1\155\1\144\1\170\1\uffff\1\151\1\105\1\116\1"+ + "\114\1\uffff\1\71\4\uffff\1\157\1\145\1\164\1\151\1\162\1\172\2"+ + "\145\1\155\1\162\1\164\1\144\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\164\1\151\1\147\1\145\1\154"+ + "\1\110\1\160\1\155\1\141\1\145\1\141\1\151\1\105\1\144\1\157\1\141"+ + "\1\145\1\151\1\154\1\137\1\131\1\117\3\162\1\146\1\165\1\151\1\uffff"+ + "\1\163\1\156\1\124\1\171\2\172\1\143\1\162\1\105\1\120\1\162\2\165"+ + "\1\101\1\172\1\164\1\144\2\uffff\1\151\1\155\1\145\1\105\1\145\1"+ + "\172\1\162\1\145\1\164\1\147\1\117\1\156\1\137\1\101\1\166\1\164"+ + "\1\102\1\143\1\144\1\124\1\137\1\127\1\164\1\151\2\141\1\151\1\142"+ + "\1\163\1\144\1\171\1\172\2\uffff\1\150\1\151\1\156\1\162\1\151\2"+ + "\154\1\164\1\uffff\1\164\1\145\1\160\1\151\1\162\1\170\1\141\1\uffff"+ + "\1\145\1\162\1\151\1\145\1\142\1\147\1\102\1\164\1\145\1\151\2\116"+ + "\1\157\1\162\1\117\1\124\2\172\1\164\2\143\1\144\1\165\1\103\1\163"+ + "\1\160\1\165\1\uffff\1\172\1\144\1\165\1\157\1\160\3\164\2\162\1"+ + "\154\1\164\1\111\1\164\1\156\1\163\1\141\1\156\1\162\1\152\1\101"+ + "\2\172\1\164\1\172\1\157\1\141\1\162\1\141\1\162\1\147\1\145\1\137"+ + "\1\117\2\uffff\1\101\2\164\1\172\1\164\1\157\1\172\1\145\1\151\1"+ + "\165\1\uffff\1\145\1\155\1\166\1\164\1\126\1\101\1\162\1\151\1\145"+ + "\1\151\1\145\1\144\1\145\1\101\1\163\1\164\1\147\1\101\1\145\1\164"+ + "\2\uffff\1\162\1\uffff\1\156\1\155\1\164\1\155\1\164\1\162\1\156"+ + "\1\117\1\137\1\154\2\172\1\uffff\1\145\1\156\1\uffff\1\172\1\144"+ + "\1\151\1\163\1\124\2\151\1\141\1\162\1\164\1\151\1\142\1\144\1\143"+ + "\1\144\1\172\1\156\1\164\2\145\1\120\1\164\1\143\1\164\1\151\1\124"+ + "\1\145\1\151\1\145\1\151\1\141\1\117\1\116\1\101\1\117\1\154\1\uffff"+ + "\1\171\1\uffff\1\172\1\164\1\uffff\1\172\1\144\1\172\1\171\1\144"+ + "\1\157\1\154\1\144\1\164\1\142\1\165\1\172\1\151\1\172\1\uffff\1"+ + "\163\1\164\2\144\1\157\2\164\1\162\1\142\1\171\1\172\1\146\1\172"+ + "\1\146\1\160\1\146\1\105\2\116\1\101\1\172\1\160\1\171\1\uffff\1"+ + "\145\1\uffff\1\172\2\uffff\1\160\1\145\1\156\1\165\1\145\1\162\1"+ + "\165\1\164\1\uffff\1\164\1\uffff\1\151\1\162\1\103\1\101\1\151\1"+ + "\162\1\101\1\151\1\165\1\160\1\uffff\1\141\1\uffff\1\141\1\150\2"+ + "\172\1\131\1\105\1\116\1\uffff\1\145\1\160\1\170\1\uffff\1\145\1"+ + "\162\1\172\1\145\1\162\1\151\1\164\1\145\1\171\1\157\1\151\1\157"+ + "\1\164\1\156\1\151\1\164\1\142\1\164\1\145\2\143\1\151\2\uffff\2"+ + "\172\1\131\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\1\156\2\164\1\142\1\164\1\165\1\145\1\172"+ + "\2\164\1\143\2\uffff\1\172\1\uffff\2\172\3\uffff\1\171\1\165\1\172"+ + "\1\141\1\uffff\1\172\1\165\1\164\1\162\1\101\1\165\1\162\1\164\1"+ + "\172\1\uffff\2\124\1\141\3\uffff\1\160\1\164\1\uffff\1\164\1\uffff"+ + "\1\164\1\145\1\151\2\164\1\151\1\145\1\uffff\2\171\1\154\2\145\1"+ + "\141\1\145\1\156\1\142\1\164\1\145\1\142\1\172\2\160\1\137\1\172"+ + "\1\124\1\120\1\172\1\164\1\165\1\162\1\172\1\165\1\uffff\2\145\1"+ + "\104\1\uffff\2\141\1\162\1\uffff\1\101\1\164\1\151\1\uffff\1\164"+ + "\2\172\1\163\1\145\1\164\1\147\1\157\1\164\1\145\1\142\1\145\2\uffff"+ + "\1\143\1\163\1\141\1\147\1\166\1\164\1\172\1\165\1\172\1\145\1\143"+ + "\1\120\1\145\1\151\1\162\1\uffff\1\164\1\uffff\1\156\1\145\2\162"+ + "\1\144\1\151\1\145\1\144\1\156\1\157\1\120\1\145\1\142\1\172\1\151"+ + "\1\144\1\166\2\162\1\165\1\uffff\1\156\2\151\1\157\1\172\1\164\1"+ + "\147\1\156\1\144\1\166\1\uffff\1\145\1\172\1\147\1\145\1\151\1\172"+ + "\1\uffff\1\172\1\162\1\144\2\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\uffff\1\11\24\uffff\1\66\6\uffff"+ + "\1\106\3\uffff\1\113\1\114\2\uffff\1\106\1\2\10\uffff\1\6\1\7\1"+ + "\uffff\1\11\36\uffff\1\66\4\uffff\1\105\1\uffff\1\110\1\111\1\112"+ + "\1\113\17\uffff\1\73\46\uffff\1\50\21\uffff\1\21\1\22\40\uffff\1"+ + "\72\1\10\10\uffff\1\101\7\uffff\1\104\33\uffff\1\44\42\uffff\1\100"+ + "\1\1\12\uffff\1\67\24\uffff\1\102\1\103\1\uffff\1\51\14\uffff\1"+ + "\65\2\uffff\1\5\44\uffff\1\3\1\uffff\1\64\2\uffff\1\26\16\uffff"+ + "\1\24\27\uffff\1\12\1\uffff\1\45\1\uffff\1\46\1\15\10\uffff\1\63"+ + "\1\uffff\1\23\12\uffff\1\53\1\uffff\1\55\7\uffff\1\47\3\uffff\1"+ + "\13\26\uffff\1\71\1\74\10\uffff\1\27\23\uffff\1\75\1\76\1\uffff"+ + "\1\4\2\uffff\1\43\1\16\1\30\4\uffff\1\60\11\uffff\1\52\3\uffff\1"+ + "\77\1\14\1\70\2\uffff\1\34\1\uffff\1\31\7\uffff\1\42\31\uffff\1"+ + "\41\3\uffff\1\57\3\uffff\1\32\3\uffff\1\37\14\uffff\1\54\1\56\17"+ + "\uffff\1\35\1\uffff\1\40\24\uffff\1\36\12\uffff\1\20\6\uffff\1\61"+ + "\3\uffff\1\33\1\62\2\uffff\1\17\2\uffff\1\25"; + static final String DFA13_specialS = + "\1\0\44\uffff\1\2\1\1\u027d\uffff}>"; + static final String[] DFA13_transitionS = { + "\11\51\2\50\2\51\1\50\22\51\1\50\1\51\1\45\4\51\1\46\4\51\1"+ + "\5\1\51\1\2\1\47\12\42\1\51\1\35\5\51\1\41\1\22\1\23\1\14\1"+ + "\24\1\25\2\44\1\26\1\27\1\44\1\34\1\40\1\44\1\37\3\44\1\30\1"+ + "\44\1\15\1\44\1\31\3\44\3\51\1\43\1\44\1\51\1\3\1\11\1\36\1"+ + "\13\1\4\1\21\1\7\1\44\1\1\3\44\1\16\1\44\1\12\2\44\1\32\1\33"+ + "\1\20\1\17\5\44\1\6\1\51\1\10\uff82\51", + "\1\52\1\53", + "", + "\1\56\1\62\1\61\15\uffff\1\57\1\uffff\1\60", + "\1\65\11\uffff\1\64\11\uffff\1\63", + "", + "", + "\1\70", + "", + "\1\72", + "\1\75\14\uffff\1\74\2\uffff\1\73", + "\1\76\3\uffff\1\77", + "\1\102\33\uffff\1\101\3\uffff\1\100", + "\1\104\3\uffff\1\103", + "\1\106\7\uffff\1\105\13\uffff\1\107", + "\1\110", + "\1\111", + "\1\112", + "\1\114\37\uffff\1\113", + "\1\115", + "\1\116", + "\1\117", + "\1\120", + "\1\121", + "\1\123\52\uffff\1\122", + "\1\124", + "\1\125", + "\1\126", + "\1\127", + "", + "\1\131", + "\1\132", + "\1\133", + "\1\134", + "\12\136", + "\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\0\137", + "\0\137", + "\1\140\4\uffff\1\141", + "", + "", + "\1\143", + "\1\144", + "", + "", + "\1\145", + "\1\146", + "\1\147", + "\1\150", + "\1\151", + "\1\152", + "\1\154\1\153", + "\1\155", + "", + "", + "\1\156", + "", + "\1\157", + "\1\160", + "\1\161", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\163", + "\1\165\14\uffff\1\164", + "\1\166", + "\1\167", + "\1\170", + "\1\171", + "\1\172", + "\1\173", + "\1\174", + "\1\175", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", + "\1\u0082", + "\1\u0083", + "\1\u0084", + "\1\u0085", + "\1\u0086", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008c\1\u008b", + "\1\u008d", + "\1\u008e", + "", + "\1\u008f", + "\1\u0090", + "\1\u0091", + "\1\u0092", + "", + "\12\136", + "", + "", + "", + "", + "\1\u0093", + "\1\u0094", + "\1\u0095", + "\1\u0097\41\uffff\1\u0096", + "\1\u0098", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u009a", + "\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", + "\1\u00a9", + "\1\u00aa", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "\1\u00b5", + "\1\u00b6", + "\1\u00b7", + "\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", + "\1\u00c8", + "", + "\1\u00c9", + "\1\u00ca", + "\1\u00cb", + "\1\u00cc", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "\1\u00d4", + "\1\u00d5", + "\1\u00d6", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00d8", + "\1\u00d9", + "", + "", + "\1\u00da", + "\1\u00db", + "\1\u00dc", + "\1\u00dd", + "\1\u00de", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00e0", + "\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", + "\1\u00f5", + "\1\u00f6", + "\1\u00f7", + "\1\u00f8", + "\1\u00f9", + "\12\54\7\uffff\6\54\1\u00fa\23\54\4\uffff\1\54\1\uffff\32"+ + "\54", + "", + "", + "\1\u00fc", + "\1\u00fd", + "\1\u00fe", + "\1\u00ff", + "\1\u0100", + "\1\u0101", + "\1\u0102", + "\1\u0103", + "", + "\1\u0104", + "\1\u0105", + "\1\u0106", + "\1\u0107", + "\1\u0108", + "\1\u0109", + "\1\u010a", + "", + "\1\u010b", + "\1\u010c", + "\1\u010d", + "\1\u010e", + "\1\u010f", + "\1\u0110", + "\1\u0111\1\u0112", + "\1\u0113", + "\1\u0114", + "\1\u0115", + "\1\u0117\14\uffff\1\u0116", + "\1\u0119\14\uffff\1\u0118", + "\1\u011a", + "\1\u011b", + "\1\u011c", + "\1\u011d", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0120", + "\1\u0121", + "\1\u0122", + "\1\u0123", + "\1\u0124", + "\1\u0125", + "\1\u0126", + "\1\u0127", + "\1\u0128", + "", + "\12\54\7\uffff\6\54\1\u0129\23\54\4\uffff\1\54\1\uffff\32"+ + "\54", + "\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", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0141", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0143", + "\1\u0144", + "\1\u0145", + "\1\u0146", + "\1\u0147", + "\1\u0148", + "\1\u0149", + "\1\u014a", + "\1\u014b", + "", + "", + "\1\u014c", + "\1\u014d", + "\1\u014e", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0150", + "\1\u0151", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0153", + "\1\u0154", + "\1\u0155", + "", + "\1\u0156", + "\1\u0157", + "\1\u0158", + "\1\u0159", + "\1\u015b\6\uffff\1\u015a", + "\1\u015c", + "\1\u015d", + "\1\u015e", + "\1\u015f", + "\1\u0160", + "\1\u0161", + "\1\u0162", + "\1\u0163", + "\1\u0164", + "\1\u0165", + "\1\u0166", + "\1\u0167", + "\1\u0168", + "\1\u0169", + "\1\u016a", + "", + "", + "\1\u016b", + "", + "\1\u016c", + "\1\u016d", + "\1\u016e", + "\1\u016f", + "\1\u0170", + "\1\u0171", + "\1\u0172", + "\1\u0174\1\uffff\1\u0173", + "\1\u0175", + "\1\u0176", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\23\54\1\u0178\6\54\4\uffff\1\54\1\uffff\32"+ + "\54", + "", + "\1\u017a", + "\1\u017b", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u017d", + "\1\u017e", + "\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\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u018c", + "\1\u018d", + "\1\u018e", + "\1\u018f", + "\1\u0190", + "\1\u0191", + "\1\u0192", + "\1\u0193", + "\1\u0194", + "\1\u0195", + "\1\u0196", + "\1\u0197", + "\1\u0198", + "\1\u0199", + "\1\u019a", + "\1\u019b", + "\1\u019c", + "\1\u019d", + "\1\u019f\1\uffff\1\u019e", + "\1\u01a0", + "", + "\1\u01a1", + "", + "\12\54\7\uffff\23\54\1\u01a2\6\54\4\uffff\1\54\1\uffff\32"+ + "\54", + "\1\u01a4", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01a6", + "\1\u01a7\17\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff"+ + "\32\54", + "\1\u01a9", + "\1\u01aa", + "\1\u01ab", + "\1\u01ac", + "\1\u01ad", + "\1\u01ae", + "\1\u01af", + "\1\u01b0", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01b2", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\1\u01b4", + "\1\u01b5", + "\1\u01b6", + "\1\u01b7", + "\1\u01b8", + "\1\u01b9", + "\1\u01ba", + "\1\u01bb", + "\1\u01bc", + "\1\u01bd", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01bf", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01c1", + "\1\u01c2", + "\1\u01c3", + "\1\u01c4", + "\1\u01c5", + "\1\u01c6", + "\1\u01c7", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01c9", + "\1\u01ca", + "", + "\1\u01cb", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "", + "\1\u01cd", + "\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", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01e5", + "\1\u01e6", + "\1\u01e7", + "", + "\1\u01e8", + "\1\u01e9", + "\1\u01ea", + "", + "\1\u01eb", + "\1\u01ec", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u01ee", + "\1\u01ef", + "\1\u01f0", + "\1\u01f1", + "\1\u01f2", + "\1\u01f3", + "\1\u01f4", + "\1\u01f5", + "\1\u01f6", + "\1\u01f7", + "\1\u01f8", + "\1\u01f9", + "\1\u01fa", + "\1\u01fb", + "\1\u01fc", + "\1\u01fd", + "\1\u01fe", + "\1\u01ff", + "\1\u0200", + "", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0203", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0205", + "\1\u0206", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u020a", + "\1\u020b", + "\1\u020c", + "\1\u020d", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u020f", + "\1\u0210", + "\1\u0211", + "\1\u0212", + "\1\u0213", + "\1\u0214", + "\1\u0215", + "\1\u0216", + "\1\u0217", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0219", + "\1\u021a", + "\1\u021b", + "", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "", + "", + "\1\u021f", + "\1\u0220", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0222", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0224", + "\1\u0225", + "\1\u0226", + "\1\u0227", + "\1\u0228", + "\1\u0229", + "\1\u022a", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\1\u022c", + "\1\u022d", + "\1\u022e", + "", + "", + "", + "\1\u022f", + "\1\u0230", + "", + "\1\u0231", + "", + "\1\u0232", + "\1\u0233", + "\1\u0234", + "\1\u0235", + "\1\u0236", + "\1\u0237", + "\1\u0238", + "", + "\1\u0239", + "\1\u023a", + "\1\u023b", + "\1\u023c", + "\1\u023d", + "\1\u023e", + "\1\u023f", + "\1\u0240", + "\1\u0241", + "\1\u0242", + "\1\u0243", + "\1\u0244", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0246", + "\1\u0247", + "\1\u0248", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u024a\17\uffff\1\u024b", + "\1\u024c", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u024e", + "\1\u024f", + "\1\u0250", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0252", + "", + "\1\u0253", + "\1\u0254", + "\1\u0255\2\uffff\1\u0256", + "", + "\1\u0257", + "\1\u0258", + "\1\u0259", + "", + "\1\u025a", + "\1\u025b", + "\1\u025c", + "", + "\1\u025d", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0260", + "\1\u0261", + "\1\u0262", + "\1\u0263", + "\1\u0264", + "\1\u0265", + "\1\u0266", + "\1\u0267", + "\1\u0268", + "", + "", + "\1\u0269", + "\1\u026a", + "\1\u026b", + "\1\u026c", + "\1\u026d", + "\1\u026e", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0270", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0272", + "\1\u0273", + "\1\u0274", + "\1\u0275", + "\1\u0276", + "\1\u0277", + "", + "\1\u0278", + "", + "\1\u0279", + "\1\u027a", + "\1\u027b", + "\1\u027c", + "\1\u027d", + "\1\u027e", + "\1\u027f", + "\1\u0280", + "\1\u0281", + "\1\u0282", + "\1\u0283", + "\1\u0284", + "\1\u0285", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0287", + "\1\u0288", + "\1\u0289", + "\1\u028a", + "\1\u028b", + "\1\u028c", + "", + "\1\u028d", + "\1\u028e", + "\1\u028f", + "\1\u0290", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0292", + "\1\u0293", + "\1\u0294", + "\1\u0295", + "\1\u0296", + "", + "\1\u0297", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0299", + "\1\u029a", + "\1\u029b", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u029e", + "\1\u029f", + "", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u02a1", + "", + "\1\u02a2", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "" + }; + + 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 | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_STRING | 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_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=='g') ) {s = 7;} + + else if ( (LA13_0=='}') ) {s = 8;} + + else if ( (LA13_0=='b') ) {s = 9;} + + else if ( (LA13_0=='o') ) {s = 10;} + + else if ( (LA13_0=='d') ) {s = 11;} + + else if ( (LA13_0=='D') ) {s = 12;} + + else if ( (LA13_0=='U') ) {s = 13;} + + else if ( (LA13_0=='m') ) {s = 14;} + + else if ( (LA13_0=='u') ) {s = 15;} + + else if ( (LA13_0=='t') ) {s = 16;} + + else if ( (LA13_0=='f') ) {s = 17;} + + else if ( (LA13_0=='B') ) {s = 18;} + + else if ( (LA13_0=='C') ) {s = 19;} + + else if ( (LA13_0=='E') ) {s = 20;} + + else if ( (LA13_0=='F') ) {s = 21;} + + else if ( (LA13_0=='I') ) {s = 22;} + + else if ( (LA13_0=='J') ) {s = 23;} + + else if ( (LA13_0=='S') ) {s = 24;} + + else if ( (LA13_0=='W') ) {s = 25;} + + else if ( (LA13_0=='r') ) {s = 26;} + + else if ( (LA13_0=='s') ) {s = 27;} + + else if ( (LA13_0=='L') ) {s = 28;} + + else if ( (LA13_0==';') ) {s = 29;} + + else if ( (LA13_0=='c') ) {s = 30;} + + else if ( (LA13_0=='O') ) {s = 31;} + + else if ( (LA13_0=='M') ) {s = 32;} + + else if ( (LA13_0=='A') ) {s = 33;} + + else if ( ((LA13_0>='0' && LA13_0<='9')) ) {s = 34;} + + else if ( (LA13_0=='^') ) {s = 35;} + + 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<='z')) ) {s = 36;} + + else if ( (LA13_0=='\"') ) {s = 37;} + + else if ( (LA13_0=='\'') ) {s = 38;} + + else if ( (LA13_0=='/') ) {s = 39;} + + else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 40;} + + 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 = 41;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA13_38 = input.LA(1); + + s = -1; + if ( ((LA13_38>='\u0000' && LA13_38<='\uFFFF')) ) {s = 95;} + + else s = 41; + + if ( s>=0 ) return s; + break; + case 2 : + int LA13_37 = input.LA(1); + + s = -1; + if ( ((LA13_37>='\u0000' && LA13_37<='\uFFFF')) ) {s = 95;} + + else s = 41; + + 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 index edeca8ca3f4..48b4e142fe6 100644 --- 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 @@ -1,6984 +1,7002 @@ -/******************************************************************************* - * Copyright (c) 2010 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; - -import java.io.InputStream; -import org.antlr.runtime.BitSet; -import org.antlr.runtime.EarlyExitException; -import org.antlr.runtime.NoViableAltException; -import org.antlr.runtime.RecognitionException; -import org.antlr.runtime.Token; -import org.antlr.runtime.TokenStream; -import org.eclipse.emf.common.util.Enumerator; +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.osee.framework.core.dsl.services.OseeDslGrammarAccess; -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.xtext.parser.IAstFactory; +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'", - "','", - "'{'", - "'guid'", - "'}'", - "'attribute'", - "'branchGuid'", - "'attributeType'", - "'overrides'", - "'dataProvider'", - "'DefaultAttributeDataProvider'", - "'UriAttributeDataProvider'", - "'min'", - "'max'", - "'unlimited'", - "'taggerId'", - "'DefaultAttributeTaggerProvider'", - "'enumType'", - "'description'", - "'defaultValue'", - "'fileExtension'", - "'BooleanAttribute'", - "'CompressedContentAttribute'", - "'DateAttribute'", - "'EnumeratedAttribute'", - "'FloatingPointAttribute'", - "'IntegerAttribute'", - "'JavaObjectAttribute'", - "'StringAttribute'", - "'WordAttribute'", - "'oseeEnumType'", - "'entry'", - "'entryGuid'", - "'overrides enum'", - "'inheritAll'", - "'add'", - "'remove'", - "'relationType'", - "'sideAName'", - "'sideAArtifactType'", - "'sideBName'", - "'sideBArtifactType'", - "'defaultOrderType'", - "'multiplicity'", - "'Lexicographical_Ascending'", - "'Lexicographical_Descending'", - "'Unordered'", - "'artifact'", - "'artGuid'", - "';'", - "'branch'", - "'accessContext'", - "'childrenOf'", - "'edit'", - "'of'", - "'ONE_TO_ONE'", - "'ONE_TO_MANY'", - "'MANY_TO_ONE'", - "'MANY_TO_MANY'", - "'ALLOW'", - "'DENY'", - "'SIDE_A'", - "'SIDE_B'", - "'BOTH'"}; - public static final int RULE_ID = 5; - public static final int RULE_STRING = 4; - public static final int RULE_WHOLE_NUM_STR = 6; - public static final int RULE_ANY_OTHER = 11; - public static final int RULE_INT = 7; - public static final int RULE_WS = 10; - public static final int RULE_SL_COMMENT = 9; - public static final int EOF = -1; - public static final int RULE_ML_COMMENT = 8; - - public InternalOseeDslParser(TokenStream input) { - super(input); - } - - public String[] getTokenNames() { - return tokenNames; - } - - public String getGrammarFileName() { - return "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g"; - } - - private OseeDslGrammarAccess grammarAccess; - - public InternalOseeDslParser(TokenStream input, IAstFactory factory, OseeDslGrammarAccess grammarAccess) { - this(input); - this.factory = factory; - registerRules(grammarAccess.getGrammar()); - this.grammarAccess = grammarAccess; - } - - @Override - protected InputStream getTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.tokens"); - } - - @Override - protected String getFirstRuleName() { - return "OseeDsl"; - } - - @Override - protected OseeDslGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - // $ANTLR start entryRuleOseeDsl - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:78:1: entryRuleOseeDsl returns [EObject current=null] : iv_ruleOseeDsl= ruleOseeDsl EOF ; - public final EObject entryRuleOseeDsl() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOseeDsl = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:79:2: (iv_ruleOseeDsl= ruleOseeDsl EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:80:2: iv_ruleOseeDsl= ruleOseeDsl EOF - { - currentNode = createCompositeNode(grammarAccess.getOseeDslRule(), currentNode); + 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'", "','", "'{'", "'guid'", "'}'", "'attribute'", "'branchGuid'", "'attributeType'", "'overrides'", "'dataProvider'", "'DefaultAttributeDataProvider'", "'UriAttributeDataProvider'", "'min'", "'max'", "'unlimited'", "'taggerId'", "'DefaultAttributeTaggerProvider'", "'enumType'", "'description'", "'defaultValue'", "'fileExtension'", "'BooleanAttribute'", "'CompressedContentAttribute'", "'DateAttribute'", "'EnumeratedAttribute'", "'FloatingPointAttribute'", "'IntegerAttribute'", "'JavaObjectAttribute'", "'StringAttribute'", "'WordAttribute'", "'oseeEnumType'", "'entry'", "'entryGuid'", "'overrides enum'", "'inheritAll'", "'add'", "'remove'", "'relationType'", "'sideAName'", "'sideAArtifactType'", "'sideBName'", "'sideBArtifactType'", "'defaultOrderType'", "'multiplicity'", "'Lexicographical_Ascending'", "'Lexicographical_Descending'", "'Unordered'", "'artifact'", "'artGuid'", "';'", "'branch'", "'accessContext'", "'childrenOf'", "'edit'", "'of'", "'ONE_TO_ONE'", "'ONE_TO_MANY'", "'MANY_TO_ONE'", "'MANY_TO_MANY'", "'ALLOW'", "'DENY'", "'SIDE_A'", "'SIDE_B'", "'BOTH'" + }; + public static final int T__68=68; + public static final int T__69=69; + public static final int RULE_ID=5; + public static final int T__66=66; + public static final int T__67=67; + public static final int T__64=64; + public static final int T__29=29; + public static final int T__65=65; + public static final int T__28=28; + public static final int T__62=62; + public static final int T__27=27; + public static final int T__63=63; + public static final int T__26=26; + public static final int T__25=25; + public static final int T__24=24; + public static final int T__23=23; + public static final int T__22=22; + public static final int RULE_ANY_OTHER=11; + public static final int T__21=21; + public static final int T__20=20; + public static final int T__61=61; + public static final int T__60=60; + public static final int EOF=-1; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__19=19; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__16=16; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__15=15; + public static final int T__53=53; + public static final int T__18=18; + public static final int T__54=54; + public static final int T__17=17; + public static final int T__12=12; + public static final int T__14=14; + public static final int T__13=13; + public static final int T__59=59; + public static final int RULE_INT=7; + public static final int T__50=50; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__44=44; + public static final int T__45=45; + public static final int RULE_WHOLE_NUM_STR=6; + public static final int T__48=48; + public static final int T__49=49; + public static final int RULE_SL_COMMENT=9; + public static final int RULE_ML_COMMENT=8; + public static final int T__30=30; + public static final int T__31=31; + public static final int RULE_STRING=4; + public static final int T__32=32; + public static final int T__71=71; + public static final int T__33=33; + public static final int T__72=72; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__70=70; + public static final int T__36=36; + 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_WS=10; + public static final int T__76=76; + public static final int T__75=75; + public static final int T__74=74; + public static final int T__73=73; + public static final int T__79=79; + public static final int T__78=78; + public static final int T__77=77; + + // 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 "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:69:2: (iv_ruleOseeDsl= ruleOseeDsl EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:70:2: iv_ruleOseeDsl= ruleOseeDsl EOF + { + newCompositeNode(grammarAccess.getOseeDslRule()); pushFollow(FOLLOW_ruleOseeDsl_in_entryRuleOseeDsl75); - iv_ruleOseeDsl = ruleOseeDsl(); - _fsp--; + iv_ruleOseeDsl=ruleOseeDsl(); - current = iv_ruleOseeDsl; - match(input, EOF, FOLLOW_EOF_in_entryRuleOseeDsl85); + state._fsp--; - } + current =iv_ruleOseeDsl; + match(input,EOF,FOLLOW_EOF_in_entryRuleOseeDsl85); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOseeDsl" - // $ANTLR end entryRuleOseeDsl - // $ANTLR start ruleOseeDsl - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:87: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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) ; - public final EObject ruleOseeDsl() throws RecognitionException { - EObject current = null; + // $ANTLR start "ruleOseeDsl" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) ; + public final EObject ruleOseeDsl() throws RecognitionException { + EObject current = null; - EObject lv_imports_0_0 = null; + EObject lv_imports_0_0 = null; - EObject lv_artifactTypes_1_0 = null; + EObject lv_artifactTypes_1_0 = null; - EObject lv_relationTypes_2_0 = null; + EObject lv_relationTypes_2_0 = null; - EObject lv_attributeTypes_3_0 = null; + EObject lv_attributeTypes_3_0 = null; - EObject lv_enumTypes_4_0 = null; + EObject lv_enumTypes_4_0 = null; - EObject lv_enumOverrides_5_0 = null; + EObject lv_enumOverrides_5_0 = null; - EObject lv_branchRefs_6_0 = null; + EObject lv_branchRefs_6_0 = null; - EObject lv_artifactRefs_7_0 = null; + EObject lv_artifactRefs_7_0 = null; - EObject lv_accessDeclarations_8_0 = null; + EObject lv_accessDeclarations_8_0 = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:92:6: ( ( ( (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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:93: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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:93: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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:93: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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:93: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: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:94:1: (lv_imports_0_0= ruleImport ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:94:1: (lv_imports_0_0= ruleImport ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:95:3: lv_imports_0_0= ruleImport - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleImport_in_ruleOseeDsl131); - lv_imports_0_0 = ruleImport(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "imports", lv_imports_0_0, "Import", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - break; - - default: - break loop1; - } - } while (true); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:117: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 ) ) )* - loop2: do { - int alt2 = 6; - switch (input.LA(1)) { - case 14: - case 15: { - alt2 = 1; - } - break; - case 53: { - alt2 = 2; - } - break; - case 23: { - alt2 = 3; - } - break; - case 46: { - alt2 = 4; - } - break; - case 49: { - alt2 = 5; - } - break; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:82:1: (lv_imports_0_0= ruleImport ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:82:1: (lv_imports_0_0= ruleImport ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:83:3: lv_imports_0_0= ruleImport + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getImportsImportParserRuleCall_0_0()); + + pushFollow(FOLLOW_ruleImport_in_ruleOseeDsl131); + lv_imports_0_0=ruleImport(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "imports", + lv_imports_0_0, + "Import"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/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 ) ) )* + loop2: + do { + int alt2=6; + switch ( input.LA(1) ) { + case 14: + case 15: + { + alt2=1; + } + break; + case 53: + { + alt2=2; + } + break; + case 23: + { + alt2=3; + } + break; + case 46: + { + alt2=4; + } + break; + case 49: + { + alt2=5; + } + break; + + } + + switch (alt2) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:99:4: ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:99:4: ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:100:1: (lv_artifactTypes_1_0= ruleXArtifactType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:100:1: (lv_artifactTypes_1_0= ruleXArtifactType ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:101:3: lv_artifactTypes_1_0= ruleXArtifactType + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0()); + + pushFollow(FOLLOW_ruleXArtifactType_in_ruleOseeDsl154); + lv_artifactTypes_1_0=ruleXArtifactType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "artifactTypes", + lv_artifactTypes_1_0, + "XArtifactType"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:118:6: ( (lv_relationTypes_2_0= ruleXRelationType ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:118:6: ( (lv_relationTypes_2_0= ruleXRelationType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:119:1: (lv_relationTypes_2_0= ruleXRelationType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:119:1: (lv_relationTypes_2_0= ruleXRelationType ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:120:3: lv_relationTypes_2_0= ruleXRelationType + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0()); + + pushFollow(FOLLOW_ruleXRelationType_in_ruleOseeDsl181); + lv_relationTypes_2_0=ruleXRelationType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "relationTypes", + lv_relationTypes_2_0, + "XRelationType"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:137:6: ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:137:6: ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:138:1: (lv_attributeTypes_3_0= ruleXAttributeType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:138:1: (lv_attributeTypes_3_0= ruleXAttributeType ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:139:3: lv_attributeTypes_3_0= ruleXAttributeType + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0()); + + pushFollow(FOLLOW_ruleXAttributeType_in_ruleOseeDsl208); + lv_attributeTypes_3_0=ruleXAttributeType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "attributeTypes", + lv_attributeTypes_3_0, + "XAttributeType"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:156:6: ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:156:6: ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:157:1: (lv_enumTypes_4_0= ruleXOseeEnumType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:157:1: (lv_enumTypes_4_0= ruleXOseeEnumType ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:158:3: lv_enumTypes_4_0= ruleXOseeEnumType + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0()); + + pushFollow(FOLLOW_ruleXOseeEnumType_in_ruleOseeDsl235); + lv_enumTypes_4_0=ruleXOseeEnumType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "enumTypes", + lv_enumTypes_4_0, + "XOseeEnumType"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 5 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:175:6: ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:175:6: ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:176:1: (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:176:1: (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:177:3: lv_enumOverrides_5_0= ruleXOseeEnumOverride + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0()); + + pushFollow(FOLLOW_ruleXOseeEnumOverride_in_ruleOseeDsl262); + lv_enumOverrides_5_0=ruleXOseeEnumOverride(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "enumOverrides", + lv_enumOverrides_5_0, + "XOseeEnumOverride"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:193:4: ( ( (lv_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* + loop3: + do { + int alt3=3; + int LA3_0 = input.LA(1); + + if ( (LA3_0==66) ) { + alt3=1; + } + else if ( (LA3_0==63) ) { + alt3=2; + } + + + switch (alt3) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:193:5: ( (lv_branchRefs_6_0= ruleXBranchRef ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:193:5: ( (lv_branchRefs_6_0= ruleXBranchRef ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:194:1: (lv_branchRefs_6_0= ruleXBranchRef ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:194:1: (lv_branchRefs_6_0= ruleXBranchRef ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:195:3: lv_branchRefs_6_0= ruleXBranchRef + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getBranchRefsXBranchRefParserRuleCall_2_0_0()); + + pushFollow(FOLLOW_ruleXBranchRef_in_ruleOseeDsl286); + lv_branchRefs_6_0=ruleXBranchRef(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "branchRefs", + lv_branchRefs_6_0, + "XBranchRef"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:212:6: ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:212:6: ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:213:1: (lv_artifactRefs_7_0= ruleXArtifactRef ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:213:1: (lv_artifactRefs_7_0= ruleXArtifactRef ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:214:3: lv_artifactRefs_7_0= ruleXArtifactRef + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getArtifactRefsXArtifactRefParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_ruleXArtifactRef_in_ruleOseeDsl313); + lv_artifactRefs_7_0=ruleXArtifactRef(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "artifactRefs", + lv_artifactRefs_7_0, + "XArtifactRef"); + afterParserOrEnumRuleCall(); + + + } - } - switch (alt2) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:117:4: ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:117:4: ( (lv_artifactTypes_1_0= ruleXArtifactType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:118:1: (lv_artifactTypes_1_0= ruleXArtifactType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:118:1: (lv_artifactTypes_1_0= ruleXArtifactType ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:119:3: lv_artifactTypes_1_0= ruleXArtifactType - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getArtifactTypesXArtifactTypeParserRuleCall_1_0_0(), - currentNode); - - pushFollow(FOLLOW_ruleXArtifactType_in_ruleOseeDsl154); - lv_artifactTypes_1_0 = ruleXArtifactType(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "artifactTypes", lv_artifactTypes_1_0, "XArtifactType", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } + } - } - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:142:6: ( (lv_relationTypes_2_0= ruleXRelationType ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:142:6: ( (lv_relationTypes_2_0= ruleXRelationType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:143:1: (lv_relationTypes_2_0= ruleXRelationType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:143:1: (lv_relationTypes_2_0= ruleXRelationType ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:144:3: lv_relationTypes_2_0= ruleXRelationType - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getRelationTypesXRelationTypeParserRuleCall_1_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleXRelationType_in_ruleOseeDsl181); - lv_relationTypes_2_0 = ruleXRelationType(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "relationTypes", lv_relationTypes_2_0, "XRelationType", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } + } + break; + + default : + break loop3; + } + } while (true); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:230:4: ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==67) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:231:1: (lv_accessDeclarations_8_0= ruleAccessContext ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:231:1: (lv_accessDeclarations_8_0= ruleAccessContext ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:232:3: lv_accessDeclarations_8_0= ruleAccessContext + { + + newCompositeNode(grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_3_0()); + + pushFollow(FOLLOW_ruleAccessContext_in_ruleOseeDsl336); + lv_accessDeclarations_8_0=ruleAccessContext(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOseeDslRule()); + } + add( + current, + "accessDeclarations", + lv_accessDeclarations_8_0, + "AccessContext"); + afterParserOrEnumRuleCall(); + - } + } - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:167:6: ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:167:6: ( (lv_attributeTypes_3_0= ruleXAttributeType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:168:1: (lv_attributeTypes_3_0= ruleXAttributeType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:168:1: (lv_attributeTypes_3_0= ruleXAttributeType ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:169:3: lv_attributeTypes_3_0= ruleXAttributeType - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getAttributeTypesXAttributeTypeParserRuleCall_1_2_0(), - currentNode); - - pushFollow(FOLLOW_ruleXAttributeType_in_ruleOseeDsl208); - lv_attributeTypes_3_0 = ruleXAttributeType(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "attributeTypes", lv_attributeTypes_3_0, "XAttributeType", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - } + } + break; - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:192:6: ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:192:6: ( (lv_enumTypes_4_0= ruleXOseeEnumType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:193:1: (lv_enumTypes_4_0= ruleXOseeEnumType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:193:1: (lv_enumTypes_4_0= ruleXOseeEnumType ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:194:3: lv_enumTypes_4_0= ruleXOseeEnumType - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getEnumTypesXOseeEnumTypeParserRuleCall_1_3_0(), - currentNode); - - pushFollow(FOLLOW_ruleXOseeEnumType_in_ruleOseeDsl235); - lv_enumTypes_4_0 = ruleXOseeEnumType(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "enumTypes", lv_enumTypes_4_0, "XOseeEnumType", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } + default : + break loop4; + } + } while (true); - } - - } - break; - case 5: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:217:6: ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:217:6: ( (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:218:1: (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:218:1: (lv_enumOverrides_5_0= ruleXOseeEnumOverride ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:219:3: lv_enumOverrides_5_0= ruleXOseeEnumOverride - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getEnumOverridesXOseeEnumOverrideParserRuleCall_1_4_0(), - currentNode); - - pushFollow(FOLLOW_ruleXOseeEnumOverride_in_ruleOseeDsl262); - lv_enumOverrides_5_0 = ruleXOseeEnumOverride(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "enumOverrides", lv_enumOverrides_5_0, "XOseeEnumOverride", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - } + } - } - break; - default: - break loop2; - } - } while (true); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:241:4: ( ( (lv_branchRefs_6_0= ruleXBranchRef ) ) | ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) )* - loop3: do { - int alt3 = 3; - int LA3_0 = input.LA(1); - - if (LA3_0 == 66) { - alt3 = 1; - } else if (LA3_0 == 63) { - alt3 = 2; - } - - switch (alt3) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:241:5: ( (lv_branchRefs_6_0= ruleXBranchRef ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:241:5: ( (lv_branchRefs_6_0= ruleXBranchRef ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:242:1: (lv_branchRefs_6_0= ruleXBranchRef ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:242:1: (lv_branchRefs_6_0= ruleXBranchRef ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:243:3: lv_branchRefs_6_0= ruleXBranchRef - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getBranchRefsXBranchRefParserRuleCall_2_0_0(), - currentNode); - - pushFollow(FOLLOW_ruleXBranchRef_in_ruleOseeDsl286); - lv_branchRefs_6_0 = ruleXBranchRef(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "branchRefs", lv_branchRefs_6_0, "XBranchRef", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } + } - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOseeDsl" - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:266:6: ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:266:6: ( (lv_artifactRefs_7_0= ruleXArtifactRef ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:267:1: (lv_artifactRefs_7_0= ruleXArtifactRef ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:267:1: (lv_artifactRefs_7_0= ruleXArtifactRef ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:268:3: lv_artifactRefs_7_0= ruleXArtifactRef - { - - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getArtifactRefsXArtifactRefParserRuleCall_2_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleXArtifactRef_in_ruleOseeDsl313); - lv_artifactRefs_7_0 = ruleXArtifactRef(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "artifactRefs", lv_artifactRefs_7_0, "XArtifactRef", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - } + // $ANTLR start "entryRuleImport" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:256:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + public final EObject entryRuleImport() throws RecognitionException { + EObject current = null; - } - break; + EObject iv_ruleImport = null; - default: - break loop3; - } - } while (true); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:290:4: ( (lv_accessDeclarations_8_0= ruleAccessContext ) )* - loop4: do { - int alt4 = 2; - int LA4_0 = input.LA(1); - - if (LA4_0 == 67) { - alt4 = 1; - } - - switch (alt4) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:291:1: (lv_accessDeclarations_8_0= ruleAccessContext ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:291:1: (lv_accessDeclarations_8_0= ruleAccessContext ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:292:3: lv_accessDeclarations_8_0= ruleAccessContext - { - currentNode = - createCompositeNode( - grammarAccess.getOseeDslAccess().getAccessDeclarationsAccessContextParserRuleCall_3_0(), - currentNode); - - pushFollow(FOLLOW_ruleAccessContext_in_ruleOseeDsl336); - lv_accessDeclarations_8_0 = ruleAccessContext(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getOseeDslRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "accessDeclarations", lv_accessDeclarations_8_0, "AccessContext", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:257:2: (iv_ruleImport= ruleImport EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:258:2: iv_ruleImport= ruleImport EOF + { + newCompositeNode(grammarAccess.getImportRule()); + pushFollow(FOLLOW_ruleImport_in_entryRuleImport373); + iv_ruleImport=ruleImport(); - } + state._fsp--; - } - break; - - default: - break loop4; - } - } while (true); + current =iv_ruleImport; + match(input,EOF,FOLLOW_EOF_in_entryRuleImport383); } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImport" + + + // $ANTLR start "ruleImport" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:265: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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:268:28: ( (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:269:1: (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:269:1: (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:269:3: otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) + { + otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleImport420); - resetLookahead(); - lastConsumedNode = currentNode; + newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:273:1: ( (lv_importURI_1_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:274:1: (lv_importURI_1_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:274:1: (lv_importURI_1_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:275:3: lv_importURI_1_0= RULE_STRING + { + lv_importURI_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport437); - } + newLeafNode(lv_importURI_1_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0()); + - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + if (current==null) { + current = createModelElement(grammarAccess.getImportRule()); + } + setWithLastConsumed( + current, + "importURI", + lv_importURI_1_0, + "STRING"); + - // $ANTLR end ruleOseeDsl + } - // $ANTLR start entryRuleImport - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:322:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; - public final EObject entryRuleImport() throws RecognitionException { - EObject current = null; - EObject iv_ruleImport = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:323:2: (iv_ruleImport= ruleImport EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:324:2: iv_ruleImport= ruleImport EOF - { - currentNode = createCompositeNode(grammarAccess.getImportRule(), currentNode); - pushFollow(FOLLOW_ruleImport_in_entryRuleImport373); - iv_ruleImport = ruleImport(); - _fsp--; - current = iv_ruleImport; - match(input, EOF, FOLLOW_EOF_in_entryRuleImport383); + } - } - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImport" - // $ANTLR end entryRuleImport - // $ANTLR start ruleImport - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:331:1: ruleImport returns [EObject current=null] : ( 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ; - public final EObject ruleImport() throws RecognitionException { - EObject current = null; + // $ANTLR start "entryRuleATTRIBUTE_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:301:1: entryRuleATTRIBUTE_TYPE_REFERENCE returns [String current=null] : iv_ruleATTRIBUTE_TYPE_REFERENCE= ruleATTRIBUTE_TYPE_REFERENCE EOF ; + public final String entryRuleATTRIBUTE_TYPE_REFERENCE() throws RecognitionException { + String current = null; - Token lv_importURI_1_0 = null; + AntlrDatatypeRuleToken iv_ruleATTRIBUTE_TYPE_REFERENCE = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:336:6: ( ( 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:337:1: ( 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:337:1: ( 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:337:3: 'import' ( (lv_importURI_1_0= RULE_STRING ) ) + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:302:2: (iv_ruleATTRIBUTE_TYPE_REFERENCE= ruleATTRIBUTE_TYPE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:303:2: iv_ruleATTRIBUTE_TYPE_REFERENCE= ruleATTRIBUTE_TYPE_REFERENCE EOF { - match(input, 12, FOLLOW_12_in_ruleImport418); - - createLeafNode(grammarAccess.getImportAccess().getImportKeyword_0(), null); + newCompositeNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCERule()); + pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_entryRuleATTRIBUTE_TYPE_REFERENCE481); + iv_ruleATTRIBUTE_TYPE_REFERENCE=ruleATTRIBUTE_TYPE_REFERENCE(); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:341:1: ( (lv_importURI_1_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:342:1: (lv_importURI_1_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:342:1: (lv_importURI_1_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:343:3: lv_importURI_1_0= RULE_STRING - { - lv_importURI_1_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleImport435); + state._fsp--; - createLeafNode(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), - "importURI"); + current =iv_ruleATTRIBUTE_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleATTRIBUTE_TYPE_REFERENCE492); - if (current == null) { - current = factory.create(grammarAccess.getImportRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "importURI", lv_importURI_1_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleATTRIBUTE_TYPE_REFERENCE" + + + // $ANTLR start "ruleATTRIBUTE_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:310:1: ruleATTRIBUTE_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleATTRIBUTE_TYPE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:313:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:314:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleATTRIBUTE_TYPE_REFERENCE531); - } + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getATTRIBUTE_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + } - } - - resetLookahead(); - lastConsumedNode = currentNode; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleATTRIBUTE_TYPE_REFERENCE" - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + // $ANTLR start "entryRuleARTIFACT_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:329:1: entryRuleARTIFACT_TYPE_REFERENCE returns [String current=null] : iv_ruleARTIFACT_TYPE_REFERENCE= ruleARTIFACT_TYPE_REFERENCE EOF ; + public final String entryRuleARTIFACT_TYPE_REFERENCE() throws RecognitionException { + String current = null; - // $ANTLR end ruleImport + AntlrDatatypeRuleToken iv_ruleARTIFACT_TYPE_REFERENCE = null; - // $ANTLR start entryRuleATTRIBUTE_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:375:1: entryRuleATTRIBUTE_TYPE_REFERENCE returns [String current=null] : iv_ruleATTRIBUTE_TYPE_REFERENCE= ruleATTRIBUTE_TYPE_REFERENCE EOF ; - public final String entryRuleATTRIBUTE_TYPE_REFERENCE() throws RecognitionException { - String current = null; - AntlrDatatypeRuleToken iv_ruleATTRIBUTE_TYPE_REFERENCE = null; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:330:2: (iv_ruleARTIFACT_TYPE_REFERENCE= ruleARTIFACT_TYPE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:331:2: iv_ruleARTIFACT_TYPE_REFERENCE= ruleARTIFACT_TYPE_REFERENCE EOF + { + newCompositeNode(grammarAccess.getARTIFACT_TYPE_REFERENCERule()); + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_entryRuleARTIFACT_TYPE_REFERENCE576); + iv_ruleARTIFACT_TYPE_REFERENCE=ruleARTIFACT_TYPE_REFERENCE(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:376:2: (iv_ruleATTRIBUTE_TYPE_REFERENCE= ruleATTRIBUTE_TYPE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:377:2: iv_ruleATTRIBUTE_TYPE_REFERENCE= ruleATTRIBUTE_TYPE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_entryRuleATTRIBUTE_TYPE_REFERENCE479); - iv_ruleATTRIBUTE_TYPE_REFERENCE = ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; + state._fsp--; - current = iv_ruleATTRIBUTE_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleATTRIBUTE_TYPE_REFERENCE490); + current =iv_ruleARTIFACT_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleARTIFACT_TYPE_REFERENCE587); - } + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleARTIFACT_TYPE_REFERENCE" + + + // $ANTLR start "ruleARTIFACT_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:338:1: ruleARTIFACT_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleARTIFACT_TYPE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:341:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:342:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleARTIFACT_TYPE_REFERENCE626); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getARTIFACT_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + - // $ANTLR end entryRuleATTRIBUTE_TYPE_REFERENCE + } - // $ANTLR start ruleATTRIBUTE_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:384:1: ruleATTRIBUTE_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleATTRIBUTE_TYPE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleARTIFACT_TYPE_REFERENCE" - Token this_STRING_0 = null; - setCurrentLookahead(); - resetLookahead(); + // $ANTLR start "entryRuleRELATION_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:357:1: entryRuleRELATION_TYPE_REFERENCE returns [String current=null] : iv_ruleRELATION_TYPE_REFERENCE= ruleRELATION_TYPE_REFERENCE EOF ; + public final String entryRuleRELATION_TYPE_REFERENCE() throws RecognitionException { + String current = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:389:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:390:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleATTRIBUTE_TYPE_REFERENCE529); + AntlrDatatypeRuleToken iv_ruleRELATION_TYPE_REFERENCE = null; - current.merge(this_STRING_0); - createLeafNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:358:2: (iv_ruleRELATION_TYPE_REFERENCE= ruleRELATION_TYPE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:359:2: iv_ruleRELATION_TYPE_REFERENCE= ruleRELATION_TYPE_REFERENCE EOF + { + newCompositeNode(grammarAccess.getRELATION_TYPE_REFERENCERule()); + pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_entryRuleRELATION_TYPE_REFERENCE671); + iv_ruleRELATION_TYPE_REFERENCE=ruleRELATION_TYPE_REFERENCE(); - } + state._fsp--; - resetLookahead(); - lastConsumedNode = currentNode; + current =iv_ruleRELATION_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleRELATION_TYPE_REFERENCE682); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRELATION_TYPE_REFERENCE" + + + // $ANTLR start "ruleRELATION_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:366:1: ruleRELATION_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleRELATION_TYPE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:369:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:370:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRELATION_TYPE_REFERENCE721); - // $ANTLR end ruleATTRIBUTE_TYPE_REFERENCE + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getRELATION_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + - // $ANTLR start entryRuleARTIFACT_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:405:1: entryRuleARTIFACT_TYPE_REFERENCE returns [String current=null] : iv_ruleARTIFACT_TYPE_REFERENCE= ruleARTIFACT_TYPE_REFERENCE EOF ; - public final String entryRuleARTIFACT_TYPE_REFERENCE() throws RecognitionException { - String current = null; + } - AntlrDatatypeRuleToken iv_ruleARTIFACT_TYPE_REFERENCE = null; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRELATION_TYPE_REFERENCE" - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:406:2: (iv_ruleARTIFACT_TYPE_REFERENCE= ruleARTIFACT_TYPE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:407:2: iv_ruleARTIFACT_TYPE_REFERENCE= ruleARTIFACT_TYPE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getARTIFACT_TYPE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_entryRuleARTIFACT_TYPE_REFERENCE574); - iv_ruleARTIFACT_TYPE_REFERENCE = ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; - current = iv_ruleARTIFACT_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleARTIFACT_TYPE_REFERENCE585); + // $ANTLR start "entryRuleENUM_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:385:1: entryRuleENUM_TYPE_REFERENCE returns [String current=null] : iv_ruleENUM_TYPE_REFERENCE= ruleENUM_TYPE_REFERENCE EOF ; + public final String entryRuleENUM_TYPE_REFERENCE() throws RecognitionException { + String current = null; - } + AntlrDatatypeRuleToken iv_ruleENUM_TYPE_REFERENCE = null; - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:386:2: (iv_ruleENUM_TYPE_REFERENCE= ruleENUM_TYPE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:387:2: iv_ruleENUM_TYPE_REFERENCE= ruleENUM_TYPE_REFERENCE EOF + { + newCompositeNode(grammarAccess.getENUM_TYPE_REFERENCERule()); + pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_entryRuleENUM_TYPE_REFERENCE766); + iv_ruleENUM_TYPE_REFERENCE=ruleENUM_TYPE_REFERENCE(); - // $ANTLR end entryRuleARTIFACT_TYPE_REFERENCE + state._fsp--; - // $ANTLR start ruleARTIFACT_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:414:1: ruleARTIFACT_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleARTIFACT_TYPE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + current =iv_ruleENUM_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleENUM_TYPE_REFERENCE777); - Token this_STRING_0 = null; + } - setCurrentLookahead(); - resetLookahead(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleENUM_TYPE_REFERENCE" + + + // $ANTLR start "ruleENUM_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:394:1: ruleENUM_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleENUM_TYPE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:397:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:398:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleENUM_TYPE_REFERENCE816); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:419:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:420:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleARTIFACT_TYPE_REFERENCE624); + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getENUM_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + - current.merge(this_STRING_0); + } - createLeafNode(grammarAccess.getARTIFACT_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleENUM_TYPE_REFERENCE" - } - resetLookahead(); - lastConsumedNode = currentNode; + // $ANTLR start "entryRuleENUM_ENTRY_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:413:1: entryRuleENUM_ENTRY_TYPE_REFERENCE returns [String current=null] : iv_ruleENUM_ENTRY_TYPE_REFERENCE= ruleENUM_ENTRY_TYPE_REFERENCE EOF ; + public final String entryRuleENUM_ENTRY_TYPE_REFERENCE() throws RecognitionException { + String current = null; - } + AntlrDatatypeRuleToken iv_ruleENUM_ENTRY_TYPE_REFERENCE = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleARTIFACT_TYPE_REFERENCE + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:414:2: (iv_ruleENUM_ENTRY_TYPE_REFERENCE= ruleENUM_ENTRY_TYPE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:415:2: iv_ruleENUM_ENTRY_TYPE_REFERENCE= ruleENUM_ENTRY_TYPE_REFERENCE EOF + { + newCompositeNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCERule()); + pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_entryRuleENUM_ENTRY_TYPE_REFERENCE861); + iv_ruleENUM_ENTRY_TYPE_REFERENCE=ruleENUM_ENTRY_TYPE_REFERENCE(); - // $ANTLR start entryRuleRELATION_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:435:1: entryRuleRELATION_TYPE_REFERENCE returns [String current=null] : iv_ruleRELATION_TYPE_REFERENCE= ruleRELATION_TYPE_REFERENCE EOF ; - public final String entryRuleRELATION_TYPE_REFERENCE() throws RecognitionException { - String current = null; + state._fsp--; - AntlrDatatypeRuleToken iv_ruleRELATION_TYPE_REFERENCE = null; + current =iv_ruleENUM_ENTRY_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleENUM_ENTRY_TYPE_REFERENCE872); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:436:2: (iv_ruleRELATION_TYPE_REFERENCE= ruleRELATION_TYPE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:437:2: iv_ruleRELATION_TYPE_REFERENCE= ruleRELATION_TYPE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getRELATION_TYPE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_entryRuleRELATION_TYPE_REFERENCE669); - iv_ruleRELATION_TYPE_REFERENCE = ruleRELATION_TYPE_REFERENCE(); - _fsp--; + } - current = iv_ruleRELATION_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleRELATION_TYPE_REFERENCE680); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleENUM_ENTRY_TYPE_REFERENCE" + + + // $ANTLR start "ruleENUM_ENTRY_TYPE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:422:1: ruleENUM_ENTRY_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleENUM_ENTRY_TYPE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:425:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:426:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleENUM_ENTRY_TYPE_REFERENCE911); - } + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getENUM_ENTRY_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleENUM_ENTRY_TYPE_REFERENCE" - // $ANTLR end entryRuleRELATION_TYPE_REFERENCE - // $ANTLR start ruleRELATION_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:444:1: ruleRELATION_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleRELATION_TYPE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + // $ANTLR start "entryRuleQUALIFIED_NAME" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:441:1: entryRuleQUALIFIED_NAME returns [String current=null] : iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF ; + public final String entryRuleQUALIFIED_NAME() throws RecognitionException { + String current = null; - Token this_STRING_0 = null; + AntlrDatatypeRuleToken iv_ruleQUALIFIED_NAME = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:449:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:450:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleRELATION_TYPE_REFERENCE719); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:442:2: (iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:443:2: iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF + { + newCompositeNode(grammarAccess.getQUALIFIED_NAMERule()); + pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_entryRuleQUALIFIED_NAME956); + iv_ruleQUALIFIED_NAME=ruleQUALIFIED_NAME(); - current.merge(this_STRING_0); + state._fsp--; - createLeafNode(grammarAccess.getRELATION_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + current =iv_ruleQUALIFIED_NAME.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleQUALIFIED_NAME967); - } + } - resetLookahead(); - lastConsumedNode = currentNode; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleQUALIFIED_NAME" + + + // $ANTLR start "ruleQUALIFIED_NAME" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:450: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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:453:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:454:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:454:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:454:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1007); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:461:1: (kw= '.' this_ID_2= RULE_ID )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==13) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:462:2: kw= '.' this_ID_2= RULE_ID + { + kw=(Token)match(input,13,FOLLOW_13_in_ruleQUALIFIED_NAME1026); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getQUALIFIED_NAMEAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1041); + + current.merge(this_ID_2); + + + newLeafNode(this_ID_2, grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_1_1()); + + + } + break; + + default : + break loop5; + } + } while (true); - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleRELATION_TYPE_REFERENCE - // $ANTLR start entryRuleENUM_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:465:1: entryRuleENUM_TYPE_REFERENCE returns [String current=null] : iv_ruleENUM_TYPE_REFERENCE= ruleENUM_TYPE_REFERENCE EOF ; - public final String entryRuleENUM_TYPE_REFERENCE() throws RecognitionException { - String current = null; + } - AntlrDatatypeRuleToken iv_ruleENUM_TYPE_REFERENCE = null; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleQUALIFIED_NAME" - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:466:2: (iv_ruleENUM_TYPE_REFERENCE= ruleENUM_TYPE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:467:2: iv_ruleENUM_TYPE_REFERENCE= ruleENUM_TYPE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getENUM_TYPE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_entryRuleENUM_TYPE_REFERENCE764); - iv_ruleENUM_TYPE_REFERENCE = ruleENUM_TYPE_REFERENCE(); - _fsp--; - current = iv_ruleENUM_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleENUM_TYPE_REFERENCE775); + // $ANTLR start "entryRuleOseeType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:484:1: entryRuleOseeType returns [EObject current=null] : iv_ruleOseeType= ruleOseeType EOF ; + public final EObject entryRuleOseeType() throws RecognitionException { + EObject current = null; - } + EObject iv_ruleOseeType = null; - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:485:2: (iv_ruleOseeType= ruleOseeType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:486:2: iv_ruleOseeType= ruleOseeType EOF + { + newCompositeNode(grammarAccess.getOseeTypeRule()); + pushFollow(FOLLOW_ruleOseeType_in_entryRuleOseeType1090); + iv_ruleOseeType=ruleOseeType(); - // $ANTLR end entryRuleENUM_TYPE_REFERENCE + state._fsp--; - // $ANTLR start ruleENUM_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:474:1: ruleENUM_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleENUM_TYPE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + current =iv_ruleOseeType; + match(input,EOF,FOLLOW_EOF_in_entryRuleOseeType1100); - Token this_STRING_0 = null; + } - setCurrentLookahead(); - resetLookahead(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOseeType" - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:479:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:480:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleENUM_TYPE_REFERENCE814); - current.merge(this_STRING_0); + // $ANTLR start "ruleOseeType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:493: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; - createLeafNode(grammarAccess.getENUM_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + EObject this_XArtifactType_0 = null; - } + EObject this_XRelationType_1 = null; - resetLookahead(); - lastConsumedNode = currentNode; + EObject this_XAttributeType_2 = null; - } + EObject this_XOseeEnumType_3 = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleENUM_TYPE_REFERENCE + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:496:28: ( (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:497:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:497:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) + int alt6=4; + switch ( input.LA(1) ) { + case 14: + case 15: + { + alt6=1; + } + break; + case 53: + { + alt6=2; + } + break; + case 23: + { + alt6=3; + } + break; + case 46: + { + alt6=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } - // $ANTLR start entryRuleENUM_ENTRY_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:495:1: entryRuleENUM_ENTRY_TYPE_REFERENCE returns [String current=null] : iv_ruleENUM_ENTRY_TYPE_REFERENCE= ruleENUM_ENTRY_TYPE_REFERENCE EOF ; - public final String entryRuleENUM_ENTRY_TYPE_REFERENCE() throws RecognitionException { - String current = null; + switch (alt6) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:498:5: this_XArtifactType_0= ruleXArtifactType + { + + newCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0()); + + pushFollow(FOLLOW_ruleXArtifactType_in_ruleOseeType1147); + this_XArtifactType_0=ruleXArtifactType(); + + state._fsp--; + + + current = this_XArtifactType_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:508:5: this_XRelationType_1= ruleXRelationType + { + + newCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1()); + + pushFollow(FOLLOW_ruleXRelationType_in_ruleOseeType1174); + this_XRelationType_1=ruleXRelationType(); + + state._fsp--; + + + current = this_XRelationType_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:518:5: this_XAttributeType_2= ruleXAttributeType + { + + newCompositeNode(grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2()); + + pushFollow(FOLLOW_ruleXAttributeType_in_ruleOseeType1201); + this_XAttributeType_2=ruleXAttributeType(); + + state._fsp--; + + + current = this_XAttributeType_2; + afterParserOrEnumRuleCall(); + + + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:528:5: this_XOseeEnumType_3= ruleXOseeEnumType + { + + newCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3()); + + pushFollow(FOLLOW_ruleXOseeEnumType_in_ruleOseeType1228); + this_XOseeEnumType_3=ruleXOseeEnumType(); + + state._fsp--; + + + current = this_XOseeEnumType_3; + afterParserOrEnumRuleCall(); + + + } + break; - AntlrDatatypeRuleToken iv_ruleENUM_ENTRY_TYPE_REFERENCE = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:496:2: (iv_ruleENUM_ENTRY_TYPE_REFERENCE= ruleENUM_ENTRY_TYPE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:497:2: iv_ruleENUM_ENTRY_TYPE_REFERENCE= ruleENUM_ENTRY_TYPE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_entryRuleENUM_ENTRY_TYPE_REFERENCE859); - iv_ruleENUM_ENTRY_TYPE_REFERENCE = ruleENUM_ENTRY_TYPE_REFERENCE(); - _fsp--; - current = iv_ruleENUM_ENTRY_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleENUM_ENTRY_TYPE_REFERENCE870); + } - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOseeType" - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + // $ANTLR start "entryRuleXArtifactType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:544:1: entryRuleXArtifactType returns [EObject current=null] : iv_ruleXArtifactType= ruleXArtifactType EOF ; + public final EObject entryRuleXArtifactType() throws RecognitionException { + EObject current = null; - // $ANTLR end entryRuleENUM_ENTRY_TYPE_REFERENCE + EObject iv_ruleXArtifactType = null; - // $ANTLR start ruleENUM_ENTRY_TYPE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:504:1: ruleENUM_ENTRY_TYPE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleENUM_ENTRY_TYPE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - Token this_STRING_0 = null; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:545:2: (iv_ruleXArtifactType= ruleXArtifactType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:546:2: iv_ruleXArtifactType= ruleXArtifactType EOF + { + newCompositeNode(grammarAccess.getXArtifactTypeRule()); + pushFollow(FOLLOW_ruleXArtifactType_in_entryRuleXArtifactType1263); + iv_ruleXArtifactType=ruleXArtifactType(); - setCurrentLookahead(); - resetLookahead(); + state._fsp--; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:509:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:510:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleENUM_ENTRY_TYPE_REFERENCE909); + current =iv_ruleXArtifactType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXArtifactType1273); - current.merge(this_STRING_0); + } - createLeafNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXArtifactType" + + + // $ANTLR start "ruleXArtifactType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:553:1: ruleXArtifactType returns [EObject current=null] : ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? otherlv_7= '{' otherlv_8= 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (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 otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_8=null; + Token lv_typeGuid_9_0=null; + Token otherlv_11=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; + + EObject lv_validAttributeTypes_10_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:556:28: ( ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? otherlv_7= '{' otherlv_8= 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:557:1: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? otherlv_7= '{' otherlv_8= 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:557:1: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? otherlv_7= '{' otherlv_8= 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:557:2: ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? otherlv_7= '{' otherlv_8= 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* otherlv_11= '}' + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:557:2: ( (lv_abstract_0_0= 'abstract' ) )? + int alt7=2; + int LA7_0 = input.LA(1); - } + if ( (LA7_0==14) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:558:1: (lv_abstract_0_0= 'abstract' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:558:1: (lv_abstract_0_0= 'abstract' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:559:3: lv_abstract_0_0= 'abstract' + { + lv_abstract_0_0=(Token)match(input,14,FOLLOW_14_in_ruleXArtifactType1316); - resetLookahead(); - lastConsumedNode = currentNode; + newLeafNode(lv_abstract_0_0, grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0()); + - } + if (current==null) { + current = createModelElement(grammarAccess.getXArtifactTypeRule()); + } + setWithLastConsumed(current, "abstract", true, "abstract"); + - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleENUM_ENTRY_TYPE_REFERENCE - // $ANTLR start entryRuleQUALIFIED_NAME - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:525:1: entryRuleQUALIFIED_NAME returns [String current=null] : iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF ; - public final String entryRuleQUALIFIED_NAME() throws RecognitionException { - String current = null; + } + break; - AntlrDatatypeRuleToken iv_ruleQUALIFIED_NAME = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:526:2: (iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:527:2: iv_ruleQUALIFIED_NAME= ruleQUALIFIED_NAME EOF - { - currentNode = createCompositeNode(grammarAccess.getQUALIFIED_NAMERule(), currentNode); - pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_entryRuleQUALIFIED_NAME954); - iv_ruleQUALIFIED_NAME = ruleQUALIFIED_NAME(); - _fsp--; + otherlv_1=(Token)match(input,15,FOLLOW_15_in_ruleXArtifactType1342); - current = iv_ruleQUALIFIED_NAME.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleQUALIFIED_NAME965); + newLeafNode(otherlv_1, grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:576:1: ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:577:1: (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:577:1: (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:578:3: lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE + { + + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1363); + lv_name_2_0=ruleARTIFACT_TYPE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXArtifactTypeRule()); + } + set( + current, + "name", + lv_name_2_0, + "ARTIFACT_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); + - } + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end entryRuleQUALIFIED_NAME + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:594:2: (otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? + int alt9=2; + int LA9_0 = input.LA(1); - // $ANTLR start ruleQUALIFIED_NAME - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:534: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(); + if ( (LA9_0==16) ) { + alt9=1; + } + switch (alt9) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:594:4: otherlv_3= 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* + { + otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleXArtifactType1376); + + newLeafNode(otherlv_3, grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:598:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:599:1: ( ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:599:1: ( ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:600:3: ruleARTIFACT_TYPE_REFERENCE + { + + if (current==null) { + current = createModelElement(grammarAccess.getXArtifactTypeRule()); + } + + + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1399); + ruleARTIFACT_TYPE_REFERENCE(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:613:2: (otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); - Token this_ID_0 = null; - Token kw = null; - Token this_ID_2 = null; + if ( (LA8_0==17) ) { + alt8=1; + } - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:539:6: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:540:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:540:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:540:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* - { - this_ID_0 = (Token) input.LT(1); - match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1005); + switch (alt8) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:613:4: otherlv_5= ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + { + otherlv_5=(Token)match(input,17,FOLLOW_17_in_ruleXArtifactType1412); - current.merge(this_ID_0); + newLeafNode(otherlv_5, grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:617:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:618:1: ( ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:618:1: ( ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:619:3: ruleARTIFACT_TYPE_REFERENCE + { - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0(), null); + if (current==null) { + current = createModelElement(grammarAccess.getXArtifactTypeRule()); + } + + + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1435); + ruleARTIFACT_TYPE_REFERENCE(); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:547:1: (kw= '.' this_ID_2= RULE_ID )* - loop5: do { - int alt5 = 2; - int LA5_0 = input.LA(1); + state._fsp--; - if (LA5_0 == 13) { - alt5 = 1; - } + + afterParserOrEnumRuleCall(); + - switch (alt5) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:548:2: kw= '.' this_ID_2= RULE_ID - { - kw = (Token) input.LT(1); - match(input, 13, FOLLOW_13_in_ruleQUALIFIED_NAME1024); + } - current.merge(kw); - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getFullStopKeyword_1_0(), null); - this_ID_2 = (Token) input.LT(1); - match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1039); + } - current.merge(this_ID_2); - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_1_1(), null); + } + break; - } - break; + default : + break loop8; + } + } while (true); - default: - break loop5; - } - } while (true); - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleQUALIFIED_NAME - - // $ANTLR start entryRuleOseeType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:570:1: entryRuleOseeType returns [EObject current=null] : iv_ruleOseeType= ruleOseeType EOF ; - public final EObject entryRuleOseeType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOseeType = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:571:2: (iv_ruleOseeType= ruleOseeType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:572:2: iv_ruleOseeType= ruleOseeType EOF - { - currentNode = createCompositeNode(grammarAccess.getOseeTypeRule(), currentNode); - pushFollow(FOLLOW_ruleOseeType_in_entryRuleOseeType1088); - iv_ruleOseeType = ruleOseeType(); - _fsp--; - - current = iv_ruleOseeType; - match(input, EOF, FOLLOW_EOF_in_entryRuleOseeType1098); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleOseeType - - // $ANTLR start ruleOseeType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:579: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; - - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:584:6: ( (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:585:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:585:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType ) - int alt6 = 4; - switch (input.LA(1)) { - case 14: - case 15: { - alt6 = 1; - } - break; - case 53: { - alt6 = 2; - } - break; - case 23: { - alt6 = 3; - } - break; - case 46: { - alt6 = 4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "585:1: (this_XArtifactType_0= ruleXArtifactType | this_XRelationType_1= ruleXRelationType | this_XAttributeType_2= ruleXAttributeType | this_XOseeEnumType_3= ruleXOseeEnumType )", - 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:586:5: this_XArtifactType_0= ruleXArtifactType - { + } + break; - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0(), - currentNode); + } - pushFollow(FOLLOW_ruleXArtifactType_in_ruleOseeType1145); - this_XArtifactType_0 = ruleXArtifactType(); - _fsp--; + otherlv_7=(Token)match(input,18,FOLLOW_18_in_ruleXArtifactType1451); - current = this_XArtifactType_0; - currentNode = currentNode.getParent(); + newLeafNode(otherlv_7, grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4()); + + otherlv_8=(Token)match(input,19,FOLLOW_19_in_ruleXArtifactType1463); - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:596:5: this_XRelationType_1= ruleXRelationType - { + newLeafNode(otherlv_8, grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:640:1: ( (lv_typeGuid_9_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:641:1: (lv_typeGuid_9_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:641:1: (lv_typeGuid_9_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:642:3: lv_typeGuid_9_0= RULE_STRING + { + lv_typeGuid_9_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXArtifactType1480); - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1(), - currentNode); + newLeafNode(lv_typeGuid_9_0, grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0()); + - pushFollow(FOLLOW_ruleXRelationType_in_ruleOseeType1172); - this_XRelationType_1 = ruleXRelationType(); - _fsp--; + if (current==null) { + current = createModelElement(grammarAccess.getXArtifactTypeRule()); + } + setWithLastConsumed( + current, + "typeGuid", + lv_typeGuid_9_0, + "STRING"); + - current = this_XRelationType_1; - currentNode = currentNode.getParent(); + } - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:606:5: this_XAttributeType_2= ruleXAttributeType - { - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXAttributeTypeParserRuleCall_2(), - currentNode); + } - pushFollow(FOLLOW_ruleXAttributeType_in_ruleOseeType1199); - this_XAttributeType_2 = ruleXAttributeType(); - _fsp--; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:658:2: ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); - current = this_XAttributeType_2; - currentNode = currentNode.getParent(); + if ( (LA10_0==21) ) { + alt10=1; + } - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:616:5: this_XOseeEnumType_3= ruleXOseeEnumType - { - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3(), - currentNode); - - pushFollow(FOLLOW_ruleXOseeEnumType_in_ruleOseeType1226); - this_XOseeEnumType_3 = ruleXOseeEnumType(); - _fsp--; + switch (alt10) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:659:1: (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:659:1: (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:660:3: lv_validAttributeTypes_10_0= ruleXAttributeTypeRef + { + + newCompositeNode(grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0()); + + pushFollow(FOLLOW_ruleXAttributeTypeRef_in_ruleXArtifactType1506); + lv_validAttributeTypes_10_0=ruleXAttributeTypeRef(); - current = this_XOseeEnumType_3; - currentNode = currentNode.getParent(); - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleOseeType - - // $ANTLR start entryRuleXArtifactType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:632:1: entryRuleXArtifactType returns [EObject current=null] : iv_ruleXArtifactType= ruleXArtifactType EOF ; - public final EObject entryRuleXArtifactType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXArtifactType = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:633:2: (iv_ruleXArtifactType= ruleXArtifactType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:634:2: iv_ruleXArtifactType= ruleXArtifactType EOF - { - currentNode = createCompositeNode(grammarAccess.getXArtifactTypeRule(), currentNode); - pushFollow(FOLLOW_ruleXArtifactType_in_entryRuleXArtifactType1261); - iv_ruleXArtifactType = ruleXArtifactType(); - _fsp--; + state._fsp--; - current = iv_ruleXArtifactType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXArtifactType1271); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleXArtifactType - // $ANTLR start ruleXArtifactType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:641:1: ruleXArtifactType returns [EObject current=null] : ( ( (lv_abstract_0_0= 'abstract' ) )? 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? '{' 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* '}' ) ; - public final EObject ruleXArtifactType() throws RecognitionException { - EObject current = null; - - Token lv_abstract_0_0 = null; - Token lv_typeGuid_9_0 = null; - AntlrDatatypeRuleToken lv_name_2_0 = null; - - EObject lv_validAttributeTypes_10_0 = null; + if (current==null) { + current = createModelElementForParent(grammarAccess.getXArtifactTypeRule()); + } + add( + current, + "validAttributeTypes", + lv_validAttributeTypes_10_0, + "XAttributeTypeRef"); + afterParserOrEnumRuleCall(); + - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:646:6: ( ( ( (lv_abstract_0_0= 'abstract' ) )? 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? '{' 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:647:1: ( ( (lv_abstract_0_0= 'abstract' ) )? 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? '{' 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:647:1: ( ( (lv_abstract_0_0= 'abstract' ) )? 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? '{' 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:647:2: ( (lv_abstract_0_0= 'abstract' ) )? 'artifactType' ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? '{' 'guid' ( (lv_typeGuid_9_0= RULE_STRING ) ) ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* '}' - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:647:2: ( (lv_abstract_0_0= 'abstract' ) )? - int alt7 = 2; - int LA7_0 = input.LA(1); - - if (LA7_0 == 14) { - alt7 = 1; - } - switch (alt7) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:648:1: (lv_abstract_0_0= 'abstract' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:648:1: (lv_abstract_0_0= 'abstract' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:649:3: lv_abstract_0_0= 'abstract' - { - lv_abstract_0_0 = (Token) input.LT(1); - match(input, 14, FOLLOW_14_in_ruleXArtifactType1314); - createLeafNode(grammarAccess.getXArtifactTypeAccess().getAbstractAbstractKeyword_0_0(), - "abstract"); + } + break; - if (current == null) { - current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + default : + break loop10; + } + } while (true); - try { - set(current, "abstract", true, "abstract", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + otherlv_11=(Token)match(input,20,FOLLOW_20_in_ruleXArtifactType1519); - } + newLeafNode(otherlv_11, grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8()); + - } - break; + } - } - match(input, 15, FOLLOW_15_in_ruleXArtifactType1338); + } - createLeafNode(grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1(), null); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXArtifactType" - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:672:1: ( (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:673:1: (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:673:1: (lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:674:3: lv_name_2_0= ruleARTIFACT_TYPE_REFERENCE - { - currentNode = - createCompositeNode( - grammarAccess.getXArtifactTypeAccess().getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0(), - currentNode); + // $ANTLR start "entryRuleXAttributeTypeRef" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:688:1: entryRuleXAttributeTypeRef returns [EObject current=null] : iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF ; + public final EObject entryRuleXAttributeTypeRef() throws RecognitionException { + EObject current = null; - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1359); - lv_name_2_0 = ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + EObject iv_ruleXAttributeTypeRef = null; - if (current == null) { - current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_2_0, "ARTIFACT_TYPE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:689:2: (iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:690:2: iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF + { + newCompositeNode(grammarAccess.getXAttributeTypeRefRule()); + pushFollow(FOLLOW_ruleXAttributeTypeRef_in_entryRuleXAttributeTypeRef1555); + iv_ruleXAttributeTypeRef=ruleXAttributeTypeRef(); - } + state._fsp--; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:696:2: ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? - int alt9 = 2; - int LA9_0 = input.LA(1); + current =iv_ruleXAttributeTypeRef; + match(input,EOF,FOLLOW_EOF_in_entryRuleXAttributeTypeRef1565); - if (LA9_0 == 16) { - alt9 = 1; - } - switch (alt9) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:696:4: 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* - { - match(input, 16, FOLLOW_16_in_ruleXArtifactType1370); + } - createLeafNode(grammarAccess.getXArtifactTypeAccess().getExtendsKeyword_3_0(), null); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAttributeTypeRef" + + + // $ANTLR start "ruleXAttributeTypeRef" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:697:1: ruleXAttributeTypeRef returns [EObject current=null] : (otherlv_0= 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) ; + public final EObject ruleXAttributeTypeRef() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token lv_branchGuid_3_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:700:28: ( (otherlv_0= 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:701:1: (otherlv_0= 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:701:1: (otherlv_0= 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:701:3: otherlv_0= 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? + { + otherlv_0=(Token)match(input,21,FOLLOW_21_in_ruleXAttributeTypeRef1602); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:700:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:701:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:701:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:702:3: ruleARTIFACT_TYPE_REFERENCE - { + newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:705:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:706:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:706:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:707:3: ruleATTRIBUTE_TYPE_REFERENCE + { - if (current == null) { - current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); + } + + + newCompositeNode(grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0()); + + pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeTypeRef1625); + ruleATTRIBUTE_TYPE_REFERENCE(); - currentNode = - createCompositeNode( - grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0(), - currentNode); + state._fsp--; - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1393); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + + afterParserOrEnumRuleCall(); + - currentNode = currentNode.getParent(); + } - } - } + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:716:2: ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* - loop8: do { - int alt8 = 2; - int LA8_0 = input.LA(1); + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:720:2: (otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? + int alt11=2; + int LA11_0 = input.LA(1); - if (LA8_0 == 17) { - alt8 = 1; - } + if ( (LA11_0==22) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:720:4: otherlv_2= 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) + { + otherlv_2=(Token)match(input,22,FOLLOW_22_in_ruleXAttributeTypeRef1638); - switch (alt8) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:716:4: ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - { - match(input, 17, FOLLOW_17_in_ruleXArtifactType1404); + newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeRefAccess().getBranchGuidKeyword_2_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:724:1: ( (lv_branchGuid_3_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:725:1: (lv_branchGuid_3_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:725:1: (lv_branchGuid_3_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:726:3: lv_branchGuid_3_0= RULE_STRING + { + lv_branchGuid_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXAttributeTypeRef1655); - createLeafNode(grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0(), null); + newLeafNode(lv_branchGuid_3_0, grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0()); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:720:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:721:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:721:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:722:3: ruleARTIFACT_TYPE_REFERENCE - { + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRefRule()); + } + setWithLastConsumed( + current, + "branchGuid", + lv_branchGuid_3_0, + "STRING"); + - if (current == null) { - current = - factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0(), - currentNode); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1427); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); - } + } + break; - } + } - } - break; - default: - break loop8; - } - } while (true); + } - } - break; - } + } - match(input, 18, FOLLOW_18_in_ruleXArtifactType1441); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAttributeTypeRef" - createLeafNode(grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4(), null); - match(input, 19, FOLLOW_19_in_ruleXArtifactType1451); + // $ANTLR start "entryRuleXAttributeType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:750:1: entryRuleXAttributeType returns [EObject current=null] : iv_ruleXAttributeType= ruleXAttributeType EOF ; + public final EObject entryRuleXAttributeType() throws RecognitionException { + EObject current = null; - createLeafNode(grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5(), null); + EObject iv_ruleXAttributeType = null; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:744:1: ( (lv_typeGuid_9_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:745:1: (lv_typeGuid_9_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:745:1: (lv_typeGuid_9_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:746:3: lv_typeGuid_9_0= RULE_STRING - { - lv_typeGuid_9_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXArtifactType1468); - createLeafNode(grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), - "typeGuid"); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:751:2: (iv_ruleXAttributeType= ruleXAttributeType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:752:2: iv_ruleXAttributeType= ruleXAttributeType EOF + { + newCompositeNode(grammarAccess.getXAttributeTypeRule()); + pushFollow(FOLLOW_ruleXAttributeType_in_entryRuleXAttributeType1698); + iv_ruleXAttributeType=ruleXAttributeType(); - if (current == null) { - current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "typeGuid", lv_typeGuid_9_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + state._fsp--; - } + current =iv_ruleXAttributeType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXAttributeType1708); - } + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:768:2: ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* - loop10: do { - int alt10 = 2; - int LA10_0 = input.LA(1); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAttributeType" + + + // $ANTLR start "ruleXAttributeType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:759:1: ruleXAttributeType returns [EObject current=null] : (otherlv_0= 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 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_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? (otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? (otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) )? (otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? (otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? otherlv_25= '}' ) ; + public final EObject ruleXAttributeType() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_7=null; + Token lv_typeGuid_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_15=null; + Token lv_taggerId_16_1=null; + Token otherlv_17=null; + Token otherlv_19=null; + Token lv_description_20_0=null; + Token otherlv_21=null; + Token lv_defaultValue_22_0=null; + Token otherlv_23=null; + Token lv_fileExtension_24_0=null; + Token otherlv_25=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + AntlrDatatypeRuleToken lv_baseAttributeType_3_0 = null; + + AntlrDatatypeRuleToken lv_dataProvider_10_3 = null; + + AntlrDatatypeRuleToken lv_taggerId_16_2 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:762:28: ( (otherlv_0= 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 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_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? (otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? (otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) )? (otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? (otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? otherlv_25= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:763:1: (otherlv_0= 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 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_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? (otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? (otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) )? (otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? (otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? otherlv_25= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:763:1: (otherlv_0= 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 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_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? (otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? (otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) )? (otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? (otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? otherlv_25= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:763:3: otherlv_0= 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) (otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 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_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? (otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? (otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) )? (otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? (otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? otherlv_25= '}' + { + otherlv_0=(Token)match(input,23,FOLLOW_23_in_ruleXAttributeType1745); - if (LA10_0 == 21) { - alt10 = 1; - } + newLeafNode(otherlv_0, grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:767:1: ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:768:1: (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:768:1: (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:769:3: lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE + { + + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1766); + lv_name_1_0=ruleATTRIBUTE_TYPE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); + } + set( + current, + "name", + lv_name_1_0, + "ATTRIBUTE_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); + - switch (alt10) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:769:1: (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:769:1: (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:770:3: lv_validAttributeTypes_10_0= ruleXAttributeTypeRef - { + } - currentNode = - createCompositeNode( - grammarAccess.getXArtifactTypeAccess().getValidAttributeTypesXAttributeTypeRefParserRuleCall_7_0(), - currentNode); - - pushFollow(FOLLOW_ruleXAttributeTypeRef_in_ruleXArtifactType1494); - lv_validAttributeTypes_10_0 = ruleXAttributeTypeRef(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "validAttributeTypes", lv_validAttributeTypes_10_0, "XAttributeTypeRef", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } + } - } - break; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:785:2: (otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:785:4: otherlv_2= 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) + { + otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleXAttributeType1779); - default: - break loop10; - } - } while (true); + newLeafNode(otherlv_2, grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:789:1: ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:790:1: (lv_baseAttributeType_3_0= ruleAttributeBaseType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:790:1: (lv_baseAttributeType_3_0= ruleAttributeBaseType ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:791:3: lv_baseAttributeType_3_0= ruleAttributeBaseType + { + + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_ruleAttributeBaseType_in_ruleXAttributeType1800); + lv_baseAttributeType_3_0=ruleAttributeBaseType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); + } + set( + current, + "baseAttributeType", + lv_baseAttributeType_3_0, + "AttributeBaseType"); + afterParserOrEnumRuleCall(); + - match(input, 20, FOLLOW_20_in_ruleXArtifactType1505); + } - createLeafNode(grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8(), null); } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:807:3: (otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? + int alt12=2; + int LA12_0 = input.LA(1); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + if ( (LA12_0==24) ) { + alt12=1; + } + switch (alt12) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:807:5: otherlv_4= 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) + { + otherlv_4=(Token)match(input,24,FOLLOW_24_in_ruleXAttributeType1814); - // $ANTLR end ruleXArtifactType + newLeafNode(otherlv_4, grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:811:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:812:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:812:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:813:3: ruleATTRIBUTE_TYPE_REFERENCE + { - // $ANTLR start entryRuleXAttributeTypeRef - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:804:1: entryRuleXAttributeTypeRef returns [EObject current=null] : iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF ; - public final EObject entryRuleXAttributeTypeRef() throws RecognitionException { - EObject current = null; + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + + + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0()); + + pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1837); + ruleATTRIBUTE_TYPE_REFERENCE(); - EObject iv_ruleXAttributeTypeRef = null; + state._fsp--; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:805:2: (iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:806:2: iv_ruleXAttributeTypeRef= ruleXAttributeTypeRef EOF - { - currentNode = createCompositeNode(grammarAccess.getXAttributeTypeRefRule(), currentNode); - pushFollow(FOLLOW_ruleXAttributeTypeRef_in_entryRuleXAttributeTypeRef1541); - iv_ruleXAttributeTypeRef = ruleXAttributeTypeRef(); - _fsp--; + + afterParserOrEnumRuleCall(); + - current = iv_ruleXAttributeTypeRef; - match(input, EOF, FOLLOW_EOF_in_entryRuleXAttributeTypeRef1551); + } - } - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleXAttributeTypeRef + } + break; - // $ANTLR start ruleXAttributeTypeRef - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:813:1: ruleXAttributeTypeRef returns [EObject current=null] : ( 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) ; - public final EObject ruleXAttributeTypeRef() throws RecognitionException { - EObject current = null; + } - Token lv_branchGuid_3_0 = null; + otherlv_6=(Token)match(input,18,FOLLOW_18_in_ruleXAttributeType1851); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + newLeafNode(otherlv_6, grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4()); + + otherlv_7=(Token)match(input,19,FOLLOW_19_in_ruleXAttributeType1863); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:818:6: ( ( 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:819:1: ( 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:819:1: ( 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:819:3: 'attribute' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? + newLeafNode(otherlv_7, grammarAccess.getXAttributeTypeAccess().getGuidKeyword_5()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:834:1: ( (lv_typeGuid_8_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:835:1: (lv_typeGuid_8_0= RULE_STRING ) { - match(input, 21, FOLLOW_21_in_ruleXAttributeTypeRef1586); - - createLeafNode(grammarAccess.getXAttributeTypeRefAccess().getAttributeKeyword_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:823:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:824:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:824:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:825:3: ruleATTRIBUTE_TYPE_REFERENCE - { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:835:1: (lv_typeGuid_8_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:836:3: lv_typeGuid_8_0= RULE_STRING + { + lv_typeGuid_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXAttributeType1880); - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + newLeafNode(lv_typeGuid_8_0, grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0()); + - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0(), - currentNode); + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + setWithLastConsumed( + current, + "typeGuid", + lv_typeGuid_8_0, + "STRING"); + - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeTypeRef1609); - ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); - } + } - } + otherlv_9=(Token)match(input,25,FOLLOW_25_in_ruleXAttributeType1897); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:839:2: ( 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) )? - int alt11 = 2; - int LA11_0 = input.LA(1); - - if (LA11_0 == 22) { - alt11 = 1; - } - switch (alt11) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:839:4: 'branchGuid' ( (lv_branchGuid_3_0= RULE_STRING ) ) - { - match(input, 22, FOLLOW_22_in_ruleXAttributeTypeRef1620); - - createLeafNode(grammarAccess.getXAttributeTypeRefAccess().getBranchGuidKeyword_2_0(), null); + newLeafNode(otherlv_9, grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:856:1: ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:857:1: ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:857:1: ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:858:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:858:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) + int alt13=3; + switch ( input.LA(1) ) { + case 26: + { + alt13=1; + } + break; + case 27: + { + alt13=2; + } + break; + case RULE_ID: + { + alt13=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:843:1: ( (lv_branchGuid_3_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:844:1: (lv_branchGuid_3_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:844:1: (lv_branchGuid_3_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:845:3: lv_branchGuid_3_0= RULE_STRING - { - lv_branchGuid_3_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXAttributeTypeRef1637); - - createLeafNode( - grammarAccess.getXAttributeTypeRefAccess().getBranchGuidSTRINGTerminalRuleCall_2_1_0(), - "branchGuid"); - - if (current == null) { - current = - factory.create(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "branchGuid", lv_branchGuid_3_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + switch (alt13) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:859:3: lv_dataProvider_10_1= 'DefaultAttributeDataProvider' + { + lv_dataProvider_10_1=(Token)match(input,26,FOLLOW_26_in_ruleXAttributeType1917); + + 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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:871:8: lv_dataProvider_10_2= 'UriAttributeDataProvider' + { + lv_dataProvider_10_2=(Token)match(input,27,FOLLOW_27_in_ruleXAttributeType1946); + + 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 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:883:8: lv_dataProvider_10_3= ruleQUALIFIED_NAME + { + + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2()); + + pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType1978); + lv_dataProvider_10_3=ruleQUALIFIED_NAME(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); + } + set( + current, + "dataProvider", + lv_dataProvider_10_3, + "QUALIFIED_NAME"); + afterParserOrEnumRuleCall(); + + + } + break; - } + } - } - } - break; + } - } } - } + otherlv_11=(Token)match(input,28,FOLLOW_28_in_ruleXAttributeType1993); - resetLookahead(); - lastConsumedNode = currentNode; + newLeafNode(otherlv_11, grammarAccess.getXAttributeTypeAccess().getMinKeyword_9()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:905:1: ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:906:1: (lv_min_12_0= RULE_WHOLE_NUM_STR ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:906:1: (lv_min_12_0= RULE_WHOLE_NUM_STR ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:907:3: lv_min_12_0= RULE_WHOLE_NUM_STR + { + lv_min_12_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType2010); - } + newLeafNode(lv_min_12_0, grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0()); + - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + setWithLastConsumed( + current, + "min", + lv_min_12_0, + "WHOLE_NUM_STR"); + - // $ANTLR end ruleXAttributeTypeRef + } - // $ANTLR start entryRuleXAttributeType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:875:1: entryRuleXAttributeType returns [EObject current=null] : iv_ruleXAttributeType= ruleXAttributeType EOF ; - public final EObject entryRuleXAttributeType() throws RecognitionException { - EObject current = null; - EObject iv_ruleXAttributeType = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:876:2: (iv_ruleXAttributeType= ruleXAttributeType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:877:2: iv_ruleXAttributeType= ruleXAttributeType EOF - { - currentNode = createCompositeNode(grammarAccess.getXAttributeTypeRule(), currentNode); - pushFollow(FOLLOW_ruleXAttributeType_in_entryRuleXAttributeType1680); - iv_ruleXAttributeType = ruleXAttributeType(); - _fsp--; + otherlv_13=(Token)match(input,29,FOLLOW_29_in_ruleXAttributeType2027); - current = iv_ruleXAttributeType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXAttributeType1690); + newLeafNode(otherlv_13, grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:927:1: ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:928:1: ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:928:1: ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:929:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:929:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) + int alt14=2; + int LA14_0 = input.LA(1); - } + if ( (LA14_0==RULE_WHOLE_NUM_STR) ) { + alt14=1; + } + else if ( (LA14_0==30) ) { + alt14=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); - } + throw nvae; + } + switch (alt14) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:930:3: lv_max_14_1= RULE_WHOLE_NUM_STR + { + lv_max_14_1=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType2046); + + 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, + "WHOLE_NUM_STR"); + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:945:8: lv_max_14_2= 'unlimited' + { + lv_max_14_2=(Token)match(input,30,FOLLOW_30_in_ruleXAttributeType2067); + + 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; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end entryRuleXAttributeType - // $ANTLR start ruleXAttributeType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:884:1: ruleXAttributeType returns [EObject current=null] : ( 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? '{' 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? ( 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? ( 'description' ( (lv_description_20_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? ( 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? '}' ) ; - public final EObject ruleXAttributeType() throws RecognitionException { - EObject current = null; + } - Token lv_typeGuid_8_0 = null; - Token lv_dataProvider_10_1 = null; - Token lv_dataProvider_10_2 = null; - Token lv_min_12_0 = null; - Token lv_max_14_1 = null; - Token lv_max_14_2 = null; - Token lv_taggerId_16_1 = null; - Token lv_description_20_0 = null; - Token lv_defaultValue_22_0 = null; - Token lv_fileExtension_24_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - AntlrDatatypeRuleToken lv_baseAttributeType_3_0 = null; + } - AntlrDatatypeRuleToken lv_dataProvider_10_3 = null; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:960:2: (otherlv_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? + int alt16=2; + int LA16_0 = input.LA(1); - AntlrDatatypeRuleToken lv_taggerId_16_2 = null; + if ( (LA16_0==31) ) { + alt16=1; + } + switch (alt16) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:960:4: otherlv_15= 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) + { + otherlv_15=(Token)match(input,31,FOLLOW_31_in_ruleXAttributeType2096); + + newLeafNode(otherlv_15, grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:964:1: ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:965:1: ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:965:1: ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:966:1: (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:966:1: (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==32) ) { + alt15=1; + } + else if ( (LA15_0==RULE_ID) ) { + alt15=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + throw nvae; + } + switch (alt15) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:967:3: lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' + { + lv_taggerId_16_1=(Token)match(input,32,FOLLOW_32_in_ruleXAttributeType2116); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:889:6: ( ( 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? '{' 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? ( 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? ( 'description' ( (lv_description_20_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? ( 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:890:1: ( 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? '{' 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? ( 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? ( 'description' ( (lv_description_20_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? ( 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:890:1: ( 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? '{' 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? ( 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? ( 'description' ( (lv_description_20_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? ( 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:890:3: 'attributeType' ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? '{' 'guid' ( (lv_typeGuid_8_0= RULE_STRING ) ) 'dataProvider' ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) 'min' ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) 'max' ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) ( 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? ( 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? ( 'description' ( (lv_description_20_0= RULE_STRING ) ) )? ( 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? ( 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? '}' - { - match(input, 23, FOLLOW_23_in_ruleXAttributeType1725); + newLeafNode(lv_taggerId_16_1, grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0()); + - createLeafNode(grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0(), null); + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + setWithLastConsumed(current, "taggerId", lv_taggerId_16_1, null); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:894:1: ( (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:895:1: (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:895:1: (lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:896:3: lv_name_1_0= ruleATTRIBUTE_TYPE_REFERENCE - { + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:979:8: lv_taggerId_16_2= ruleQUALIFIED_NAME + { + + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1()); + + pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType2148); + lv_taggerId_16_2=ruleQUALIFIED_NAME(); - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeAccess().getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1746); - lv_name_1_0 = ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "ATTRIBUTE_TYPE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:918:2: ( 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:918:4: 'extends' ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) - { - match(input, 16, FOLLOW_16_in_ruleXAttributeType1757); - - createLeafNode(grammarAccess.getXAttributeTypeAccess().getExtendsKeyword_2_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:922:1: ( (lv_baseAttributeType_3_0= ruleAttributeBaseType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:923:1: (lv_baseAttributeType_3_0= ruleAttributeBaseType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:923:1: (lv_baseAttributeType_3_0= ruleAttributeBaseType ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:924:3: lv_baseAttributeType_3_0= ruleAttributeBaseType - { - - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeAccess().getBaseAttributeTypeAttributeBaseTypeParserRuleCall_2_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleAttributeBaseType_in_ruleXAttributeType1778); - lv_baseAttributeType_3_0 = ruleAttributeBaseType(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "baseAttributeType", lv_baseAttributeType_3_0, "AttributeBaseType", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + state._fsp--; - } - } + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAttributeTypeRule()); + } + set( + current, + "taggerId", + lv_taggerId_16_2, + "QUALIFIED_NAME"); + afterParserOrEnumRuleCall(); + - } + } + break; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:946:3: ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? - int alt12 = 2; - int LA12_0 = input.LA(1); + } - if (LA12_0 == 24) { - alt12 = 1; - } - switch (alt12) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:946:5: 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) - { - match(input, 24, FOLLOW_24_in_ruleXAttributeType1790); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getOverridesKeyword_3_0(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:950:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:951:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:951:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:952:3: ruleATTRIBUTE_TYPE_REFERENCE - { - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeAccess().getOverrideXAttributeTypeCrossReference_3_1_0(), - currentNode); - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1813); - ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; + } + break; - currentNode = currentNode.getParent(); + } - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:997:4: (otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? + int alt17=2; + int LA17_0 = input.LA(1); - } + if ( (LA17_0==33) ) { + alt17=1; + } + switch (alt17) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:997:6: otherlv_17= 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) + { + otherlv_17=(Token)match(input,33,FOLLOW_33_in_ruleXAttributeType2166); - } - break; + newLeafNode(otherlv_17, grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_14_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1001:1: ( ( ruleENUM_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1002:1: ( ruleENUM_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1002:1: ( ruleENUM_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1003:3: ruleENUM_TYPE_REFERENCE + { - } + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + + + newCompositeNode(grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0()); + + pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXAttributeType2189); + ruleENUM_TYPE_REFERENCE(); - match(input, 18, FOLLOW_18_in_ruleXAttributeType1825); + state._fsp--; - createLeafNode(grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4(), null); + + afterParserOrEnumRuleCall(); + - match(input, 19, FOLLOW_19_in_ruleXAttributeType1835); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getGuidKeyword_5(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:974:1: ( (lv_typeGuid_8_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:975:1: (lv_typeGuid_8_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:975:1: (lv_typeGuid_8_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:976:3: lv_typeGuid_8_0= RULE_STRING - { - lv_typeGuid_8_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXAttributeType1852); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), - "typeGuid"); - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "typeGuid", lv_typeGuid_8_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } + break; - } + } - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1016:4: (otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) )? + int alt18=2; + int LA18_0 = input.LA(1); - match(input, 25, FOLLOW_25_in_ruleXAttributeType1867); + if ( (LA18_0==34) ) { + alt18=1; + } + switch (alt18) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1016:6: otherlv_19= 'description' ( (lv_description_20_0= RULE_STRING ) ) + { + otherlv_19=(Token)match(input,34,FOLLOW_34_in_ruleXAttributeType2204); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7(), null); + newLeafNode(otherlv_19, grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1020:1: ( (lv_description_20_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1021:1: (lv_description_20_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1021:1: (lv_description_20_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1022:3: lv_description_20_0= RULE_STRING + { + lv_description_20_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXAttributeType2221); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1002:1: ( ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1003:1: ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1003:1: ( (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1004:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1004:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME ) - int alt13 = 3; - switch (input.LA(1)) { - case 26: { - alt13 = 1; - } - break; - case 27: { - alt13 = 2; - } - break; - case RULE_ID: { - alt13 = 3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "1004:1: (lv_dataProvider_10_1= 'DefaultAttributeDataProvider' | lv_dataProvider_10_2= 'UriAttributeDataProvider' | lv_dataProvider_10_3= ruleQUALIFIED_NAME )", - 13, 0, input); - - throw nvae; - } - - switch (alt13) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1005:3: lv_dataProvider_10_1= 'DefaultAttributeDataProvider' - { - lv_dataProvider_10_1 = (Token) input.LT(1); - match(input, 26, FOLLOW_26_in_ruleXAttributeType1887); + newLeafNode(lv_description_20_0, grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0()); + - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(), - "dataProvider"); + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + setWithLastConsumed( + current, + "description", + lv_description_20_0, + "STRING"); + - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - try { - set(current, "dataProvider", lv_dataProvider_10_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1023:8: lv_dataProvider_10_2= 'UriAttributeDataProvider' - { - lv_dataProvider_10_2 = (Token) input.LT(1); - match(input, 27, FOLLOW_27_in_ruleXAttributeType1916); + } - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getDataProviderUriAttributeDataProviderKeyword_8_0_1(), - "dataProvider"); - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } + break; - try { - set(current, "dataProvider", lv_dataProvider_10_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1041:8: lv_dataProvider_10_3= ruleQUALIFIED_NAME - { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1038:4: (otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? + int alt19=2; + int LA19_0 = input.LA(1); - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeAccess().getDataProviderQUALIFIED_NAMEParserRuleCall_8_0_2(), - currentNode); - - pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType1948); - lv_dataProvider_10_3 = ruleQUALIFIED_NAME(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "dataProvider", lv_dataProvider_10_3, "QUALIFIED_NAME", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + if ( (LA19_0==35) ) { + alt19=1; + } + switch (alt19) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1038:6: otherlv_21= 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) + { + otherlv_21=(Token)match(input,35,FOLLOW_35_in_ruleXAttributeType2241); - } - break; + newLeafNode(otherlv_21, grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1042:1: ( (lv_defaultValue_22_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1043:1: (lv_defaultValue_22_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1043:1: (lv_defaultValue_22_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1044:3: lv_defaultValue_22_0= RULE_STRING + { + lv_defaultValue_22_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXAttributeType2258); - } + newLeafNode(lv_defaultValue_22_0, grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0()); + - } + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + setWithLastConsumed( + current, + "defaultValue", + lv_defaultValue_22_0, + "STRING"); + - } + } - match(input, 28, FOLLOW_28_in_ruleXAttributeType1961); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMinKeyword_9(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1069:1: ( (lv_min_12_0= RULE_WHOLE_NUM_STR ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1070:1: (lv_min_12_0= RULE_WHOLE_NUM_STR ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1070:1: (lv_min_12_0= RULE_WHOLE_NUM_STR ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1071:3: lv_min_12_0= RULE_WHOLE_NUM_STR - { - lv_min_12_0 = (Token) input.LT(1); - match(input, RULE_WHOLE_NUM_STR, FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType1978); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(), - "min"); + } + break; - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "min", lv_min_12_0, "WHOLE_NUM_STR", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1060:4: (otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? + int alt20=2; + int LA20_0 = input.LA(1); - } + if ( (LA20_0==36) ) { + alt20=1; + } + switch (alt20) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1060:6: otherlv_23= 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) + { + otherlv_23=(Token)match(input,36,FOLLOW_36_in_ruleXAttributeType2278); - match(input, 29, FOLLOW_29_in_ruleXAttributeType1993); + newLeafNode(otherlv_23, grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1064:1: ( (lv_fileExtension_24_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1065:1: (lv_fileExtension_24_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1065:1: (lv_fileExtension_24_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1066:3: lv_fileExtension_24_0= RULE_STRING + { + lv_fileExtension_24_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXAttributeType2295); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11(), null); + newLeafNode(lv_fileExtension_24_0, grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0()); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1097:1: ( ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1098:1: ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1098:1: ( (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1099:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1099:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' ) - int alt14 = 2; - int LA14_0 = input.LA(1); + if (current==null) { + current = createModelElement(grammarAccess.getXAttributeTypeRule()); + } + setWithLastConsumed( + current, + "fileExtension", + lv_fileExtension_24_0, + "STRING"); + - if (LA14_0 == RULE_WHOLE_NUM_STR) { - alt14 = 1; - } else if (LA14_0 == 30) { - alt14 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException( - "1099:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' )", 14, 0, input); + } - throw nvae; - } - switch (alt14) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1100:3: lv_max_14_1= RULE_WHOLE_NUM_STR - { - lv_max_14_1 = (Token) input.LT(1); - match(input, RULE_WHOLE_NUM_STR, FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType2012); - - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getMaxWHOLE_NUM_STRTerminalRuleCall_12_0_0(), - "max"); - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "max", lv_max_14_1, "WHOLE_NUM_STR", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1121:8: lv_max_14_2= 'unlimited' - { - lv_max_14_2 = (Token) input.LT(1); - match(input, 30, FOLLOW_30_in_ruleXAttributeType2033); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxUnlimitedKeyword_12_0_1(), - "max"); - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } + break; - try { - set(current, "max", lv_max_14_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } - } - break; + otherlv_25=(Token)match(input,20,FOLLOW_20_in_ruleXAttributeType2314); - } + newLeafNode(otherlv_25, grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18()); + - } + } - } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1142:2: ( 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) )? - int alt16 = 2; - int LA16_0 = input.LA(1); + } - if (LA16_0 == 31) { - alt16 = 1; - } - switch (alt16) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1142:4: 'taggerId' ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) - { - match(input, 31, FOLLOW_31_in_ruleXAttributeType2060); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAttributeType" - createLeafNode(grammarAccess.getXAttributeTypeAccess().getTaggerIdKeyword_13_0(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1146:1: ( ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1147:1: ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1147:1: ( (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1148:1: (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1148:1: (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME ) - int alt15 = 2; - int LA15_0 = input.LA(1); - - if (LA15_0 == 32) { - alt15 = 1; - } else if (LA15_0 == RULE_ID) { - alt15 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException( - "1148:1: (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME )", - 15, 0, input); - - throw nvae; - } - switch (alt15) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1149:3: lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' - { - lv_taggerId_16_1 = (Token) input.LT(1); - match(input, 32, FOLLOW_32_in_ruleXAttributeType2080); - - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0(), - "taggerId"); - - if (current == null) { - current = - factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "taggerId", lv_taggerId_16_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1167:8: lv_taggerId_16_2= ruleQUALIFIED_NAME - { - - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeAccess().getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1(), - currentNode); - - pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType2112); - lv_taggerId_16_2 = ruleQUALIFIED_NAME(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "taggerId", lv_taggerId_16_2, "QUALIFIED_NAME", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - break; - - } + // $ANTLR start "entryRuleAttributeBaseType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1094:1: entryRuleAttributeBaseType returns [String current=null] : iv_ruleAttributeBaseType= ruleAttributeBaseType EOF ; + public final String entryRuleAttributeBaseType() throws RecognitionException { + String current = null; - } + AntlrDatatypeRuleToken iv_ruleAttributeBaseType = null; - } - } - break; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1095:2: (iv_ruleAttributeBaseType= ruleAttributeBaseType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1096:2: iv_ruleAttributeBaseType= ruleAttributeBaseType EOF + { + newCompositeNode(grammarAccess.getAttributeBaseTypeRule()); + pushFollow(FOLLOW_ruleAttributeBaseType_in_entryRuleAttributeBaseType2351); + iv_ruleAttributeBaseType=ruleAttributeBaseType(); - } + state._fsp--; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1191:4: ( 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) )? - int alt17 = 2; - int LA17_0 = input.LA(1); + current =iv_ruleAttributeBaseType.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleAttributeBaseType2362); - if (LA17_0 == 33) { - alt17 = 1; - } - switch (alt17) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1191:6: 'enumType' ( ( ruleENUM_TYPE_REFERENCE ) ) - { - match(input, 33, FOLLOW_33_in_ruleXAttributeType2128); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getEnumTypeKeyword_14_0(), null); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAttributeBaseType" + + + // $ANTLR start "ruleAttributeBaseType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1103:1: ruleAttributeBaseType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) ; + public final AntlrDatatypeRuleToken ruleAttributeBaseType() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + AntlrDatatypeRuleToken this_QUALIFIED_NAME_9 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1106:28: ( (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1107:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1107:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) + int alt21=10; + switch ( input.LA(1) ) { + case 37: + { + alt21=1; + } + break; + case 38: + { + alt21=2; + } + break; + case 39: + { + alt21=3; + } + break; + case 40: + { + alt21=4; + } + break; + case 41: + { + alt21=5; + } + break; + case 42: + { + alt21=6; + } + break; + case 43: + { + alt21=7; + } + break; + case 44: + { + alt21=8; + } + break; + case 45: + { + alt21=9; + } + break; + case RULE_ID: + { + alt21=10; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1195:1: ( ( ruleENUM_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1196:1: ( ruleENUM_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1196:1: ( ruleENUM_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1197:3: ruleENUM_TYPE_REFERENCE - { + switch (alt21) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1108:2: kw= 'BooleanAttribute' + { + kw=(Token)match(input,37,FOLLOW_37_in_ruleAttributeBaseType2400); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getBooleanAttributeKeyword_0()); + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1115:2: kw= 'CompressedContentAttribute' + { + kw=(Token)match(input,38,FOLLOW_38_in_ruleAttributeBaseType2419); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getCompressedContentAttributeKeyword_1()); + + + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1122:2: kw= 'DateAttribute' + { + kw=(Token)match(input,39,FOLLOW_39_in_ruleAttributeBaseType2438); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getDateAttributeKeyword_2()); + + + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1129:2: kw= 'EnumeratedAttribute' + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleAttributeBaseType2457); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getEnumeratedAttributeKeyword_3()); + + + } + break; + case 5 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1136:2: kw= 'FloatingPointAttribute' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleAttributeBaseType2476); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getFloatingPointAttributeKeyword_4()); + + + } + break; + case 6 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1143:2: kw= 'IntegerAttribute' + { + kw=(Token)match(input,42,FOLLOW_42_in_ruleAttributeBaseType2495); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getIntegerAttributeKeyword_5()); + + + } + break; + case 7 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1150:2: kw= 'JavaObjectAttribute' + { + kw=(Token)match(input,43,FOLLOW_43_in_ruleAttributeBaseType2514); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getJavaObjectAttributeKeyword_6()); + + + } + break; + case 8 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1157:2: kw= 'StringAttribute' + { + kw=(Token)match(input,44,FOLLOW_44_in_ruleAttributeBaseType2533); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getStringAttributeKeyword_7()); + + + } + break; + case 9 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1164:2: kw= 'WordAttribute' + { + kw=(Token)match(input,45,FOLLOW_45_in_ruleAttributeBaseType2552); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getAttributeBaseTypeAccess().getWordAttributeKeyword_8()); + + + } + break; + case 10 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1171:5: this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME + { + + newCompositeNode(grammarAccess.getAttributeBaseTypeAccess().getQUALIFIED_NAMEParserRuleCall_9()); + + pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_ruleAttributeBaseType2580); + this_QUALIFIED_NAME_9=ruleQUALIFIED_NAME(); + + state._fsp--; + + + current.merge(this_QUALIFIED_NAME_9); + + + afterParserOrEnumRuleCall(); + + + } + break; - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeAccess().getEnumTypeXOseeEnumTypeCrossReference_14_1_0(), - currentNode); - pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXAttributeType2151); - ruleENUM_TYPE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAttributeBaseType" - } - } + // $ANTLR start "entryRuleXOseeEnumType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1189:1: entryRuleXOseeEnumType returns [EObject current=null] : iv_ruleXOseeEnumType= ruleXOseeEnumType EOF ; + public final EObject entryRuleXOseeEnumType() throws RecognitionException { + EObject current = null; - } - break; + EObject iv_ruleXOseeEnumType = null; - } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1211:4: ( 'description' ( (lv_description_20_0= RULE_STRING ) ) )? - int alt18 = 2; - int LA18_0 = input.LA(1); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1190:2: (iv_ruleXOseeEnumType= ruleXOseeEnumType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1191:2: iv_ruleXOseeEnumType= ruleXOseeEnumType EOF + { + newCompositeNode(grammarAccess.getXOseeEnumTypeRule()); + pushFollow(FOLLOW_ruleXOseeEnumType_in_entryRuleXOseeEnumType2625); + iv_ruleXOseeEnumType=ruleXOseeEnumType(); - if (LA18_0 == 34) { - alt18 = 1; - } - switch (alt18) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1211:6: 'description' ( (lv_description_20_0= RULE_STRING ) ) - { - match(input, 34, FOLLOW_34_in_ruleXAttributeType2164); + state._fsp--; - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0(), null); + current =iv_ruleXOseeEnumType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXOseeEnumType2635); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1215:1: ( (lv_description_20_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1216:1: (lv_description_20_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1216:1: (lv_description_20_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1217:3: lv_description_20_0= RULE_STRING - { - lv_description_20_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXAttributeType2181); - - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getDescriptionSTRINGTerminalRuleCall_15_1_0(), - "description"); - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "description", lv_description_20_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXOseeEnumType" + + + // $ANTLR start "ruleXOseeEnumType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1198:1: ruleXOseeEnumType returns [EObject current=null] : (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) ; + public final EObject ruleXOseeEnumType() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token lv_typeGuid_4_0=null; + Token otherlv_6=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + EObject lv_enumEntries_5_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1201:28: ( (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1202:1: (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1202:1: (otherlv_0= 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1202:3: otherlv_0= 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* otherlv_6= '}' + { + otherlv_0=(Token)match(input,46,FOLLOW_46_in_ruleXOseeEnumType2672); - } + newLeafNode(otherlv_0, grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1206:1: ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1207:1: (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1207:1: (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1208:3: lv_name_1_0= ruleENUM_TYPE_REFERENCE + { + + newCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumType2693); + lv_name_1_0=ruleENUM_TYPE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXOseeEnumTypeRule()); + } + set( + current, + "name", + lv_name_1_0, + "ENUM_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); + - } - break; + } - } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1239:4: ( 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) )? - int alt19 = 2; - int LA19_0 = input.LA(1); + } - if (LA19_0 == 35) { - alt19 = 1; - } - switch (alt19) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1239:6: 'defaultValue' ( (lv_defaultValue_22_0= RULE_STRING ) ) - { - match(input, 35, FOLLOW_35_in_ruleXAttributeType2199); + otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleXOseeEnumType2705); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0(), null); + newLeafNode(otherlv_2, grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,19,FOLLOW_19_in_ruleXOseeEnumType2717); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1243:1: ( (lv_defaultValue_22_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1244:1: (lv_defaultValue_22_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1244:1: (lv_defaultValue_22_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1245:3: lv_defaultValue_22_0= RULE_STRING - { - lv_defaultValue_22_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXAttributeType2216); - - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getDefaultValueSTRINGTerminalRuleCall_16_1_0(), - "defaultValue"); - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "defaultValue", lv_defaultValue_22_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + newLeafNode(otherlv_3, grammarAccess.getXOseeEnumTypeAccess().getGuidKeyword_3()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1232:1: ( (lv_typeGuid_4_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1233:1: (lv_typeGuid_4_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1233:1: (lv_typeGuid_4_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1234:3: lv_typeGuid_4_0= RULE_STRING + { + lv_typeGuid_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXOseeEnumType2734); - } + newLeafNode(lv_typeGuid_4_0, grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0()); + - } + if (current==null) { + current = createModelElement(grammarAccess.getXOseeEnumTypeRule()); + } + setWithLastConsumed( + current, + "typeGuid", + lv_typeGuid_4_0, + "STRING"); + - } - break; + } - } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1267:4: ( 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) )? - int alt20 = 2; - int LA20_0 = input.LA(1); + } - if (LA20_0 == 36) { - alt20 = 1; - } - switch (alt20) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1267:6: 'fileExtension' ( (lv_fileExtension_24_0= RULE_STRING ) ) - { - match(input, 36, FOLLOW_36_in_ruleXAttributeType2234); + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1250:2: ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* + loop22: + do { + int alt22=2; + int LA22_0 = input.LA(1); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0(), null); + if ( (LA22_0==47) ) { + alt22=1; + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1271:1: ( (lv_fileExtension_24_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1272:1: (lv_fileExtension_24_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1272:1: (lv_fileExtension_24_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1273:3: lv_fileExtension_24_0= RULE_STRING - { - lv_fileExtension_24_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXAttributeType2251); - - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getFileExtensionSTRINGTerminalRuleCall_17_1_0(), - "fileExtension"); - - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "fileExtension", lv_fileExtension_24_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } + switch (alt22) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1251:1: (lv_enumEntries_5_0= ruleXOseeEnumEntry ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1251:1: (lv_enumEntries_5_0= ruleXOseeEnumEntry ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1252:3: lv_enumEntries_5_0= ruleXOseeEnumEntry + { + + newCompositeNode(grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0()); + + pushFollow(FOLLOW_ruleXOseeEnumEntry_in_ruleXOseeEnumType2760); + lv_enumEntries_5_0=ruleXOseeEnumEntry(); - } - - } - break; - - } - - match(input, 20, FOLLOW_20_in_ruleXAttributeType2268); - - createLeafNode(grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18(), null); - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleXAttributeType - - // $ANTLR start entryRuleAttributeBaseType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1307:1: entryRuleAttributeBaseType returns [String current=null] : iv_ruleAttributeBaseType= ruleAttributeBaseType EOF ; - public final String entryRuleAttributeBaseType() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleAttributeBaseType = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1308:2: (iv_ruleAttributeBaseType= ruleAttributeBaseType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1309:2: iv_ruleAttributeBaseType= ruleAttributeBaseType EOF - { - currentNode = createCompositeNode(grammarAccess.getAttributeBaseTypeRule(), currentNode); - pushFollow(FOLLOW_ruleAttributeBaseType_in_entryRuleAttributeBaseType2305); - iv_ruleAttributeBaseType = ruleAttributeBaseType(); - _fsp--; - - current = iv_ruleAttributeBaseType.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleAttributeBaseType2316); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleAttributeBaseType - - // $ANTLR start ruleAttributeBaseType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1316:1: ruleAttributeBaseType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) ; - public final AntlrDatatypeRuleToken ruleAttributeBaseType() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw = null; - AntlrDatatypeRuleToken this_QUALIFIED_NAME_9 = null; - - setCurrentLookahead(); - resetLookahead(); - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1321:6: ( (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1322:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1322:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME ) - int alt21 = 10; - switch (input.LA(1)) { - case 37: { - alt21 = 1; - } - break; - case 38: { - alt21 = 2; - } - break; - case 39: { - alt21 = 3; - } - break; - case 40: { - alt21 = 4; - } - break; - case 41: { - alt21 = 5; - } - break; - case 42: { - alt21 = 6; - } - break; - case 43: { - alt21 = 7; - } - break; - case 44: { - alt21 = 8; - } - break; - case 45: { - alt21 = 9; - } - break; - case RULE_ID: { - alt21 = 10; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "1322:1: (kw= 'BooleanAttribute' | kw= 'CompressedContentAttribute' | kw= 'DateAttribute' | kw= 'EnumeratedAttribute' | kw= 'FloatingPointAttribute' | kw= 'IntegerAttribute' | kw= 'JavaObjectAttribute' | kw= 'StringAttribute' | kw= 'WordAttribute' | this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME )", - 21, 0, input); - - throw nvae; - } + state._fsp--; - switch (alt21) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1323:2: kw= 'BooleanAttribute' - { - kw = (Token) input.LT(1); - match(input, 37, FOLLOW_37_in_ruleAttributeBaseType2354); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getBooleanAttributeKeyword_0(), null); - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1330:2: kw= 'CompressedContentAttribute' - { - kw = (Token) input.LT(1); - match(input, 38, FOLLOW_38_in_ruleAttributeBaseType2373); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getCompressedContentAttributeKeyword_1(), - null); - - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1337:2: kw= 'DateAttribute' - { - kw = (Token) input.LT(1); - match(input, 39, FOLLOW_39_in_ruleAttributeBaseType2392); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getDateAttributeKeyword_2(), null); - - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1344:2: kw= 'EnumeratedAttribute' - { - kw = (Token) input.LT(1); - match(input, 40, FOLLOW_40_in_ruleAttributeBaseType2411); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getEnumeratedAttributeKeyword_3(), null); - - } - break; - case 5: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1351:2: kw= 'FloatingPointAttribute' - { - kw = (Token) input.LT(1); - match(input, 41, FOLLOW_41_in_ruleAttributeBaseType2430); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getFloatingPointAttributeKeyword_4(), null); - - } - break; - case 6: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1358:2: kw= 'IntegerAttribute' - { - kw = (Token) input.LT(1); - match(input, 42, FOLLOW_42_in_ruleAttributeBaseType2449); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getIntegerAttributeKeyword_5(), null); - - } - break; - case 7: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1365:2: kw= 'JavaObjectAttribute' - { - kw = (Token) input.LT(1); - match(input, 43, FOLLOW_43_in_ruleAttributeBaseType2468); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getJavaObjectAttributeKeyword_6(), null); - - } - break; - case 8: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1372:2: kw= 'StringAttribute' - { - kw = (Token) input.LT(1); - match(input, 44, FOLLOW_44_in_ruleAttributeBaseType2487); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getStringAttributeKeyword_7(), null); - - } - break; - case 9: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1379:2: kw= 'WordAttribute' - { - kw = (Token) input.LT(1); - match(input, 45, FOLLOW_45_in_ruleAttributeBaseType2506); - - current.merge(kw); - createLeafNode(grammarAccess.getAttributeBaseTypeAccess().getWordAttributeKeyword_8(), null); - - } - break; - case 10: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1386:5: this_QUALIFIED_NAME_9= ruleQUALIFIED_NAME - { - - currentNode = - createCompositeNode( - grammarAccess.getAttributeBaseTypeAccess().getQUALIFIED_NAMEParserRuleCall_9(), currentNode); - - pushFollow(FOLLOW_ruleQUALIFIED_NAME_in_ruleAttributeBaseType2534); - this_QUALIFIED_NAME_9 = ruleQUALIFIED_NAME(); - _fsp--; - - current.merge(this_QUALIFIED_NAME_9); - - currentNode = currentNode.getParent(); - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleAttributeBaseType + if (current==null) { + current = createModelElementForParent(grammarAccess.getXOseeEnumTypeRule()); + } + add( + current, + "enumEntries", + lv_enumEntries_5_0, + "XOseeEnumEntry"); + afterParserOrEnumRuleCall(); + - // $ANTLR start entryRuleXOseeEnumType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1404:1: entryRuleXOseeEnumType returns [EObject current=null] : iv_ruleXOseeEnumType= ruleXOseeEnumType EOF ; - public final EObject entryRuleXOseeEnumType() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXOseeEnumType = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1405:2: (iv_ruleXOseeEnumType= ruleXOseeEnumType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1406:2: iv_ruleXOseeEnumType= ruleXOseeEnumType EOF - { - currentNode = createCompositeNode(grammarAccess.getXOseeEnumTypeRule(), currentNode); - pushFollow(FOLLOW_ruleXOseeEnumType_in_entryRuleXOseeEnumType2579); - iv_ruleXOseeEnumType = ruleXOseeEnumType(); - _fsp--; - - current = iv_ruleXOseeEnumType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXOseeEnumType2589); - - } + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + break; - // $ANTLR end entryRuleXOseeEnumType + default : + break loop22; + } + } while (true); - // $ANTLR start ruleXOseeEnumType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1413:1: ruleXOseeEnumType returns [EObject current=null] : ( 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* '}' ) ; - public final EObject ruleXOseeEnumType() throws RecognitionException { - EObject current = null; + otherlv_6=(Token)match(input,20,FOLLOW_20_in_ruleXOseeEnumType2773); - Token lv_typeGuid_4_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + newLeafNode(otherlv_6, grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6()); + - EObject lv_enumEntries_5_0 = null; + } - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1418:6: ( ( 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1419:1: ( 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1419:1: ( 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1419:3: 'oseeEnumType' ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* '}' - { - match(input, 46, FOLLOW_46_in_ruleXOseeEnumType2624); + } - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0(), null); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXOseeEnumType" - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1423:1: ( (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1424:1: (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1424:1: (lv_name_1_0= ruleENUM_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1425:3: lv_name_1_0= ruleENUM_TYPE_REFERENCE - { - currentNode = - createCompositeNode( - grammarAccess.getXOseeEnumTypeAccess().getNameENUM_TYPE_REFERENCEParserRuleCall_1_0(), - currentNode); + // $ANTLR start "entryRuleXOseeEnumEntry" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1280:1: entryRuleXOseeEnumEntry returns [EObject current=null] : iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF ; + public final EObject entryRuleXOseeEnumEntry() throws RecognitionException { + EObject current = null; - pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumType2645); - lv_name_1_0 = ruleENUM_TYPE_REFERENCE(); - _fsp--; + EObject iv_ruleXOseeEnumEntry = null; - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "ENUM_TYPE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - match(input, 18, FOLLOW_18_in_ruleXOseeEnumType2655); - - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2(), null); - - match(input, 19, FOLLOW_19_in_ruleXOseeEnumType2665); - - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getGuidKeyword_3(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1455:1: ( (lv_typeGuid_4_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1456:1: (lv_typeGuid_4_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1456:1: (lv_typeGuid_4_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1457:3: lv_typeGuid_4_0= RULE_STRING - { - lv_typeGuid_4_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXOseeEnumType2682); - - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), - "typeGuid"); - - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "typeGuid", lv_typeGuid_4_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - } - - } - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1479:2: ( (lv_enumEntries_5_0= ruleXOseeEnumEntry ) )* - loop22: do { - int alt22 = 2; - int LA22_0 = input.LA(1); - - if (LA22_0 == 47) { - alt22 = 1; - } - - switch (alt22) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1480:1: (lv_enumEntries_5_0= ruleXOseeEnumEntry ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1480:1: (lv_enumEntries_5_0= ruleXOseeEnumEntry ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1481:3: lv_enumEntries_5_0= ruleXOseeEnumEntry - { - currentNode = - createCompositeNode( - grammarAccess.getXOseeEnumTypeAccess().getEnumEntriesXOseeEnumEntryParserRuleCall_5_0(), - currentNode); - - pushFollow(FOLLOW_ruleXOseeEnumEntry_in_ruleXOseeEnumType2708); - lv_enumEntries_5_0 = ruleXOseeEnumEntry(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "enumEntries", lv_enumEntries_5_0, "XOseeEnumEntry", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1281:2: (iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1282:2: iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF + { + newCompositeNode(grammarAccess.getXOseeEnumEntryRule()); + pushFollow(FOLLOW_ruleXOseeEnumEntry_in_entryRuleXOseeEnumEntry2809); + iv_ruleXOseeEnumEntry=ruleXOseeEnumEntry(); - } + state._fsp--; - } - break; + current =iv_ruleXOseeEnumEntry; + match(input,EOF,FOLLOW_EOF_in_entryRuleXOseeEnumEntry2819); - default: - break loop22; - } - } while (true); + } - match(input, 20, FOLLOW_20_in_ruleXOseeEnumType2719); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXOseeEnumEntry" + + + // $ANTLR start "ruleXOseeEnumEntry" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1289:1: ruleXOseeEnumEntry returns [EObject current=null] : (otherlv_0= 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ; + public final EObject ruleXOseeEnumEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_ordinal_2_0=null; + Token otherlv_3=null; + Token lv_entryGuid_4_0=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1292:28: ( (otherlv_0= 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1293:1: (otherlv_0= 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1293:1: (otherlv_0= 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1293:3: otherlv_0= 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? + { + otherlv_0=(Token)match(input,47,FOLLOW_47_in_ruleXOseeEnumEntry2856); - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6(), null); + newLeafNode(otherlv_0, grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1297:1: ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1298:1: (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1298:1: (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1299:3: lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE + { + + newCompositeNode(grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleXOseeEnumEntry2877); + lv_name_1_0=ruleENUM_ENTRY_TYPE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXOseeEnumEntryRule()); + } + set( + current, + "name", + lv_name_1_0, + "ENUM_ENTRY_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1315:2: ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? + int alt23=2; + int LA23_0 = input.LA(1); - // $ANTLR end ruleXOseeEnumType + if ( (LA23_0==RULE_WHOLE_NUM_STR) ) { + alt23=1; + } + switch (alt23) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1316:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1316:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1317:3: lv_ordinal_2_0= RULE_WHOLE_NUM_STR + { + lv_ordinal_2_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXOseeEnumEntry2894); + + 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, + "WHOLE_NUM_STR"); + + + } + + + } + break; - // $ANTLR start entryRuleXOseeEnumEntry - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1515:1: entryRuleXOseeEnumEntry returns [EObject current=null] : iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF ; - public final EObject entryRuleXOseeEnumEntry() throws RecognitionException { - EObject current = null; + } - EObject iv_ruleXOseeEnumEntry = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1516:2: (iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1517:2: iv_ruleXOseeEnumEntry= ruleXOseeEnumEntry EOF - { - currentNode = createCompositeNode(grammarAccess.getXOseeEnumEntryRule(), currentNode); - pushFollow(FOLLOW_ruleXOseeEnumEntry_in_entryRuleXOseeEnumEntry2755); - iv_ruleXOseeEnumEntry = ruleXOseeEnumEntry(); - _fsp--; - - current = iv_ruleXOseeEnumEntry; - match(input, EOF, FOLLOW_EOF_in_entryRuleXOseeEnumEntry2765); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleXOseeEnumEntry - - // $ANTLR start ruleXOseeEnumEntry - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1524:1: ruleXOseeEnumEntry returns [EObject current=null] : ( 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ; - public final EObject ruleXOseeEnumEntry() throws RecognitionException { - EObject current = null; - - Token lv_ordinal_2_0 = null; - Token lv_entryGuid_4_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1529:6: ( ( 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1530:1: ( 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1530:1: ( 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1530:3: 'entry' ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? - { - match(input, 47, FOLLOW_47_in_ruleXOseeEnumEntry2800); - - createLeafNode(grammarAccess.getXOseeEnumEntryAccess().getEntryKeyword_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1534:1: ( (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1535:1: (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1535:1: (lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1536:3: lv_name_1_0= ruleENUM_ENTRY_TYPE_REFERENCE - { - - currentNode = - createCompositeNode( - grammarAccess.getXOseeEnumEntryAccess().getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleXOseeEnumEntry2821); - lv_name_1_0 = ruleENUM_ENTRY_TYPE_REFERENCE(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "ENUM_ENTRY_TYPE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1558: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: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1559:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1559:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1560:3: lv_ordinal_2_0= RULE_WHOLE_NUM_STR - { - lv_ordinal_2_0 = (Token) input.LT(1); - match(input, RULE_WHOLE_NUM_STR, FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXOseeEnumEntry2838); - - createLeafNode( - grammarAccess.getXOseeEnumEntryAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), - "ordinal"); - - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "ordinal", lv_ordinal_2_0, "WHOLE_NUM_STR", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1333:3: (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? + int alt24=2; + int LA24_0 = input.LA(1); - } + if ( (LA24_0==48) ) { + alt24=1; + } + switch (alt24) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1333:5: otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) + { + otherlv_3=(Token)match(input,48,FOLLOW_48_in_ruleXOseeEnumEntry2913); - } - break; + newLeafNode(otherlv_3, grammarAccess.getXOseeEnumEntryAccess().getEntryGuidKeyword_3_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1337:1: ( (lv_entryGuid_4_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1338:1: (lv_entryGuid_4_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1338:1: (lv_entryGuid_4_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1339:3: lv_entryGuid_4_0= RULE_STRING + { + lv_entryGuid_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXOseeEnumEntry2930); - } + newLeafNode(lv_entryGuid_4_0, grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0()); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1582:3: ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? - int alt24 = 2; - int LA24_0 = input.LA(1); + if (current==null) { + current = createModelElement(grammarAccess.getXOseeEnumEntryRule()); + } + setWithLastConsumed( + current, + "entryGuid", + lv_entryGuid_4_0, + "STRING"); + - if (LA24_0 == 48) { - alt24 = 1; - } - switch (alt24) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1582:5: 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) - { - match(input, 48, FOLLOW_48_in_ruleXOseeEnumEntry2855); + } - createLeafNode(grammarAccess.getXOseeEnumEntryAccess().getEntryGuidKeyword_3_0(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1586:1: ( (lv_entryGuid_4_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1587:1: (lv_entryGuid_4_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1587:1: (lv_entryGuid_4_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1588:3: lv_entryGuid_4_0= RULE_STRING - { - lv_entryGuid_4_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXOseeEnumEntry2872); - - createLeafNode( - grammarAccess.getXOseeEnumEntryAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), - "entryGuid"); - - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumEntryRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "entryGuid", lv_entryGuid_4_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } - } - } + } + break; - } - break; + } - } } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXOseeEnumEntry" - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleXOseeEnumEntry + // $ANTLR start "entryRuleXOseeEnumOverride" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1363:1: entryRuleXOseeEnumOverride returns [EObject current=null] : iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ; + public final EObject entryRuleXOseeEnumOverride() throws RecognitionException { + EObject current = null; - // $ANTLR start entryRuleXOseeEnumOverride - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1618:1: entryRuleXOseeEnumOverride returns [EObject current=null] : iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ; - public final EObject entryRuleXOseeEnumOverride() throws RecognitionException { - EObject current = null; + EObject iv_ruleXOseeEnumOverride = null; - EObject iv_ruleXOseeEnumOverride = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1619:2: (iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1620:2: iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF - { - currentNode = createCompositeNode(grammarAccess.getXOseeEnumOverrideRule(), currentNode); - pushFollow(FOLLOW_ruleXOseeEnumOverride_in_entryRuleXOseeEnumOverride2915); - iv_ruleXOseeEnumOverride = ruleXOseeEnumOverride(); - _fsp--; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1364:2: (iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1365:2: iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF + { + newCompositeNode(grammarAccess.getXOseeEnumOverrideRule()); + pushFollow(FOLLOW_ruleXOseeEnumOverride_in_entryRuleXOseeEnumOverride2973); + iv_ruleXOseeEnumOverride=ruleXOseeEnumOverride(); - current = iv_ruleXOseeEnumOverride; - match(input, EOF, FOLLOW_EOF_in_entryRuleXOseeEnumOverride2925); + state._fsp--; - } + current =iv_ruleXOseeEnumOverride; + match(input,EOF,FOLLOW_EOF_in_entryRuleXOseeEnumOverride2983); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXOseeEnumOverride" + + + // $ANTLR start "ruleXOseeEnumOverride" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1372:1: ruleXOseeEnumOverride returns [EObject current=null] : (otherlv_0= 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) 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_2=null; + Token lv_inheritAll_3_0=null; + Token otherlv_5=null; + EObject lv_overrideOptions_4_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1375:28: ( (otherlv_0= 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1376:1: (otherlv_0= 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1376:1: (otherlv_0= 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1376:3: otherlv_0= 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) otherlv_2= '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* otherlv_5= '}' + { + otherlv_0=(Token)match(input,49,FOLLOW_49_in_ruleXOseeEnumOverride3020); - // $ANTLR end entryRuleXOseeEnumOverride + newLeafNode(otherlv_0, grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1380:1: ( ( ruleENUM_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1381:1: ( ruleENUM_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1381:1: ( ruleENUM_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1382:3: ruleENUM_TYPE_REFERENCE + { - // $ANTLR start ruleXOseeEnumOverride - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1627:1: ruleXOseeEnumOverride returns [EObject current=null] : ( 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* '}' ) ; - public final EObject ruleXOseeEnumOverride() throws RecognitionException { - EObject current = null; + if (current==null) { + current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); + } + + + newCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0()); + + pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumOverride3043); + ruleENUM_TYPE_REFERENCE(); - Token lv_inheritAll_3_0 = null; - EObject lv_overrideOptions_4_0 = null; + state._fsp--; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + + afterParserOrEnumRuleCall(); + - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1632:6: ( ( 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1633:1: ( 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1633:1: ( 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1633:3: 'overrides enum' ( ( ruleENUM_TYPE_REFERENCE ) ) '{' ( (lv_inheritAll_3_0= 'inheritAll' ) )? ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* '}' - { - match(input, 49, FOLLOW_49_in_ruleXOseeEnumOverride2960); + } - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getOverridesEnumKeyword_0(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1637:1: ( ( ruleENUM_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1638:1: ( ruleENUM_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1638:1: ( ruleENUM_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1639:3: ruleENUM_TYPE_REFERENCE - { + } - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleXOseeEnumOverride3055); - currentNode = - createCompositeNode( - grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0(), - currentNode); + newLeafNode(otherlv_2, grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1399:1: ( (lv_inheritAll_3_0= 'inheritAll' ) )? + int alt25=2; + int LA25_0 = input.LA(1); - pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumOverride2983); - ruleENUM_TYPE_REFERENCE(); - _fsp--; + if ( (LA25_0==50) ) { + alt25=1; + } + switch (alt25) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1400:1: (lv_inheritAll_3_0= 'inheritAll' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1400:1: (lv_inheritAll_3_0= 'inheritAll' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1401:3: lv_inheritAll_3_0= 'inheritAll' + { + lv_inheritAll_3_0=(Token)match(input,50,FOLLOW_50_in_ruleXOseeEnumOverride3073); - currentNode = currentNode.getParent(); + newLeafNode(lv_inheritAll_3_0, grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0()); + - } + if (current==null) { + current = createModelElement(grammarAccess.getXOseeEnumOverrideRule()); + } + setWithLastConsumed(current, "inheritAll", true, "inheritAll"); + - } + } - match(input, 18, FOLLOW_18_in_ruleXOseeEnumOverride2993); - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getLeftCurlyBracketKeyword_2(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1657:1: ( (lv_inheritAll_3_0= 'inheritAll' ) )? - int alt25 = 2; - int LA25_0 = input.LA(1); - - if (LA25_0 == 50) { - alt25 = 1; - } - switch (alt25) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1658:1: (lv_inheritAll_3_0= 'inheritAll' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1658:1: (lv_inheritAll_3_0= 'inheritAll' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1659:3: lv_inheritAll_3_0= 'inheritAll' - { - lv_inheritAll_3_0 = (Token) input.LT(1); - match(input, 50, FOLLOW_50_in_ruleXOseeEnumOverride3011); + } + break; - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getInheritAllInheritAllKeyword_3_0(), - "inheritAll"); - - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - try { - set(current, "inheritAll", true, "inheritAll", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1414:3: ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* + loop26: + do { + int alt26=2; + int LA26_0 = input.LA(1); - } + if ( ((LA26_0>=51 && LA26_0<=52)) ) { + alt26=1; + } - } - break; - } + switch (alt26) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1415:1: (lv_overrideOptions_4_0= ruleOverrideOption ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1415:1: (lv_overrideOptions_4_0= ruleOverrideOption ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1416:3: lv_overrideOptions_4_0= ruleOverrideOption + { + + newCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0()); + + pushFollow(FOLLOW_ruleOverrideOption_in_ruleXOseeEnumOverride3108); + lv_overrideOptions_4_0=ruleOverrideOption(); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1678:3: ( (lv_overrideOptions_4_0= ruleOverrideOption ) )* - loop26: do { - int alt26 = 2; - int LA26_0 = input.LA(1); + state._fsp--; - if (LA26_0 >= 51 && LA26_0 <= 52) { - alt26 = 1; - } - switch (alt26) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1679:1: (lv_overrideOptions_4_0= ruleOverrideOption ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1679:1: (lv_overrideOptions_4_0= ruleOverrideOption ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1680:3: lv_overrideOptions_4_0= ruleOverrideOption - { + if (current==null) { + current = createModelElementForParent(grammarAccess.getXOseeEnumOverrideRule()); + } + add( + current, + "overrideOptions", + lv_overrideOptions_4_0, + "OverrideOption"); + afterParserOrEnumRuleCall(); + - currentNode = - createCompositeNode( - grammarAccess.getXOseeEnumOverrideAccess().getOverrideOptionsOverrideOptionParserRuleCall_4_0(), - currentNode); - - pushFollow(FOLLOW_ruleOverrideOption_in_ruleXOseeEnumOverride3046); - lv_overrideOptions_4_0 = ruleOverrideOption(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "overrideOptions", lv_overrideOptions_4_0, "OverrideOption", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } - } - } - break; + } + break; - default: - break loop26; - } - } while (true); + default : + break loop26; + } + } while (true); - match(input, 20, FOLLOW_20_in_ruleXOseeEnumOverride3057); + otherlv_5=(Token)match(input,20,FOLLOW_20_in_ruleXOseeEnumOverride3121); - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5(), null); + newLeafNode(otherlv_5, grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5()); + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXOseeEnumOverride" - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleXOseeEnumOverride + // $ANTLR start "entryRuleOverrideOption" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1444:1: entryRuleOverrideOption returns [EObject current=null] : iv_ruleOverrideOption= ruleOverrideOption EOF ; + public final EObject entryRuleOverrideOption() throws RecognitionException { + EObject current = null; - // $ANTLR start entryRuleOverrideOption - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1714:1: entryRuleOverrideOption returns [EObject current=null] : iv_ruleOverrideOption= ruleOverrideOption EOF ; - public final EObject entryRuleOverrideOption() throws RecognitionException { - EObject current = null; + EObject iv_ruleOverrideOption = null; - EObject iv_ruleOverrideOption = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1715:2: (iv_ruleOverrideOption= ruleOverrideOption EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1716:2: iv_ruleOverrideOption= ruleOverrideOption EOF - { - currentNode = createCompositeNode(grammarAccess.getOverrideOptionRule(), currentNode); - pushFollow(FOLLOW_ruleOverrideOption_in_entryRuleOverrideOption3093); - iv_ruleOverrideOption = ruleOverrideOption(); - _fsp--; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1445:2: (iv_ruleOverrideOption= ruleOverrideOption EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1446:2: iv_ruleOverrideOption= ruleOverrideOption EOF + { + newCompositeNode(grammarAccess.getOverrideOptionRule()); + pushFollow(FOLLOW_ruleOverrideOption_in_entryRuleOverrideOption3157); + iv_ruleOverrideOption=ruleOverrideOption(); - current = iv_ruleOverrideOption; - match(input, EOF, FOLLOW_EOF_in_entryRuleOverrideOption3103); + state._fsp--; - } + current =iv_ruleOverrideOption; + match(input,EOF,FOLLOW_EOF_in_entryRuleOverrideOption3167); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOverrideOption" - // $ANTLR end entryRuleOverrideOption - // $ANTLR start ruleOverrideOption - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1723:1: ruleOverrideOption returns [EObject current=null] : (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) ; - public final EObject ruleOverrideOption() throws RecognitionException { - EObject current = null; + // $ANTLR start "ruleOverrideOption" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1453: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_AddEnum_0 = null; - EObject this_RemoveEnum_1 = null; + EObject this_RemoveEnum_1 = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1728:6: ( (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1729:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1729:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) - int alt27 = 2; + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1456:28: ( (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1457:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1457:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum ) + int alt27=2; int LA27_0 = input.LA(1); - if (LA27_0 == 51) { - alt27 = 1; - } else if (LA27_0 == 52) { - alt27 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException( - "1729:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum )", 27, 0, input); + if ( (LA27_0==51) ) { + alt27=1; + } + else if ( (LA27_0==52) ) { + alt27=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 27, 0, input); - throw nvae; + throw nvae; } switch (alt27) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1730:5: this_AddEnum_0= ruleAddEnum - { - - currentNode = - createCompositeNode(grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0(), - currentNode); - - pushFollow(FOLLOW_ruleAddEnum_in_ruleOverrideOption3150); - this_AddEnum_0 = ruleAddEnum(); - _fsp--; + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1458:5: this_AddEnum_0= ruleAddEnum + { + + newCompositeNode(grammarAccess.getOverrideOptionAccess().getAddEnumParserRuleCall_0()); + + pushFollow(FOLLOW_ruleAddEnum_in_ruleOverrideOption3214); + this_AddEnum_0=ruleAddEnum(); + + state._fsp--; + + + current = this_AddEnum_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1468:5: this_RemoveEnum_1= ruleRemoveEnum + { + + newCompositeNode(grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1()); + + pushFollow(FOLLOW_ruleRemoveEnum_in_ruleOverrideOption3241); + this_RemoveEnum_1=ruleRemoveEnum(); + + state._fsp--; + + + current = this_RemoveEnum_1; + afterParserOrEnumRuleCall(); + + + } + break; - current = this_AddEnum_0; - currentNode = currentNode.getParent(); - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1740:5: this_RemoveEnum_1= ruleRemoveEnum - { + } - currentNode = - createCompositeNode(grammarAccess.getOverrideOptionAccess().getRemoveEnumParserRuleCall_1(), - currentNode); - pushFollow(FOLLOW_ruleRemoveEnum_in_ruleOverrideOption3177); - this_RemoveEnum_1 = ruleRemoveEnum(); - _fsp--; + } - current = this_RemoveEnum_1; - currentNode = currentNode.getParent(); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOverrideOption" - } - break; - } - - } + // $ANTLR start "entryRuleAddEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1484:1: entryRuleAddEnum returns [EObject current=null] : iv_ruleAddEnum= ruleAddEnum EOF ; + public final EObject entryRuleAddEnum() throws RecognitionException { + EObject current = null; - resetLookahead(); - lastConsumedNode = currentNode; + EObject iv_ruleAddEnum = null; - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleOverrideOption - - // $ANTLR start entryRuleAddEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1756:1: entryRuleAddEnum returns [EObject current=null] : iv_ruleAddEnum= ruleAddEnum EOF ; - public final EObject entryRuleAddEnum() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAddEnum = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1757:2: (iv_ruleAddEnum= ruleAddEnum EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1758:2: iv_ruleAddEnum= ruleAddEnum EOF - { - currentNode = createCompositeNode(grammarAccess.getAddEnumRule(), currentNode); - pushFollow(FOLLOW_ruleAddEnum_in_entryRuleAddEnum3212); - iv_ruleAddEnum = ruleAddEnum(); - _fsp--; - - current = iv_ruleAddEnum; - match(input, EOF, FOLLOW_EOF_in_entryRuleAddEnum3222); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleAddEnum - - // $ANTLR start ruleAddEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1765:1: ruleAddEnum returns [EObject current=null] : ( 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ; - public final EObject ruleAddEnum() throws RecognitionException { - EObject current = null; - - Token lv_ordinal_2_0 = null; - Token lv_entryGuid_4_0 = null; - AntlrDatatypeRuleToken lv_enumEntry_1_0 = null; - - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1770:6: ( ( 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1771:1: ( 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1771:1: ( 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1771:3: 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? - { - match(input, 51, FOLLOW_51_in_ruleAddEnum3257); - - createLeafNode(grammarAccess.getAddEnumAccess().getAddKeyword_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1775:1: ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1776:1: (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1776:1: (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1777:3: lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE - { - - currentNode = - createCompositeNode( - grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleAddEnum3278); - lv_enumEntry_1_0 = ruleENUM_ENTRY_TYPE_REFERENCE(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getAddEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "enumEntry", lv_enumEntry_1_0, "ENUM_ENTRY_TYPE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1799:2: ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? - int alt28 = 2; - int LA28_0 = input.LA(1); - - if (LA28_0 == RULE_WHOLE_NUM_STR) { - alt28 = 1; - } - switch (alt28) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1800:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1800:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1801:3: lv_ordinal_2_0= RULE_WHOLE_NUM_STR - { - lv_ordinal_2_0 = (Token) input.LT(1); - match(input, RULE_WHOLE_NUM_STR, FOLLOW_RULE_WHOLE_NUM_STR_in_ruleAddEnum3295); - - createLeafNode(grammarAccess.getAddEnumAccess().getOrdinalWHOLE_NUM_STRTerminalRuleCall_2_0(), - "ordinal"); - - if (current == null) { - current = factory.create(grammarAccess.getAddEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "ordinal", lv_ordinal_2_0, "WHOLE_NUM_STR", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - } - - } - break; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1485:2: (iv_ruleAddEnum= ruleAddEnum EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1486:2: iv_ruleAddEnum= ruleAddEnum EOF + { + newCompositeNode(grammarAccess.getAddEnumRule()); + pushFollow(FOLLOW_ruleAddEnum_in_entryRuleAddEnum3276); + iv_ruleAddEnum=ruleAddEnum(); - } + state._fsp--; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1823:3: ( 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? - int alt29 = 2; - int LA29_0 = input.LA(1); + current =iv_ruleAddEnum; + match(input,EOF,FOLLOW_EOF_in_entryRuleAddEnum3286); - if (LA29_0 == 48) { - alt29 = 1; - } - switch (alt29) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1823:5: 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) - { - match(input, 48, FOLLOW_48_in_ruleAddEnum3312); + } - createLeafNode(grammarAccess.getAddEnumAccess().getEntryGuidKeyword_3_0(), null); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAddEnum" + + + // $ANTLR start "ruleAddEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1493:1: ruleAddEnum returns [EObject current=null] : (otherlv_0= 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ; + public final EObject ruleAddEnum() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_ordinal_2_0=null; + Token otherlv_3=null; + Token lv_entryGuid_4_0=null; + AntlrDatatypeRuleToken lv_enumEntry_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1496:28: ( (otherlv_0= 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1497:1: (otherlv_0= 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1497:1: (otherlv_0= 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1497:3: otherlv_0= 'add' ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? + { + otherlv_0=(Token)match(input,51,FOLLOW_51_in_ruleAddEnum3323); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1827:1: ( (lv_entryGuid_4_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1828:1: (lv_entryGuid_4_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1828:1: (lv_entryGuid_4_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1829:3: lv_entryGuid_4_0= RULE_STRING - { - lv_entryGuid_4_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleAddEnum3329); - - createLeafNode(grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0(), - "entryGuid"); - - if (current == null) { - current = factory.create(grammarAccess.getAddEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "entryGuid", lv_entryGuid_4_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + newLeafNode(otherlv_0, grammarAccess.getAddEnumAccess().getAddKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1501:1: ( (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1502:1: (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1502:1: (lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1503:3: lv_enumEntry_1_0= ruleENUM_ENTRY_TYPE_REFERENCE + { + + newCompositeNode(grammarAccess.getAddEnumAccess().getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleAddEnum3344); + lv_enumEntry_1_0=ruleENUM_ENTRY_TYPE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAddEnumRule()); + } + set( + current, + "enumEntry", + lv_enumEntry_1_0, + "ENUM_ENTRY_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); + - } + } - } - } - break; + } - } + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1519:2: ( (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) )? + int alt28=2; + int LA28_0 = input.LA(1); + if ( (LA28_0==RULE_WHOLE_NUM_STR) ) { + alt28=1; } + switch (alt28) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1520:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1520:1: (lv_ordinal_2_0= RULE_WHOLE_NUM_STR ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1521:3: lv_ordinal_2_0= RULE_WHOLE_NUM_STR + { + lv_ordinal_2_0=(Token)match(input,RULE_WHOLE_NUM_STR,FOLLOW_RULE_WHOLE_NUM_STR_in_ruleAddEnum3361); + + 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, + "WHOLE_NUM_STR"); + + + } + + + } + break; - } + } - resetLookahead(); - lastConsumedNode = currentNode; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1537:3: (otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) )? + int alt29=2; + int LA29_0 = input.LA(1); - } + if ( (LA29_0==48) ) { + alt29=1; + } + switch (alt29) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1537:5: otherlv_3= 'entryGuid' ( (lv_entryGuid_4_0= RULE_STRING ) ) + { + otherlv_3=(Token)match(input,48,FOLLOW_48_in_ruleAddEnum3380); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + newLeafNode(otherlv_3, grammarAccess.getAddEnumAccess().getEntryGuidKeyword_3_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1541:1: ( (lv_entryGuid_4_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1542:1: (lv_entryGuid_4_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1542:1: (lv_entryGuid_4_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1543:3: lv_entryGuid_4_0= RULE_STRING + { + lv_entryGuid_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAddEnum3397); - // $ANTLR end ruleAddEnum + newLeafNode(lv_entryGuid_4_0, grammarAccess.getAddEnumAccess().getEntryGuidSTRINGTerminalRuleCall_3_1_0()); + - // $ANTLR start entryRuleRemoveEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1859:1: entryRuleRemoveEnum returns [EObject current=null] : iv_ruleRemoveEnum= ruleRemoveEnum EOF ; - public final EObject entryRuleRemoveEnum() throws RecognitionException { - EObject current = null; + if (current==null) { + current = createModelElement(grammarAccess.getAddEnumRule()); + } + setWithLastConsumed( + current, + "entryGuid", + lv_entryGuid_4_0, + "STRING"); + - EObject iv_ruleRemoveEnum = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1860:2: (iv_ruleRemoveEnum= ruleRemoveEnum EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1861:2: iv_ruleRemoveEnum= ruleRemoveEnum EOF - { - currentNode = createCompositeNode(grammarAccess.getRemoveEnumRule(), currentNode); - pushFollow(FOLLOW_ruleRemoveEnum_in_entryRuleRemoveEnum3372); - iv_ruleRemoveEnum = ruleRemoveEnum(); - _fsp--; - current = iv_ruleRemoveEnum; - match(input, EOF, FOLLOW_EOF_in_entryRuleRemoveEnum3382); + } - } - } + } + break; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end entryRuleRemoveEnum - // $ANTLR start ruleRemoveEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1868:1: ruleRemoveEnum returns [EObject current=null] : ( 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) ; - public final EObject ruleRemoveEnum() throws RecognitionException { - EObject current = null; + } - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1873:6: ( ( 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1874:1: ( 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1874:1: ( 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1874:3: 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) - { - match(input, 52, FOLLOW_52_in_ruleRemoveEnum3417); + } - createLeafNode(grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0(), null); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAddEnum" - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1878:1: ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1879:1: ( ruleENUM_ENTRY_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1879:1: ( ruleENUM_ENTRY_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1880:3: ruleENUM_ENTRY_TYPE_REFERENCE - { - if (current == null) { - current = factory.create(grammarAccess.getRemoveEnumRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + // $ANTLR start "entryRuleRemoveEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1567:1: entryRuleRemoveEnum returns [EObject current=null] : iv_ruleRemoveEnum= ruleRemoveEnum EOF ; + public final EObject entryRuleRemoveEnum() throws RecognitionException { + EObject current = null; - currentNode = - createCompositeNode( - grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0(), - currentNode); + EObject iv_ruleRemoveEnum = null; - pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleRemoveEnum3440); - ruleENUM_ENTRY_TYPE_REFERENCE(); - _fsp--; - currentNode = currentNode.getParent(); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1568:2: (iv_ruleRemoveEnum= ruleRemoveEnum EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1569:2: iv_ruleRemoveEnum= ruleRemoveEnum EOF + { + newCompositeNode(grammarAccess.getRemoveEnumRule()); + pushFollow(FOLLOW_ruleRemoveEnum_in_entryRuleRemoveEnum3440); + iv_ruleRemoveEnum=ruleRemoveEnum(); - } + state._fsp--; - } + current =iv_ruleRemoveEnum; + match(input,EOF,FOLLOW_EOF_in_entryRuleRemoveEnum3450); } - } - - resetLookahead(); - lastConsumedNode = currentNode; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRemoveEnum" + + + // $ANTLR start "ruleRemoveEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1576:1: ruleRemoveEnum returns [EObject current=null] : (otherlv_0= 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) ; + public final EObject ruleRemoveEnum() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1579:28: ( (otherlv_0= 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1580:1: (otherlv_0= 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1580:1: (otherlv_0= 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1580:3: otherlv_0= 'remove' ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) + { + otherlv_0=(Token)match(input,52,FOLLOW_52_in_ruleRemoveEnum3487); - } + newLeafNode(otherlv_0, grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1584:1: ( ( ruleENUM_ENTRY_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1585:1: ( ruleENUM_ENTRY_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1585:1: ( ruleENUM_ENTRY_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1586:3: ruleENUM_ENTRY_TYPE_REFERENCE + { - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + if (current==null) { + current = createModelElement(grammarAccess.getRemoveEnumRule()); + } + + + newCompositeNode(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0()); + + pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleRemoveEnum3510); + ruleENUM_ENTRY_TYPE_REFERENCE(); - // $ANTLR end ruleRemoveEnum + state._fsp--; - // $ANTLR start entryRuleXRelationType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1902:1: entryRuleXRelationType returns [EObject current=null] : iv_ruleXRelationType= ruleXRelationType EOF ; - public final EObject entryRuleXRelationType() throws RecognitionException { - EObject current = null; + + afterParserOrEnumRuleCall(); + - EObject iv_ruleXRelationType = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1903:2: (iv_ruleXRelationType= ruleXRelationType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1904:2: iv_ruleXRelationType= ruleXRelationType EOF - { - currentNode = createCompositeNode(grammarAccess.getXRelationTypeRule(), currentNode); - pushFollow(FOLLOW_ruleXRelationType_in_entryRuleXRelationType3476); - iv_ruleXRelationType = ruleXRelationType(); - _fsp--; - current = iv_ruleXRelationType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXRelationType3486); + } - } - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleXRelationType + } - // $ANTLR start ruleXRelationType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1911:1: ruleXRelationType returns [EObject current=null] : ( 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) '}' ) ; - public final EObject ruleXRelationType() throws RecognitionException { - EObject current = null; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRemoveEnum" - Token lv_typeGuid_4_0 = null; - Token lv_sideAName_6_0 = null; - Token lv_sideBName_10_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - AntlrDatatypeRuleToken lv_defaultOrderType_14_0 = null; + // $ANTLR start "entryRuleXRelationType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1607:1: entryRuleXRelationType returns [EObject current=null] : iv_ruleXRelationType= ruleXRelationType EOF ; + public final EObject entryRuleXRelationType() throws RecognitionException { + EObject current = null; - Enumerator lv_multiplicity_16_0 = null; + EObject iv_ruleXRelationType = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1916:6: ( ( 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1917:1: ( 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1917:1: ( 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1917:3: 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) '{' 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) '}' + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1608:2: (iv_ruleXRelationType= ruleXRelationType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1609:2: iv_ruleXRelationType= ruleXRelationType EOF { - match(input, 53, FOLLOW_53_in_ruleXRelationType3521); + newCompositeNode(grammarAccess.getXRelationTypeRule()); + pushFollow(FOLLOW_ruleXRelationType_in_entryRuleXRelationType3546); + iv_ruleXRelationType=ruleXRelationType(); - createLeafNode(grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0(), null); + state._fsp--; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1921:1: ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1922:1: (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1922:1: (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1923:3: lv_name_1_0= ruleRELATION_TYPE_REFERENCE - { + current =iv_ruleXRelationType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationType3556); - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(), - currentNode); + } - pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleXRelationType3542); - lv_name_1_0 = ruleRELATION_TYPE_REFERENCE(); - _fsp--; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXRelationType" + + + // $ANTLR start "ruleXRelationType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1616:1: ruleXRelationType returns [EObject current=null] : (otherlv_0= 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) 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 otherlv_2=null; + Token otherlv_3=null; + Token lv_typeGuid_4_0=null; + Token otherlv_5=null; + Token lv_sideAName_6_0=null; + Token otherlv_7=null; + Token otherlv_9=null; + Token lv_sideBName_10_0=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_15=null; + Token otherlv_17=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + AntlrDatatypeRuleToken lv_defaultOrderType_14_0 = null; + + Enumerator lv_multiplicity_16_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1619:28: ( (otherlv_0= 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1620:1: (otherlv_0= 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1620:1: (otherlv_0= 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1620:3: otherlv_0= 'relationType' ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) otherlv_2= '{' otherlv_3= 'guid' ( (lv_typeGuid_4_0= RULE_STRING ) ) otherlv_5= 'sideAName' ( (lv_sideAName_6_0= RULE_STRING ) ) otherlv_7= 'sideAArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_9= 'sideBName' ( (lv_sideBName_10_0= RULE_STRING ) ) otherlv_11= 'sideBArtifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_13= 'defaultOrderType' ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) otherlv_15= 'multiplicity' ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) otherlv_17= '}' + { + otherlv_0=(Token)match(input,53,FOLLOW_53_in_ruleXRelationType3593); - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "RELATION_TYPE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + newLeafNode(otherlv_0, grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1624:1: ( (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1625:1: (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1625:1: (lv_name_1_0= ruleRELATION_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1626:3: lv_name_1_0= ruleRELATION_TYPE_REFERENCE + { + + newCompositeNode(grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleXRelationType3614); + lv_name_1_0=ruleRELATION_TYPE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); + } + set( + current, + "name", + lv_name_1_0, + "RELATION_TYPE_REFERENCE"); + afterParserOrEnumRuleCall(); + - } + } - } - match(input, 18, FOLLOW_18_in_ruleXRelationType3552); + } - createLeafNode(grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2(), null); + otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleXRelationType3626); - match(input, 19, FOLLOW_19_in_ruleXRelationType3562); + newLeafNode(otherlv_2, grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2()); + + otherlv_3=(Token)match(input,19,FOLLOW_19_in_ruleXRelationType3638); - createLeafNode(grammarAccess.getXRelationTypeAccess().getGuidKeyword_3(), null); + newLeafNode(otherlv_3, grammarAccess.getXRelationTypeAccess().getGuidKeyword_3()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1650:1: ( (lv_typeGuid_4_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1651:1: (lv_typeGuid_4_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1651:1: (lv_typeGuid_4_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1652:3: lv_typeGuid_4_0= RULE_STRING + { + lv_typeGuid_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXRelationType3655); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1953:1: ( (lv_typeGuid_4_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1954:1: (lv_typeGuid_4_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1954:1: (lv_typeGuid_4_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1955:3: lv_typeGuid_4_0= RULE_STRING - { - lv_typeGuid_4_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXRelationType3579); - - createLeafNode(grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0(), - "typeGuid"); - - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "typeGuid", lv_typeGuid_4_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + newLeafNode(lv_typeGuid_4_0, grammarAccess.getXRelationTypeAccess().getTypeGuidSTRINGTerminalRuleCall_4_0()); + - } + if (current==null) { + current = createModelElement(grammarAccess.getXRelationTypeRule()); + } + setWithLastConsumed( + current, + "typeGuid", + lv_typeGuid_4_0, + "STRING"); + - } + } - match(input, 54, FOLLOW_54_in_ruleXRelationType3594); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1981:1: ( (lv_sideAName_6_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1982:1: (lv_sideAName_6_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1982:1: (lv_sideAName_6_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1983:3: lv_sideAName_6_0= RULE_STRING - { - lv_sideAName_6_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXRelationType3611); + otherlv_5=(Token)match(input,54,FOLLOW_54_in_ruleXRelationType3672); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), - "sideAName"); + newLeafNode(otherlv_5, grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1672:1: ( (lv_sideAName_6_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1673:1: (lv_sideAName_6_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1673:1: (lv_sideAName_6_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1674:3: lv_sideAName_6_0= RULE_STRING + { + lv_sideAName_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXRelationType3689); - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "sideAName", lv_sideAName_6_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + newLeafNode(lv_sideAName_6_0, grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0()); + - } + if (current==null) { + current = createModelElement(grammarAccess.getXRelationTypeRule()); + } + setWithLastConsumed( + current, + "sideAName", + lv_sideAName_6_0, + "STRING"); + - } + } - match(input, 55, FOLLOW_55_in_ruleXRelationType3626); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2009:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2010:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2010:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2011:3: ruleARTIFACT_TYPE_REFERENCE - { + otherlv_7=(Token)match(input,55,FOLLOW_55_in_ruleXRelationType3706); - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + newLeafNode(otherlv_7, grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1694:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1695:1: ( ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1695:1: ( ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1696:3: ruleARTIFACT_TYPE_REFERENCE + { - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0(), - currentNode); + if (current==null) { + current = createModelElement(grammarAccess.getXRelationTypeRule()); + } + + + newCompositeNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3729); + ruleARTIFACT_TYPE_REFERENCE(); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3649); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + state._fsp--; - currentNode = currentNode.getParent(); + + afterParserOrEnumRuleCall(); + - } + } - } - match(input, 56, FOLLOW_56_in_ruleXRelationType3659); + } - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9(), null); + otherlv_9=(Token)match(input,56,FOLLOW_56_in_ruleXRelationType3741); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2029:1: ( (lv_sideBName_10_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2030:1: (lv_sideBName_10_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2030:1: (lv_sideBName_10_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2031:3: lv_sideBName_10_0= RULE_STRING - { - lv_sideBName_10_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXRelationType3676); + newLeafNode(otherlv_9, grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1713:1: ( (lv_sideBName_10_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1714:1: (lv_sideBName_10_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1714:1: (lv_sideBName_10_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1715:3: lv_sideBName_10_0= RULE_STRING + { + lv_sideBName_10_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXRelationType3758); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), - "sideBName"); + newLeafNode(lv_sideBName_10_0, grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0()); + - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "sideBName", lv_sideBName_10_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - } - - } + if (current==null) { + current = createModelElement(grammarAccess.getXRelationTypeRule()); + } + setWithLastConsumed( + current, + "sideBName", + lv_sideBName_10_0, + "STRING"); + - match(input, 57, FOLLOW_57_in_ruleXRelationType3691); + } - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2057:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2058:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2058:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2059:3: ruleARTIFACT_TYPE_REFERENCE - { + } - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + otherlv_11=(Token)match(input,57,FOLLOW_57_in_ruleXRelationType3775); - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0(), - currentNode); + newLeafNode(otherlv_11, grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeKeyword_11()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1735:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1736:1: ( ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1736:1: ( ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1737:3: ruleARTIFACT_TYPE_REFERENCE + { - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3714); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + if (current==null) { + current = createModelElement(grammarAccess.getXRelationTypeRule()); + } + + + newCompositeNode(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3798); + ruleARTIFACT_TYPE_REFERENCE(); - currentNode = currentNode.getParent(); + state._fsp--; - } + + afterParserOrEnumRuleCall(); + - } + } - match(input, 58, FOLLOW_58_in_ruleXRelationType3724); - createLeafNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2077:1: ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2078:1: (lv_defaultOrderType_14_0= ruleRelationOrderType ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2078:1: (lv_defaultOrderType_14_0= ruleRelationOrderType ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2079:3: lv_defaultOrderType_14_0= ruleRelationOrderType - { + otherlv_13=(Token)match(input,58,FOLLOW_58_in_ruleXRelationType3810); - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), - currentNode); + newLeafNode(otherlv_13, grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1754:1: ( (lv_defaultOrderType_14_0= ruleRelationOrderType ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1755:1: (lv_defaultOrderType_14_0= ruleRelationOrderType ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1755:1: (lv_defaultOrderType_14_0= ruleRelationOrderType ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1756:3: lv_defaultOrderType_14_0= ruleRelationOrderType + { + + newCompositeNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0()); + + pushFollow(FOLLOW_ruleRelationOrderType_in_ruleXRelationType3831); + lv_defaultOrderType_14_0=ruleRelationOrderType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); + } + set( + current, + "defaultOrderType", + lv_defaultOrderType_14_0, + "RelationOrderType"); + afterParserOrEnumRuleCall(); + - pushFollow(FOLLOW_ruleRelationOrderType_in_ruleXRelationType3745); - lv_defaultOrderType_14_0 = ruleRelationOrderType(); - _fsp--; + } - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "defaultOrderType", lv_defaultOrderType_14_0, "RelationOrderType", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } + } - } + otherlv_15=(Token)match(input,59,FOLLOW_59_in_ruleXRelationType3843); - match(input, 59, FOLLOW_59_in_ruleXRelationType3755); + newLeafNode(otherlv_15, grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1776:1: ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1777:1: (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1777:1: (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1778:3: lv_multiplicity_16_0= ruleRelationMultiplicityEnum + { + + newCompositeNode(grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0()); + + pushFollow(FOLLOW_ruleRelationMultiplicityEnum_in_ruleXRelationType3864); + lv_multiplicity_16_0=ruleRelationMultiplicityEnum(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXRelationTypeRule()); + } + set( + current, + "multiplicity", + lv_multiplicity_16_0, + "RelationMultiplicityEnum"); + afterParserOrEnumRuleCall(); + - createLeafNode(grammarAccess.getXRelationTypeAccess().getMultiplicityKeyword_15(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2105:1: ( (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2106:1: (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2106:1: (lv_multiplicity_16_0= ruleRelationMultiplicityEnum ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2107:3: lv_multiplicity_16_0= ruleRelationMultiplicityEnum - { - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getMultiplicityRelationMultiplicityEnumEnumRuleCall_16_0(), - currentNode); + } - pushFollow(FOLLOW_ruleRelationMultiplicityEnum_in_ruleXRelationType3776); - lv_multiplicity_16_0 = ruleRelationMultiplicityEnum(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "multiplicity", lv_multiplicity_16_0, "RelationMultiplicityEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - match(input, 20, FOLLOW_20_in_ruleXRelationType3786); - - createLeafNode(grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17(), null); - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleXRelationType - - // $ANTLR start entryRuleRelationOrderType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2141:1: entryRuleRelationOrderType returns [String current=null] : iv_ruleRelationOrderType= ruleRelationOrderType EOF ; - public final String entryRuleRelationOrderType() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleRelationOrderType = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2142:2: (iv_ruleRelationOrderType= ruleRelationOrderType EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2143:2: iv_ruleRelationOrderType= ruleRelationOrderType EOF - { - currentNode = createCompositeNode(grammarAccess.getRelationOrderTypeRule(), currentNode); - pushFollow(FOLLOW_ruleRelationOrderType_in_entryRuleRelationOrderType3823); - iv_ruleRelationOrderType = ruleRelationOrderType(); - _fsp--; - - current = iv_ruleRelationOrderType.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleRelationOrderType3834); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleRelationOrderType - - // $ANTLR start ruleRelationOrderType - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2150: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(); + otherlv_17=(Token)match(input,20,FOLLOW_20_in_ruleXRelationType3876); - Token kw = null; - Token this_ID_3 = null; - - setCurrentLookahead(); - resetLookahead(); - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2155:6: ( (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2156:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2156:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) - int alt30 = 4; - switch (input.LA(1)) { - case 60: { - alt30 = 1; - } - break; - case 61: { - alt30 = 2; - } - break; - case 62: { - alt30 = 3; - } - break; - case RULE_ID: { - alt30 = 4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "2156:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID )", - 30, 0, input); + newLeafNode(otherlv_17, grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17()); + - throw nvae; } - switch (alt30) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2157:2: kw= 'Lexicographical_Ascending' - { - kw = (Token) input.LT(1); - match(input, 60, FOLLOW_60_in_ruleRelationOrderType3872); - current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getLexicographical_AscendingKeyword_0(), - null); + } - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2164:2: kw= 'Lexicographical_Descending' - { - kw = (Token) input.LT(1); - match(input, 61, FOLLOW_61_in_ruleRelationOrderType3891); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXRelationType" - current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getLexicographical_DescendingKeyword_1(), - null); - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2171:2: kw= 'Unordered' - { - kw = (Token) input.LT(1); - match(input, 62, FOLLOW_62_in_ruleRelationOrderType3910); + // $ANTLR start "entryRuleRelationOrderType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1806:1: entryRuleRelationOrderType returns [String current=null] : iv_ruleRelationOrderType= ruleRelationOrderType EOF ; + public final String entryRuleRelationOrderType() throws RecognitionException { + String current = null; - current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2(), null); + AntlrDatatypeRuleToken iv_ruleRelationOrderType = null; - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2177:10: this_ID_3= RULE_ID - { - this_ID_3 = (Token) input.LT(1); - match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleRelationOrderType3931); - current.merge(this_ID_3); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1807:2: (iv_ruleRelationOrderType= ruleRelationOrderType EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1808:2: iv_ruleRelationOrderType= ruleRelationOrderType EOF + { + newCompositeNode(grammarAccess.getRelationOrderTypeRule()); + pushFollow(FOLLOW_ruleRelationOrderType_in_entryRuleRelationOrderType3913); + iv_ruleRelationOrderType=ruleRelationOrderType(); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3(), null); + state._fsp--; - } - break; + current =iv_ruleRelationOrderType.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleRelationOrderType3924); } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRelationOrderType" + + + // $ANTLR start "ruleRelationOrderType" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1815: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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1818:28: ( (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1819:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1819:1: (kw= 'Lexicographical_Ascending' | kw= 'Lexicographical_Descending' | kw= 'Unordered' | this_ID_3= RULE_ID ) + int alt30=4; + switch ( input.LA(1) ) { + case 60: + { + alt30=1; + } + break; + case 61: + { + alt30=2; + } + break; + case 62: + { + alt30=3; + } + break; + case RULE_ID: + { + alt30=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 30, 0, input); + + throw nvae; + } - resetLookahead(); - lastConsumedNode = currentNode; + switch (alt30) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1820:2: kw= 'Lexicographical_Ascending' + { + kw=(Token)match(input,60,FOLLOW_60_in_ruleRelationOrderType3962); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_AscendingKeyword_0()); + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1827:2: kw= 'Lexicographical_Descending' + { + kw=(Token)match(input,61,FOLLOW_61_in_ruleRelationOrderType3981); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getLexicographical_DescendingKeyword_1()); + + + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1834:2: kw= 'Unordered' + { + kw=(Token)match(input,62,FOLLOW_62_in_ruleRelationOrderType4000); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2()); + + + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1840:10: this_ID_3= RULE_ID + { + this_ID_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRelationOrderType4021); + + current.merge(this_ID_3); + + + newLeafNode(this_ID_3, grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3()); + + + } + break; - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleRelationOrderType + } - // $ANTLR start entryRuleARTIFACT_INSTANCE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2192:1: entryRuleARTIFACT_INSTANCE_REFERENCE returns [String current=null] : iv_ruleARTIFACT_INSTANCE_REFERENCE= ruleARTIFACT_INSTANCE_REFERENCE EOF ; - public final String entryRuleARTIFACT_INSTANCE_REFERENCE() throws RecognitionException { - String current = null; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRelationOrderType" - AntlrDatatypeRuleToken iv_ruleARTIFACT_INSTANCE_REFERENCE = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2193:2: (iv_ruleARTIFACT_INSTANCE_REFERENCE= ruleARTIFACT_INSTANCE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2194:2: iv_ruleARTIFACT_INSTANCE_REFERENCE= ruleARTIFACT_INSTANCE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_entryRuleARTIFACT_INSTANCE_REFERENCE3977); - iv_ruleARTIFACT_INSTANCE_REFERENCE = ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + // $ANTLR start "entryRuleARTIFACT_INSTANCE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1855:1: entryRuleARTIFACT_INSTANCE_REFERENCE returns [String current=null] : iv_ruleARTIFACT_INSTANCE_REFERENCE= ruleARTIFACT_INSTANCE_REFERENCE EOF ; + public final String entryRuleARTIFACT_INSTANCE_REFERENCE() throws RecognitionException { + String current = null; - current = iv_ruleARTIFACT_INSTANCE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleARTIFACT_INSTANCE_REFERENCE3988); + AntlrDatatypeRuleToken iv_ruleARTIFACT_INSTANCE_REFERENCE = null; - } - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1856:2: (iv_ruleARTIFACT_INSTANCE_REFERENCE= ruleARTIFACT_INSTANCE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1857:2: iv_ruleARTIFACT_INSTANCE_REFERENCE= ruleARTIFACT_INSTANCE_REFERENCE EOF + { + newCompositeNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCERule()); + pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_entryRuleARTIFACT_INSTANCE_REFERENCE4067); + iv_ruleARTIFACT_INSTANCE_REFERENCE=ruleARTIFACT_INSTANCE_REFERENCE(); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + state._fsp--; - // $ANTLR end entryRuleARTIFACT_INSTANCE_REFERENCE + current =iv_ruleARTIFACT_INSTANCE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleARTIFACT_INSTANCE_REFERENCE4078); - // $ANTLR start ruleARTIFACT_INSTANCE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2201:1: ruleARTIFACT_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleARTIFACT_INSTANCE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + } - Token this_STRING_0 = null; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleARTIFACT_INSTANCE_REFERENCE" + + + // $ANTLR start "ruleARTIFACT_INSTANCE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1864:1: ruleARTIFACT_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleARTIFACT_INSTANCE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1867:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1868:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleARTIFACT_INSTANCE_REFERENCE4117); - setCurrentLookahead(); - resetLookahead(); + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getARTIFACT_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2206:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2207:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleARTIFACT_INSTANCE_REFERENCE4027); + } - current.merge(this_STRING_0); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleARTIFACT_INSTANCE_REFERENCE" - createLeafNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - } + // $ANTLR start "entryRuleXArtifactRef" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1883:1: entryRuleXArtifactRef returns [EObject current=null] : iv_ruleXArtifactRef= ruleXArtifactRef EOF ; + public final EObject entryRuleXArtifactRef() throws RecognitionException { + EObject current = null; - resetLookahead(); - lastConsumedNode = currentNode; + EObject iv_ruleXArtifactRef = null; - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1884:2: (iv_ruleXArtifactRef= ruleXArtifactRef EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1885:2: iv_ruleXArtifactRef= ruleXArtifactRef EOF + { + newCompositeNode(grammarAccess.getXArtifactRefRule()); + pushFollow(FOLLOW_ruleXArtifactRef_in_entryRuleXArtifactRef4161); + iv_ruleXArtifactRef=ruleXArtifactRef(); - // $ANTLR end ruleARTIFACT_INSTANCE_REFERENCE + state._fsp--; - // $ANTLR start entryRuleXArtifactRef - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2222:1: entryRuleXArtifactRef returns [EObject current=null] : iv_ruleXArtifactRef= ruleXArtifactRef EOF ; - public final EObject entryRuleXArtifactRef() throws RecognitionException { - EObject current = null; + current =iv_ruleXArtifactRef; + match(input,EOF,FOLLOW_EOF_in_entryRuleXArtifactRef4171); - EObject iv_ruleXArtifactRef = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2223:2: (iv_ruleXArtifactRef= ruleXArtifactRef EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2224:2: iv_ruleXArtifactRef= ruleXArtifactRef EOF - { - currentNode = createCompositeNode(grammarAccess.getXArtifactRefRule(), currentNode); - pushFollow(FOLLOW_ruleXArtifactRef_in_entryRuleXArtifactRef4071); - iv_ruleXArtifactRef = ruleXArtifactRef(); - _fsp--; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXArtifactRef" + + + // $ANTLR start "ruleXArtifactRef" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1892:1: ruleXArtifactRef returns [EObject current=null] : (otherlv_0= 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) ; + public final EObject ruleXArtifactRef() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token lv_guid_3_0=null; + Token otherlv_4=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1895:28: ( (otherlv_0= 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1896:1: (otherlv_0= 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1896:1: (otherlv_0= 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1896:3: otherlv_0= 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' + { + otherlv_0=(Token)match(input,63,FOLLOW_63_in_ruleXArtifactRef4208); - current = iv_ruleXArtifactRef; - match(input, EOF, FOLLOW_EOF_in_entryRuleXArtifactRef4081); + newLeafNode(otherlv_0, grammarAccess.getXArtifactRefAccess().getArtifactKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1900:1: ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1901:1: (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1901:1: (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1902:3: lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE + { + + newCompositeNode(grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleXArtifactRef4229); + lv_name_1_0=ruleARTIFACT_INSTANCE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXArtifactRefRule()); + } + set( + current, + "name", + lv_name_1_0, + "ARTIFACT_INSTANCE_REFERENCE"); + afterParserOrEnumRuleCall(); + - } + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end entryRuleXArtifactRef + otherlv_2=(Token)match(input,64,FOLLOW_64_in_ruleXArtifactRef4241); - // $ANTLR start ruleXArtifactRef - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2231:1: ruleXArtifactRef returns [EObject current=null] : ( 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) ; - public final EObject ruleXArtifactRef() throws RecognitionException { - EObject current = null; + newLeafNode(otherlv_2, grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1922:1: ( (lv_guid_3_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1923:1: (lv_guid_3_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1923:1: (lv_guid_3_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1924:3: lv_guid_3_0= RULE_STRING + { + lv_guid_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXArtifactRef4258); - Token lv_guid_3_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + newLeafNode(lv_guid_3_0, grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0()); + - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + if (current==null) { + current = createModelElement(grammarAccess.getXArtifactRefRule()); + } + setWithLastConsumed( + current, + "guid", + lv_guid_3_0, + "STRING"); + - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2236:6: ( ( 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2237:1: ( 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2237:1: ( 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2237:3: 'artifact' ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) 'artGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' - { - match(input, 63, FOLLOW_63_in_ruleXArtifactRef4116); + } - createLeafNode(grammarAccess.getXArtifactRefAccess().getArtifactKeyword_0(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2241:1: ( (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2242:1: (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2242:1: (lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2243:3: lv_name_1_0= ruleARTIFACT_INSTANCE_REFERENCE - { + } - currentNode = - createCompositeNode( - grammarAccess.getXArtifactRefAccess().getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0(), - currentNode); + otherlv_4=(Token)match(input,65,FOLLOW_65_in_ruleXArtifactRef4275); - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleXArtifactRef4137); - lv_name_1_0 = ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + newLeafNode(otherlv_4, grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4()); + - if (current == null) { - current = factory.create(grammarAccess.getXArtifactRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "ARTIFACT_INSTANCE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } - } - } + } - match(input, 64, FOLLOW_64_in_ruleXArtifactRef4147); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXArtifactRef" - createLeafNode(grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2269:1: ( (lv_guid_3_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2270:1: (lv_guid_3_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2270:1: (lv_guid_3_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2271:3: lv_guid_3_0= RULE_STRING - { - lv_guid_3_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXArtifactRef4164); + // $ANTLR start "entryRuleBRANCH_INSTANCE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1952:1: entryRuleBRANCH_INSTANCE_REFERENCE returns [String current=null] : iv_ruleBRANCH_INSTANCE_REFERENCE= ruleBRANCH_INSTANCE_REFERENCE EOF ; + public final String entryRuleBRANCH_INSTANCE_REFERENCE() throws RecognitionException { + String current = null; - createLeafNode(grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + AntlrDatatypeRuleToken iv_ruleBRANCH_INSTANCE_REFERENCE = null; - if (current == null) { - current = factory.create(grammarAccess.getXArtifactRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "guid", lv_guid_3_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1953:2: (iv_ruleBRANCH_INSTANCE_REFERENCE= ruleBRANCH_INSTANCE_REFERENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1954:2: iv_ruleBRANCH_INSTANCE_REFERENCE= ruleBRANCH_INSTANCE_REFERENCE EOF + { + newCompositeNode(grammarAccess.getBRANCH_INSTANCE_REFERENCERule()); + pushFollow(FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_entryRuleBRANCH_INSTANCE_REFERENCE4312); + iv_ruleBRANCH_INSTANCE_REFERENCE=ruleBRANCH_INSTANCE_REFERENCE(); - } + state._fsp--; - match(input, 65, FOLLOW_65_in_ruleXArtifactRef4179); + current =iv_ruleBRANCH_INSTANCE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleBRANCH_INSTANCE_REFERENCE4323); - createLeafNode(grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4(), null); + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleBRANCH_INSTANCE_REFERENCE" + + + // $ANTLR start "ruleBRANCH_INSTANCE_REFERENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1961:1: ruleBRANCH_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleBRANCH_INSTANCE_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1964:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1965:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleBRANCH_INSTANCE_REFERENCE4362); + + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getBRANCH_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall()); + } - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleBRANCH_INSTANCE_REFERENCE" - resetLookahead(); - lastConsumedNode = currentNode; - } + // $ANTLR start "entryRuleXBranchRef" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1980:1: entryRuleXBranchRef returns [EObject current=null] : iv_ruleXBranchRef= ruleXBranchRef EOF ; + public final EObject entryRuleXBranchRef() throws RecognitionException { + EObject current = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + EObject iv_ruleXBranchRef = null; - // $ANTLR end ruleXArtifactRef - // $ANTLR start entryRuleBRANCH_INSTANCE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2305:1: entryRuleBRANCH_INSTANCE_REFERENCE returns [String current=null] : iv_ruleBRANCH_INSTANCE_REFERENCE= ruleBRANCH_INSTANCE_REFERENCE EOF ; - public final String entryRuleBRANCH_INSTANCE_REFERENCE() throws RecognitionException { - String current = null; + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1981:2: (iv_ruleXBranchRef= ruleXBranchRef EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1982:2: iv_ruleXBranchRef= ruleXBranchRef EOF + { + newCompositeNode(grammarAccess.getXBranchRefRule()); + pushFollow(FOLLOW_ruleXBranchRef_in_entryRuleXBranchRef4406); + iv_ruleXBranchRef=ruleXBranchRef(); - AntlrDatatypeRuleToken iv_ruleBRANCH_INSTANCE_REFERENCE = null; + state._fsp--; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2306:2: (iv_ruleBRANCH_INSTANCE_REFERENCE= ruleBRANCH_INSTANCE_REFERENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2307:2: iv_ruleBRANCH_INSTANCE_REFERENCE= ruleBRANCH_INSTANCE_REFERENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getBRANCH_INSTANCE_REFERENCERule(), currentNode); - pushFollow(FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_entryRuleBRANCH_INSTANCE_REFERENCE4216); - iv_ruleBRANCH_INSTANCE_REFERENCE = ruleBRANCH_INSTANCE_REFERENCE(); - _fsp--; + current =iv_ruleXBranchRef; + match(input,EOF,FOLLOW_EOF_in_entryRuleXBranchRef4416); - current = iv_ruleBRANCH_INSTANCE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleBRANCH_INSTANCE_REFERENCE4227); + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXBranchRef" + + + // $ANTLR start "ruleXBranchRef" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1989:1: ruleXBranchRef returns [EObject current=null] : (otherlv_0= 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) otherlv_2= 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) ; + public final EObject ruleXBranchRef() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token lv_guid_3_0=null; + Token otherlv_4=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1992:28: ( (otherlv_0= 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) otherlv_2= 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1993:1: (otherlv_0= 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) otherlv_2= 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1993:1: (otherlv_0= 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) otherlv_2= 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1993:3: otherlv_0= 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) otherlv_2= 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) otherlv_4= ';' + { + otherlv_0=(Token)match(input,66,FOLLOW_66_in_ruleXBranchRef4453); - } + newLeafNode(otherlv_0, grammarAccess.getXBranchRefAccess().getBranchKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1997:1: ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1998:1: (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1998:1: (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1999:3: lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE + { + + newCompositeNode(grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_ruleXBranchRef4474); + lv_name_1_0=ruleBRANCH_INSTANCE_REFERENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXBranchRefRule()); + } + set( + current, + "name", + lv_name_1_0, + "BRANCH_INSTANCE_REFERENCE"); + afterParserOrEnumRuleCall(); + - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end entryRuleBRANCH_INSTANCE_REFERENCE - // $ANTLR start ruleBRANCH_INSTANCE_REFERENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2314:1: ruleBRANCH_INSTANCE_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleBRANCH_INSTANCE_REFERENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + } - Token this_STRING_0 = null; + otherlv_2=(Token)match(input,22,FOLLOW_22_in_ruleXBranchRef4486); - setCurrentLookahead(); - resetLookahead(); + newLeafNode(otherlv_2, grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2019:1: ( (lv_guid_3_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2020:1: (lv_guid_3_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2020:1: (lv_guid_3_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2021:3: lv_guid_3_0= RULE_STRING + { + lv_guid_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXBranchRef4503); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2319:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2320:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleBRANCH_INSTANCE_REFERENCE4266); + newLeafNode(lv_guid_3_0, grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0()); + - current.merge(this_STRING_0); + if (current==null) { + current = createModelElement(grammarAccess.getXBranchRefRule()); + } + setWithLastConsumed( + current, + "guid", + lv_guid_3_0, + "STRING"); + - createLeafNode(grammarAccess.getBRANCH_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + otherlv_4=(Token)match(input,65,FOLLOW_65_in_ruleXBranchRef4520); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + newLeafNode(otherlv_4, grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4()); + - // $ANTLR end ruleBRANCH_INSTANCE_REFERENCE + } - // $ANTLR start entryRuleXBranchRef - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2335:1: entryRuleXBranchRef returns [EObject current=null] : iv_ruleXBranchRef= ruleXBranchRef EOF ; - public final EObject entryRuleXBranchRef() throws RecognitionException { - EObject current = null; - EObject iv_ruleXBranchRef = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2336:2: (iv_ruleXBranchRef= ruleXBranchRef EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2337:2: iv_ruleXBranchRef= ruleXBranchRef EOF - { - currentNode = createCompositeNode(grammarAccess.getXBranchRefRule(), currentNode); - pushFollow(FOLLOW_ruleXBranchRef_in_entryRuleXBranchRef4310); - iv_ruleXBranchRef = ruleXBranchRef(); - _fsp--; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXBranchRef" - current = iv_ruleXBranchRef; - match(input, EOF, FOLLOW_EOF_in_entryRuleXBranchRef4320); - } + // $ANTLR start "entryRuleACCESS_CONTEXT_TYPE_REFRENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2049:1: entryRuleACCESS_CONTEXT_TYPE_REFRENCE returns [String current=null] : iv_ruleACCESS_CONTEXT_TYPE_REFRENCE= ruleACCESS_CONTEXT_TYPE_REFRENCE EOF ; + public final String entryRuleACCESS_CONTEXT_TYPE_REFRENCE() throws RecognitionException { + String current = null; - } + AntlrDatatypeRuleToken iv_ruleACCESS_CONTEXT_TYPE_REFRENCE = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleXBranchRef + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2050:2: (iv_ruleACCESS_CONTEXT_TYPE_REFRENCE= ruleACCESS_CONTEXT_TYPE_REFRENCE EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2051:2: iv_ruleACCESS_CONTEXT_TYPE_REFRENCE= ruleACCESS_CONTEXT_TYPE_REFRENCE EOF + { + newCompositeNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCERule()); + pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4557); + iv_ruleACCESS_CONTEXT_TYPE_REFRENCE=ruleACCESS_CONTEXT_TYPE_REFRENCE(); - // $ANTLR start ruleXBranchRef - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2344:1: ruleXBranchRef returns [EObject current=null] : ( 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) ; - public final EObject ruleXBranchRef() throws RecognitionException { - EObject current = null; + state._fsp--; - Token lv_guid_3_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + current =iv_ruleACCESS_CONTEXT_TYPE_REFRENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4568); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2349:6: ( ( 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2350:1: ( 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2350:1: ( 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2350:3: 'branch' ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) 'branchGuid' ( (lv_guid_3_0= RULE_STRING ) ) ';' + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleACCESS_CONTEXT_TYPE_REFRENCE" + + + // $ANTLR start "ruleACCESS_CONTEXT_TYPE_REFRENCE" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2058:1: ruleACCESS_CONTEXT_TYPE_REFRENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleACCESS_CONTEXT_TYPE_REFRENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2061:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2062:5: this_STRING_0= RULE_STRING { - match(input, 66, FOLLOW_66_in_ruleXBranchRef4355); + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleACCESS_CONTEXT_TYPE_REFRENCE4607); - createLeafNode(grammarAccess.getXBranchRefAccess().getBranchKeyword_0(), null); + current.merge(this_STRING_0); + + + newLeafNode(this_STRING_0, grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCEAccess().getSTRINGTerminalRuleCall()); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2354:1: ( (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2355:1: (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2355:1: (lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2356:3: lv_name_1_0= ruleBRANCH_INSTANCE_REFERENCE - { + } - currentNode = - createCompositeNode( - grammarAccess.getXBranchRefAccess().getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0(), - currentNode); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleACCESS_CONTEXT_TYPE_REFRENCE" - pushFollow(FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_ruleXBranchRef4376); - lv_name_1_0 = ruleBRANCH_INSTANCE_REFERENCE(); - _fsp--; - if (current == null) { - current = factory.create(grammarAccess.getXBranchRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "BRANCH_INSTANCE_REFERENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + // $ANTLR start "entryRuleAccessContext" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2077:1: entryRuleAccessContext returns [EObject current=null] : iv_ruleAccessContext= ruleAccessContext EOF ; + public final EObject entryRuleAccessContext() throws RecognitionException { + EObject current = null; - } + EObject iv_ruleAccessContext = null; - } - match(input, 22, FOLLOW_22_in_ruleXBranchRef4386); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2078:2: (iv_ruleAccessContext= ruleAccessContext EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2079:2: iv_ruleAccessContext= ruleAccessContext EOF + { + newCompositeNode(grammarAccess.getAccessContextRule()); + pushFollow(FOLLOW_ruleAccessContext_in_entryRuleAccessContext4651); + iv_ruleAccessContext=ruleAccessContext(); - createLeafNode(grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2(), null); + state._fsp--; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2382:1: ( (lv_guid_3_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2383:1: (lv_guid_3_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2383:1: (lv_guid_3_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2384:3: lv_guid_3_0= RULE_STRING - { - lv_guid_3_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleXBranchRef4403); + current =iv_ruleAccessContext; + match(input,EOF,FOLLOW_EOF_in_entryRuleAccessContext4661); - createLeafNode(grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + } - if (current == null) { - current = factory.create(grammarAccess.getXBranchRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "guid", lv_guid_3_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAccessContext" + + + // $ANTLR start "ruleAccessContext" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2086:1: ruleAccessContext returns [EObject current=null] : (otherlv_0= 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_guid_8_0= RULE_STRING ) ) otherlv_9= ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ otherlv_12= '}' ) ; + public final EObject ruleAccessContext() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_7=null; + Token lv_guid_8_0=null; + Token otherlv_9=null; + Token otherlv_12=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + EObject lv_accessRules_10_0 = null; + + EObject lv_hierarchyRestrictions_11_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2089:28: ( (otherlv_0= 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_guid_8_0= RULE_STRING ) ) otherlv_9= ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ otherlv_12= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2090:1: (otherlv_0= 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_guid_8_0= RULE_STRING ) ) otherlv_9= ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ otherlv_12= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2090:1: (otherlv_0= 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_guid_8_0= RULE_STRING ) ) otherlv_9= ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ otherlv_12= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2090:3: otherlv_0= 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? otherlv_6= '{' otherlv_7= 'guid' ( (lv_guid_8_0= RULE_STRING ) ) otherlv_9= ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ otherlv_12= '}' + { + otherlv_0=(Token)match(input,67,FOLLOW_67_in_ruleAccessContext4698); + + newLeafNode(otherlv_0, grammarAccess.getAccessContextAccess().getAccessContextKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2094:1: ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2095:1: (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2095:1: (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2096:3: lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE + { + + newCompositeNode(grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4719); + lv_name_1_0=ruleACCESS_CONTEXT_TYPE_REFRENCE(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAccessContextRule()); + } + set( + current, + "name", + lv_name_1_0, + "ACCESS_CONTEXT_TYPE_REFRENCE"); + afterParserOrEnumRuleCall(); + - } + } - } - match(input, 65, FOLLOW_65_in_ruleXBranchRef4418); + } - createLeafNode(grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4(), null); + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2112:2: (otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? + int alt32=2; + int LA32_0 = input.LA(1); + if ( (LA32_0==16) ) { + alt32=1; } + switch (alt32) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2112:4: otherlv_2= 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* + { + otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleAccessContext4732); + + newLeafNode(otherlv_2, grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2116:1: ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2117:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2117:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2118:3: ruleACCESS_CONTEXT_TYPE_REFRENCE + { + + if (current==null) { + current = createModelElement(grammarAccess.getAccessContextRule()); + } + + + newCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0()); + + pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4755); + ruleACCESS_CONTEXT_TYPE_REFRENCE(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2131:2: (otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* + loop31: + do { + int alt31=2; + int LA31_0 = input.LA(1); - } + if ( (LA31_0==17) ) { + alt31=1; + } - resetLookahead(); - lastConsumedNode = currentNode; - } + switch (alt31) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2131:4: otherlv_4= ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) + { + otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleAccessContext4768); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + newLeafNode(otherlv_4, grammarAccess.getAccessContextAccess().getCommaKeyword_2_2_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2135:1: ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2136:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2136:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2137:3: ruleACCESS_CONTEXT_TYPE_REFRENCE + { - // $ANTLR end ruleXBranchRef + if (current==null) { + current = createModelElement(grammarAccess.getAccessContextRule()); + } + + + newCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0()); + + pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4791); + ruleACCESS_CONTEXT_TYPE_REFRENCE(); - // $ANTLR start entryRuleACCESS_CONTEXT_TYPE_REFRENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2418:1: entryRuleACCESS_CONTEXT_TYPE_REFRENCE returns [String current=null] : iv_ruleACCESS_CONTEXT_TYPE_REFRENCE= ruleACCESS_CONTEXT_TYPE_REFRENCE EOF ; - public final String entryRuleACCESS_CONTEXT_TYPE_REFRENCE() throws RecognitionException { - String current = null; + state._fsp--; - AntlrDatatypeRuleToken iv_ruleACCESS_CONTEXT_TYPE_REFRENCE = null; + + afterParserOrEnumRuleCall(); + - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2419:2: (iv_ruleACCESS_CONTEXT_TYPE_REFRENCE= ruleACCESS_CONTEXT_TYPE_REFRENCE EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2420:2: iv_ruleACCESS_CONTEXT_TYPE_REFRENCE= ruleACCESS_CONTEXT_TYPE_REFRENCE EOF - { - currentNode = createCompositeNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCERule(), currentNode); - pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4455); - iv_ruleACCESS_CONTEXT_TYPE_REFRENCE = ruleACCESS_CONTEXT_TYPE_REFRENCE(); - _fsp--; + } - current = iv_ruleACCESS_CONTEXT_TYPE_REFRENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4466); - } + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + break; - // $ANTLR end entryRuleACCESS_CONTEXT_TYPE_REFRENCE + default : + break loop31; + } + } while (true); - // $ANTLR start ruleACCESS_CONTEXT_TYPE_REFRENCE - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2427:1: ruleACCESS_CONTEXT_TYPE_REFRENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; - public final AntlrDatatypeRuleToken ruleACCESS_CONTEXT_TYPE_REFRENCE() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - Token this_STRING_0 = null; + } + break; - setCurrentLookahead(); - resetLookahead(); + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2432:6: (this_STRING_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2433:5: this_STRING_0= RULE_STRING - { - this_STRING_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleACCESS_CONTEXT_TYPE_REFRENCE4505); + otherlv_6=(Token)match(input,18,FOLLOW_18_in_ruleAccessContext4807); - current.merge(this_STRING_0); + newLeafNode(otherlv_6, grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3()); + + otherlv_7=(Token)match(input,19,FOLLOW_19_in_ruleAccessContext4819); - createLeafNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCEAccess().getSTRINGTerminalRuleCall(), null); + newLeafNode(otherlv_7, grammarAccess.getAccessContextAccess().getGuidKeyword_4()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2158:1: ( (lv_guid_8_0= RULE_STRING ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2159:1: (lv_guid_8_0= RULE_STRING ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2159:1: (lv_guid_8_0= RULE_STRING ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2160:3: lv_guid_8_0= RULE_STRING + { + lv_guid_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAccessContext4836); - } + newLeafNode(lv_guid_8_0, grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0()); + - resetLookahead(); - lastConsumedNode = currentNode; + if (current==null) { + current = createModelElement(grammarAccess.getAccessContextRule()); + } + setWithLastConsumed( + current, + "guid", + lv_guid_8_0, + "STRING"); + - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleACCESS_CONTEXT_TYPE_REFRENCE + } - // $ANTLR start entryRuleAccessContext - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2448:1: entryRuleAccessContext returns [EObject current=null] : iv_ruleAccessContext= ruleAccessContext EOF ; - public final EObject entryRuleAccessContext() throws RecognitionException { - EObject current = null; + otherlv_9=(Token)match(input,65,FOLLOW_65_in_ruleAccessContext4853); + + newLeafNode(otherlv_9, grammarAccess.getAccessContextAccess().getSemicolonKeyword_6()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2180:1: ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ + int cnt33=0; + loop33: + do { + int alt33=3; + int LA33_0 = input.LA(1); + + if ( ((LA33_0>=75 && LA33_0<=76)) ) { + alt33=1; + } + else if ( (LA33_0==68) ) { + alt33=2; + } + + + switch (alt33) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2180:2: ( (lv_accessRules_10_0= ruleObjectRestriction ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2180:2: ( (lv_accessRules_10_0= ruleObjectRestriction ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2181:1: (lv_accessRules_10_0= ruleObjectRestriction ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2181:1: (lv_accessRules_10_0= ruleObjectRestriction ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2182:3: lv_accessRules_10_0= ruleObjectRestriction + { + + newCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0()); + + pushFollow(FOLLOW_ruleObjectRestriction_in_ruleAccessContext4875); + lv_accessRules_10_0=ruleObjectRestriction(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAccessContextRule()); + } + add( + current, + "accessRules", + lv_accessRules_10_0, + "ObjectRestriction"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2199:6: ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2199:6: ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2200:1: (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2200:1: (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2201:3: lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction + { + + newCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0()); + + pushFollow(FOLLOW_ruleHierarchyRestriction_in_ruleAccessContext4902); + lv_hierarchyRestrictions_11_0=ruleHierarchyRestriction(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAccessContextRule()); + } + add( + current, + "hierarchyRestrictions", + lv_hierarchyRestrictions_11_0, + "HierarchyRestriction"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + if ( cnt33 >= 1 ) break loop33; + EarlyExitException eee = + new EarlyExitException(33, input); + throw eee; + } + cnt33++; + } while (true); - EObject iv_ruleAccessContext = null; + otherlv_12=(Token)match(input,20,FOLLOW_20_in_ruleAccessContext4916); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2449:2: (iv_ruleAccessContext= ruleAccessContext EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2450:2: iv_ruleAccessContext= ruleAccessContext EOF - { - currentNode = createCompositeNode(grammarAccess.getAccessContextRule(), currentNode); - pushFollow(FOLLOW_ruleAccessContext_in_entryRuleAccessContext4549); - iv_ruleAccessContext = ruleAccessContext(); - _fsp--; - - current = iv_ruleAccessContext; - match(input, EOF, FOLLOW_EOF_in_entryRuleAccessContext4559); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleAccessContext + newLeafNode(otherlv_12, grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8()); + - // $ANTLR start ruleAccessContext - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2457:1: ruleAccessContext returns [EObject current=null] : ( 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? '{' 'guid' ( (lv_guid_8_0= RULE_STRING ) ) ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ '}' ) ; - public final EObject ruleAccessContext() throws RecognitionException { - EObject current = null; - - Token lv_guid_8_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + } - EObject lv_accessRules_10_0 = null; - EObject lv_hierarchyRestrictions_11_0 = null; + } - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAccessContext" - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2462:6: ( ( 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? '{' 'guid' ( (lv_guid_8_0= RULE_STRING ) ) ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2463:1: ( 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? '{' 'guid' ( (lv_guid_8_0= RULE_STRING ) ) ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2463:1: ( 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? '{' 'guid' ( (lv_guid_8_0= RULE_STRING ) ) ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2463:3: 'accessContext' ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? '{' 'guid' ( (lv_guid_8_0= RULE_STRING ) ) ';' ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ '}' - { - match(input, 67, FOLLOW_67_in_ruleAccessContext4594); - createLeafNode(grammarAccess.getAccessContextAccess().getAccessContextKeyword_0(), null); + // $ANTLR start "entryRuleHierarchyRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2229:1: entryRuleHierarchyRestriction returns [EObject current=null] : iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ; + public final EObject entryRuleHierarchyRestriction() throws RecognitionException { + EObject current = null; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2467:1: ( (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2468:1: (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2468:1: (lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2469:3: lv_name_1_0= ruleACCESS_CONTEXT_TYPE_REFRENCE - { + EObject iv_ruleHierarchyRestriction = null; - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4615); - lv_name_1_0 = ruleACCESS_CONTEXT_TYPE_REFRENCE(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "name", lv_name_1_0, "ACCESS_CONTEXT_TYPE_REFRENCE", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2491:2: ( 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* )? - int alt32 = 2; - int LA32_0 = input.LA(1); - - if (LA32_0 == 16) { - alt32 = 1; - } - switch (alt32) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2491:4: 'extends' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* - { - match(input, 16, FOLLOW_16_in_ruleAccessContext4626); - - createLeafNode(grammarAccess.getAccessContextAccess().getExtendsKeyword_2_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2495:1: ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2496:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2496:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2497:3: ruleACCESS_CONTEXT_TYPE_REFRENCE - { - if (current == null) { - current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2230:2: (iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2231:2: iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF + { + newCompositeNode(grammarAccess.getHierarchyRestrictionRule()); + pushFollow(FOLLOW_ruleHierarchyRestriction_in_entryRuleHierarchyRestriction4952); + iv_ruleHierarchyRestriction=ruleHierarchyRestriction(); - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0(), - currentNode); + state._fsp--; - pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4649); - ruleACCESS_CONTEXT_TYPE_REFRENCE(); - _fsp--; + current =iv_ruleHierarchyRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleHierarchyRestriction4962); - currentNode = currentNode.getParent(); + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleHierarchyRestriction" + + + // $ANTLR start "ruleHierarchyRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2238:1: ruleHierarchyRestriction returns [EObject current=null] : (otherlv_0= 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) ; + public final EObject ruleHierarchyRestriction() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_accessRules_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2241:28: ( (otherlv_0= 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2242:1: (otherlv_0= 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2242:1: (otherlv_0= 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2242:3: otherlv_0= 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_2= '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ otherlv_4= '}' + { + otherlv_0=(Token)match(input,68,FOLLOW_68_in_ruleHierarchyRestriction4999); - } + newLeafNode(otherlv_0, grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2246:1: ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2247:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2247:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2248:3: ruleARTIFACT_INSTANCE_REFERENCE + { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2511:2: ( ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) )* - loop31: do { - int alt31 = 2; - int LA31_0 = input.LA(1); + if (current==null) { + current = createModelElement(grammarAccess.getHierarchyRestrictionRule()); + } + + + newCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0()); + + pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction5022); + ruleARTIFACT_INSTANCE_REFERENCE(); - if (LA31_0 == 17) { - alt31 = 1; - } + state._fsp--; - switch (alt31) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2511:4: ',' ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) - { - match(input, 17, FOLLOW_17_in_ruleAccessContext4660); + + afterParserOrEnumRuleCall(); + - createLeafNode(grammarAccess.getAccessContextAccess().getCommaKeyword_2_2_0(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2515:1: ( ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2516:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2516:1: ( ruleACCESS_CONTEXT_TYPE_REFRENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2517:3: ruleACCESS_CONTEXT_TYPE_REFRENCE - { - if (current == null) { - current = - factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_2_1_0(), - currentNode); + otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleHierarchyRestriction5034); + + newLeafNode(otherlv_2, grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2265:1: ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ + int cnt34=0; + loop34: + do { + int alt34=2; + int LA34_0 = input.LA(1); + + if ( ((LA34_0>=75 && LA34_0<=76)) ) { + alt34=1; + } + + + switch (alt34) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2266:1: (lv_accessRules_3_0= ruleObjectRestriction ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2266:1: (lv_accessRules_3_0= ruleObjectRestriction ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2267:3: lv_accessRules_3_0= ruleObjectRestriction + { + + newCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0()); + + pushFollow(FOLLOW_ruleObjectRestriction_in_ruleHierarchyRestriction5055); + lv_accessRules_3_0=ruleObjectRestriction(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getHierarchyRestrictionRule()); + } + add( + current, + "accessRules", + lv_accessRules_3_0, + "ObjectRestriction"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + if ( cnt34 >= 1 ) break loop34; + EarlyExitException eee = + new EarlyExitException(34, input); + throw eee; + } + cnt34++; + } while (true); - pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4683); - ruleACCESS_CONTEXT_TYPE_REFRENCE(); - _fsp--; + otherlv_4=(Token)match(input,20,FOLLOW_20_in_ruleHierarchyRestriction5068); - currentNode = currentNode.getParent(); + newLeafNode(otherlv_4, grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4()); + - } + } - } - } - break; + } - default: - break loop31; - } - } while (true); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleHierarchyRestriction" - } - break; - } + // $ANTLR start "entryRuleObjectRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2295:1: entryRuleObjectRestriction returns [EObject current=null] : iv_ruleObjectRestriction= ruleObjectRestriction EOF ; + public final EObject entryRuleObjectRestriction() throws RecognitionException { + EObject current = null; - match(input, 18, FOLLOW_18_in_ruleAccessContext4697); + EObject iv_ruleObjectRestriction = null; - createLeafNode(grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3(), null); - match(input, 19, FOLLOW_19_in_ruleAccessContext4707); + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2296:2: (iv_ruleObjectRestriction= ruleObjectRestriction EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2297:2: iv_ruleObjectRestriction= ruleObjectRestriction EOF + { + newCompositeNode(grammarAccess.getObjectRestrictionRule()); + pushFollow(FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction5104); + iv_ruleObjectRestriction=ruleObjectRestriction(); - createLeafNode(grammarAccess.getAccessContextAccess().getGuidKeyword_4(), null); + state._fsp--; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2539:1: ( (lv_guid_8_0= RULE_STRING ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2540:1: (lv_guid_8_0= RULE_STRING ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2540:1: (lv_guid_8_0= RULE_STRING ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2541:3: lv_guid_8_0= RULE_STRING - { - lv_guid_8_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleAccessContext4724); + current =iv_ruleObjectRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleObjectRestriction5114); - createLeafNode(grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(), "guid"); + } - if (current == null) { - current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "guid", lv_guid_8_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectRestriction" - } - } + // $ANTLR start "ruleObjectRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2304:1: ruleObjectRestriction returns [EObject current=null] : (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) ; + public final EObject ruleObjectRestriction() throws RecognitionException { + EObject current = null; - match(input, 65, FOLLOW_65_in_ruleAccessContext4739); + EObject this_ArtifactInstanceRestriction_0 = null; - createLeafNode(grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(), null); + EObject this_ArtifactTypeRestriction_1 = null; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2567:1: ( ( (lv_accessRules_10_0= ruleObjectRestriction ) ) | ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) )+ - int cnt33 = 0; - loop33: do { - int alt33 = 3; - int LA33_0 = input.LA(1); + EObject this_RelationTypeRestriction_2 = null; - if (LA33_0 >= 75 && LA33_0 <= 76) { - alt33 = 1; - } else if (LA33_0 == 68) { - alt33 = 2; - } + EObject this_AttributeTypeRestriction_3 = null; - switch (alt33) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2567:2: ( (lv_accessRules_10_0= ruleObjectRestriction ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2567:2: ( (lv_accessRules_10_0= ruleObjectRestriction ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2568:1: (lv_accessRules_10_0= ruleObjectRestriction ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2568:1: (lv_accessRules_10_0= ruleObjectRestriction ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2569:3: lv_accessRules_10_0= ruleObjectRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0(), - currentNode); - - pushFollow(FOLLOW_ruleObjectRestriction_in_ruleAccessContext4761); - lv_accessRules_10_0 = ruleObjectRestriction(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "accessRules", lv_accessRules_10_0, "ObjectRestriction", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - } + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2307:28: ( (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2308:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2308:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) + int alt35=4; + int LA35_0 = input.LA(1); + + if ( (LA35_0==75) ) { + int LA35_1 = input.LA(2); - } + if ( (LA35_1==69) ) { + switch ( input.LA(3) ) { + case 63: + { + alt35=1; + } break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2592:6: ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2592:6: ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2593:1: (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) + case 15: { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2593:1: (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2594:3: lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleHierarchyRestriction_in_ruleAccessContext4788); - lv_hierarchyRestrictions_11_0 = ruleHierarchyRestriction(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "hierarchyRestrictions", lv_hierarchyRestrictions_11_0, - "HierarchyRestriction", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - + alt35=2; } - - } break; - - default: - if (cnt33 >= 1) { - break loop33; + case 53: + { + alt35=3; } - EarlyExitException eee = new EarlyExitException(33, input); - throw eee; - } - cnt33++; - } while (true); + break; + case 23: + { + alt35=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 35, 3, input); - match(input, 20, FOLLOW_20_in_ruleAccessContext4800); + throw nvae; + } - createLeafNode(grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8(), null); + } + else { + NoViableAltException nvae = + new NoViableAltException("", 35, 1, input); + throw nvae; + } } + else if ( (LA35_0==76) ) { + int LA35_2 = input.LA(2); - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + if ( (LA35_2==69) ) { + switch ( input.LA(3) ) { + case 63: + { + alt35=1; + } + break; + case 15: + { + alt35=2; + } + break; + case 53: + { + alt35=3; + } + break; + case 23: + { + alt35=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 35, 3, input); - // $ANTLR end ruleAccessContext + throw nvae; + } - // $ANTLR start entryRuleHierarchyRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2628:1: entryRuleHierarchyRestriction returns [EObject current=null] : iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ; - public final EObject entryRuleHierarchyRestriction() throws RecognitionException { - EObject current = null; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 35, 2, input); - EObject iv_ruleHierarchyRestriction = null; + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 35, 0, input); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2629:2: (iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2630:2: iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getHierarchyRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleHierarchyRestriction_in_entryRuleHierarchyRestriction4836); - iv_ruleHierarchyRestriction = ruleHierarchyRestriction(); - _fsp--; + throw nvae; + } + switch (alt35) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2309:5: this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction + { + + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0()); + + pushFollow(FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5161); + this_ArtifactInstanceRestriction_0=ruleArtifactInstanceRestriction(); + + state._fsp--; + + + current = this_ArtifactInstanceRestriction_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2319:5: this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction + { + + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1()); + + pushFollow(FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5188); + this_ArtifactTypeRestriction_1=ruleArtifactTypeRestriction(); + + state._fsp--; + + + current = this_ArtifactTypeRestriction_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2329:5: this_RelationTypeRestriction_2= ruleRelationTypeRestriction + { + + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2()); + + pushFollow(FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5215); + this_RelationTypeRestriction_2=ruleRelationTypeRestriction(); + + state._fsp--; + + + current = this_RelationTypeRestriction_2; + afterParserOrEnumRuleCall(); + + + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2339:5: this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction + { + + newCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3()); + + pushFollow(FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5242); + this_AttributeTypeRestriction_3=ruleAttributeTypeRestriction(); + + state._fsp--; + + + current = this_AttributeTypeRestriction_3; + afterParserOrEnumRuleCall(); + + + } + break; - current = iv_ruleHierarchyRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleHierarchyRestriction4846); + } - } - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectRestriction" - // $ANTLR end entryRuleHierarchyRestriction - // $ANTLR start ruleHierarchyRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2637:1: ruleHierarchyRestriction returns [EObject current=null] : ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ '}' ) ; - public final EObject ruleHierarchyRestriction() throws RecognitionException { - EObject current = null; + // $ANTLR start "entryRuleArtifactInstanceRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2355:1: entryRuleArtifactInstanceRestriction returns [EObject current=null] : iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF ; + public final EObject entryRuleArtifactInstanceRestriction() throws RecognitionException { + EObject current = null; - EObject lv_accessRules_3_0 = null; + EObject iv_ruleArtifactInstanceRestriction = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2642:6: ( ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2643:1: ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2643:1: ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2643:3: 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ '}' + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2356:2: (iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2357:2: iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF { - match(input, 68, FOLLOW_68_in_ruleHierarchyRestriction4881); - - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2647:1: ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2648:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2648:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2649:3: ruleARTIFACT_INSTANCE_REFERENCE - { - - if (current == null) { - current = factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - currentNode = - createCompositeNode( - grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0(), - currentNode); + newCompositeNode(grammarAccess.getArtifactInstanceRestrictionRule()); + pushFollow(FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5277); + iv_ruleArtifactInstanceRestriction=ruleArtifactInstanceRestriction(); - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction4904); - ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + state._fsp--; - currentNode = currentNode.getParent(); + current =iv_ruleArtifactInstanceRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5287); - } - - } + } - match(input, 18, FOLLOW_18_in_ruleHierarchyRestriction4914); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleArtifactInstanceRestriction" + + + // $ANTLR start "ruleArtifactInstanceRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2364:1: ruleArtifactInstanceRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_4= ';' ) ; + public final EObject ruleArtifactInstanceRestriction() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Enumerator lv_permission_0_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2367:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_4= ';' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2368:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_4= ';' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2368:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_4= ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2368:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) otherlv_4= ';' + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2368:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2369:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2369:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2370:3: lv_permission_0_0= ruleAccessPermissionEnum + { + + newCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); + + pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactInstanceRestriction5333); + lv_permission_0_0=ruleAccessPermissionEnum(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getArtifactInstanceRestrictionRule()); + } + set( + current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); + - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2(), null); + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2667:1: ( (lv_accessRules_3_0= ruleObjectRestriction ) )+ - int cnt34 = 0; - loop34: do { - int alt34 = 2; - int LA34_0 = input.LA(1); - if (LA34_0 >= 75 && LA34_0 <= 76) { - alt34 = 1; - } + } - switch (alt34) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2668:1: (lv_accessRules_3_0= ruleObjectRestriction ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2668:1: (lv_accessRules_3_0= ruleObjectRestriction ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2669:3: lv_accessRules_3_0= ruleObjectRestriction - { + otherlv_1=(Token)match(input,69,FOLLOW_69_in_ruleArtifactInstanceRestriction5345); - currentNode = - createCompositeNode( - grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0(), - currentNode); - - pushFollow(FOLLOW_ruleObjectRestriction_in_ruleHierarchyRestriction4935); - lv_accessRules_3_0 = ruleObjectRestriction(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "accessRules", lv_accessRules_3_0, "ObjectRestriction", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + newLeafNode(otherlv_1, grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1()); + + otherlv_2=(Token)match(input,63,FOLLOW_63_in_ruleArtifactInstanceRestriction5357); - } + newLeafNode(otherlv_2, grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2394:1: ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2395:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2395:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2396:3: ruleARTIFACT_INSTANCE_REFERENCE + { - } - break; + if (current==null) { + current = createModelElement(grammarAccess.getArtifactInstanceRestrictionRule()); + } + + + newCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0()); + + pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5380); + ruleARTIFACT_INSTANCE_REFERENCE(); - default: - if (cnt34 >= 1) { - break loop34; - } - EarlyExitException eee = new EarlyExitException(34, input); - throw eee; - } - cnt34++; - } while (true); + state._fsp--; - match(input, 20, FOLLOW_20_in_ruleHierarchyRestriction4946); - - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4(), null); + + afterParserOrEnumRuleCall(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + otherlv_4=(Token)match(input,65,FOLLOW_65_in_ruleArtifactInstanceRestriction5392); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + newLeafNode(otherlv_4, grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4()); + - // $ANTLR end ruleHierarchyRestriction + } - // $ANTLR start entryRuleObjectRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2703:1: entryRuleObjectRestriction returns [EObject current=null] : iv_ruleObjectRestriction= ruleObjectRestriction EOF ; - public final EObject entryRuleObjectRestriction() throws RecognitionException { - EObject current = null; - EObject iv_ruleObjectRestriction = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2704:2: (iv_ruleObjectRestriction= ruleObjectRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2705:2: iv_ruleObjectRestriction= ruleObjectRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getObjectRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction4982); - iv_ruleObjectRestriction = ruleObjectRestriction(); - _fsp--; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleArtifactInstanceRestriction" - current = iv_ruleObjectRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleObjectRestriction4992); - } + // $ANTLR start "entryRuleArtifactTypeRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2421:1: entryRuleArtifactTypeRestriction returns [EObject current=null] : iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ; + public final EObject entryRuleArtifactTypeRestriction() throws RecognitionException { + EObject current = null; - } + EObject iv_ruleArtifactTypeRestriction = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleObjectRestriction + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2422:2: (iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2423:2: iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF + { + newCompositeNode(grammarAccess.getArtifactTypeRestrictionRule()); + pushFollow(FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5428); + iv_ruleArtifactTypeRestriction=ruleArtifactTypeRestriction(); - // $ANTLR start ruleObjectRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2712:1: ruleObjectRestriction returns [EObject current=null] : (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) ; - public final EObject ruleObjectRestriction() throws RecognitionException { - EObject current = null; + state._fsp--; - EObject this_ArtifactInstanceRestriction_0 = null; + current =iv_ruleArtifactTypeRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5438); - EObject this_ArtifactTypeRestriction_1 = null; + } - EObject this_RelationTypeRestriction_2 = null; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleArtifactTypeRestriction" + + + // $ANTLR start "ruleArtifactTypeRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2430:1: ruleArtifactTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_4= ';' ) ; + public final EObject ruleArtifactTypeRestriction() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Enumerator lv_permission_0_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2433:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_4= ';' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2434:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_4= ';' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2434:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_4= ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2434:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) otherlv_4= ';' + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2434:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2435:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2435:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2436:3: lv_permission_0_0= ruleAccessPermissionEnum + { + + newCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); + + pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactTypeRestriction5484); + lv_permission_0_0=ruleAccessPermissionEnum(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getArtifactTypeRestrictionRule()); + } + set( + current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); + - EObject this_AttributeTypeRestriction_3 = null; + } - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2717:6: ( (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction ) - int alt35 = 4; - int LA35_0 = input.LA(1); + } - if (LA35_0 == 75) { - int LA35_1 = input.LA(2); + otherlv_1=(Token)match(input,69,FOLLOW_69_in_ruleArtifactTypeRestriction5496); - if (LA35_1 == 69) { - switch (input.LA(3)) { - case 63: { - alt35 = 1; - } - break; - case 23: { - alt35 = 4; - } - break; - case 15: { - alt35 = 2; - } - break; - case 53: { - alt35 = 3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", - 35, 3, input); + newLeafNode(otherlv_1, grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1()); + + otherlv_2=(Token)match(input,15,FOLLOW_15_in_ruleArtifactTypeRestriction5508); - throw nvae; - } - - } else { - NoViableAltException nvae = - new NoViableAltException( - "2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", - 35, 1, input); - - throw nvae; - } - } else if (LA35_0 == 76) { - int LA35_2 = input.LA(2); - - if (LA35_2 == 69) { - switch (input.LA(3)) { - case 63: { - alt35 = 1; - } - break; - case 23: { - alt35 = 4; - } - break; - case 15: { - alt35 = 2; - } - break; - case 53: { - alt35 = 3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", - 35, 3, input); + newLeafNode(otherlv_2, grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2460:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2461:1: ( ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2461:1: ( ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2462:3: ruleARTIFACT_TYPE_REFERENCE + { - throw nvae; - } + if (current==null) { + current = createModelElement(grammarAccess.getArtifactTypeRestrictionRule()); + } + + + newCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5531); + ruleARTIFACT_TYPE_REFERENCE(); - } else { - NoViableAltException nvae = - new NoViableAltException( - "2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", - 35, 2, input); + state._fsp--; - throw nvae; - } - } else { - NoViableAltException nvae = - new NoViableAltException( - "2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", - 35, 0, input); + + afterParserOrEnumRuleCall(); + - throw nvae; } - switch (alt35) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2719:5: this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction - { - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0(), - currentNode); - pushFollow(FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5039); - this_ArtifactInstanceRestriction_0 = ruleArtifactInstanceRestriction(); - _fsp--; - - current = this_ArtifactInstanceRestriction_0; - currentNode = currentNode.getParent(); - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2729:5: this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1(), - currentNode); - - pushFollow(FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5066); - this_ArtifactTypeRestriction_1 = ruleArtifactTypeRestriction(); - _fsp--; + } - current = this_ArtifactTypeRestriction_1; - currentNode = currentNode.getParent(); + otherlv_4=(Token)match(input,65,FOLLOW_65_in_ruleArtifactTypeRestriction5543); - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2739:5: this_RelationTypeRestriction_2= ruleRelationTypeRestriction - { + newLeafNode(otherlv_4, grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4()); + - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2(), - currentNode); + } - pushFollow(FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5093); - this_RelationTypeRestriction_2 = ruleRelationTypeRestriction(); - _fsp--; - - current = this_RelationTypeRestriction_2; - currentNode = currentNode.getParent(); - - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2749:5: this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3(), - currentNode); - - pushFollow(FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5120); - this_AttributeTypeRestriction_3 = ruleAttributeTypeRestriction(); - _fsp--; - - current = this_AttributeTypeRestriction_3; - currentNode = currentNode.getParent(); - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleObjectRestriction - - // $ANTLR start entryRuleArtifactInstanceRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2765:1: entryRuleArtifactInstanceRestriction returns [EObject current=null] : iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF ; - public final EObject entryRuleArtifactInstanceRestriction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleArtifactInstanceRestriction = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2766:2: (iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2767:2: iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getArtifactInstanceRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5155); - iv_ruleArtifactInstanceRestriction = ruleArtifactInstanceRestriction(); - _fsp--; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleArtifactTypeRestriction" - current = iv_ruleArtifactInstanceRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5165); - } + // $ANTLR start "entryRuleAttributeTypeRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2487:1: entryRuleAttributeTypeRestriction returns [EObject current=null] : iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ; + public final EObject entryRuleAttributeTypeRestriction() throws RecognitionException { + EObject current = null; - } + EObject iv_ruleAttributeTypeRestriction = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleArtifactInstanceRestriction + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2488:2: (iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2489:2: iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF + { + newCompositeNode(grammarAccess.getAttributeTypeRestrictionRule()); + pushFollow(FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5579); + iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction(); - // $ANTLR start ruleArtifactInstanceRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2774:1: ruleArtifactInstanceRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) ; - public final EObject ruleArtifactInstanceRestriction() throws RecognitionException { - EObject current = null; + state._fsp--; - Enumerator lv_permission_0_0 = null; + current =iv_ruleAttributeTypeRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5589); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2779:6: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2780:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2780:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2780:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAttributeTypeRestriction" + + + // $ANTLR start "ruleAttributeTypeRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2496:1: ruleAttributeTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? otherlv_7= ';' ) ; + public final EObject ruleAttributeTypeRestriction() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_5=null; + Token otherlv_7=null; + Enumerator lv_permission_0_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2499:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? otherlv_7= ';' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2500:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? otherlv_7= ';' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2500:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? otherlv_7= ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2500:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) (otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? otherlv_7= ';' { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2780:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2781:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2781:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2782:3: lv_permission_0_0= ruleAccessPermissionEnum - { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2500:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2501:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2501:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2502:3: lv_permission_0_0= ruleAccessPermissionEnum + { + + newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); + + pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleAttributeTypeRestriction5635); + lv_permission_0_0=ruleAccessPermissionEnum(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAttributeTypeRestrictionRule()); + } + set( + current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); + - currentNode = - createCompositeNode( - grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - currentNode); + } - pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactInstanceRestriction5211); - lv_permission_0_0 = ruleAccessPermissionEnum(); - _fsp--; - if (current == null) { - current = - factory.create(grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "permission", lv_permission_0_0, "AccessPermissionEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } - } + otherlv_1=(Token)match(input,69,FOLLOW_69_in_ruleAttributeTypeRestriction5647); - } + newLeafNode(otherlv_1, grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1()); + + otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttributeTypeRestriction5659); - match(input, 69, FOLLOW_69_in_ruleArtifactInstanceRestriction5221); + newLeafNode(otherlv_2, grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2526:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2527:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2527:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2528:3: ruleATTRIBUTE_TYPE_REFERENCE + { - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1(), null); + if (current==null) { + current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); + } + + + newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0()); + + pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5682); + ruleATTRIBUTE_TYPE_REFERENCE(); - match(input, 63, FOLLOW_63_in_ruleArtifactInstanceRestriction5231); + state._fsp--; - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2(), null); + + afterParserOrEnumRuleCall(); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2812:1: ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2813:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2813:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2814:3: ruleARTIFACT_INSTANCE_REFERENCE - { + } - if (current == null) { - current = - factory.create(grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - currentNode = - createCompositeNode( - grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0(), - currentNode); + } - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5254); - ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2541:2: (otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? + int alt36=2; + int LA36_0 = input.LA(1); - currentNode = currentNode.getParent(); + if ( (LA36_0==70) ) { + alt36=1; + } + switch (alt36) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2541:4: otherlv_4= 'of' otherlv_5= 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + { + otherlv_4=(Token)match(input,70,FOLLOW_70_in_ruleAttributeTypeRestriction5695); - } + newLeafNode(otherlv_4, grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0()); + + otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleAttributeTypeRestriction5707); - } + newLeafNode(otherlv_5, grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2549:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2550:1: ( ruleARTIFACT_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2550:1: ( ruleARTIFACT_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2551:3: ruleARTIFACT_TYPE_REFERENCE + { - match(input, 65, FOLLOW_65_in_ruleArtifactInstanceRestriction5264); + if (current==null) { + current = createModelElement(grammarAccess.getAttributeTypeRestrictionRule()); + } + + + newCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0()); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5730); + ruleARTIFACT_TYPE_REFERENCE(); - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4(), null); + state._fsp--; - } + + afterParserOrEnumRuleCall(); + - } + } - resetLookahead(); - lastConsumedNode = currentNode; - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleArtifactInstanceRestriction + } + break; - // $ANTLR start entryRuleArtifactTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2840:1: entryRuleArtifactTypeRestriction returns [EObject current=null] : iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ; - public final EObject entryRuleArtifactTypeRestriction() throws RecognitionException { - EObject current = null; + } - EObject iv_ruleArtifactTypeRestriction = null; + otherlv_7=(Token)match(input,65,FOLLOW_65_in_ruleAttributeTypeRestriction5744); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2841:2: (iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2842:2: iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getArtifactTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5300); - iv_ruleArtifactTypeRestriction = ruleArtifactTypeRestriction(); - _fsp--; + newLeafNode(otherlv_7, grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5()); + - current = iv_ruleArtifactTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5310); + } - } - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAttributeTypeRestriction" - // $ANTLR end entryRuleArtifactTypeRestriction - // $ANTLR start ruleArtifactTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2849:1: ruleArtifactTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) ; - public final EObject ruleArtifactTypeRestriction() throws RecognitionException { - EObject current = null; + // $ANTLR start "entryRuleRelationTypeRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2576:1: entryRuleRelationTypeRestriction returns [EObject current=null] : iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ; + public final EObject entryRuleRelationTypeRestriction() throws RecognitionException { + EObject current = null; - Enumerator lv_permission_0_0 = null; + EObject iv_ruleRelationTypeRestriction = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2854:6: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2855:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2855:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2855:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2577:2: (iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2578:2: iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2855:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2856:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2856:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2857:3: lv_permission_0_0= ruleAccessPermissionEnum - { - - currentNode = - createCompositeNode( - grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - currentNode); - - pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactTypeRestriction5356); - lv_permission_0_0 = ruleAccessPermissionEnum(); - _fsp--; + newCompositeNode(grammarAccess.getRelationTypeRestrictionRule()); + pushFollow(FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5780); + iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction(); - if (current == null) { - current = - factory.create(grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "permission", lv_permission_0_0, "AccessPermissionEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + state._fsp--; - } + current =iv_ruleRelationTypeRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleRelationTypeRestriction5790); - } - - match(input, 69, FOLLOW_69_in_ruleArtifactTypeRestriction5366); - - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1(), null); - - match(input, 15, FOLLOW_15_in_ruleArtifactTypeRestriction5376); - - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2887:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2888:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2888:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2889:3: ruleARTIFACT_TYPE_REFERENCE - { + } - if (current == null) { - current = - factory.create(grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRelationTypeRestriction" + + + // $ANTLR start "ruleRelationTypeRestriction" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2585:1: ruleRelationTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) otherlv_5= ';' ) ; + public final EObject ruleRelationTypeRestriction() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_5=null; + Enumerator lv_permission_0_0 = null; + + Enumerator lv_restrictedToSide_4_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2588:28: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) otherlv_5= ';' ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2589:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) otherlv_5= ';' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2589:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) otherlv_5= ';' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2589:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) otherlv_1= 'edit' otherlv_2= 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) otherlv_5= ';' + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2589:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2590:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2590:1: (lv_permission_0_0= ruleAccessPermissionEnum ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2591:3: lv_permission_0_0= ruleAccessPermissionEnum + { + + newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0()); + + pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleRelationTypeRestriction5836); + lv_permission_0_0=ruleAccessPermissionEnum(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); + } + set( + current, + "permission", + lv_permission_0_0, + "AccessPermissionEnum"); + afterParserOrEnumRuleCall(); + - currentNode = - createCompositeNode( - grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0(), - currentNode); + } - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5399); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; - currentNode = currentNode.getParent(); + } - } + otherlv_1=(Token)match(input,69,FOLLOW_69_in_ruleRelationTypeRestriction5848); - } + newLeafNode(otherlv_1, grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1()); + + otherlv_2=(Token)match(input,53,FOLLOW_53_in_ruleRelationTypeRestriction5860); - match(input, 65, FOLLOW_65_in_ruleArtifactTypeRestriction5409); + newLeafNode(otherlv_2, grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2()); + + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2615:1: ( ( ruleRELATION_TYPE_REFERENCE ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2616:1: ( ruleRELATION_TYPE_REFERENCE ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2616:1: ( ruleRELATION_TYPE_REFERENCE ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2617:3: ruleRELATION_TYPE_REFERENCE + { - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4(), null); + if (current==null) { + current = createModelElement(grammarAccess.getRelationTypeRestrictionRule()); + } + + + newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0()); + + pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5883); + ruleRELATION_TYPE_REFERENCE(); - } + state._fsp--; - } + + afterParserOrEnumRuleCall(); + - resetLookahead(); - lastConsumedNode = currentNode; + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleArtifactTypeRestriction + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2630:2: ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2631:1: (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2631:1: (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2632:3: lv_restrictedToSide_4_0= ruleXRelationSideEnum + { + + newCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0()); + + pushFollow(FOLLOW_ruleXRelationSideEnum_in_ruleRelationTypeRestriction5904); + lv_restrictedToSide_4_0=ruleXRelationSideEnum(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRelationTypeRestrictionRule()); + } + set( + current, + "restrictedToSide", + lv_restrictedToSide_4_0, + "XRelationSideEnum"); + afterParserOrEnumRuleCall(); + - // $ANTLR start entryRuleAttributeTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2915:1: entryRuleAttributeTypeRestriction returns [EObject current=null] : iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ; - public final EObject entryRuleAttributeTypeRestriction() throws RecognitionException { - EObject current = null; + } - EObject iv_ruleAttributeTypeRestriction = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2916:2: (iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2917:2: iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getAttributeTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5445); - iv_ruleAttributeTypeRestriction = ruleAttributeTypeRestriction(); - _fsp--; + } - current = iv_ruleAttributeTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5455); + otherlv_5=(Token)match(input,65,FOLLOW_65_in_ruleRelationTypeRestriction5916); - } + newLeafNode(otherlv_5, grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5()); + - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleAttributeTypeRestriction + } - // $ANTLR start ruleAttributeTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2924:1: ruleAttributeTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? ';' ) ; - public final EObject ruleAttributeTypeRestriction() throws RecognitionException { - EObject current = null; + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRelationTypeRestriction" + + + // $ANTLR start "ruleRelationMultiplicityEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2660: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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2662:28: ( ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2663:1: ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2663:1: ( (enumLiteral_0= 'ONE_TO_ONE' ) | (enumLiteral_1= 'ONE_TO_MANY' ) | (enumLiteral_2= 'MANY_TO_ONE' ) | (enumLiteral_3= 'MANY_TO_MANY' ) ) + int alt37=4; + switch ( input.LA(1) ) { + case 71: + { + alt37=1; + } + break; + case 72: + { + alt37=2; + } + break; + case 73: + { + alt37=3; + } + break; + case 74: + { + alt37=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 37, 0, input); + + throw nvae; + } - Enumerator lv_permission_0_0 = null; + switch (alt37) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2663:2: (enumLiteral_0= 'ONE_TO_ONE' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2663:2: (enumLiteral_0= 'ONE_TO_ONE' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2663:4: enumLiteral_0= 'ONE_TO_ONE' + { + enumLiteral_0=(Token)match(input,71,FOLLOW_71_in_ruleRelationMultiplicityEnum5966); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0()); + - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2929:6: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2930:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2930:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2930:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ( 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? ';' - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2930:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2931:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2931:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2932:3: lv_permission_0_0= ruleAccessPermissionEnum - { + } - currentNode = - createCompositeNode( - grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - currentNode); - pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleAttributeTypeRestriction5501); - lv_permission_0_0 = ruleAccessPermissionEnum(); - _fsp--; + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2669:6: (enumLiteral_1= 'ONE_TO_MANY' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2669:6: (enumLiteral_1= 'ONE_TO_MANY' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2669:8: enumLiteral_1= 'ONE_TO_MANY' + { + enumLiteral_1=(Token)match(input,72,FOLLOW_72_in_ruleRelationMultiplicityEnum5983); - if (current == null) { - current = - factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "permission", lv_permission_0_0, "AccessPermissionEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1()); + - } + } - } - match(input, 69, FOLLOW_69_in_ruleAttributeTypeRestriction5511); - - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1(), null); - - match(input, 23, FOLLOW_23_in_ruleAttributeTypeRestriction5521); - - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2962:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2963:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2963:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2964:3: ruleATTRIBUTE_TYPE_REFERENCE - { + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2675:6: (enumLiteral_2= 'MANY_TO_ONE' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2675:6: (enumLiteral_2= 'MANY_TO_ONE' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2675:8: enumLiteral_2= 'MANY_TO_ONE' + { + enumLiteral_2=(Token)match(input,73,FOLLOW_73_in_ruleRelationMultiplicityEnum6000); - if (current == null) { - current = - factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - currentNode = - createCompositeNode( - grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0(), - currentNode); - - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5544); - ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; - - currentNode = currentNode.getParent(); + current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2()); + - } - - } + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2978:2: ( 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )? - int alt36 = 2; - int LA36_0 = input.LA(1); - - if (LA36_0 == 70) { - alt36 = 1; - } - switch (alt36) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2978:4: 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - { - match(input, 70, FOLLOW_70_in_ruleAttributeTypeRestriction5555); - - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0(), null); - - match(input, 15, FOLLOW_15_in_ruleAttributeTypeRestriction5565); - - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1(), - null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2986:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2987:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2987:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2988:3: ruleARTIFACT_TYPE_REFERENCE - { - if (current == null) { - current = - factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } + break; + case 4 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2681:6: (enumLiteral_3= 'MANY_TO_MANY' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2681:6: (enumLiteral_3= 'MANY_TO_MANY' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2681:8: enumLiteral_3= 'MANY_TO_MANY' + { + enumLiteral_3=(Token)match(input,74,FOLLOW_74_in_ruleRelationMultiplicityEnum6017); - currentNode = - createCompositeNode( - grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0(), - currentNode); + current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3()); + - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5588); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); - } + } + break; - } + } - } - break; - } + } - match(input, 65, FOLLOW_65_in_ruleAttributeTypeRestriction5600); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRelationMultiplicityEnum" + + + // $ANTLR start "ruleAccessPermissionEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2691: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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2693:28: ( ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2694:1: ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2694:1: ( (enumLiteral_0= 'ALLOW' ) | (enumLiteral_1= 'DENY' ) ) + int alt38=2; + int LA38_0 = input.LA(1); - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5(), null); + if ( (LA38_0==75) ) { + alt38=1; + } + else if ( (LA38_0==76) ) { + alt38=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 38, 0, input); + throw nvae; } + switch (alt38) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2694:2: (enumLiteral_0= 'ALLOW' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2694:2: (enumLiteral_0= 'ALLOW' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2694:4: enumLiteral_0= 'ALLOW' + { + enumLiteral_0=(Token)match(input,75,FOLLOW_75_in_ruleAccessPermissionEnum6062); - } + current = grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0()); + - resetLookahead(); - lastConsumedNode = currentNode; + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2700:6: (enumLiteral_1= 'DENY' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2700:6: (enumLiteral_1= 'DENY' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2700:8: enumLiteral_1= 'DENY' + { + enumLiteral_1=(Token)match(input,76,FOLLOW_76_in_ruleAccessPermissionEnum6079); - // $ANTLR end ruleAttributeTypeRestriction + current = grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1()); + - // $ANTLR start entryRuleRelationTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3014:1: entryRuleRelationTypeRestriction returns [EObject current=null] : iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ; - public final EObject entryRuleRelationTypeRestriction() throws RecognitionException { - EObject current = null; + } - EObject iv_ruleRelationTypeRestriction = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3015:2: (iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3016:2: iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getRelationTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5636); - iv_ruleRelationTypeRestriction = ruleRelationTypeRestriction(); - _fsp--; + } + break; - current = iv_ruleRelationTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleRelationTypeRestriction5646); + } - } - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAccessPermissionEnum" + + + // $ANTLR start "ruleXRelationSideEnum" + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2710: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 { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2712:28: ( ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2713:1: ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2713:1: ( (enumLiteral_0= 'SIDE_A' ) | (enumLiteral_1= 'SIDE_B' ) | (enumLiteral_2= 'BOTH' ) ) + int alt39=3; + switch ( input.LA(1) ) { + case 77: + { + alt39=1; + } + break; + case 78: + { + alt39=2; + } + break; + case 79: + { + alt39=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 39, 0, input); + + throw nvae; + } - // $ANTLR end entryRuleRelationTypeRestriction + switch (alt39) { + case 1 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2713:2: (enumLiteral_0= 'SIDE_A' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2713:2: (enumLiteral_0= 'SIDE_A' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2713:4: enumLiteral_0= 'SIDE_A' + { + enumLiteral_0=(Token)match(input,77,FOLLOW_77_in_ruleXRelationSideEnum6124); - // $ANTLR start ruleRelationTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3023:1: ruleRelationTypeRestriction returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) ';' ) ; - public final EObject ruleRelationTypeRestriction() throws RecognitionException { - EObject current = null; + current = grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0()); + - Enumerator lv_permission_0_0 = null; + } - Enumerator lv_restrictedToSide_4_0 = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + } + break; + case 2 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2719:6: (enumLiteral_1= 'SIDE_B' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2719:6: (enumLiteral_1= 'SIDE_B' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2719:8: enumLiteral_1= 'SIDE_B' + { + enumLiteral_1=(Token)match(input,78,FOLLOW_78_in_ruleXRelationSideEnum6141); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3028:6: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) ';' - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3030:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3030:1: (lv_permission_0_0= ruleAccessPermissionEnum ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3031:3: lv_permission_0_0= ruleAccessPermissionEnum - { + current = grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1()); + - currentNode = - createCompositeNode( - grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - currentNode); + } - pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleRelationTypeRestriction5692); - lv_permission_0_0 = ruleAccessPermissionEnum(); - _fsp--; - if (current == null) { - current = - factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "permission", lv_permission_0_0, "AccessPermissionEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } + break; + case 3 : + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2725:6: (enumLiteral_2= 'BOTH' ) + { + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2725:6: (enumLiteral_2= 'BOTH' ) + // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2725:8: enumLiteral_2= 'BOTH' + { + enumLiteral_2=(Token)match(input,79,FOLLOW_79_in_ruleXRelationSideEnum6158); - } + current = grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2()); + - } + } - match(input, 69, FOLLOW_69_in_ruleRelationTypeRestriction5702); - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1(), null); - - match(input, 53, FOLLOW_53_in_ruleRelationTypeRestriction5712); - - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3061:1: ( ( ruleRELATION_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3062:1: ( ruleRELATION_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3062:1: ( ruleRELATION_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3063:3: ruleRELATION_TYPE_REFERENCE - { - - if (current == null) { - current = - factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - currentNode = - createCompositeNode( - grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0(), - currentNode); - - pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5735); - ruleRELATION_TYPE_REFERENCE(); - _fsp--; - - currentNode = currentNode.getParent(); - - } - - } - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3077:2: ( (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3078:1: (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3078:1: (lv_restrictedToSide_4_0= ruleXRelationSideEnum ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3079:3: lv_restrictedToSide_4_0= ruleXRelationSideEnum - { - - currentNode = - createCompositeNode( - grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(), - currentNode); - - pushFollow(FOLLOW_ruleXRelationSideEnum_in_ruleRelationTypeRestriction5756); - lv_restrictedToSide_4_0 = ruleXRelationSideEnum(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "restrictedToSide", lv_restrictedToSide_4_0, "XRelationSideEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - } - - } - - match(input, 65, FOLLOW_65_in_ruleRelationTypeRestriction5766); - - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5(), null); - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleRelationTypeRestriction - - // $ANTLR start ruleRelationMultiplicityEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3113:1: ruleRelationMultiplicityEnum returns [Enumerator current=null] : ( ( 'ONE_TO_ONE' ) | ( 'ONE_TO_MANY' ) | ( 'MANY_TO_ONE' ) | ( 'MANY_TO_MANY' ) ) ; - public final Enumerator ruleRelationMultiplicityEnum() throws RecognitionException { - Enumerator current = null; + } + break; - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3117:6: ( ( ( 'ONE_TO_ONE' ) | ( 'ONE_TO_MANY' ) | ( 'MANY_TO_ONE' ) | ( 'MANY_TO_MANY' ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3118:1: ( ( 'ONE_TO_ONE' ) | ( 'ONE_TO_MANY' ) | ( 'MANY_TO_ONE' ) | ( 'MANY_TO_MANY' ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3118:1: ( ( 'ONE_TO_ONE' ) | ( 'ONE_TO_MANY' ) | ( 'MANY_TO_ONE' ) | ( 'MANY_TO_MANY' ) ) - int alt37 = 4; - switch (input.LA(1)) { - case 71: { - alt37 = 1; - } - break; - case 72: { - alt37 = 2; - } - break; - case 73: { - alt37 = 3; - } - break; - case 74: { - alt37 = 4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "3118:1: ( ( 'ONE_TO_ONE' ) | ( 'ONE_TO_MANY' ) | ( 'MANY_TO_ONE' ) | ( 'MANY_TO_MANY' ) )", - 37, 0, input); - - throw nvae; } - switch (alt37) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3118:2: ( 'ONE_TO_ONE' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3118:2: ( 'ONE_TO_ONE' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3118:4: 'ONE_TO_ONE' - { - match(input, 71, FOLLOW_71_in_ruleRelationMultiplicityEnum5814); - - current = - grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode( - grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0(), null); - - } - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3124:6: ( 'ONE_TO_MANY' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3124:6: ( 'ONE_TO_MANY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3124:8: 'ONE_TO_MANY' - { - match(input, 72, FOLLOW_72_in_ruleRelationMultiplicityEnum5829); - - current = - grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode( - grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1(), - null); - - } - - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3130:6: ( 'MANY_TO_ONE' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3130:6: ( 'MANY_TO_ONE' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3130:8: 'MANY_TO_ONE' - { - match(input, 73, FOLLOW_73_in_ruleRelationMultiplicityEnum5844); - - current = - grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - createLeafNode( - grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2(), - null); - - } - - } - break; - case 4: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3136:6: ( 'MANY_TO_MANY' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3136:6: ( 'MANY_TO_MANY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3136:8: 'MANY_TO_MANY' - { - match(input, 74, FOLLOW_74_in_ruleRelationMultiplicityEnum5859); - - current = - grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - createLeafNode( - grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3(), - null); - - } - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleRelationMultiplicityEnum - - // $ANTLR start ruleAccessPermissionEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3146:1: ruleAccessPermissionEnum returns [Enumerator current=null] : ( ( 'ALLOW' ) | ( 'DENY' ) ) ; - public final Enumerator ruleAccessPermissionEnum() throws RecognitionException { - Enumerator current = null; - - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3150:6: ( ( ( 'ALLOW' ) | ( 'DENY' ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3151:1: ( ( 'ALLOW' ) | ( 'DENY' ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3151:1: ( ( 'ALLOW' ) | ( 'DENY' ) ) - int alt38 = 2; - int LA38_0 = input.LA(1); - if (LA38_0 == 75) { - alt38 = 1; - } else if (LA38_0 == 76) { - alt38 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException("3151:1: ( ( 'ALLOW' ) | ( 'DENY' ) )", 38, 0, input); - - throw nvae; - } - switch (alt38) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3151:2: ( 'ALLOW' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3151:2: ( 'ALLOW' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3151:4: 'ALLOW' - { - match(input, 75, FOLLOW_75_in_ruleAccessPermissionEnum5902); - - current = - grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0(), - null); - - } - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3157:6: ( 'DENY' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3157:6: ( 'DENY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3157:8: 'DENY' - { - match(input, 76, FOLLOW_76_in_ruleAccessPermissionEnum5917); - - current = - grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1(), - null); - - } - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end ruleAccessPermissionEnum - - // $ANTLR start ruleXRelationSideEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3167:1: ruleXRelationSideEnum returns [Enumerator current=null] : ( ( 'SIDE_A' ) | ( 'SIDE_B' ) | ( 'BOTH' ) ) ; - public final Enumerator ruleXRelationSideEnum() throws RecognitionException { - Enumerator current = null; - - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3171:6: ( ( ( 'SIDE_A' ) | ( 'SIDE_B' ) | ( 'BOTH' ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3172:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) | ( 'BOTH' ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3172:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) | ( 'BOTH' ) ) - int alt39 = 3; - switch (input.LA(1)) { - case 77: { - alt39 = 1; - } - break; - case 78: { - alt39 = 2; - } - break; - case 79: { - alt39 = 3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3172:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) | ( 'BOTH' ) )", 39, 0, input); - - throw nvae; } - switch (alt39) { - case 1: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3172:2: ( 'SIDE_A' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3172:2: ( 'SIDE_A' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3172:4: 'SIDE_A' - { - match(input, 77, FOLLOW_77_in_ruleXRelationSideEnum5960); - - current = - grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0(), - null); - - } - - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3178:6: ( 'SIDE_B' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3178:6: ( 'SIDE_B' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3178:8: 'SIDE_B' - { - match(input, 78, FOLLOW_78_in_ruleXRelationSideEnum5975); - - current = - grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1(), - null); - - } - - } - break; - case 3: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3184:6: ( 'BOTH' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3184:6: ( 'BOTH' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3184:8: 'BOTH' - { - match(input, 79, FOLLOW_79_in_ruleXRelationSideEnum5990); - - current = - grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2(), null); - - } - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleXRelationSideEnum - - public static final BitSet FOLLOW_ruleOseeDsl_in_entryRuleOseeDsl75 = new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleOseeDsl85 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImport_in_ruleOseeDsl131 = new BitSet(new long[] { - 0x802240000080D002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXArtifactType_in_ruleOseeDsl154 = new BitSet(new long[] { - 0x802240000080C002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXRelationType_in_ruleOseeDsl181 = new BitSet(new long[] { - 0x802240000080C002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXAttributeType_in_ruleOseeDsl208 = new BitSet(new long[] { - 0x802240000080C002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXOseeEnumType_in_ruleOseeDsl235 = new BitSet(new long[] { - 0x802240000080C002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXOseeEnumOverride_in_ruleOseeDsl262 = new BitSet(new long[] { - 0x802240000080C002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXBranchRef_in_ruleOseeDsl286 = new BitSet(new long[] { - 0x8000000000000002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleXArtifactRef_in_ruleOseeDsl313 = new BitSet(new long[] { - 0x8000000000000002L, - 0x000000000000000CL}); - public static final BitSet FOLLOW_ruleAccessContext_in_ruleOseeDsl336 = new BitSet(new long[] { - 0x0000000000000002L, - 0x0000000000000008L}); - public static final BitSet FOLLOW_ruleImport_in_entryRuleImport373 = new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImport383 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_12_in_ruleImport418 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleImport435 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_entryRuleATTRIBUTE_TYPE_REFERENCE479 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleATTRIBUTE_TYPE_REFERENCE490 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleATTRIBUTE_TYPE_REFERENCE529 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_entryRuleARTIFACT_TYPE_REFERENCE574 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleARTIFACT_TYPE_REFERENCE585 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleARTIFACT_TYPE_REFERENCE624 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_entryRuleRELATION_TYPE_REFERENCE669 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRELATION_TYPE_REFERENCE680 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleRELATION_TYPE_REFERENCE719 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_entryRuleENUM_TYPE_REFERENCE764 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleENUM_TYPE_REFERENCE775 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleENUM_TYPE_REFERENCE814 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_entryRuleENUM_ENTRY_TYPE_REFERENCE859 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleENUM_ENTRY_TYPE_REFERENCE870 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleENUM_ENTRY_TYPE_REFERENCE909 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_entryRuleQUALIFIED_NAME954 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleQUALIFIED_NAME965 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1005 = new BitSet(new long[] {0x0000000000002002L}); - public static final BitSet FOLLOW_13_in_ruleQUALIFIED_NAME1024 = new BitSet(new long[] {0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1039 = new BitSet(new long[] {0x0000000000002002L}); - public static final BitSet FOLLOW_ruleOseeType_in_entryRuleOseeType1088 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleOseeType1098 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXArtifactType_in_ruleOseeType1145 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXRelationType_in_ruleOseeType1172 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXAttributeType_in_ruleOseeType1199 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXOseeEnumType_in_ruleOseeType1226 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXArtifactType_in_entryRuleXArtifactType1261 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXArtifactType1271 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_14_in_ruleXArtifactType1314 = new BitSet(new long[] {0x0000000000008000L}); - public static final BitSet FOLLOW_15_in_ruleXArtifactType1338 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1359 = new BitSet( - new long[] {0x0000000000050000L}); - public static final BitSet FOLLOW_16_in_ruleXArtifactType1370 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1393 = new BitSet( - new long[] {0x0000000000060000L}); - public static final BitSet FOLLOW_17_in_ruleXArtifactType1404 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1427 = new BitSet( - new long[] {0x0000000000060000L}); - public static final BitSet FOLLOW_18_in_ruleXArtifactType1441 = new BitSet(new long[] {0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleXArtifactType1451 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXArtifactType1468 = - new BitSet(new long[] {0x0000000000300000L}); - public static final BitSet FOLLOW_ruleXAttributeTypeRef_in_ruleXArtifactType1494 = new BitSet( - new long[] {0x0000000000300000L}); - public static final BitSet FOLLOW_20_in_ruleXArtifactType1505 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXAttributeTypeRef_in_entryRuleXAttributeTypeRef1541 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXAttributeTypeRef1551 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_21_in_ruleXAttributeTypeRef1586 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeTypeRef1609 = new BitSet( - new long[] {0x0000000000400002L}); - public static final BitSet FOLLOW_22_in_ruleXAttributeTypeRef1620 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeTypeRef1637 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXAttributeType_in_entryRuleXAttributeType1680 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXAttributeType1690 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_23_in_ruleXAttributeType1725 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1746 = new BitSet( - new long[] {0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleXAttributeType1757 = new BitSet(new long[] {0x00003FE000000020L}); - public static final BitSet FOLLOW_ruleAttributeBaseType_in_ruleXAttributeType1778 = new BitSet( - new long[] {0x0000000001040000L}); - public static final BitSet FOLLOW_24_in_ruleXAttributeType1790 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1813 = new BitSet( - new long[] {0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleXAttributeType1825 = new BitSet(new long[] {0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleXAttributeType1835 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType1852 = new BitSet( - new long[] {0x0000000002000000L}); - public static final BitSet FOLLOW_25_in_ruleXAttributeType1867 = new BitSet(new long[] {0x000000000C000020L}); - public static final BitSet FOLLOW_26_in_ruleXAttributeType1887 = new BitSet(new long[] {0x0000000010000000L}); - public static final BitSet FOLLOW_27_in_ruleXAttributeType1916 = new BitSet(new long[] {0x0000000010000000L}); - public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType1948 = new BitSet( - new long[] {0x0000000010000000L}); - public static final BitSet FOLLOW_28_in_ruleXAttributeType1961 = new BitSet(new long[] {0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType1978 = new BitSet( - new long[] {0x0000000020000000L}); - public static final BitSet FOLLOW_29_in_ruleXAttributeType1993 = new BitSet(new long[] {0x0000000040000040L}); - public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType2012 = new BitSet( - new long[] {0x0000001E80100000L}); - public static final BitSet FOLLOW_30_in_ruleXAttributeType2033 = new BitSet(new long[] {0x0000001E80100000L}); - public static final BitSet FOLLOW_31_in_ruleXAttributeType2060 = new BitSet(new long[] {0x0000000100000020L}); - public static final BitSet FOLLOW_32_in_ruleXAttributeType2080 = new BitSet(new long[] {0x0000001E00100000L}); - public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType2112 = new BitSet( - new long[] {0x0000001E00100000L}); - public static final BitSet FOLLOW_33_in_ruleXAttributeType2128 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXAttributeType2151 = new BitSet( - new long[] {0x0000001C00100000L}); - public static final BitSet FOLLOW_34_in_ruleXAttributeType2164 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType2181 = new BitSet( - new long[] {0x0000001800100000L}); - public static final BitSet FOLLOW_35_in_ruleXAttributeType2199 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType2216 = new BitSet( - new long[] {0x0000001000100000L}); - public static final BitSet FOLLOW_36_in_ruleXAttributeType2234 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType2251 = new BitSet( - new long[] {0x0000000000100000L}); - public static final BitSet FOLLOW_20_in_ruleXAttributeType2268 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeBaseType_in_entryRuleAttributeBaseType2305 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAttributeBaseType2316 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_37_in_ruleAttributeBaseType2354 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_38_in_ruleAttributeBaseType2373 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_39_in_ruleAttributeBaseType2392 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleAttributeBaseType2411 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_41_in_ruleAttributeBaseType2430 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_42_in_ruleAttributeBaseType2449 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_43_in_ruleAttributeBaseType2468 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_44_in_ruleAttributeBaseType2487 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_45_in_ruleAttributeBaseType2506 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_ruleAttributeBaseType2534 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXOseeEnumType_in_entryRuleXOseeEnumType2579 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXOseeEnumType2589 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_46_in_ruleXOseeEnumType2624 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumType2645 = new BitSet( - new long[] {0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleXOseeEnumType2655 = new BitSet(new long[] {0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleXOseeEnumType2665 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXOseeEnumType2682 = - new BitSet(new long[] {0x0000800000100000L}); - public static final BitSet FOLLOW_ruleXOseeEnumEntry_in_ruleXOseeEnumType2708 = new BitSet( - new long[] {0x0000800000100000L}); - public static final BitSet FOLLOW_20_in_ruleXOseeEnumType2719 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXOseeEnumEntry_in_entryRuleXOseeEnumEntry2755 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXOseeEnumEntry2765 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_47_in_ruleXOseeEnumEntry2800 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleXOseeEnumEntry2821 = new BitSet( - new long[] {0x0001000000000042L}); - public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXOseeEnumEntry2838 = new BitSet( - new long[] {0x0001000000000002L}); - public static final BitSet FOLLOW_48_in_ruleXOseeEnumEntry2855 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXOseeEnumEntry2872 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXOseeEnumOverride_in_entryRuleXOseeEnumOverride2915 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXOseeEnumOverride2925 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_49_in_ruleXOseeEnumOverride2960 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumOverride2983 = new BitSet( - new long[] {0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleXOseeEnumOverride2993 = new BitSet(new long[] {0x001C000000100000L}); - public static final BitSet FOLLOW_50_in_ruleXOseeEnumOverride3011 = new BitSet(new long[] {0x0018000000100000L}); - public static final BitSet FOLLOW_ruleOverrideOption_in_ruleXOseeEnumOverride3046 = new BitSet( - new long[] {0x0018000000100000L}); - public static final BitSet FOLLOW_20_in_ruleXOseeEnumOverride3057 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleOverrideOption_in_entryRuleOverrideOption3093 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleOverrideOption3103 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAddEnum_in_ruleOverrideOption3150 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRemoveEnum_in_ruleOverrideOption3177 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAddEnum_in_entryRuleAddEnum3212 = new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAddEnum3222 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_51_in_ruleAddEnum3257 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleAddEnum3278 = new BitSet( - new long[] {0x0001000000000042L}); - public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleAddEnum3295 = new BitSet( - new long[] {0x0001000000000002L}); - public static final BitSet FOLLOW_48_in_ruleAddEnum3312 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleAddEnum3329 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRemoveEnum_in_entryRuleRemoveEnum3372 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRemoveEnum3382 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_52_in_ruleRemoveEnum3417 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleRemoveEnum3440 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXRelationType_in_entryRuleXRelationType3476 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXRelationType3486 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_53_in_ruleXRelationType3521 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleXRelationType3542 = new BitSet( - new long[] {0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleXRelationType3552 = new BitSet(new long[] {0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleXRelationType3562 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXRelationType3579 = - new BitSet(new long[] {0x0040000000000000L}); - public static final BitSet FOLLOW_54_in_ruleXRelationType3594 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXRelationType3611 = - new BitSet(new long[] {0x0080000000000000L}); - public static final BitSet FOLLOW_55_in_ruleXRelationType3626 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3649 = new BitSet( - new long[] {0x0100000000000000L}); - public static final BitSet FOLLOW_56_in_ruleXRelationType3659 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXRelationType3676 = - new BitSet(new long[] {0x0200000000000000L}); - public static final BitSet FOLLOW_57_in_ruleXRelationType3691 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3714 = new BitSet( - new long[] {0x0400000000000000L}); - public static final BitSet FOLLOW_58_in_ruleXRelationType3724 = new BitSet(new long[] {0x7000000000000020L}); - public static final BitSet FOLLOW_ruleRelationOrderType_in_ruleXRelationType3745 = new BitSet( - new long[] {0x0800000000000000L}); - public static final BitSet FOLLOW_59_in_ruleXRelationType3755 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000000780L}); - public static final BitSet FOLLOW_ruleRelationMultiplicityEnum_in_ruleXRelationType3776 = new BitSet( - new long[] {0x0000000000100000L}); - public static final BitSet FOLLOW_20_in_ruleXRelationType3786 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationOrderType_in_entryRuleRelationOrderType3823 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRelationOrderType3834 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_60_in_ruleRelationOrderType3872 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_61_in_ruleRelationOrderType3891 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_62_in_ruleRelationOrderType3910 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleRelationOrderType3931 = - new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_entryRuleARTIFACT_INSTANCE_REFERENCE3977 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleARTIFACT_INSTANCE_REFERENCE3988 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleARTIFACT_INSTANCE_REFERENCE4027 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXArtifactRef_in_entryRuleXArtifactRef4071 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXArtifactRef4081 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_63_in_ruleXArtifactRef4116 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleXArtifactRef4137 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000000001L}); - public static final BitSet FOLLOW_64_in_ruleXArtifactRef4147 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXArtifactRef4164 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleXArtifactRef4179 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_entryRuleBRANCH_INSTANCE_REFERENCE4216 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBRANCH_INSTANCE_REFERENCE4227 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleBRANCH_INSTANCE_REFERENCE4266 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleXBranchRef_in_entryRuleXBranchRef4310 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleXBranchRef4320 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_66_in_ruleXBranchRef4355 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_ruleXBranchRef4376 = new BitSet( - new long[] {0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleXBranchRef4386 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleXBranchRef4403 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleXBranchRef4418 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4455 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4466 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleACCESS_CONTEXT_TYPE_REFRENCE4505 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAccessContext_in_entryRuleAccessContext4549 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAccessContext4559 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_67_in_ruleAccessContext4594 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4615 = new BitSet( - new long[] {0x0000000000050000L}); - public static final BitSet FOLLOW_16_in_ruleAccessContext4626 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4649 = new BitSet( - new long[] {0x0000000000060000L}); - public static final BitSet FOLLOW_17_in_ruleAccessContext4660 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4683 = new BitSet( - new long[] {0x0000000000060000L}); - public static final BitSet FOLLOW_18_in_ruleAccessContext4697 = new BitSet(new long[] {0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleAccessContext4707 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleAccessContext4724 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleAccessContext4739 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000001810L}); - public static final BitSet FOLLOW_ruleObjectRestriction_in_ruleAccessContext4761 = new BitSet(new long[] { - 0x0000000000100000L, - 0x0000000000001810L}); - public static final BitSet FOLLOW_ruleHierarchyRestriction_in_ruleAccessContext4788 = new BitSet(new long[] { - 0x0000000000100000L, - 0x0000000000001810L}); - public static final BitSet FOLLOW_20_in_ruleAccessContext4800 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHierarchyRestriction_in_entryRuleHierarchyRestriction4836 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleHierarchyRestriction4846 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_68_in_ruleHierarchyRestriction4881 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction4904 = new BitSet( - new long[] {0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleHierarchyRestriction4914 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000001800L}); - public static final BitSet FOLLOW_ruleObjectRestriction_in_ruleHierarchyRestriction4935 = new BitSet(new long[] { - 0x0000000000100000L, - 0x0000000000001800L}); - public static final BitSet FOLLOW_20_in_ruleHierarchyRestriction4946 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction4982 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleObjectRestriction4992 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5039 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5066 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5093 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5120 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5155 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5165 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactInstanceRestriction5211 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000020L}); - public static final BitSet FOLLOW_69_in_ruleArtifactInstanceRestriction5221 = new BitSet( - new long[] {0x8000000000000000L}); - public static final BitSet FOLLOW_63_in_ruleArtifactInstanceRestriction5231 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5254 = - new BitSet(new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleArtifactInstanceRestriction5264 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5300 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5310 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactTypeRestriction5356 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000020L}); - public static final BitSet FOLLOW_69_in_ruleArtifactTypeRestriction5366 = new BitSet( - new long[] {0x0000000000008000L}); - public static final BitSet FOLLOW_15_in_ruleArtifactTypeRestriction5376 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5399 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleArtifactTypeRestriction5409 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5445 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5455 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleAttributeTypeRestriction5501 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000020L}); - public static final BitSet FOLLOW_69_in_ruleAttributeTypeRestriction5511 = new BitSet( - new long[] {0x0000000000800000L}); - public static final BitSet FOLLOW_23_in_ruleAttributeTypeRestriction5521 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5544 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000042L}); - public static final BitSet FOLLOW_70_in_ruleAttributeTypeRestriction5555 = new BitSet( - new long[] {0x0000000000008000L}); - public static final BitSet FOLLOW_15_in_ruleAttributeTypeRestriction5565 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5588 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleAttributeTypeRestriction5600 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5636 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRelationTypeRestriction5646 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleRelationTypeRestriction5692 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000020L}); - public static final BitSet FOLLOW_69_in_ruleRelationTypeRestriction5702 = new BitSet( - new long[] {0x0020000000000000L}); - public static final BitSet FOLLOW_53_in_ruleRelationTypeRestriction5712 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5735 = new BitSet( - new long[] {0x0000000000000000L, 0x000000000000E000L}); - public static final BitSet FOLLOW_ruleXRelationSideEnum_in_ruleRelationTypeRestriction5756 = new BitSet(new long[] { - 0x0000000000000000L, - 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleRelationTypeRestriction5766 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_71_in_ruleRelationMultiplicityEnum5814 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_72_in_ruleRelationMultiplicityEnum5829 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_73_in_ruleRelationMultiplicityEnum5844 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_74_in_ruleRelationMultiplicityEnum5859 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_75_in_ruleAccessPermissionEnum5902 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_76_in_ruleAccessPermissionEnum5917 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_77_in_ruleXRelationSideEnum5960 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_78_in_ruleXRelationSideEnum5975 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_79_in_ruleXRelationSideEnum5990 = new BitSet(new long[] {0x0000000000000002L}); + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXRelationSideEnum" + + // Delegated rules + + + + + public static final BitSet FOLLOW_ruleOseeDsl_in_entryRuleOseeDsl75 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOseeDsl85 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImport_in_ruleOseeDsl131 = new BitSet(new long[]{0x802240000080D002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXArtifactType_in_ruleOseeDsl154 = new BitSet(new long[]{0x802240000080C002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXRelationType_in_ruleOseeDsl181 = new BitSet(new long[]{0x802240000080C002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXAttributeType_in_ruleOseeDsl208 = new BitSet(new long[]{0x802240000080C002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXOseeEnumType_in_ruleOseeDsl235 = new BitSet(new long[]{0x802240000080C002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXOseeEnumOverride_in_ruleOseeDsl262 = new BitSet(new long[]{0x802240000080C002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXBranchRef_in_ruleOseeDsl286 = new BitSet(new long[]{0x8000000000000002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleXArtifactRef_in_ruleOseeDsl313 = new BitSet(new long[]{0x8000000000000002L,0x000000000000000CL}); + public static final BitSet FOLLOW_ruleAccessContext_in_ruleOseeDsl336 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000008L}); + public static final BitSet FOLLOW_ruleImport_in_entryRuleImport373 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImport383 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_12_in_ruleImport420 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleImport437 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_entryRuleATTRIBUTE_TYPE_REFERENCE481 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleATTRIBUTE_TYPE_REFERENCE492 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleATTRIBUTE_TYPE_REFERENCE531 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_entryRuleARTIFACT_TYPE_REFERENCE576 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleARTIFACT_TYPE_REFERENCE587 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleARTIFACT_TYPE_REFERENCE626 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_entryRuleRELATION_TYPE_REFERENCE671 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRELATION_TYPE_REFERENCE682 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleRELATION_TYPE_REFERENCE721 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_entryRuleENUM_TYPE_REFERENCE766 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleENUM_TYPE_REFERENCE777 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleENUM_TYPE_REFERENCE816 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_entryRuleENUM_ENTRY_TYPE_REFERENCE861 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleENUM_ENTRY_TYPE_REFERENCE872 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleENUM_ENTRY_TYPE_REFERENCE911 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_entryRuleQUALIFIED_NAME956 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleQUALIFIED_NAME967 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1007 = new BitSet(new long[]{0x0000000000002002L}); + public static final BitSet FOLLOW_13_in_ruleQUALIFIED_NAME1026 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1041 = new BitSet(new long[]{0x0000000000002002L}); + public static final BitSet FOLLOW_ruleOseeType_in_entryRuleOseeType1090 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOseeType1100 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXArtifactType_in_ruleOseeType1147 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXRelationType_in_ruleOseeType1174 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXAttributeType_in_ruleOseeType1201 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXOseeEnumType_in_ruleOseeType1228 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXArtifactType_in_entryRuleXArtifactType1263 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXArtifactType1273 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_14_in_ruleXArtifactType1316 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_in_ruleXArtifactType1342 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1363 = new BitSet(new long[]{0x0000000000050000L}); + public static final BitSet FOLLOW_16_in_ruleXArtifactType1376 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1399 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_17_in_ruleXArtifactType1412 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1435 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_18_in_ruleXArtifactType1451 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19_in_ruleXArtifactType1463 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXArtifactType1480 = new BitSet(new long[]{0x0000000000300000L}); + public static final BitSet FOLLOW_ruleXAttributeTypeRef_in_ruleXArtifactType1506 = new BitSet(new long[]{0x0000000000300000L}); + public static final BitSet FOLLOW_20_in_ruleXArtifactType1519 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXAttributeTypeRef_in_entryRuleXAttributeTypeRef1555 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXAttributeTypeRef1565 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_21_in_ruleXAttributeTypeRef1602 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeTypeRef1625 = new BitSet(new long[]{0x0000000000400002L}); + public static final BitSet FOLLOW_22_in_ruleXAttributeTypeRef1638 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeTypeRef1655 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXAttributeType_in_entryRuleXAttributeType1698 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXAttributeType1708 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_23_in_ruleXAttributeType1745 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1766 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleXAttributeType1779 = new BitSet(new long[]{0x00003FE000000020L}); + public static final BitSet FOLLOW_ruleAttributeBaseType_in_ruleXAttributeType1800 = new BitSet(new long[]{0x0000000001040000L}); + public static final BitSet FOLLOW_24_in_ruleXAttributeType1814 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1837 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleXAttributeType1851 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19_in_ruleXAttributeType1863 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType1880 = new BitSet(new long[]{0x0000000002000000L}); + public static final BitSet FOLLOW_25_in_ruleXAttributeType1897 = new BitSet(new long[]{0x00003FE00C000020L}); + public static final BitSet FOLLOW_26_in_ruleXAttributeType1917 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_27_in_ruleXAttributeType1946 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType1978 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_28_in_ruleXAttributeType1993 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType2010 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_29_in_ruleXAttributeType2027 = new BitSet(new long[]{0x0000000040000040L}); + public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXAttributeType2046 = new BitSet(new long[]{0x0000001E80100000L}); + public static final BitSet FOLLOW_30_in_ruleXAttributeType2067 = new BitSet(new long[]{0x0000001E80100000L}); + public static final BitSet FOLLOW_31_in_ruleXAttributeType2096 = new BitSet(new long[]{0x00003FE100000020L}); + public static final BitSet FOLLOW_32_in_ruleXAttributeType2116 = new BitSet(new long[]{0x0000001E00100000L}); + public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_ruleXAttributeType2148 = new BitSet(new long[]{0x0000001E00100000L}); + public static final BitSet FOLLOW_33_in_ruleXAttributeType2166 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXAttributeType2189 = new BitSet(new long[]{0x0000001C00100000L}); + public static final BitSet FOLLOW_34_in_ruleXAttributeType2204 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType2221 = new BitSet(new long[]{0x0000001800100000L}); + public static final BitSet FOLLOW_35_in_ruleXAttributeType2241 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType2258 = new BitSet(new long[]{0x0000001000100000L}); + public static final BitSet FOLLOW_36_in_ruleXAttributeType2278 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXAttributeType2295 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20_in_ruleXAttributeType2314 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttributeBaseType_in_entryRuleAttributeBaseType2351 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAttributeBaseType2362 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_37_in_ruleAttributeBaseType2400 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_38_in_ruleAttributeBaseType2419 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_39_in_ruleAttributeBaseType2438 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_40_in_ruleAttributeBaseType2457 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_41_in_ruleAttributeBaseType2476 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_42_in_ruleAttributeBaseType2495 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleAttributeBaseType2514 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_44_in_ruleAttributeBaseType2533 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_45_in_ruleAttributeBaseType2552 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleQUALIFIED_NAME_in_ruleAttributeBaseType2580 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXOseeEnumType_in_entryRuleXOseeEnumType2625 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXOseeEnumType2635 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_46_in_ruleXOseeEnumType2672 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumType2693 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleXOseeEnumType2705 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19_in_ruleXOseeEnumType2717 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXOseeEnumType2734 = new BitSet(new long[]{0x0000800000100000L}); + public static final BitSet FOLLOW_ruleXOseeEnumEntry_in_ruleXOseeEnumType2760 = new BitSet(new long[]{0x0000800000100000L}); + public static final BitSet FOLLOW_20_in_ruleXOseeEnumType2773 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXOseeEnumEntry_in_entryRuleXOseeEnumEntry2809 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXOseeEnumEntry2819 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_47_in_ruleXOseeEnumEntry2856 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleXOseeEnumEntry2877 = new BitSet(new long[]{0x0001000000000042L}); + public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleXOseeEnumEntry2894 = new BitSet(new long[]{0x0001000000000002L}); + public static final BitSet FOLLOW_48_in_ruleXOseeEnumEntry2913 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXOseeEnumEntry2930 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXOseeEnumOverride_in_entryRuleXOseeEnumOverride2973 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXOseeEnumOverride2983 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_49_in_ruleXOseeEnumOverride3020 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumOverride3043 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleXOseeEnumOverride3055 = new BitSet(new long[]{0x001C000000100000L}); + public static final BitSet FOLLOW_50_in_ruleXOseeEnumOverride3073 = new BitSet(new long[]{0x0018000000100000L}); + public static final BitSet FOLLOW_ruleOverrideOption_in_ruleXOseeEnumOverride3108 = new BitSet(new long[]{0x0018000000100000L}); + public static final BitSet FOLLOW_20_in_ruleXOseeEnumOverride3121 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleOverrideOption_in_entryRuleOverrideOption3157 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOverrideOption3167 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAddEnum_in_ruleOverrideOption3214 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRemoveEnum_in_ruleOverrideOption3241 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAddEnum_in_entryRuleAddEnum3276 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAddEnum3286 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_51_in_ruleAddEnum3323 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleAddEnum3344 = new BitSet(new long[]{0x0001000000000042L}); + public static final BitSet FOLLOW_RULE_WHOLE_NUM_STR_in_ruleAddEnum3361 = new BitSet(new long[]{0x0001000000000002L}); + public static final BitSet FOLLOW_48_in_ruleAddEnum3380 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleAddEnum3397 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRemoveEnum_in_entryRuleRemoveEnum3440 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRemoveEnum3450 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_52_in_ruleRemoveEnum3487 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleRemoveEnum3510 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXRelationType_in_entryRuleXRelationType3546 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXRelationType3556 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_53_in_ruleXRelationType3593 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleXRelationType3614 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleXRelationType3626 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19_in_ruleXRelationType3638 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXRelationType3655 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_54_in_ruleXRelationType3672 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXRelationType3689 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_55_in_ruleXRelationType3706 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3729 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_56_in_ruleXRelationType3741 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXRelationType3758 = new BitSet(new long[]{0x0200000000000000L}); + public static final BitSet FOLLOW_57_in_ruleXRelationType3775 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3798 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_58_in_ruleXRelationType3810 = new BitSet(new long[]{0x7000000000000020L}); + public static final BitSet FOLLOW_ruleRelationOrderType_in_ruleXRelationType3831 = new BitSet(new long[]{0x0800000000000000L}); + public static final BitSet FOLLOW_59_in_ruleXRelationType3843 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000780L}); + public static final BitSet FOLLOW_ruleRelationMultiplicityEnum_in_ruleXRelationType3864 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20_in_ruleXRelationType3876 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRelationOrderType_in_entryRuleRelationOrderType3913 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRelationOrderType3924 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleRelationOrderType3962 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_61_in_ruleRelationOrderType3981 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_62_in_ruleRelationOrderType4000 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleRelationOrderType4021 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_entryRuleARTIFACT_INSTANCE_REFERENCE4067 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleARTIFACT_INSTANCE_REFERENCE4078 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleARTIFACT_INSTANCE_REFERENCE4117 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXArtifactRef_in_entryRuleXArtifactRef4161 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXArtifactRef4171 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_63_in_ruleXArtifactRef4208 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleXArtifactRef4229 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); + public static final BitSet FOLLOW_64_in_ruleXArtifactRef4241 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXArtifactRef4258 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleXArtifactRef4275 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_entryRuleBRANCH_INSTANCE_REFERENCE4312 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBRANCH_INSTANCE_REFERENCE4323 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleBRANCH_INSTANCE_REFERENCE4362 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleXBranchRef_in_entryRuleXBranchRef4406 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleXBranchRef4416 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_66_in_ruleXBranchRef4453 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_ruleXBranchRef4474 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_22_in_ruleXBranchRef4486 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleXBranchRef4503 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleXBranchRef4520 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4557 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleACCESS_CONTEXT_TYPE_REFRENCE4568 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleACCESS_CONTEXT_TYPE_REFRENCE4607 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessContext_in_entryRuleAccessContext4651 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAccessContext4661 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_67_in_ruleAccessContext4698 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4719 = new BitSet(new long[]{0x0000000000050000L}); + public static final BitSet FOLLOW_16_in_ruleAccessContext4732 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4755 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_17_in_ruleAccessContext4768 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4791 = new BitSet(new long[]{0x0000000000060000L}); + public static final BitSet FOLLOW_18_in_ruleAccessContext4807 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19_in_ruleAccessContext4819 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleAccessContext4836 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleAccessContext4853 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001810L}); + public static final BitSet FOLLOW_ruleObjectRestriction_in_ruleAccessContext4875 = new BitSet(new long[]{0x0000000000100000L,0x0000000000001810L}); + public static final BitSet FOLLOW_ruleHierarchyRestriction_in_ruleAccessContext4902 = new BitSet(new long[]{0x0000000000100000L,0x0000000000001810L}); + public static final BitSet FOLLOW_20_in_ruleAccessContext4916 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHierarchyRestriction_in_entryRuleHierarchyRestriction4952 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleHierarchyRestriction4962 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_68_in_ruleHierarchyRestriction4999 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction5022 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleHierarchyRestriction5034 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001800L}); + public static final BitSet FOLLOW_ruleObjectRestriction_in_ruleHierarchyRestriction5055 = new BitSet(new long[]{0x0000000000100000L,0x0000000000001800L}); + public static final BitSet FOLLOW_20_in_ruleHierarchyRestriction5068 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction5104 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleObjectRestriction5114 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5161 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5188 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5215 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5242 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5277 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5287 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactInstanceRestriction5333 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleArtifactInstanceRestriction5345 = new BitSet(new long[]{0x8000000000000000L}); + public static final BitSet FOLLOW_63_in_ruleArtifactInstanceRestriction5357 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5380 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleArtifactInstanceRestriction5392 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5428 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5438 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactTypeRestriction5484 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleArtifactTypeRestriction5496 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_in_ruleArtifactTypeRestriction5508 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5531 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleArtifactTypeRestriction5543 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5579 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5589 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleAttributeTypeRestriction5635 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleAttributeTypeRestriction5647 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_23_in_ruleAttributeTypeRestriction5659 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5682 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000042L}); + public static final BitSet FOLLOW_70_in_ruleAttributeTypeRestriction5695 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_in_ruleAttributeTypeRestriction5707 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5730 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleAttributeTypeRestriction5744 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5780 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRelationTypeRestriction5790 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleRelationTypeRestriction5836 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleRelationTypeRestriction5848 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_53_in_ruleRelationTypeRestriction5860 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5883 = new BitSet(new long[]{0x0000000000000000L,0x000000000000E000L}); + public static final BitSet FOLLOW_ruleXRelationSideEnum_in_ruleRelationTypeRestriction5904 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleRelationTypeRestriction5916 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_71_in_ruleRelationMultiplicityEnum5966 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_72_in_ruleRelationMultiplicityEnum5983 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_73_in_ruleRelationMultiplicityEnum6000 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_74_in_ruleRelationMultiplicityEnum6017 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_75_in_ruleAccessPermissionEnum6062 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_76_in_ruleAccessPermissionEnum6079 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_77_in_ruleXRelationSideEnum6124 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_78_in_ruleXRelationSideEnum6141 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_79_in_ruleXRelationSideEnum6158 = new BitSet(new long[]{0x0000000000000002L}); }
\ 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/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 2e3bf8c2d11..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,103 +0,0 @@ -lexer grammar InternalOseeDsl; -@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; -} - -T12 : 'import' ; -T13 : '.' ; -T14 : 'abstract' ; -T15 : 'artifactType' ; -T16 : 'extends' ; -T17 : ',' ; -T18 : '{' ; -T19 : 'guid' ; -T20 : '}' ; -T21 : 'attribute' ; -T22 : 'branchGuid' ; -T23 : 'attributeType' ; -T24 : 'overrides' ; -T25 : 'dataProvider' ; -T26 : 'DefaultAttributeDataProvider' ; -T27 : 'UriAttributeDataProvider' ; -T28 : 'min' ; -T29 : 'max' ; -T30 : 'unlimited' ; -T31 : 'taggerId' ; -T32 : 'DefaultAttributeTaggerProvider' ; -T33 : 'enumType' ; -T34 : 'description' ; -T35 : 'defaultValue' ; -T36 : 'fileExtension' ; -T37 : 'BooleanAttribute' ; -T38 : 'CompressedContentAttribute' ; -T39 : 'DateAttribute' ; -T40 : 'EnumeratedAttribute' ; -T41 : 'FloatingPointAttribute' ; -T42 : 'IntegerAttribute' ; -T43 : 'JavaObjectAttribute' ; -T44 : 'StringAttribute' ; -T45 : 'WordAttribute' ; -T46 : 'oseeEnumType' ; -T47 : 'entry' ; -T48 : 'entryGuid' ; -T49 : 'overrides enum' ; -T50 : 'inheritAll' ; -T51 : 'add' ; -T52 : 'remove' ; -T53 : 'relationType' ; -T54 : 'sideAName' ; -T55 : 'sideAArtifactType' ; -T56 : 'sideBName' ; -T57 : 'sideBArtifactType' ; -T58 : 'defaultOrderType' ; -T59 : 'multiplicity' ; -T60 : 'Lexicographical_Ascending' ; -T61 : 'Lexicographical_Descending' ; -T62 : 'Unordered' ; -T63 : 'artifact' ; -T64 : 'artGuid' ; -T65 : ';' ; -T66 : 'branch' ; -T67 : 'accessContext' ; -T68 : 'childrenOf' ; -T69 : 'edit' ; -T70 : 'of' ; -T71 : 'ONE_TO_ONE' ; -T72 : 'ONE_TO_MANY' ; -T73 : 'MANY_TO_ONE' ; -T74 : 'MANY_TO_MANY' ; -T75 : 'ALLOW' ; -T76 : 'DENY' ; -T77 : 'SIDE_A' ; -T78 : 'SIDE_B' ; -T79 : 'BOTH' ; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3193 -RULE_WHOLE_NUM_STR : ('0'..'9')+; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3195 -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3197 -RULE_INT : ('0'..'9')+; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3199 -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3201 -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3203 -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3205 -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -// $ANTLR src "../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g" 3207 -RULE_ANY_OTHER : .; - - 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 index 763e8537bd4..0041cc826ac 100644 --- 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 @@ -1,3247 +1,2315 @@ /* - * generated by Xtext - */ +* generated by Xtext +*/ package org.eclipse.osee.framework.core.dsl.services; -import org.eclipse.xtext.Alternatives; -import org.eclipse.xtext.Assignment; -import org.eclipse.xtext.CrossReference; -import org.eclipse.xtext.EnumLiteralDeclaration; -import org.eclipse.xtext.EnumRule; -import org.eclipse.xtext.Grammar; -import org.eclipse.xtext.GrammarUtil; -import org.eclipse.xtext.Group; -import org.eclipse.xtext.Keyword; -import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.TerminalRule; -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; -import org.eclipse.xtext.service.GrammarProvider; -import com.google.inject.Inject; import com.google.inject.Singleton; +import com.google.inject.Inject; + +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(), "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 Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); + private final Assignment cBranchRefsAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); + private final RuleCall cBranchRefsXBranchRefParserRuleCall_2_0_0 = (RuleCall)cBranchRefsAssignment_2_0.eContents().get(0); + private final Assignment cArtifactRefsAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); + private final RuleCall cArtifactRefsXArtifactRefParserRuleCall_2_1_0 = (RuleCall)cArtifactRefsAssignment_2_1.eContents().get(0); + private final Assignment cAccessDeclarationsAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cAccessDeclarationsAccessContextParserRuleCall_3_0 = (RuleCall)cAccessDeclarationsAssignment_3.eContents().get(0); + + //OseeDsl: + // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | + // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* + // accessDeclarations+=AccessContext*; + public ParserRule getRule() { return rule; } + + //imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | + //enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* + //accessDeclarations+=AccessContext* + 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)* + 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; } + + //(branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //branchRefs+=XBranchRef + public Assignment getBranchRefsAssignment_2_0() { return cBranchRefsAssignment_2_0; } + + //XBranchRef + public RuleCall getBranchRefsXBranchRefParserRuleCall_2_0_0() { return cBranchRefsXBranchRefParserRuleCall_2_0_0; } + + //artifactRefs+=XArtifactRef + public Assignment getArtifactRefsAssignment_2_1() { return cArtifactRefsAssignment_2_1; } + + //XArtifactRef + public RuleCall getArtifactRefsXArtifactRefParserRuleCall_2_1_0() { return cArtifactRefsXArtifactRefParserRuleCall_2_1_0; } + + //accessDeclarations+=AccessContext* + public Assignment getAccessDeclarationsAssignment_3() { return cAccessDeclarationsAssignment_3; } + + //AccessContext + public RuleCall getAccessDeclarationsAccessContextParserRuleCall_3_0() { return cAccessDeclarationsAccessContextParserRuleCall_3_0; } + } + + public class ImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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; + 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 NAME_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NAME_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //NAME_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class ATTRIBUTE_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ATTRIBUTE_TYPE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //ATTRIBUTE_TYPE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class ARTIFACT_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ARTIFACT_TYPE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //ARTIFACT_TYPE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class RELATION_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RELATION_TYPE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //RELATION_TYPE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class ENUM_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ENUM_TYPE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //ENUM_TYPE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class ENUM_ENTRY_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ENUM_ENTRY_TYPE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //ENUM_ENTRY_TYPE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class QUALIFIED_NAMEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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)*; + 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(), "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; + 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(), "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; + 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(), "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 cNameARTIFACT_TYPE_REFERENCEParserRuleCall_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 cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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 cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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 cGuidKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cTypeGuidAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cTypeGuidSTRINGTerminalRuleCall_6_0 = (RuleCall)cTypeGuidAssignment_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=ARTIFACT_TYPE_REFERENCE ("extends" + // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," + // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING + // validAttributeTypes+=XAttributeTypeRef* "}"; + public ParserRule getRule() { return rule; } + + //abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" + //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," + //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING + //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=ARTIFACT_TYPE_REFERENCE + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0() { return cNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0; } + + //("extends" superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," + //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? + public Group getGroup_3() { return cGroup_3; } + + //"extends" + public Keyword getExtendsKeyword_3_0() { return cExtendsKeyword_3_0; } + + //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public Assignment getSuperArtifactTypesAssignment_3_1() { return cSuperArtifactTypesAssignment_3_1; } + + //[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public CrossReference getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0() { return cSuperArtifactTypesXArtifactTypeCrossReference_3_1_0; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_1_0_1() { return cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_1_0_1; } + + //("," superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])* + public Group getGroup_3_2() { return cGroup_3_2; } + + //"," + public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; } + + //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public Assignment getSuperArtifactTypesAssignment_3_2_1() { return cSuperArtifactTypesAssignment_3_2_1; } + + //[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public CrossReference getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0() { return cSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_2_1_0_1() { return cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_2_1_0_1; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } + + //"guid" + public Keyword getGuidKeyword_5() { return cGuidKeyword_5; } + + //typeGuid=STRING + public Assignment getTypeGuidAssignment_6() { return cTypeGuidAssignment_6; } + + //STRING + public RuleCall getTypeGuidSTRINGTerminalRuleCall_6_0() { return cTypeGuidSTRINGTerminalRuleCall_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(), "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 cValidAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1 = (RuleCall)cValidAttributeTypeXAttributeTypeCrossReference_1_0.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cBranchGuidKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cBranchGuidAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cBranchGuidSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cBranchGuidAssignment_2_1.eContents().get(0); + + //XAttributeTypeRef: + // "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)?; + public ParserRule getRule() { return rule; } + + //"attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)? + public Group getGroup() { return cGroup; } + + //"attribute" + public Keyword getAttributeKeyword_0() { return cAttributeKeyword_0; } + + //validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + public Assignment getValidAttributeTypeAssignment_1() { return cValidAttributeTypeAssignment_1; } + + //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + public CrossReference getValidAttributeTypeXAttributeTypeCrossReference_1_0() { return cValidAttributeTypeXAttributeTypeCrossReference_1_0; } + + //ATTRIBUTE_TYPE_REFERENCE + public RuleCall getValidAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1() { return cValidAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1; } + + //("branchGuid" branchGuid=STRING)? + public Group getGroup_2() { return cGroup_2; } + + //"branchGuid" + public Keyword getBranchGuidKeyword_2_0() { return cBranchGuidKeyword_2_0; } + + //branchGuid=STRING + public Assignment getBranchGuidAssignment_2_1() { return cBranchGuidAssignment_2_1; } + + //STRING + public RuleCall getBranchGuidSTRINGTerminalRuleCall_2_1_0() { return cBranchGuidSTRINGTerminalRuleCall_2_1_0; } + } + + public class XAttributeTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_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 cOverrideXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_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 cGuidKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Assignment cTypeGuidAssignment_6 = (Assignment)cGroup.eContents().get(6); + private final RuleCall cTypeGuidSTRINGTerminalRuleCall_6_0 = (RuleCall)cTypeGuidAssignment_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 Group cGroup_13 = (Group)cGroup.eContents().get(13); + private final Keyword cTaggerIdKeyword_13_0 = (Keyword)cGroup_13.eContents().get(0); + private final Assignment cTaggerIdAssignment_13_1 = (Assignment)cGroup_13.eContents().get(1); + private final Alternatives cTaggerIdAlternatives_13_1_0 = (Alternatives)cTaggerIdAssignment_13_1.eContents().get(0); + private final Keyword cTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0 = (Keyword)cTaggerIdAlternatives_13_1_0.eContents().get(0); + private final RuleCall cTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1 = (RuleCall)cTaggerIdAlternatives_13_1_0.eContents().get(1); + private final Group cGroup_14 = (Group)cGroup.eContents().get(14); + private final Keyword cEnumTypeKeyword_14_0 = (Keyword)cGroup_14.eContents().get(0); + private final Assignment cEnumTypeAssignment_14_1 = (Assignment)cGroup_14.eContents().get(1); + private final CrossReference cEnumTypeXOseeEnumTypeCrossReference_14_1_0 = (CrossReference)cEnumTypeAssignment_14_1.eContents().get(0); + private final RuleCall cEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_14_1_0_1 = (RuleCall)cEnumTypeXOseeEnumTypeCrossReference_14_1_0.eContents().get(1); + private final Group cGroup_15 = (Group)cGroup.eContents().get(15); + private final Keyword cDescriptionKeyword_15_0 = (Keyword)cGroup_15.eContents().get(0); + private final Assignment cDescriptionAssignment_15_1 = (Assignment)cGroup_15.eContents().get(1); + private final RuleCall cDescriptionSTRINGTerminalRuleCall_15_1_0 = (RuleCall)cDescriptionAssignment_15_1.eContents().get(0); + private final Group cGroup_16 = (Group)cGroup.eContents().get(16); + private final Keyword cDefaultValueKeyword_16_0 = (Keyword)cGroup_16.eContents().get(0); + private final Assignment cDefaultValueAssignment_16_1 = (Assignment)cGroup_16.eContents().get(1); + private final RuleCall cDefaultValueSTRINGTerminalRuleCall_16_1_0 = (RuleCall)cDefaultValueAssignment_16_1.eContents().get(0); + private final Group cGroup_17 = (Group)cGroup.eContents().get(17); + private final Keyword cFileExtensionKeyword_17_0 = (Keyword)cGroup_17.eContents().get(0); + private final Assignment cFileExtensionAssignment_17_1 = (Assignment)cGroup_17.eContents().get(1); + private final RuleCall cFileExtensionSTRINGTerminalRuleCall_17_1_0 = (RuleCall)cFileExtensionAssignment_17_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_18 = (Keyword)cGroup.eContents().get(18); + + //XAttributeType: + // "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" + // override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" + // defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}"; + public ParserRule getRule() { return rule; } + + //"attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" + //override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" + //defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}" + public Group getGroup() { return cGroup; } + + //"attributeType" + public Keyword getAttributeTypeKeyword_0() { return cAttributeTypeKeyword_0; } + + //name=ATTRIBUTE_TYPE_REFERENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ATTRIBUTE_TYPE_REFERENCE + public RuleCall getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0() { return cNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_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|ATTRIBUTE_TYPE_REFERENCE])? + public Group getGroup_3() { return cGroup_3; } + + //"overrides" + public Keyword getOverridesKeyword_3_0() { return cOverridesKeyword_3_0; } + + //override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + public Assignment getOverrideAssignment_3_1() { return cOverrideAssignment_3_1; } + + //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + public CrossReference getOverrideXAttributeTypeCrossReference_3_1_0() { return cOverrideXAttributeTypeCrossReference_3_1_0; } + + //ATTRIBUTE_TYPE_REFERENCE + public RuleCall getOverrideXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_1_0_1() { return cOverrideXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_1_0_1; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } + + //"guid" + public Keyword getGuidKeyword_5() { return cGuidKeyword_5; } + + //typeGuid=STRING + public Assignment getTypeGuidAssignment_6() { return cTypeGuidAssignment_6; } + + //STRING + public RuleCall getTypeGuidSTRINGTerminalRuleCall_6_0() { return cTypeGuidSTRINGTerminalRuleCall_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))? + public Group getGroup_13() { return cGroup_13; } + + //"taggerId" + public Keyword getTaggerIdKeyword_13_0() { return cTaggerIdKeyword_13_0; } + + //taggerId=("DefaultAttributeTaggerProvider" | QUALIFIED_NAME) + public Assignment getTaggerIdAssignment_13_1() { return cTaggerIdAssignment_13_1; } + + //"DefaultAttributeTaggerProvider" | QUALIFIED_NAME + public Alternatives getTaggerIdAlternatives_13_1_0() { return cTaggerIdAlternatives_13_1_0; } + + //"DefaultAttributeTaggerProvider" + public Keyword getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0() { return cTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0; } + + //QUALIFIED_NAME + public RuleCall getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1() { return cTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1; } + + //("enumType" enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE])? + public Group getGroup_14() { return cGroup_14; } + + //"enumType" + public Keyword getEnumTypeKeyword_14_0() { return cEnumTypeKeyword_14_0; } + + //enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] + public Assignment getEnumTypeAssignment_14_1() { return cEnumTypeAssignment_14_1; } + + //[XOseeEnumType|ENUM_TYPE_REFERENCE] + public CrossReference getEnumTypeXOseeEnumTypeCrossReference_14_1_0() { return cEnumTypeXOseeEnumTypeCrossReference_14_1_0; } + + //ENUM_TYPE_REFERENCE + public RuleCall getEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_14_1_0_1() { return cEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_14_1_0_1; } + + //("description" description=STRING)? + public Group getGroup_15() { return cGroup_15; } + + //"description" + public Keyword getDescriptionKeyword_15_0() { return cDescriptionKeyword_15_0; } + + //description=STRING + public Assignment getDescriptionAssignment_15_1() { return cDescriptionAssignment_15_1; } + + //STRING + public RuleCall getDescriptionSTRINGTerminalRuleCall_15_1_0() { return cDescriptionSTRINGTerminalRuleCall_15_1_0; } + + //("defaultValue" defaultValue=STRING)? + public Group getGroup_16() { return cGroup_16; } + + //"defaultValue" + public Keyword getDefaultValueKeyword_16_0() { return cDefaultValueKeyword_16_0; } + + //defaultValue=STRING + public Assignment getDefaultValueAssignment_16_1() { return cDefaultValueAssignment_16_1; } + + //STRING + public RuleCall getDefaultValueSTRINGTerminalRuleCall_16_1_0() { return cDefaultValueSTRINGTerminalRuleCall_16_1_0; } + + //("fileExtension" fileExtension=STRING)? + public Group getGroup_17() { return cGroup_17; } + + //"fileExtension" + public Keyword getFileExtensionKeyword_17_0() { return cFileExtensionKeyword_17_0; } + + //fileExtension=STRING + public Assignment getFileExtensionAssignment_17_1() { return cFileExtensionAssignment_17_1; } + + //STRING + public RuleCall getFileExtensionSTRINGTerminalRuleCall_17_1_0() { return cFileExtensionSTRINGTerminalRuleCall_17_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_18() { return cRightCurlyBracketKeyword_18; } + } + + public class AttributeBaseTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cJavaObjectAttributeKeyword_6 = (Keyword)cAlternatives.eContents().get(6); + private final Keyword cStringAttributeKeyword_7 = (Keyword)cAlternatives.eContents().get(7); + private final Keyword cWordAttributeKeyword_8 = (Keyword)cAlternatives.eContents().get(8); + private final RuleCall cQUALIFIED_NAMEParserRuleCall_9 = (RuleCall)cAlternatives.eContents().get(9); + + //AttributeBaseType: + // "BooleanAttribute" | "CompressedContentAttribute" | "DateAttribute" | "EnumeratedAttribute" | "FloatingPointAttribute" + // | "IntegerAttribute" | "JavaObjectAttribute" | "StringAttribute" | "WordAttribute" | QUALIFIED_NAME; + public ParserRule getRule() { return rule; } + + //"BooleanAttribute" | "CompressedContentAttribute" | "DateAttribute" | "EnumeratedAttribute" | "FloatingPointAttribute" | + //"IntegerAttribute" | "JavaObjectAttribute" | "StringAttribute" | "WordAttribute" | 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; } + + //"JavaObjectAttribute" + public Keyword getJavaObjectAttributeKeyword_6() { return cJavaObjectAttributeKeyword_6; } + + //"StringAttribute" + public Keyword getStringAttributeKeyword_7() { return cStringAttributeKeyword_7; } + + //"WordAttribute" + public Keyword getWordAttributeKeyword_8() { return cWordAttributeKeyword_8; } + + //QUALIFIED_NAME + public RuleCall getQUALIFIED_NAMEParserRuleCall_9() { return cQUALIFIED_NAMEParserRuleCall_9; } + } + + public class XOseeEnumTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameENUM_TYPE_REFERENCEParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cGuidKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cTypeGuidAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cTypeGuidSTRINGTerminalRuleCall_4_0 = (RuleCall)cTypeGuidAssignment_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=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}"; + public ParserRule getRule() { return rule; } + + //"oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}" + public Group getGroup() { return cGroup; } + + //"oseeEnumType" + public Keyword getOseeEnumTypeKeyword_0() { return cOseeEnumTypeKeyword_0; } + + //name=ENUM_TYPE_REFERENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ENUM_TYPE_REFERENCE + public RuleCall getNameENUM_TYPE_REFERENCEParserRuleCall_1_0() { return cNameENUM_TYPE_REFERENCEParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"guid" + public Keyword getGuidKeyword_3() { return cGuidKeyword_3; } + + //typeGuid=STRING + public Assignment getTypeGuidAssignment_4() { return cTypeGuidAssignment_4; } + + //STRING + public RuleCall getTypeGuidSTRINGTerminalRuleCall_4_0() { return cTypeGuidSTRINGTerminalRuleCall_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(), "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 cNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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 cEntryGuidKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cEntryGuidAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cEntryGuidSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cEntryGuidAssignment_3_1.eContents().get(0); + + //XOseeEnumEntry: + // "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; + public ParserRule getRule() { return rule; } + + //"entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? + public Group getGroup() { return cGroup; } + + //"entry" + public Keyword getEntryKeyword_0() { return cEntryKeyword_0; } + + //name=ENUM_ENTRY_TYPE_REFERENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ENUM_ENTRY_TYPE_REFERENCE + public RuleCall getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0() { return cNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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; } + + //("entryGuid" entryGuid=STRING)? + public Group getGroup_3() { return cGroup_3; } + + //"entryGuid" + public Keyword getEntryGuidKeyword_3_0() { return cEntryGuidKeyword_3_0; } + + //entryGuid=STRING + public Assignment getEntryGuidAssignment_3_1() { return cEntryGuidAssignment_3_1; } + + //STRING + public RuleCall getEntryGuidSTRINGTerminalRuleCall_3_1_0() { return cEntryGuidSTRINGTerminalRuleCall_3_1_0; } + } + + public class XOseeEnumOverrideElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cOverridenEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_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|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? + // overrideOptions+=OverrideOption* "}"; + public ParserRule getRule() { return rule; } + + //"overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? + //overrideOptions+=OverrideOption* "}" + public Group getGroup() { return cGroup; } + + //"overrides enum" + public Keyword getOverridesEnumKeyword_0() { return cOverridesEnumKeyword_0; } + + //overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] + public Assignment getOverridenEnumTypeAssignment_1() { return cOverridenEnumTypeAssignment_1; } + + //[XOseeEnumType|ENUM_TYPE_REFERENCE] + public CrossReference getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0() { return cOverridenEnumTypeXOseeEnumTypeCrossReference_1_0; } + + //ENUM_TYPE_REFERENCE + public RuleCall getOverridenEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_1_0_1() { return cOverridenEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_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(), "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; + 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(), "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 cEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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 cEntryGuidKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cEntryGuidAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cEntryGuidSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cEntryGuidAssignment_3_1.eContents().get(0); + + //AddEnum: + // "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; + public ParserRule getRule() { return rule; } + + //"add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? + public Group getGroup() { return cGroup; } + + //"add" + public Keyword getAddKeyword_0() { return cAddKeyword_0; } + + //enumEntry=ENUM_ENTRY_TYPE_REFERENCE + public Assignment getEnumEntryAssignment_1() { return cEnumEntryAssignment_1; } + + //ENUM_ENTRY_TYPE_REFERENCE + public RuleCall getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0() { return cEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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; } + + //("entryGuid" entryGuid=STRING)? + public Group getGroup_3() { return cGroup_3; } + + //"entryGuid" + public Keyword getEntryGuidKeyword_3_0() { return cEntryGuidKeyword_3_0; } + + //entryGuid=STRING + public Assignment getEntryGuidAssignment_3_1() { return cEntryGuidAssignment_3_1; } + + //STRING + public RuleCall getEntryGuidSTRINGTerminalRuleCall_3_1_0() { return cEntryGuidSTRINGTerminalRuleCall_3_1_0; } + } + + public class RemoveEnumElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cEnumEntryXOseeEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0_1 = (RuleCall)cEnumEntryXOseeEnumEntryCrossReference_1_0.eContents().get(1); + + //RemoveEnum: + // "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE]; + public ParserRule getRule() { return rule; } + + //"remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] + public Group getGroup() { return cGroup; } + + //"remove" + public Keyword getRemoveKeyword_0() { return cRemoveKeyword_0; } + + //enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] + public Assignment getEnumEntryAssignment_1() { return cEnumEntryAssignment_1; } + + //[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] + public CrossReference getEnumEntryXOseeEnumEntryCrossReference_1_0() { return cEnumEntryXOseeEnumEntryCrossReference_1_0; } + + //ENUM_ENTRY_TYPE_REFERENCE + public RuleCall getEnumEntryXOseeEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0_1() { return cEnumEntryXOseeEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0_1; } + } + + public class XRelationTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameRELATION_TYPE_REFERENCEParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cGuidKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cTypeGuidAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cTypeGuidSTRINGTerminalRuleCall_4_0 = (RuleCall)cTypeGuidAssignment_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 cSideAArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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 cSideBArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING + // "sideAArtifactType" sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING + // "sideBArtifactType" sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" + // defaultOrderType=RelationOrderType "multiplicity" multiplicity=RelationMultiplicityEnum "}"; + public ParserRule getRule() { return rule; } + + //"relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING "sideAArtifactType" + //sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING "sideBArtifactType" + //sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" defaultOrderType=RelationOrderType + //"multiplicity" multiplicity=RelationMultiplicityEnum "}" + public Group getGroup() { return cGroup; } + + //"relationType" + public Keyword getRelationTypeKeyword_0() { return cRelationTypeKeyword_0; } + + //name=RELATION_TYPE_REFERENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //RELATION_TYPE_REFERENCE + public RuleCall getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0() { return cNameRELATION_TYPE_REFERENCEParserRuleCall_1_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"guid" + public Keyword getGuidKeyword_3() { return cGuidKeyword_3; } + + //typeGuid=STRING + public Assignment getTypeGuidAssignment_4() { return cTypeGuidAssignment_4; } + + //STRING + public RuleCall getTypeGuidSTRINGTerminalRuleCall_4_0() { return cTypeGuidSTRINGTerminalRuleCall_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|ARTIFACT_TYPE_REFERENCE] + public Assignment getSideAArtifactTypeAssignment_8() { return cSideAArtifactTypeAssignment_8; } + + //[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public CrossReference getSideAArtifactTypeXArtifactTypeCrossReference_8_0() { return cSideAArtifactTypeXArtifactTypeCrossReference_8_0; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getSideAArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_8_0_1() { return cSideAArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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|ARTIFACT_TYPE_REFERENCE] + public Assignment getSideBArtifactTypeAssignment_12() { return cSideBArtifactTypeAssignment_12; } + + //[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public CrossReference getSideBArtifactTypeXArtifactTypeCrossReference_12_0() { return cSideBArtifactTypeXArtifactTypeCrossReference_12_0; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getSideBArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_12_0_1() { return cSideBArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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(), "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; + 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 ARTIFACT_INSTANCE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ARTIFACT_INSTANCE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + ///////////////////////////////////////// + //// OSEE ARTIFACT INSTANCE REFERENCE // + ///////////////////////////////////////// + //ARTIFACT_INSTANCE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class XArtifactRefElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "XArtifactRef"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cArtifactKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cArtGuidKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cGuidAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cGuidSTRINGTerminalRuleCall_3_0 = (RuleCall)cGuidAssignment_3.eContents().get(0); + private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //XArtifactRef: + // "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";"; + public ParserRule getRule() { return rule; } + + //"artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";" + public Group getGroup() { return cGroup; } + + //"artifact" + public Keyword getArtifactKeyword_0() { return cArtifactKeyword_0; } + + //name=ARTIFACT_INSTANCE_REFERENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ARTIFACT_INSTANCE_REFERENCE + public RuleCall getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0() { return cNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0; } + + //"artGuid" + public Keyword getArtGuidKeyword_2() { return cArtGuidKeyword_2; } + + //guid=STRING + public Assignment getGuidAssignment_3() { return cGuidAssignment_3; } + + //STRING + public RuleCall getGuidSTRINGTerminalRuleCall_3_0() { return cGuidSTRINGTerminalRuleCall_3_0; } + + //";" + public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } + } + + public class BRANCH_INSTANCE_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BRANCH_INSTANCE_REFERENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //BRANCH_INSTANCE_REFERENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class XBranchRefElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "XBranchRef"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cBranchKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cBranchGuidKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cGuidAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cGuidSTRINGTerminalRuleCall_3_0 = (RuleCall)cGuidAssignment_3.eContents().get(0); + private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //XBranchRef: + // "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";"; + public ParserRule getRule() { return rule; } + + //"branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";" + public Group getGroup() { return cGroup; } + + //"branch" + public Keyword getBranchKeyword_0() { return cBranchKeyword_0; } + + //name=BRANCH_INSTANCE_REFERENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //BRANCH_INSTANCE_REFERENCE + public RuleCall getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0() { return cNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0; } + + //"branchGuid" + public Keyword getBranchGuidKeyword_2() { return cBranchGuidKeyword_2; } + + //guid=STRING + public Assignment getGuidAssignment_3() { return cGuidAssignment_3; } + + //STRING + public RuleCall getGuidSTRINGTerminalRuleCall_3_0() { return cGuidSTRINGTerminalRuleCall_3_0; } + + //";" + public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } + } + + public class ACCESS_CONTEXT_TYPE_REFRENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ACCESS_CONTEXT_TYPE_REFRENCE"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + ///////////////////////////////////////// + //// OSEE ACCESS MODEL // + ///////////////////////////////////////// + //ACCESS_CONTEXT_TYPE_REFRENCE: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class AccessContextElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_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 cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_1_0_1 = (RuleCall)cSuperAccessContextsAccessContextCrossReference_2_1_0.eContents().get(1); + private final Group cGroup_2_2 = (Group)cGroup_2.eContents().get(2); + private final Keyword cCommaKeyword_2_2_0 = (Keyword)cGroup_2_2.eContents().get(0); + private final Assignment cSuperAccessContextsAssignment_2_2_1 = (Assignment)cGroup_2_2.eContents().get(1); + private final CrossReference cSuperAccessContextsAccessContextCrossReference_2_2_1_0 = (CrossReference)cSuperAccessContextsAssignment_2_2_1.eContents().get(0); + private final RuleCall cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_2_1_0_1 = (RuleCall)cSuperAccessContextsAccessContextCrossReference_2_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=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" + // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," + // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" + // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}"; + public ParserRule getRule() { return rule; } + + //"accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" + //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," + //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" + //(accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}" + public Group getGroup() { return cGroup; } + + //"accessContext" + public Keyword getAccessContextKeyword_0() { return cAccessContextKeyword_0; } + + //name=ACCESS_CONTEXT_TYPE_REFRENCE + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ACCESS_CONTEXT_TYPE_REFRENCE + public RuleCall getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0() { return cNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0; } + + //("extends" superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," + //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? + public Group getGroup_2() { return cGroup_2; } + + //"extends" + public Keyword getExtendsKeyword_2_0() { return cExtendsKeyword_2_0; } + + //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] + public Assignment getSuperAccessContextsAssignment_2_1() { return cSuperAccessContextsAssignment_2_1; } + + //[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] + public CrossReference getSuperAccessContextsAccessContextCrossReference_2_1_0() { return cSuperAccessContextsAccessContextCrossReference_2_1_0; } + + //ACCESS_CONTEXT_TYPE_REFRENCE + public RuleCall getSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_1_0_1() { return cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_1_0_1; } + + //("," superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])* + public Group getGroup_2_2() { return cGroup_2_2; } + + //"," + public Keyword getCommaKeyword_2_2_0() { return cCommaKeyword_2_2_0; } + + //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] + public Assignment getSuperAccessContextsAssignment_2_2_1() { return cSuperAccessContextsAssignment_2_2_1; } + + //[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] + public CrossReference getSuperAccessContextsAccessContextCrossReference_2_2_1_0() { return cSuperAccessContextsAccessContextCrossReference_2_2_1_0; } + + //ACCESS_CONTEXT_TYPE_REFRENCE + public RuleCall getSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_2_1_0_1() { return cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_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(), "HierarchyRestriction"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cChildrenOfKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cArtifactAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cArtifactXArtifactRefCrossReference_1_0 = (CrossReference)cArtifactAssignment_1.eContents().get(0); + private final RuleCall cArtifactXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1 = (RuleCall)cArtifactXArtifactRefCrossReference_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" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}"; + public ParserRule getRule() { return rule; } + + //"childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}" + public Group getGroup() { return cGroup; } + + //"childrenOf" + public Keyword getChildrenOfKeyword_0() { return cChildrenOfKeyword_0; } + + //artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] + public Assignment getArtifactAssignment_1() { return cArtifactAssignment_1; } + + //[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] + public CrossReference getArtifactXArtifactRefCrossReference_1_0() { return cArtifactXArtifactRefCrossReference_1_0; } + + //ARTIFACT_INSTANCE_REFERENCE + public RuleCall getArtifactXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1() { return cArtifactXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_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 ObjectRestrictionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ObjectRestriction"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cArtifactInstanceRestrictionParserRuleCall_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: + // ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; + public ParserRule getRule() { return rule; } - public class OseeDslElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 Alternatives cAlternatives_2 = (Alternatives) cGroup.eContents().get(2); - private final Assignment cBranchRefsAssignment_2_0 = (Assignment) cAlternatives_2.eContents().get(0); - private final RuleCall cBranchRefsXBranchRefParserRuleCall_2_0_0 = - (RuleCall) cBranchRefsAssignment_2_0.eContents().get(0); - private final Assignment cArtifactRefsAssignment_2_1 = (Assignment) cAlternatives_2.eContents().get(1); - private final RuleCall cArtifactRefsXArtifactRefParserRuleCall_2_1_0 = - (RuleCall) cArtifactRefsAssignment_2_1.eContents().get(0); - private final Assignment cAccessDeclarationsAssignment_3 = (Assignment) cGroup.eContents().get(3); - private final RuleCall cAccessDeclarationsAccessContextParserRuleCall_3_0 = - (RuleCall) cAccessDeclarationsAssignment_3.eContents().get(0); - - //OseeDsl: - // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - // accessDeclarations+=AccessContext*; - @Override - public ParserRule getRule() { - return rule; - } - - //imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - //enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - //accessDeclarations+=AccessContext* - 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)* - 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; - } - - //(branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - public Alternatives getAlternatives_2() { - return cAlternatives_2; - } - - //branchRefs+=XBranchRef - public Assignment getBranchRefsAssignment_2_0() { - return cBranchRefsAssignment_2_0; - } - - //XBranchRef - public RuleCall getBranchRefsXBranchRefParserRuleCall_2_0_0() { - return cBranchRefsXBranchRefParserRuleCall_2_0_0; - } - - //artifactRefs+=XArtifactRef - public Assignment getArtifactRefsAssignment_2_1() { - return cArtifactRefsAssignment_2_1; - } - - //XArtifactRef - public RuleCall getArtifactRefsXArtifactRefParserRuleCall_2_1_0() { - return cArtifactRefsXArtifactRefParserRuleCall_2_1_0; - } - - //accessDeclarations+=AccessContext* - public Assignment getAccessDeclarationsAssignment_3() { - return cAccessDeclarationsAssignment_3; - } - - //AccessContext - public RuleCall getAccessDeclarationsAccessContextParserRuleCall_3_0() { - return cAccessDeclarationsAccessContextParserRuleCall_3_0; - } - } - - public class ImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 NAME_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NAME_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //NAME_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class ATTRIBUTE_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = - (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ATTRIBUTE_TYPE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //ATTRIBUTE_TYPE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class ARTIFACT_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ARTIFACT_TYPE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //ARTIFACT_TYPE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class RELATION_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RELATION_TYPE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //RELATION_TYPE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class ENUM_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ENUM_TYPE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //ENUM_TYPE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class ENUM_ENTRY_TYPE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), - "ENUM_ENTRY_TYPE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //ENUM_ENTRY_TYPE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class QUALIFIED_NAMEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 returns ecore::EString: - // 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(), "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(), "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(), "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 cNameARTIFACT_TYPE_REFERENCEParserRuleCall_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 cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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 cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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 cGuidKeyword_5 = (Keyword) cGroup.eContents().get(5); - private final Assignment cTypeGuidAssignment_6 = (Assignment) cGroup.eContents().get(6); - private final RuleCall cTypeGuidSTRINGTerminalRuleCall_6_0 = (RuleCall) cTypeGuidAssignment_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=ARTIFACT_TYPE_REFERENCE ("extends" - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING - // validAttributeTypes+=XAttributeTypeRef* "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" - //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING - //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=ARTIFACT_TYPE_REFERENCE - public Assignment getNameAssignment_2() { - return cNameAssignment_2; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0() { - return cNameARTIFACT_TYPE_REFERENCEParserRuleCall_2_0; - } - - //("extends" superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? - public Group getGroup_3() { - return cGroup_3; - } - - //"extends" - public Keyword getExtendsKeyword_3_0() { - return cExtendsKeyword_3_0; - } - - //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public Assignment getSuperArtifactTypesAssignment_3_1() { - return cSuperArtifactTypesAssignment_3_1; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0() { - return cSuperArtifactTypesXArtifactTypeCrossReference_3_1_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_1_0_1() { - return cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_1_0_1; - } - - //("," superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])* - public Group getGroup_3_2() { - return cGroup_3_2; - } - - //"," - public Keyword getCommaKeyword_3_2_0() { - return cCommaKeyword_3_2_0; - } - - //superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public Assignment getSuperArtifactTypesAssignment_3_2_1() { - return cSuperArtifactTypesAssignment_3_2_1; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0() { - return cSuperArtifactTypesXArtifactTypeCrossReference_3_2_1_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_2_1_0_1() { - return cSuperArtifactTypesXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_2_1_0_1; - } - - //"{" - public Keyword getLeftCurlyBracketKeyword_4() { - return cLeftCurlyBracketKeyword_4; - } - - //"guid" - public Keyword getGuidKeyword_5() { - return cGuidKeyword_5; - } - - //typeGuid=STRING - public Assignment getTypeGuidAssignment_6() { - return cTypeGuidAssignment_6; - } - - //STRING - public RuleCall getTypeGuidSTRINGTerminalRuleCall_6_0() { - return cTypeGuidSTRINGTerminalRuleCall_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(), "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 cValidAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cValidAttributeTypeXAttributeTypeCrossReference_1_0.eContents().get(1); - private final Group cGroup_2 = (Group) cGroup.eContents().get(2); - private final Keyword cBranchGuidKeyword_2_0 = (Keyword) cGroup_2.eContents().get(0); - private final Assignment cBranchGuidAssignment_2_1 = (Assignment) cGroup_2.eContents().get(1); - private final RuleCall cBranchGuidSTRINGTerminalRuleCall_2_1_0 = - (RuleCall) cBranchGuidAssignment_2_1.eContents().get(0); - - //XAttributeTypeRef: - // "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)?; - @Override - public ParserRule getRule() { - return rule; - } - - //"attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)? - public Group getGroup() { - return cGroup; - } - - //"attribute" - public Keyword getAttributeKeyword_0() { - return cAttributeKeyword_0; - } - - //validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public Assignment getValidAttributeTypeAssignment_1() { - return cValidAttributeTypeAssignment_1; - } - - //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public CrossReference getValidAttributeTypeXAttributeTypeCrossReference_1_0() { - return cValidAttributeTypeXAttributeTypeCrossReference_1_0; - } - - //ATTRIBUTE_TYPE_REFERENCE - public RuleCall getValidAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cValidAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1; - } - - //("branchGuid" branchGuid=STRING)? - public Group getGroup_2() { - return cGroup_2; - } - - //"branchGuid" - public Keyword getBranchGuidKeyword_2_0() { - return cBranchGuidKeyword_2_0; - } - - //branchGuid=STRING - public Assignment getBranchGuidAssignment_2_1() { - return cBranchGuidAssignment_2_1; - } - - //STRING - public RuleCall getBranchGuidSTRINGTerminalRuleCall_2_1_0() { - return cBranchGuidSTRINGTerminalRuleCall_2_1_0; - } - } - - public class XAttributeTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_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 cOverrideXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_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 cGuidKeyword_5 = (Keyword) cGroup.eContents().get(5); - private final Assignment cTypeGuidAssignment_6 = (Assignment) cGroup.eContents().get(6); - private final RuleCall cTypeGuidSTRINGTerminalRuleCall_6_0 = (RuleCall) cTypeGuidAssignment_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 Group cGroup_13 = (Group) cGroup.eContents().get(13); - private final Keyword cTaggerIdKeyword_13_0 = (Keyword) cGroup_13.eContents().get(0); - private final Assignment cTaggerIdAssignment_13_1 = (Assignment) cGroup_13.eContents().get(1); - private final Alternatives cTaggerIdAlternatives_13_1_0 = - (Alternatives) cTaggerIdAssignment_13_1.eContents().get(0); - private final Keyword cTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0 = - (Keyword) cTaggerIdAlternatives_13_1_0.eContents().get(0); - private final RuleCall cTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1 = - (RuleCall) cTaggerIdAlternatives_13_1_0.eContents().get(1); - private final Group cGroup_14 = (Group) cGroup.eContents().get(14); - private final Keyword cEnumTypeKeyword_14_0 = (Keyword) cGroup_14.eContents().get(0); - private final Assignment cEnumTypeAssignment_14_1 = (Assignment) cGroup_14.eContents().get(1); - private final CrossReference cEnumTypeXOseeEnumTypeCrossReference_14_1_0 = - (CrossReference) cEnumTypeAssignment_14_1.eContents().get(0); - private final RuleCall cEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_14_1_0_1 = - (RuleCall) cEnumTypeXOseeEnumTypeCrossReference_14_1_0.eContents().get(1); - private final Group cGroup_15 = (Group) cGroup.eContents().get(15); - private final Keyword cDescriptionKeyword_15_0 = (Keyword) cGroup_15.eContents().get(0); - private final Assignment cDescriptionAssignment_15_1 = (Assignment) cGroup_15.eContents().get(1); - private final RuleCall cDescriptionSTRINGTerminalRuleCall_15_1_0 = - (RuleCall) cDescriptionAssignment_15_1.eContents().get(0); - private final Group cGroup_16 = (Group) cGroup.eContents().get(16); - private final Keyword cDefaultValueKeyword_16_0 = (Keyword) cGroup_16.eContents().get(0); - private final Assignment cDefaultValueAssignment_16_1 = (Assignment) cGroup_16.eContents().get(1); - private final RuleCall cDefaultValueSTRINGTerminalRuleCall_16_1_0 = - (RuleCall) cDefaultValueAssignment_16_1.eContents().get(0); - private final Group cGroup_17 = (Group) cGroup.eContents().get(17); - private final Keyword cFileExtensionKeyword_17_0 = (Keyword) cGroup_17.eContents().get(0); - private final Assignment cFileExtensionAssignment_17_1 = (Assignment) cGroup_17.eContents().get(1); - private final RuleCall cFileExtensionSTRINGTerminalRuleCall_17_1_0 = - (RuleCall) cFileExtensionAssignment_17_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_18 = (Keyword) cGroup.eContents().get(18); - - //XAttributeType: - // "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" - // override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" - // defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" - //override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" - //defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}" - public Group getGroup() { - return cGroup; - } - - //"attributeType" - public Keyword getAttributeTypeKeyword_0() { - return cAttributeTypeKeyword_0; - } - - //name=ATTRIBUTE_TYPE_REFERENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //ATTRIBUTE_TYPE_REFERENCE - public RuleCall getNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0() { - return cNameATTRIBUTE_TYPE_REFERENCEParserRuleCall_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|ATTRIBUTE_TYPE_REFERENCE])? - public Group getGroup_3() { - return cGroup_3; - } - - //"overrides" - public Keyword getOverridesKeyword_3_0() { - return cOverridesKeyword_3_0; - } - - //override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public Assignment getOverrideAssignment_3_1() { - return cOverrideAssignment_3_1; - } - - //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public CrossReference getOverrideXAttributeTypeCrossReference_3_1_0() { - return cOverrideXAttributeTypeCrossReference_3_1_0; - } - - //ATTRIBUTE_TYPE_REFERENCE - public RuleCall getOverrideXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_1_0_1() { - return cOverrideXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_1_0_1; - } - - //"{" - public Keyword getLeftCurlyBracketKeyword_4() { - return cLeftCurlyBracketKeyword_4; - } - - //"guid" - public Keyword getGuidKeyword_5() { - return cGuidKeyword_5; - } - - //typeGuid=STRING - public Assignment getTypeGuidAssignment_6() { - return cTypeGuidAssignment_6; - } - - //STRING - public RuleCall getTypeGuidSTRINGTerminalRuleCall_6_0() { - return cTypeGuidSTRINGTerminalRuleCall_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))? - public Group getGroup_13() { - return cGroup_13; - } - - //"taggerId" - public Keyword getTaggerIdKeyword_13_0() { - return cTaggerIdKeyword_13_0; - } - - //taggerId=("DefaultAttributeTaggerProvider" | QUALIFIED_NAME) - public Assignment getTaggerIdAssignment_13_1() { - return cTaggerIdAssignment_13_1; - } - - //"DefaultAttributeTaggerProvider" | QUALIFIED_NAME - public Alternatives getTaggerIdAlternatives_13_1_0() { - return cTaggerIdAlternatives_13_1_0; - } - - //"DefaultAttributeTaggerProvider" - public Keyword getTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0() { - return cTaggerIdDefaultAttributeTaggerProviderKeyword_13_1_0_0; - } - - //QUALIFIED_NAME - public RuleCall getTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1() { - return cTaggerIdQUALIFIED_NAMEParserRuleCall_13_1_0_1; - } - - //("enumType" enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE])? - public Group getGroup_14() { - return cGroup_14; - } - - //"enumType" - public Keyword getEnumTypeKeyword_14_0() { - return cEnumTypeKeyword_14_0; - } - - //enumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] - public Assignment getEnumTypeAssignment_14_1() { - return cEnumTypeAssignment_14_1; - } - - //[XOseeEnumType|ENUM_TYPE_REFERENCE] - public CrossReference getEnumTypeXOseeEnumTypeCrossReference_14_1_0() { - return cEnumTypeXOseeEnumTypeCrossReference_14_1_0; - } - - //ENUM_TYPE_REFERENCE - public RuleCall getEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_14_1_0_1() { - return cEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_14_1_0_1; - } - - //("description" description=STRING)? - public Group getGroup_15() { - return cGroup_15; - } - - //"description" - public Keyword getDescriptionKeyword_15_0() { - return cDescriptionKeyword_15_0; - } - - //description=STRING - public Assignment getDescriptionAssignment_15_1() { - return cDescriptionAssignment_15_1; - } - - //STRING - public RuleCall getDescriptionSTRINGTerminalRuleCall_15_1_0() { - return cDescriptionSTRINGTerminalRuleCall_15_1_0; - } - - //("defaultValue" defaultValue=STRING)? - public Group getGroup_16() { - return cGroup_16; - } - - //"defaultValue" - public Keyword getDefaultValueKeyword_16_0() { - return cDefaultValueKeyword_16_0; - } - - //defaultValue=STRING - public Assignment getDefaultValueAssignment_16_1() { - return cDefaultValueAssignment_16_1; - } - - //STRING - public RuleCall getDefaultValueSTRINGTerminalRuleCall_16_1_0() { - return cDefaultValueSTRINGTerminalRuleCall_16_1_0; - } - - //("fileExtension" fileExtension=STRING)? - public Group getGroup_17() { - return cGroup_17; - } - - //"fileExtension" - public Keyword getFileExtensionKeyword_17_0() { - return cFileExtensionKeyword_17_0; - } - - //fileExtension=STRING - public Assignment getFileExtensionAssignment_17_1() { - return cFileExtensionAssignment_17_1; - } - - //STRING - public RuleCall getFileExtensionSTRINGTerminalRuleCall_17_1_0() { - return cFileExtensionSTRINGTerminalRuleCall_17_1_0; - } - - //"}" - public Keyword getRightCurlyBracketKeyword_18() { - return cRightCurlyBracketKeyword_18; - } - } - - public class AttributeBaseTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cJavaObjectAttributeKeyword_6 = (Keyword) cAlternatives.eContents().get(6); - private final Keyword cStringAttributeKeyword_7 = (Keyword) cAlternatives.eContents().get(7); - private final Keyword cWordAttributeKeyword_8 = (Keyword) cAlternatives.eContents().get(8); - private final RuleCall cQUALIFIED_NAMEParserRuleCall_9 = (RuleCall) cAlternatives.eContents().get(9); - - //AttributeBaseType returns ecore::EString: - // "BooleanAttribute" | "CompressedContentAttribute" | "DateAttribute" | "EnumeratedAttribute" | "FloatingPointAttribute" - // | "IntegerAttribute" | "JavaObjectAttribute" | "StringAttribute" | "WordAttribute" | QUALIFIED_NAME; - @Override - public ParserRule getRule() { - return rule; - } - - //"BooleanAttribute" | "CompressedContentAttribute" | "DateAttribute" | "EnumeratedAttribute" | "FloatingPointAttribute" | - //"IntegerAttribute" | "JavaObjectAttribute" | "StringAttribute" | "WordAttribute" | 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; - } - - //"JavaObjectAttribute" - public Keyword getJavaObjectAttributeKeyword_6() { - return cJavaObjectAttributeKeyword_6; - } - - //"StringAttribute" - public Keyword getStringAttributeKeyword_7() { - return cStringAttributeKeyword_7; - } - - //"WordAttribute" - public Keyword getWordAttributeKeyword_8() { - return cWordAttributeKeyword_8; - } - - //QUALIFIED_NAME - public RuleCall getQUALIFIED_NAMEParserRuleCall_9() { - return cQUALIFIED_NAMEParserRuleCall_9; - } - } - - public class XOseeEnumTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameENUM_TYPE_REFERENCEParserRuleCall_1_0 = (RuleCall) cNameAssignment_1.eContents().get( - 0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword) cGroup.eContents().get(2); - private final Keyword cGuidKeyword_3 = (Keyword) cGroup.eContents().get(3); - private final Assignment cTypeGuidAssignment_4 = (Assignment) cGroup.eContents().get(4); - private final RuleCall cTypeGuidSTRINGTerminalRuleCall_4_0 = (RuleCall) cTypeGuidAssignment_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=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}" - public Group getGroup() { - return cGroup; - } - - //"oseeEnumType" - public Keyword getOseeEnumTypeKeyword_0() { - return cOseeEnumTypeKeyword_0; - } - - //name=ENUM_TYPE_REFERENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //ENUM_TYPE_REFERENCE - public RuleCall getNameENUM_TYPE_REFERENCEParserRuleCall_1_0() { - return cNameENUM_TYPE_REFERENCEParserRuleCall_1_0; - } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { - return cLeftCurlyBracketKeyword_2; - } - - //"guid" - public Keyword getGuidKeyword_3() { - return cGuidKeyword_3; - } - - //typeGuid=STRING - public Assignment getTypeGuidAssignment_4() { - return cTypeGuidAssignment_4; - } - - //STRING - public RuleCall getTypeGuidSTRINGTerminalRuleCall_4_0() { - return cTypeGuidSTRINGTerminalRuleCall_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(), "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 cNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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 cEntryGuidKeyword_3_0 = (Keyword) cGroup_3.eContents().get(0); - private final Assignment cEntryGuidAssignment_3_1 = (Assignment) cGroup_3.eContents().get(1); - private final RuleCall cEntryGuidSTRINGTerminalRuleCall_3_1_0 = - (RuleCall) cEntryGuidAssignment_3_1.eContents().get(0); - - //XOseeEnumEntry: - // "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; - @Override - public ParserRule getRule() { - return rule; - } - - //"entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? - public Group getGroup() { - return cGroup; - } - - //"entry" - public Keyword getEntryKeyword_0() { - return cEntryKeyword_0; - } - - //name=ENUM_ENTRY_TYPE_REFERENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //ENUM_ENTRY_TYPE_REFERENCE - public RuleCall getNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0() { - return cNameENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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; - } - - //("entryGuid" entryGuid=STRING)? - public Group getGroup_3() { - return cGroup_3; - } - - //"entryGuid" - public Keyword getEntryGuidKeyword_3_0() { - return cEntryGuidKeyword_3_0; - } - - //entryGuid=STRING - public Assignment getEntryGuidAssignment_3_1() { - return cEntryGuidAssignment_3_1; - } - - //STRING - public RuleCall getEntryGuidSTRINGTerminalRuleCall_3_1_0() { - return cEntryGuidSTRINGTerminalRuleCall_3_1_0; - } - } - - public class XOseeEnumOverrideElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cOverridenEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_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|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? - // overrideOptions+=OverrideOption* "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? - //overrideOptions+=OverrideOption* "}" - public Group getGroup() { - return cGroup; - } - - //"overrides enum" - public Keyword getOverridesEnumKeyword_0() { - return cOverridesEnumKeyword_0; - } - - //overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] - public Assignment getOverridenEnumTypeAssignment_1() { - return cOverridenEnumTypeAssignment_1; - } - - //[XOseeEnumType|ENUM_TYPE_REFERENCE] - public CrossReference getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0() { - return cOverridenEnumTypeXOseeEnumTypeCrossReference_1_0; - } - - //ENUM_TYPE_REFERENCE - public RuleCall getOverridenEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cOverridenEnumTypeXOseeEnumTypeENUM_TYPE_REFERENCEParserRuleCall_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(), "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(), "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 cEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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 cEntryGuidKeyword_3_0 = (Keyword) cGroup_3.eContents().get(0); - private final Assignment cEntryGuidAssignment_3_1 = (Assignment) cGroup_3.eContents().get(1); - private final RuleCall cEntryGuidSTRINGTerminalRuleCall_3_1_0 = - (RuleCall) cEntryGuidAssignment_3_1.eContents().get(0); - - //AddEnum: - // "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; - @Override - public ParserRule getRule() { - return rule; - } - - //"add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)? - public Group getGroup() { - return cGroup; - } - - //"add" - public Keyword getAddKeyword_0() { - return cAddKeyword_0; - } - - //enumEntry=ENUM_ENTRY_TYPE_REFERENCE - public Assignment getEnumEntryAssignment_1() { - return cEnumEntryAssignment_1; - } - - //ENUM_ENTRY_TYPE_REFERENCE - public RuleCall getEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0() { - return cEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_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; - } - - //("entryGuid" entryGuid=STRING)? - public Group getGroup_3() { - return cGroup_3; - } - - //"entryGuid" - public Keyword getEntryGuidKeyword_3_0() { - return cEntryGuidKeyword_3_0; - } - - //entryGuid=STRING - public Assignment getEntryGuidAssignment_3_1() { - return cEntryGuidAssignment_3_1; - } - - //STRING - public RuleCall getEntryGuidSTRINGTerminalRuleCall_3_1_0() { - return cEntryGuidSTRINGTerminalRuleCall_3_1_0; - } - } - - public class RemoveEnumElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cEnumEntryXOseeEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cEnumEntryXOseeEnumEntryCrossReference_1_0.eContents().get(1); - - //RemoveEnum: - // "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE]; - @Override - public ParserRule getRule() { - return rule; - } - - //"remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] - public Group getGroup() { - return cGroup; - } - - //"remove" - public Keyword getRemoveKeyword_0() { - return cRemoveKeyword_0; - } - - //enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] - public Assignment getEnumEntryAssignment_1() { - return cEnumEntryAssignment_1; - } - - //[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE] - public CrossReference getEnumEntryXOseeEnumEntryCrossReference_1_0() { - return cEnumEntryXOseeEnumEntryCrossReference_1_0; - } - - //ENUM_ENTRY_TYPE_REFERENCE - public RuleCall getEnumEntryXOseeEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cEnumEntryXOseeEnumEntryENUM_ENTRY_TYPE_REFERENCEParserRuleCall_1_0_1; - } - } - - public class XRelationTypeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameRELATION_TYPE_REFERENCEParserRuleCall_1_0 = - (RuleCall) cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword) cGroup.eContents().get(2); - private final Keyword cGuidKeyword_3 = (Keyword) cGroup.eContents().get(3); - private final Assignment cTypeGuidAssignment_4 = (Assignment) cGroup.eContents().get(4); - private final RuleCall cTypeGuidSTRINGTerminalRuleCall_4_0 = (RuleCall) cTypeGuidAssignment_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 cSideAArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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 cSideBArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING - // "sideAArtifactType" sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING - // "sideBArtifactType" sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" - // defaultOrderType=RelationOrderType "multiplicity" multiplicity=RelationMultiplicityEnum "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING "sideAArtifactType" - //sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING "sideBArtifactType" - //sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" defaultOrderType=RelationOrderType - //"multiplicity" multiplicity=RelationMultiplicityEnum "}" - public Group getGroup() { - return cGroup; - } - - //"relationType" - public Keyword getRelationTypeKeyword_0() { - return cRelationTypeKeyword_0; - } - - //name=RELATION_TYPE_REFERENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //RELATION_TYPE_REFERENCE - public RuleCall getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0() { - return cNameRELATION_TYPE_REFERENCEParserRuleCall_1_0; - } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { - return cLeftCurlyBracketKeyword_2; - } - - //"guid" - public Keyword getGuidKeyword_3() { - return cGuidKeyword_3; - } - - //typeGuid=STRING - public Assignment getTypeGuidAssignment_4() { - return cTypeGuidAssignment_4; - } - - //STRING - public RuleCall getTypeGuidSTRINGTerminalRuleCall_4_0() { - return cTypeGuidSTRINGTerminalRuleCall_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|ARTIFACT_TYPE_REFERENCE] - public Assignment getSideAArtifactTypeAssignment_8() { - return cSideAArtifactTypeAssignment_8; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getSideAArtifactTypeXArtifactTypeCrossReference_8_0() { - return cSideAArtifactTypeXArtifactTypeCrossReference_8_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getSideAArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_8_0_1() { - return cSideAArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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|ARTIFACT_TYPE_REFERENCE] - public Assignment getSideBArtifactTypeAssignment_12() { - return cSideBArtifactTypeAssignment_12; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getSideBArtifactTypeXArtifactTypeCrossReference_12_0() { - return cSideBArtifactTypeXArtifactTypeCrossReference_12_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getSideBArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_12_0_1() { - return cSideBArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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(), "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 returns ecore::EString: - // "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 ARTIFACT_INSTANCE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), - "ARTIFACT_INSTANCE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - ///////////////////////////////////////// - //// OSEE ARTIFACT INSTANCE REFERENCE // - ///////////////////////////////////////// - //ARTIFACT_INSTANCE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class XArtifactRefElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "XArtifactRef"); - private final Group cGroup = (Group) rule.eContents().get(1); - private final Keyword cArtifactKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final RuleCall cNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0 = - (RuleCall) cNameAssignment_1.eContents().get(0); - private final Keyword cArtGuidKeyword_2 = (Keyword) cGroup.eContents().get(2); - private final Assignment cGuidAssignment_3 = (Assignment) cGroup.eContents().get(3); - private final RuleCall cGuidSTRINGTerminalRuleCall_3_0 = (RuleCall) cGuidAssignment_3.eContents().get(0); - private final Keyword cSemicolonKeyword_4 = (Keyword) cGroup.eContents().get(4); - - //XArtifactRef: - // "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";" - public Group getGroup() { - return cGroup; - } - - //"artifact" - public Keyword getArtifactKeyword_0() { - return cArtifactKeyword_0; - } - - //name=ARTIFACT_INSTANCE_REFERENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //ARTIFACT_INSTANCE_REFERENCE - public RuleCall getNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0() { - return cNameARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0; - } - - //"artGuid" - public Keyword getArtGuidKeyword_2() { - return cArtGuidKeyword_2; - } - - //guid=STRING - public Assignment getGuidAssignment_3() { - return cGuidAssignment_3; - } - - //STRING - public RuleCall getGuidSTRINGTerminalRuleCall_3_0() { - return cGuidSTRINGTerminalRuleCall_3_0; - } - - //";" - public Keyword getSemicolonKeyword_4() { - return cSemicolonKeyword_4; - } - } - - public class BRANCH_INSTANCE_REFERENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), - "BRANCH_INSTANCE_REFERENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - //BRANCH_INSTANCE_REFERENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class XBranchRefElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "XBranchRef"); - private final Group cGroup = (Group) rule.eContents().get(1); - private final Keyword cBranchKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final RuleCall cNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0 = - (RuleCall) cNameAssignment_1.eContents().get(0); - private final Keyword cBranchGuidKeyword_2 = (Keyword) cGroup.eContents().get(2); - private final Assignment cGuidAssignment_3 = (Assignment) cGroup.eContents().get(3); - private final RuleCall cGuidSTRINGTerminalRuleCall_3_0 = (RuleCall) cGuidAssignment_3.eContents().get(0); - private final Keyword cSemicolonKeyword_4 = (Keyword) cGroup.eContents().get(4); - - //XBranchRef: - // "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";" - public Group getGroup() { - return cGroup; - } - - //"branch" - public Keyword getBranchKeyword_0() { - return cBranchKeyword_0; - } - - //name=BRANCH_INSTANCE_REFERENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //BRANCH_INSTANCE_REFERENCE - public RuleCall getNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0() { - return cNameBRANCH_INSTANCE_REFERENCEParserRuleCall_1_0; - } - - //"branchGuid" - public Keyword getBranchGuidKeyword_2() { - return cBranchGuidKeyword_2; - } - - //guid=STRING - public Assignment getGuidAssignment_3() { - return cGuidAssignment_3; - } - - //STRING - public RuleCall getGuidSTRINGTerminalRuleCall_3_0() { - return cGuidSTRINGTerminalRuleCall_3_0; - } - - //";" - public Keyword getSemicolonKeyword_4() { - return cSemicolonKeyword_4; - } - } - - public class ACCESS_CONTEXT_TYPE_REFRENCEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), - "ACCESS_CONTEXT_TYPE_REFRENCE"); - private final RuleCall cSTRINGTerminalRuleCall = (RuleCall) rule.eContents().get(1); - - ///////////////////////////////////////// - //// OSEE ACCESS MODEL // - ///////////////////////////////////////// - //ACCESS_CONTEXT_TYPE_REFRENCE returns ecore::EString: - // STRING; - @Override - public ParserRule getRule() { - return rule; - } - - //STRING - public RuleCall getSTRINGTerminalRuleCall() { - return cSTRINGTerminalRuleCall; - } - } - - public class AccessContextElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_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 cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_1_0_1 = - (RuleCall) cSuperAccessContextsAccessContextCrossReference_2_1_0.eContents().get(1); - private final Group cGroup_2_2 = (Group) cGroup_2.eContents().get(2); - private final Keyword cCommaKeyword_2_2_0 = (Keyword) cGroup_2_2.eContents().get(0); - private final Assignment cSuperAccessContextsAssignment_2_2_1 = (Assignment) cGroup_2_2.eContents().get(1); - private final CrossReference cSuperAccessContextsAccessContextCrossReference_2_2_1_0 = - (CrossReference) cSuperAccessContextsAssignment_2_2_1.eContents().get(0); - private final RuleCall cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_2_1_0_1 = - (RuleCall) cSuperAccessContextsAccessContextCrossReference_2_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=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" - // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" - //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" - //(accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}" - public Group getGroup() { - return cGroup; - } - - //"accessContext" - public Keyword getAccessContextKeyword_0() { - return cAccessContextKeyword_0; - } - - //name=ACCESS_CONTEXT_TYPE_REFRENCE - public Assignment getNameAssignment_1() { - return cNameAssignment_1; - } - - //ACCESS_CONTEXT_TYPE_REFRENCE - public RuleCall getNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0() { - return cNameACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_1_0; - } - - //("extends" superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? - public Group getGroup_2() { - return cGroup_2; - } - - //"extends" - public Keyword getExtendsKeyword_2_0() { - return cExtendsKeyword_2_0; - } - - //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] - public Assignment getSuperAccessContextsAssignment_2_1() { - return cSuperAccessContextsAssignment_2_1; - } - - //[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] - public CrossReference getSuperAccessContextsAccessContextCrossReference_2_1_0() { - return cSuperAccessContextsAccessContextCrossReference_2_1_0; - } - - //ACCESS_CONTEXT_TYPE_REFRENCE - public RuleCall getSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_1_0_1() { - return cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_1_0_1; - } - - //("," superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])* - public Group getGroup_2_2() { - return cGroup_2_2; - } - - //"," - public Keyword getCommaKeyword_2_2_0() { - return cCommaKeyword_2_2_0; - } - - //superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] - public Assignment getSuperAccessContextsAssignment_2_2_1() { - return cSuperAccessContextsAssignment_2_2_1; - } - - //[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] - public CrossReference getSuperAccessContextsAccessContextCrossReference_2_2_1_0() { - return cSuperAccessContextsAccessContextCrossReference_2_2_1_0; - } - - //ACCESS_CONTEXT_TYPE_REFRENCE - public RuleCall getSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_2_1_0_1() { - return cSuperAccessContextsAccessContextACCESS_CONTEXT_TYPE_REFRENCEParserRuleCall_2_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(), "HierarchyRestriction"); - private final Group cGroup = (Group) rule.eContents().get(1); - private final Keyword cChildrenOfKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cArtifactAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final CrossReference cArtifactXArtifactRefCrossReference_1_0 = - (CrossReference) cArtifactAssignment_1.eContents().get(0); - private final RuleCall cArtifactXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cArtifactXArtifactRefCrossReference_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" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}" - public Group getGroup() { - return cGroup; - } - - //"childrenOf" - public Keyword getChildrenOfKeyword_0() { - return cChildrenOfKeyword_0; - } - - //artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - public Assignment getArtifactAssignment_1() { - return cArtifactAssignment_1; - } - - //[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - public CrossReference getArtifactXArtifactRefCrossReference_1_0() { - return cArtifactXArtifactRefCrossReference_1_0; - } - - //ARTIFACT_INSTANCE_REFERENCE - public RuleCall getArtifactXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1() { - return cArtifactXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_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 ObjectRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ObjectRestriction"); - private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1); - private final RuleCall cArtifactInstanceRestrictionParserRuleCall_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: - // ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; - @Override - public ParserRule getRule() { - return rule; - } - - //ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction - public Alternatives getAlternatives() { - return cAlternatives; - } - - //ArtifactInstanceRestriction - public RuleCall getArtifactInstanceRestrictionParserRuleCall_0() { - return cArtifactInstanceRestrictionParserRuleCall_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 ArtifactInstanceRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), - "ArtifactInstanceRestriction"); - 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 cArtifactRefAssignment_3 = (Assignment) cGroup.eContents().get(3); - private final CrossReference cArtifactRefXArtifactRefCrossReference_3_0 = - (CrossReference) cArtifactRefAssignment_3.eContents().get(0); - private final RuleCall cArtifactRefXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_3_0_1 = - (RuleCall) cArtifactRefXArtifactRefCrossReference_3_0.eContents().get(1); - private final Keyword cSemicolonKeyword_4 = (Keyword) cGroup.eContents().get(4); - - //ArtifactInstanceRestriction: - // permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";" - 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; - } - - //artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - public Assignment getArtifactRefAssignment_3() { - return cArtifactRefAssignment_3; - } - - //[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - public CrossReference getArtifactRefXArtifactRefCrossReference_3_0() { - return cArtifactRefXArtifactRefCrossReference_3_0; - } - - //ARTIFACT_INSTANCE_REFERENCE - public RuleCall getArtifactRefXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_3_0_1() { - return cArtifactRefXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_3_0_1; - } - - //";" - public Keyword getSemicolonKeyword_4() { - return cSemicolonKeyword_4; - } - } - - public class ArtifactTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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|ARTIFACT_TYPE_REFERENCE] ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" - 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|ARTIFACT_TYPE_REFERENCE] - public Assignment getArtifactTypeRefAssignment_3() { - return cArtifactTypeRefAssignment_3; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_3_0() { - return cArtifactTypeRefXArtifactTypeCrossReference_3_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_0_1() { - return cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_0_1; - } - - //";" - public Keyword getSemicolonKeyword_4() { - return cSemicolonKeyword_4; - } - } - - public class AttributeTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = - (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cAttributeTypeRefXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_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 cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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|ATTRIBUTE_TYPE_REFERENCE] - // ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("of" - //"artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";" - 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|ATTRIBUTE_TYPE_REFERENCE] - public Assignment getAttributeTypeRefAssignment_3() { - return cAttributeTypeRefAssignment_3; - } - - //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public CrossReference getAttributeTypeRefXAttributeTypeCrossReference_3_0() { - return cAttributeTypeRefXAttributeTypeCrossReference_3_0; - } - - //ATTRIBUTE_TYPE_REFERENCE - public RuleCall getAttributeTypeRefXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_0_1() { - return cAttributeTypeRefXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_0_1; - } - - //("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? - 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|ARTIFACT_TYPE_REFERENCE] - public Assignment getArtifactTypeRefAssignment_4_2() { - return cArtifactTypeRefAssignment_4_2; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_4_2_0() { - return cArtifactTypeRefXArtifactTypeCrossReference_4_2_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_2_0_1() { - return cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_2_0_1; - } - - //";" - public Keyword getSemicolonKeyword_5() { - return cSemicolonKeyword_5; - } - } - - public class RelationTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 Assignment cRelationTypeRefAssignment_3 = (Assignment) cGroup.eContents().get(3); - private final CrossReference cRelationTypeRefXRelationTypeCrossReference_3_0 = - (CrossReference) cRelationTypeRefAssignment_3.eContents().get(0); - private final RuleCall cRelationTypeRefXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_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 Keyword cSemicolonKeyword_5 = (Keyword) cGroup.eContents().get(5); - - //RelationTypeRestriction: - // permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] - // restrictedToSide=XRelationSideEnum ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] - //restrictedToSide=XRelationSideEnum ";" - 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|RELATION_TYPE_REFERENCE] - public Assignment getRelationTypeRefAssignment_3() { - return cRelationTypeRefAssignment_3; - } - - //[XRelationType|RELATION_TYPE_REFERENCE] - public CrossReference getRelationTypeRefXRelationTypeCrossReference_3_0() { - return cRelationTypeRefXRelationTypeCrossReference_3_0; - } - - //RELATION_TYPE_REFERENCE - public RuleCall getRelationTypeRefXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_3_0_1() { - return cRelationTypeRefXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_3_0_1; - } - - //restrictedToSide=XRelationSideEnum - public Assignment getRestrictedToSideAssignment_4() { - return cRestrictedToSideAssignment_4; - } - - //XRelationSideEnum - public RuleCall getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0() { - return cRestrictedToSideXRelationSideEnumEnumRuleCall_4_0; - } - - //";" - public Keyword getSemicolonKeyword_5() { - return cSemicolonKeyword_5; - } - } - - public class RelationMultiplicityEnumElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "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; - @Override - 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 AccessPermissionEnumElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "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; - @Override - 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 XRelationSideEnumElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "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); - - ////BranchRestriction: - //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; - ////AccessSet: - //// artifactRestrictions+=ArtifactInstanceRestriction - //// artifactTypeRestrictions+=ArtifactTypeRestriction - //// attributeTypeRestrictions+=AttributeTypeRestriction - //// relationTypeRestrictions+=RelationTypeRestriction; enum XRelationSideEnum: - // SIDE_A | SIDE_B | BOTH; - @Override - public EnumRule getRule() { - return rule; - } - - ////BranchRestriction: - //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; - ////AccessSet: - //// artifactRestrictions+=ArtifactInstanceRestriction - //// artifactTypeRestrictions+=ArtifactTypeRestriction - //// attributeTypeRestrictions+=AttributeTypeRestriction - //// relationTypeRestrictions+=RelationTypeRestriction; 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 OseeDslElements pOseeDsl; - private ImportElements pImport; - private TerminalRule tWHOLE_NUM_STR; - private NAME_REFERENCEElements pNAME_REFERENCE; - private ATTRIBUTE_TYPE_REFERENCEElements pATTRIBUTE_TYPE_REFERENCE; - private ARTIFACT_TYPE_REFERENCEElements pARTIFACT_TYPE_REFERENCE; - private RELATION_TYPE_REFERENCEElements pRELATION_TYPE_REFERENCE; - private ENUM_TYPE_REFERENCEElements pENUM_TYPE_REFERENCE; - private ENUM_ENTRY_TYPE_REFERENCEElements pENUM_ENTRY_TYPE_REFERENCE; - private QUALIFIED_NAMEElements pQUALIFIED_NAME; - private OseeElementElements pOseeElement; - private OseeTypeElements pOseeType; - private XArtifactTypeElements pXArtifactType; - private XAttributeTypeRefElements pXAttributeTypeRef; - private XAttributeTypeElements pXAttributeType; - private AttributeBaseTypeElements pAttributeBaseType; - private XOseeEnumTypeElements pXOseeEnumType; - private XOseeEnumEntryElements pXOseeEnumEntry; - private XOseeEnumOverrideElements pXOseeEnumOverride; - private OverrideOptionElements pOverrideOption; - private AddEnumElements pAddEnum; - private RemoveEnumElements pRemoveEnum; - private XRelationTypeElements pXRelationType; - private RelationMultiplicityEnumElements unknownRuleRelationMultiplicityEnum; - private RelationOrderTypeElements pRelationOrderType; - private ARTIFACT_INSTANCE_REFERENCEElements pARTIFACT_INSTANCE_REFERENCE; - private XArtifactRefElements pXArtifactRef; - private BRANCH_INSTANCE_REFERENCEElements pBRANCH_INSTANCE_REFERENCE; - private XBranchRefElements pXBranchRef; - private ACCESS_CONTEXT_TYPE_REFRENCEElements pACCESS_CONTEXT_TYPE_REFRENCE; - private AccessContextElements pAccessContext; - private HierarchyRestrictionElements pHierarchyRestriction; - private AccessPermissionEnumElements unknownRuleAccessPermissionEnum; - private ObjectRestrictionElements pObjectRestriction; - private ArtifactInstanceRestrictionElements pArtifactInstanceRestriction; - private ArtifactTypeRestrictionElements pArtifactTypeRestriction; - private AttributeTypeRestrictionElements pAttributeTypeRestriction; - private RelationTypeRestrictionElements pRelationTypeRestriction; - private XRelationSideEnumElements unknownRuleXRelationSideEnum; - - private final GrammarProvider grammarProvider; - - private final TerminalsGrammarAccess gaTerminals; - - @Inject - public OseeDslGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { - this.grammarProvider = grammarProvider; - this.gaTerminals = gaTerminals; - } - - @Override - public Grammar getGrammar() { - return grammarProvider.getGrammar(this); - } - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; - } - - //OseeDsl: - // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | - // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* - // accessDeclarations+=AccessContext*; - public OseeDslElements getOseeDslAccess() { - return pOseeDsl != null ? pOseeDsl : (pOseeDsl = new OseeDslElements()); - } - - public ParserRule getOseeDslRule() { - return getOseeDslAccess().getRule(); - } - - //Import: - // "import" importURI=STRING; - public ImportElements getImportAccess() { - return pImport != null ? pImport : (pImport = new ImportElements()); - } - - public ParserRule getImportRule() { - return getImportAccess().getRule(); - } - - //terminal WHOLE_NUM_STR: - // "0".."9"+; - public TerminalRule getWHOLE_NUM_STRRule() { - return tWHOLE_NUM_STR != null ? tWHOLE_NUM_STR : (tWHOLE_NUM_STR = - (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "WHOLE_NUM_STR")); - } - - //NAME_REFERENCE returns ecore::EString: - // STRING; - public NAME_REFERENCEElements getNAME_REFERENCEAccess() { - return pNAME_REFERENCE != null ? pNAME_REFERENCE : (pNAME_REFERENCE = new NAME_REFERENCEElements()); - } - - public ParserRule getNAME_REFERENCERule() { - return getNAME_REFERENCEAccess().getRule(); - } - - //ATTRIBUTE_TYPE_REFERENCE returns ecore::EString: - // STRING; - public ATTRIBUTE_TYPE_REFERENCEElements getATTRIBUTE_TYPE_REFERENCEAccess() { - return pATTRIBUTE_TYPE_REFERENCE != null ? pATTRIBUTE_TYPE_REFERENCE : (pATTRIBUTE_TYPE_REFERENCE = - new ATTRIBUTE_TYPE_REFERENCEElements()); - } - - public ParserRule getATTRIBUTE_TYPE_REFERENCERule() { - return getATTRIBUTE_TYPE_REFERENCEAccess().getRule(); - } - - //ARTIFACT_TYPE_REFERENCE returns ecore::EString: - // STRING; - public ARTIFACT_TYPE_REFERENCEElements getARTIFACT_TYPE_REFERENCEAccess() { - return pARTIFACT_TYPE_REFERENCE != null ? pARTIFACT_TYPE_REFERENCE : (pARTIFACT_TYPE_REFERENCE = - new ARTIFACT_TYPE_REFERENCEElements()); - } - - public ParserRule getARTIFACT_TYPE_REFERENCERule() { - return getARTIFACT_TYPE_REFERENCEAccess().getRule(); - } - - //RELATION_TYPE_REFERENCE returns ecore::EString: - // STRING; - public RELATION_TYPE_REFERENCEElements getRELATION_TYPE_REFERENCEAccess() { - return pRELATION_TYPE_REFERENCE != null ? pRELATION_TYPE_REFERENCE : (pRELATION_TYPE_REFERENCE = - new RELATION_TYPE_REFERENCEElements()); - } - - public ParserRule getRELATION_TYPE_REFERENCERule() { - return getRELATION_TYPE_REFERENCEAccess().getRule(); - } - - //ENUM_TYPE_REFERENCE returns ecore::EString: - // STRING; - public ENUM_TYPE_REFERENCEElements getENUM_TYPE_REFERENCEAccess() { - return pENUM_TYPE_REFERENCE != null ? pENUM_TYPE_REFERENCE : (pENUM_TYPE_REFERENCE = - new ENUM_TYPE_REFERENCEElements()); - } - - public ParserRule getENUM_TYPE_REFERENCERule() { - return getENUM_TYPE_REFERENCEAccess().getRule(); - } - - //ENUM_ENTRY_TYPE_REFERENCE returns ecore::EString: - // STRING; - public ENUM_ENTRY_TYPE_REFERENCEElements getENUM_ENTRY_TYPE_REFERENCEAccess() { - return pENUM_ENTRY_TYPE_REFERENCE != null ? pENUM_ENTRY_TYPE_REFERENCE : (pENUM_ENTRY_TYPE_REFERENCE = - new ENUM_ENTRY_TYPE_REFERENCEElements()); - } - - public ParserRule getENUM_ENTRY_TYPE_REFERENCERule() { - return getENUM_ENTRY_TYPE_REFERENCEAccess().getRule(); - } - - //QUALIFIED_NAME returns ecore::EString: - // ID ("." ID)*; - public QUALIFIED_NAMEElements getQUALIFIED_NAMEAccess() { - return pQUALIFIED_NAME != null ? pQUALIFIED_NAME : (pQUALIFIED_NAME = new QUALIFIED_NAMEElements()); - } - - public ParserRule getQUALIFIED_NAMERule() { - return getQUALIFIED_NAMEAccess().getRule(); - } - - ///////////////////////////////////////// - //// OSEE TYPE MODEL // - ///////////////////////////////////////// - //OseeElement: - // XOseeEnumOverride | OseeType; - public OseeElementElements getOseeElementAccess() { - return pOseeElement != null ? pOseeElement : (pOseeElement = new OseeElementElements()); - } - - public ParserRule getOseeElementRule() { - return getOseeElementAccess().getRule(); - } - - //OseeType: - // XArtifactType | XRelationType | XAttributeType | XOseeEnumType; - public OseeTypeElements getOseeTypeAccess() { - return pOseeType != null ? pOseeType : (pOseeType = new OseeTypeElements()); - } - - public ParserRule getOseeTypeRule() { - return getOseeTypeAccess().getRule(); - } - - //XArtifactType: - // abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," - // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING - // validAttributeTypes+=XAttributeTypeRef* "}"; - public XArtifactTypeElements getXArtifactTypeAccess() { - return pXArtifactType != null ? pXArtifactType : (pXArtifactType = new XArtifactTypeElements()); - } - - public ParserRule getXArtifactTypeRule() { - return getXArtifactTypeAccess().getRule(); - } - - //XAttributeTypeRef: - // "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)?; - public XAttributeTypeRefElements getXAttributeTypeRefAccess() { - return pXAttributeTypeRef != null ? pXAttributeTypeRef : (pXAttributeTypeRef = new XAttributeTypeRefElements()); - } - - public ParserRule getXAttributeTypeRefRule() { - return getXAttributeTypeRefAccess().getRule(); - } - - //XAttributeType: - // "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" - // override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" - // defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}"; - public XAttributeTypeElements getXAttributeTypeAccess() { - return pXAttributeType != null ? pXAttributeType : (pXAttributeType = new XAttributeTypeElements()); - } - - public ParserRule getXAttributeTypeRule() { - return getXAttributeTypeAccess().getRule(); - } - - //AttributeBaseType returns ecore::EString: - // "BooleanAttribute" | "CompressedContentAttribute" | "DateAttribute" | "EnumeratedAttribute" | "FloatingPointAttribute" - // | "IntegerAttribute" | "JavaObjectAttribute" | "StringAttribute" | "WordAttribute" | QUALIFIED_NAME; - public AttributeBaseTypeElements getAttributeBaseTypeAccess() { - return pAttributeBaseType != null ? pAttributeBaseType : (pAttributeBaseType = new AttributeBaseTypeElements()); - } - - public ParserRule getAttributeBaseTypeRule() { - return getAttributeBaseTypeAccess().getRule(); - } - - //XOseeEnumType: - // "oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}"; - public XOseeEnumTypeElements getXOseeEnumTypeAccess() { - return pXOseeEnumType != null ? pXOseeEnumType : (pXOseeEnumType = new XOseeEnumTypeElements()); - } - - public ParserRule getXOseeEnumTypeRule() { - return getXOseeEnumTypeAccess().getRule(); - } - - //XOseeEnumEntry: - // "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; - public XOseeEnumEntryElements getXOseeEnumEntryAccess() { - return pXOseeEnumEntry != null ? pXOseeEnumEntry : (pXOseeEnumEntry = new XOseeEnumEntryElements()); - } - - public ParserRule getXOseeEnumEntryRule() { - return getXOseeEnumEntryAccess().getRule(); - } - - //XOseeEnumOverride: - // "overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? - // overrideOptions+=OverrideOption* "}"; - public XOseeEnumOverrideElements getXOseeEnumOverrideAccess() { - return pXOseeEnumOverride != null ? pXOseeEnumOverride : (pXOseeEnumOverride = new XOseeEnumOverrideElements()); - } - - public ParserRule getXOseeEnumOverrideRule() { - return getXOseeEnumOverrideAccess().getRule(); - } - - //OverrideOption: - // AddEnum | RemoveEnum; - public OverrideOptionElements getOverrideOptionAccess() { - return pOverrideOption != null ? pOverrideOption : (pOverrideOption = new OverrideOptionElements()); - } - - public ParserRule getOverrideOptionRule() { - return getOverrideOptionAccess().getRule(); - } - - //AddEnum: - // "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; - public AddEnumElements getAddEnumAccess() { - return pAddEnum != null ? pAddEnum : (pAddEnum = new AddEnumElements()); - } - - public ParserRule getAddEnumRule() { - return getAddEnumAccess().getRule(); - } - - //RemoveEnum: - // "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE]; - public RemoveEnumElements getRemoveEnumAccess() { - return pRemoveEnum != null ? pRemoveEnum : (pRemoveEnum = new RemoveEnumElements()); - } - - public ParserRule getRemoveEnumRule() { - return getRemoveEnumAccess().getRule(); - } - - //XRelationType: - // "relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING - // "sideAArtifactType" sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING - // "sideBArtifactType" sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" - // defaultOrderType=RelationOrderType "multiplicity" multiplicity=RelationMultiplicityEnum "}"; - public XRelationTypeElements getXRelationTypeAccess() { - return pXRelationType != null ? pXRelationType : (pXRelationType = new XRelationTypeElements()); - } - - public ParserRule getXRelationTypeRule() { - return getXRelationTypeAccess().getRule(); - } - - //enum RelationMultiplicityEnum: - // ONE_TO_ONE | ONE_TO_MANY | MANY_TO_ONE | MANY_TO_MANY; - public RelationMultiplicityEnumElements getRelationMultiplicityEnumAccess() { - return unknownRuleRelationMultiplicityEnum != null ? unknownRuleRelationMultiplicityEnum : (unknownRuleRelationMultiplicityEnum = - new RelationMultiplicityEnumElements()); - } - - public EnumRule getRelationMultiplicityEnumRule() { - return getRelationMultiplicityEnumAccess().getRule(); - } - - //RelationOrderType returns ecore::EString: - // "Lexicographical_Ascending" | "Lexicographical_Descending" | "Unordered" | ID; - public RelationOrderTypeElements getRelationOrderTypeAccess() { - return pRelationOrderType != null ? pRelationOrderType : (pRelationOrderType = new RelationOrderTypeElements()); - } - - public ParserRule getRelationOrderTypeRule() { - return getRelationOrderTypeAccess().getRule(); - } - - ///////////////////////////////////////// - //// OSEE ARTIFACT INSTANCE REFERENCE // - ///////////////////////////////////////// - //ARTIFACT_INSTANCE_REFERENCE returns ecore::EString: - // STRING; - public ARTIFACT_INSTANCE_REFERENCEElements getARTIFACT_INSTANCE_REFERENCEAccess() { - return pARTIFACT_INSTANCE_REFERENCE != null ? pARTIFACT_INSTANCE_REFERENCE : (pARTIFACT_INSTANCE_REFERENCE = - new ARTIFACT_INSTANCE_REFERENCEElements()); - } - - public ParserRule getARTIFACT_INSTANCE_REFERENCERule() { - return getARTIFACT_INSTANCE_REFERENCEAccess().getRule(); - } - - //XArtifactRef: - // "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";"; - public XArtifactRefElements getXArtifactRefAccess() { - return pXArtifactRef != null ? pXArtifactRef : (pXArtifactRef = new XArtifactRefElements()); - } - - public ParserRule getXArtifactRefRule() { - return getXArtifactRefAccess().getRule(); - } - - //BRANCH_INSTANCE_REFERENCE returns ecore::EString: - // STRING; - public BRANCH_INSTANCE_REFERENCEElements getBRANCH_INSTANCE_REFERENCEAccess() { - return pBRANCH_INSTANCE_REFERENCE != null ? pBRANCH_INSTANCE_REFERENCE : (pBRANCH_INSTANCE_REFERENCE = - new BRANCH_INSTANCE_REFERENCEElements()); - } - - public ParserRule getBRANCH_INSTANCE_REFERENCERule() { - return getBRANCH_INSTANCE_REFERENCEAccess().getRule(); - } - - //XBranchRef: - // "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";"; - public XBranchRefElements getXBranchRefAccess() { - return pXBranchRef != null ? pXBranchRef : (pXBranchRef = new XBranchRefElements()); - } - - public ParserRule getXBranchRefRule() { - return getXBranchRefAccess().getRule(); - } - - ///////////////////////////////////////// - //// OSEE ACCESS MODEL // - ///////////////////////////////////////// - //ACCESS_CONTEXT_TYPE_REFRENCE returns ecore::EString: - // STRING; - public ACCESS_CONTEXT_TYPE_REFRENCEElements getACCESS_CONTEXT_TYPE_REFRENCEAccess() { - return pACCESS_CONTEXT_TYPE_REFRENCE != null ? pACCESS_CONTEXT_TYPE_REFRENCE : (pACCESS_CONTEXT_TYPE_REFRENCE = - new ACCESS_CONTEXT_TYPE_REFRENCEElements()); - } - - public ParserRule getACCESS_CONTEXT_TYPE_REFRENCERule() { - return getACCESS_CONTEXT_TYPE_REFRENCEAccess().getRule(); - } - - //AccessContext: - // "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" - // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}"; - public AccessContextElements getAccessContextAccess() { - return pAccessContext != null ? pAccessContext : (pAccessContext = new AccessContextElements()); - } - - public ParserRule getAccessContextRule() { - return getAccessContextAccess().getRule(); - } - - //HierarchyRestriction: - // "childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}"; - public HierarchyRestrictionElements getHierarchyRestrictionAccess() { - return pHierarchyRestriction != null ? pHierarchyRestriction : (pHierarchyRestriction = - new HierarchyRestrictionElements()); - } - - public ParserRule getHierarchyRestrictionRule() { - return getHierarchyRestrictionAccess().getRule(); - } - - //enum AccessPermissionEnum: - // ALLOW | DENY; - public AccessPermissionEnumElements getAccessPermissionEnumAccess() { - return unknownRuleAccessPermissionEnum != null ? unknownRuleAccessPermissionEnum : (unknownRuleAccessPermissionEnum = - new AccessPermissionEnumElements()); - } - - public EnumRule getAccessPermissionEnumRule() { - return getAccessPermissionEnumAccess().getRule(); - } - - //ObjectRestriction: - // ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; - public ObjectRestrictionElements getObjectRestrictionAccess() { - return pObjectRestriction != null ? pObjectRestriction : (pObjectRestriction = new ObjectRestrictionElements()); - } - - public ParserRule getObjectRestrictionRule() { - return getObjectRestrictionAccess().getRule(); - } - - //ArtifactInstanceRestriction: - // permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; - public ArtifactInstanceRestrictionElements getArtifactInstanceRestrictionAccess() { - return pArtifactInstanceRestriction != null ? pArtifactInstanceRestriction : (pArtifactInstanceRestriction = - new ArtifactInstanceRestrictionElements()); - } - - public ParserRule getArtifactInstanceRestrictionRule() { - return getArtifactInstanceRestrictionAccess().getRule(); - } - - //ArtifactTypeRestriction: - // permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - public ArtifactTypeRestrictionElements getArtifactTypeRestrictionAccess() { - return pArtifactTypeRestriction != null ? pArtifactTypeRestriction : (pArtifactTypeRestriction = - new ArtifactTypeRestrictionElements()); - } - - public ParserRule getArtifactTypeRestrictionRule() { - return getArtifactTypeRestrictionAccess().getRule(); - } - - //AttributeTypeRestriction: - // permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - // ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";"; - public AttributeTypeRestrictionElements getAttributeTypeRestrictionAccess() { - return pAttributeTypeRestriction != null ? pAttributeTypeRestriction : (pAttributeTypeRestriction = - new AttributeTypeRestrictionElements()); - } - - public ParserRule getAttributeTypeRestrictionRule() { - return getAttributeTypeRestrictionAccess().getRule(); - } - - //RelationTypeRestriction: - // permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] - // restrictedToSide=XRelationSideEnum ";"; - public RelationTypeRestrictionElements getRelationTypeRestrictionAccess() { - return pRelationTypeRestriction != null ? pRelationTypeRestriction : (pRelationTypeRestriction = - new RelationTypeRestrictionElements()); - } - - public ParserRule getRelationTypeRestrictionRule() { - return getRelationTypeRestrictionAccess().getRule(); - } - - ////BranchRestriction: - //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; - ////AccessSet: - //// artifactRestrictions+=ArtifactInstanceRestriction - //// artifactTypeRestrictions+=ArtifactTypeRestriction - //// attributeTypeRestrictions+=AttributeTypeRestriction - //// relationTypeRestrictions+=RelationTypeRestriction; enum XRelationSideEnum: - // SIDE_A | SIDE_B | BOTH; - public XRelationSideEnumElements getXRelationSideEnumAccess() { - return unknownRuleXRelationSideEnum != null ? unknownRuleXRelationSideEnum : (unknownRuleXRelationSideEnum = - new XRelationSideEnumElements()); - } - - 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 STRING: - // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" | - // "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'"; - public TerminalRule getSTRINGRule() { - return gaTerminals.getSTRINGRule(); - } - - //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(); - } + //ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction + public Alternatives getAlternatives() { return cAlternatives; } + + //ArtifactInstanceRestriction + public RuleCall getArtifactInstanceRestrictionParserRuleCall_0() { return cArtifactInstanceRestrictionParserRuleCall_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 ArtifactInstanceRestrictionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ArtifactInstanceRestriction"); + 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 cArtifactRefAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final CrossReference cArtifactRefXArtifactRefCrossReference_3_0 = (CrossReference)cArtifactRefAssignment_3.eContents().get(0); + private final RuleCall cArtifactRefXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_3_0_1 = (RuleCall)cArtifactRefXArtifactRefCrossReference_3_0.eContents().get(1); + private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //ArtifactInstanceRestriction: + // permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; + public ParserRule getRule() { return rule; } + + //permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";" + 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; } + + //artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] + public Assignment getArtifactRefAssignment_3() { return cArtifactRefAssignment_3; } + + //[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] + public CrossReference getArtifactRefXArtifactRefCrossReference_3_0() { return cArtifactRefXArtifactRefCrossReference_3_0; } + + //ARTIFACT_INSTANCE_REFERENCE + public RuleCall getArtifactRefXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_3_0_1() { return cArtifactRefXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_3_0_1; } + + //";" + public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } + } + + public class ArtifactTypeRestrictionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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|ARTIFACT_TYPE_REFERENCE] ";"; + public ParserRule getRule() { return rule; } + + //permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" + 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|ARTIFACT_TYPE_REFERENCE] + public Assignment getArtifactTypeRefAssignment_3() { return cArtifactTypeRefAssignment_3; } + + //[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_3_0() { return cArtifactTypeRefXArtifactTypeCrossReference_3_0; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_0_1() { return cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_3_0_1; } + + //";" + public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } + } + + public class AttributeTypeRestrictionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 cAttributeTypeRefXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_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 cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_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|ATTRIBUTE_TYPE_REFERENCE] + // ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";"; + public ParserRule getRule() { return rule; } + + //permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("of" + //"artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";" + 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|ATTRIBUTE_TYPE_REFERENCE] + public Assignment getAttributeTypeRefAssignment_3() { return cAttributeTypeRefAssignment_3; } + + //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + public CrossReference getAttributeTypeRefXAttributeTypeCrossReference_3_0() { return cAttributeTypeRefXAttributeTypeCrossReference_3_0; } + + //ATTRIBUTE_TYPE_REFERENCE + public RuleCall getAttributeTypeRefXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_0_1() { return cAttributeTypeRefXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_3_0_1; } + + //("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? + 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|ARTIFACT_TYPE_REFERENCE] + public Assignment getArtifactTypeRefAssignment_4_2() { return cArtifactTypeRefAssignment_4_2; } + + //[XArtifactType|ARTIFACT_TYPE_REFERENCE] + public CrossReference getArtifactTypeRefXArtifactTypeCrossReference_4_2_0() { return cArtifactTypeRefXArtifactTypeCrossReference_4_2_0; } + + //ARTIFACT_TYPE_REFERENCE + public RuleCall getArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_2_0_1() { return cArtifactTypeRefXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_2_0_1; } + + //";" + public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; } + } + + public class RelationTypeRestrictionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "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 Assignment cRelationTypeRefAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final CrossReference cRelationTypeRefXRelationTypeCrossReference_3_0 = (CrossReference)cRelationTypeRefAssignment_3.eContents().get(0); + private final RuleCall cRelationTypeRefXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_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 Keyword cSemicolonKeyword_5 = (Keyword)cGroup.eContents().get(5); + + //RelationTypeRestriction: + // permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] + // restrictedToSide=XRelationSideEnum ";"; + public ParserRule getRule() { return rule; } + + //permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] + //restrictedToSide=XRelationSideEnum ";" + 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|RELATION_TYPE_REFERENCE] + public Assignment getRelationTypeRefAssignment_3() { return cRelationTypeRefAssignment_3; } + + //[XRelationType|RELATION_TYPE_REFERENCE] + public CrossReference getRelationTypeRefXRelationTypeCrossReference_3_0() { return cRelationTypeRefXRelationTypeCrossReference_3_0; } + + //RELATION_TYPE_REFERENCE + public RuleCall getRelationTypeRefXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_3_0_1() { return cRelationTypeRefXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_3_0_1; } + + //restrictedToSide=XRelationSideEnum + public Assignment getRestrictedToSideAssignment_4() { return cRestrictedToSideAssignment_4; } + + //XRelationSideEnum + public RuleCall getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0() { return cRestrictedToSideXRelationSideEnumEnumRuleCall_4_0; } + + //";" + public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; } + } + + + public class RelationMultiplicityEnumElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "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 AccessPermissionEnumElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "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 XRelationSideEnumElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "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); + + ////BranchRestriction: + //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; + ////AccessSet: + //// artifactRestrictions+=ArtifactInstanceRestriction + //// artifactTypeRestrictions+=ArtifactTypeRestriction + //// attributeTypeRestrictions+=AttributeTypeRestriction + //// relationTypeRestrictions+=RelationTypeRestriction; enum XRelationSideEnum: + // SIDE_A | SIDE_B | BOTH; + public EnumRule getRule() { return rule; } + + //SIDE_A //BranchRestriction: + //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; + ////AccessSet: + //// artifactRestrictions+=ArtifactInstanceRestriction + //// artifactTypeRestrictions+=ArtifactTypeRestriction + //// attributeTypeRestrictions+=AttributeTypeRestriction + //// relationTypeRestrictions+=RelationTypeRestriction; | 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; } + + ////BranchRestriction: + //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; + ////AccessSet: + //// artifactRestrictions+=ArtifactInstanceRestriction + //// artifactTypeRestrictions+=ArtifactTypeRestriction + //// attributeTypeRestrictions+=AttributeTypeRestriction + //// relationTypeRestrictions+=RelationTypeRestriction; BOTH + public EnumLiteralDeclaration getBOTHEnumLiteralDeclaration_2() { return cBOTHEnumLiteralDeclaration_2; } + + //"BOTH" + public Keyword getBOTHBOTHKeyword_2_0() { return cBOTHBOTHKeyword_2_0; } + } + + private OseeDslElements pOseeDsl; + private ImportElements pImport; + private TerminalRule tWHOLE_NUM_STR; + private NAME_REFERENCEElements pNAME_REFERENCE; + private ATTRIBUTE_TYPE_REFERENCEElements pATTRIBUTE_TYPE_REFERENCE; + private ARTIFACT_TYPE_REFERENCEElements pARTIFACT_TYPE_REFERENCE; + private RELATION_TYPE_REFERENCEElements pRELATION_TYPE_REFERENCE; + private ENUM_TYPE_REFERENCEElements pENUM_TYPE_REFERENCE; + private ENUM_ENTRY_TYPE_REFERENCEElements pENUM_ENTRY_TYPE_REFERENCE; + private QUALIFIED_NAMEElements pQUALIFIED_NAME; + private OseeElementElements pOseeElement; + private OseeTypeElements pOseeType; + private XArtifactTypeElements pXArtifactType; + private XAttributeTypeRefElements pXAttributeTypeRef; + private XAttributeTypeElements pXAttributeType; + private AttributeBaseTypeElements pAttributeBaseType; + private XOseeEnumTypeElements pXOseeEnumType; + private XOseeEnumEntryElements pXOseeEnumEntry; + private XOseeEnumOverrideElements pXOseeEnumOverride; + private OverrideOptionElements pOverrideOption; + private AddEnumElements pAddEnum; + private RemoveEnumElements pRemoveEnum; + private XRelationTypeElements pXRelationType; + private RelationMultiplicityEnumElements unknownRuleRelationMultiplicityEnum; + private RelationOrderTypeElements pRelationOrderType; + private ARTIFACT_INSTANCE_REFERENCEElements pARTIFACT_INSTANCE_REFERENCE; + private XArtifactRefElements pXArtifactRef; + private BRANCH_INSTANCE_REFERENCEElements pBRANCH_INSTANCE_REFERENCE; + private XBranchRefElements pXBranchRef; + private ACCESS_CONTEXT_TYPE_REFRENCEElements pACCESS_CONTEXT_TYPE_REFRENCE; + private AccessContextElements pAccessContext; + private HierarchyRestrictionElements pHierarchyRestriction; + private AccessPermissionEnumElements unknownRuleAccessPermissionEnum; + private ObjectRestrictionElements pObjectRestriction; + private ArtifactInstanceRestrictionElements pArtifactInstanceRestriction; + private ArtifactTypeRestrictionElements pArtifactTypeRestriction; + private AttributeTypeRestrictionElements pAttributeTypeRestriction; + private RelationTypeRestrictionElements pRelationTypeRestriction; + private XRelationSideEnumElements unknownRuleXRelationSideEnum; + + private final GrammarProvider grammarProvider; + + private TerminalsGrammarAccess gaTerminals; + + @Inject + public OseeDslGrammarAccess(GrammarProvider grammarProvider, + TerminalsGrammarAccess gaTerminals) { + this.grammarProvider = grammarProvider; + this.gaTerminals = gaTerminals; + } + + public Grammar getGrammar() { + return grammarProvider.getGrammar(this); + } + + + public TerminalsGrammarAccess getTerminalsGrammarAccess() { + return gaTerminals; + } + + + //OseeDsl: + // imports+=Import* (artifactTypes+=XArtifactType | relationTypes+=XRelationType | attributeTypes+=XAttributeType | + // enumTypes+=XOseeEnumType | enumOverrides+=XOseeEnumOverride)* (branchRefs+=XBranchRef | artifactRefs+=XArtifactRef)* + // accessDeclarations+=AccessContext*; + public OseeDslElements getOseeDslAccess() { + return (pOseeDsl != null) ? pOseeDsl : (pOseeDsl = new OseeDslElements()); + } + + public ParserRule getOseeDslRule() { + return getOseeDslAccess().getRule(); + } + + //Import: + // "import" importURI=STRING; + public ImportElements getImportAccess() { + return (pImport != null) ? pImport : (pImport = new ImportElements()); + } + + public ParserRule getImportRule() { + return getImportAccess().getRule(); + } + + //terminal WHOLE_NUM_STR: + // "0".."9"+; + public TerminalRule getWHOLE_NUM_STRRule() { + return (tWHOLE_NUM_STR != null) ? tWHOLE_NUM_STR : (tWHOLE_NUM_STR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "WHOLE_NUM_STR")); + } + + //NAME_REFERENCE: + // STRING; + public NAME_REFERENCEElements getNAME_REFERENCEAccess() { + return (pNAME_REFERENCE != null) ? pNAME_REFERENCE : (pNAME_REFERENCE = new NAME_REFERENCEElements()); + } + + public ParserRule getNAME_REFERENCERule() { + return getNAME_REFERENCEAccess().getRule(); + } + + //ATTRIBUTE_TYPE_REFERENCE: + // STRING; + public ATTRIBUTE_TYPE_REFERENCEElements getATTRIBUTE_TYPE_REFERENCEAccess() { + return (pATTRIBUTE_TYPE_REFERENCE != null) ? pATTRIBUTE_TYPE_REFERENCE : (pATTRIBUTE_TYPE_REFERENCE = new ATTRIBUTE_TYPE_REFERENCEElements()); + } + + public ParserRule getATTRIBUTE_TYPE_REFERENCERule() { + return getATTRIBUTE_TYPE_REFERENCEAccess().getRule(); + } + + //ARTIFACT_TYPE_REFERENCE: + // STRING; + public ARTIFACT_TYPE_REFERENCEElements getARTIFACT_TYPE_REFERENCEAccess() { + return (pARTIFACT_TYPE_REFERENCE != null) ? pARTIFACT_TYPE_REFERENCE : (pARTIFACT_TYPE_REFERENCE = new ARTIFACT_TYPE_REFERENCEElements()); + } + + public ParserRule getARTIFACT_TYPE_REFERENCERule() { + return getARTIFACT_TYPE_REFERENCEAccess().getRule(); + } + + //RELATION_TYPE_REFERENCE: + // STRING; + public RELATION_TYPE_REFERENCEElements getRELATION_TYPE_REFERENCEAccess() { + return (pRELATION_TYPE_REFERENCE != null) ? pRELATION_TYPE_REFERENCE : (pRELATION_TYPE_REFERENCE = new RELATION_TYPE_REFERENCEElements()); + } + + public ParserRule getRELATION_TYPE_REFERENCERule() { + return getRELATION_TYPE_REFERENCEAccess().getRule(); + } + + //ENUM_TYPE_REFERENCE: + // STRING; + public ENUM_TYPE_REFERENCEElements getENUM_TYPE_REFERENCEAccess() { + return (pENUM_TYPE_REFERENCE != null) ? pENUM_TYPE_REFERENCE : (pENUM_TYPE_REFERENCE = new ENUM_TYPE_REFERENCEElements()); + } + + public ParserRule getENUM_TYPE_REFERENCERule() { + return getENUM_TYPE_REFERENCEAccess().getRule(); + } + + //ENUM_ENTRY_TYPE_REFERENCE: + // STRING; + public ENUM_ENTRY_TYPE_REFERENCEElements getENUM_ENTRY_TYPE_REFERENCEAccess() { + return (pENUM_ENTRY_TYPE_REFERENCE != null) ? pENUM_ENTRY_TYPE_REFERENCE : (pENUM_ENTRY_TYPE_REFERENCE = new ENUM_ENTRY_TYPE_REFERENCEElements()); + } + + public ParserRule getENUM_ENTRY_TYPE_REFERENCERule() { + return getENUM_ENTRY_TYPE_REFERENCEAccess().getRule(); + } + + //QUALIFIED_NAME: + // ID ("." ID)*; + public QUALIFIED_NAMEElements getQUALIFIED_NAMEAccess() { + return (pQUALIFIED_NAME != null) ? pQUALIFIED_NAME : (pQUALIFIED_NAME = new QUALIFIED_NAMEElements()); + } + + public ParserRule getQUALIFIED_NAMERule() { + return getQUALIFIED_NAMEAccess().getRule(); + } + + ///////////////////////////////////////// + //// OSEE TYPE MODEL // + ///////////////////////////////////////// + //OseeElement: + // XOseeEnumOverride | OseeType; + public OseeElementElements getOseeElementAccess() { + return (pOseeElement != null) ? pOseeElement : (pOseeElement = new OseeElementElements()); + } + + public ParserRule getOseeElementRule() { + return getOseeElementAccess().getRule(); + } + + //OseeType: + // XArtifactType | XRelationType | XAttributeType | XOseeEnumType; + public OseeTypeElements getOseeTypeAccess() { + return (pOseeType != null) ? pOseeType : (pOseeType = new OseeTypeElements()); + } + + public ParserRule getOseeTypeRule() { + return getOseeTypeAccess().getRule(); + } + + //XArtifactType: + // abstract?="abstract"? "artifactType" name=ARTIFACT_TYPE_REFERENCE ("extends" + // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ("," + // superArtifactTypes+=[XArtifactType|ARTIFACT_TYPE_REFERENCE])*)? "{" "guid" typeGuid=STRING + // validAttributeTypes+=XAttributeTypeRef* "}"; + public XArtifactTypeElements getXArtifactTypeAccess() { + return (pXArtifactType != null) ? pXArtifactType : (pXArtifactType = new XArtifactTypeElements()); + } + + public ParserRule getXArtifactTypeRule() { + return getXArtifactTypeAccess().getRule(); + } + + //XAttributeTypeRef: + // "attribute" validAttributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ("branchGuid" branchGuid=STRING)?; + public XAttributeTypeRefElements getXAttributeTypeRefAccess() { + return (pXAttributeTypeRef != null) ? pXAttributeTypeRef : (pXAttributeTypeRef = new XAttributeTypeRefElements()); + } + + public ParserRule getXAttributeTypeRefRule() { + return getXAttributeTypeRefAccess().getRule(); + } + + //XAttributeType: + // "attributeType" name=ATTRIBUTE_TYPE_REFERENCE ("extends" baseAttributeType=AttributeBaseType) ("overrides" + // override=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE])? "{" "guid" typeGuid=STRING "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|ENUM_TYPE_REFERENCE])? ("description" description=STRING)? ("defaultValue" + // defaultValue=STRING)? ("fileExtension" fileExtension=STRING)? "}"; + public XAttributeTypeElements getXAttributeTypeAccess() { + return (pXAttributeType != null) ? pXAttributeType : (pXAttributeType = new XAttributeTypeElements()); + } + + public ParserRule getXAttributeTypeRule() { + return getXAttributeTypeAccess().getRule(); + } + + //AttributeBaseType: + // "BooleanAttribute" | "CompressedContentAttribute" | "DateAttribute" | "EnumeratedAttribute" | "FloatingPointAttribute" + // | "IntegerAttribute" | "JavaObjectAttribute" | "StringAttribute" | "WordAttribute" | QUALIFIED_NAME; + public AttributeBaseTypeElements getAttributeBaseTypeAccess() { + return (pAttributeBaseType != null) ? pAttributeBaseType : (pAttributeBaseType = new AttributeBaseTypeElements()); + } + + public ParserRule getAttributeBaseTypeRule() { + return getAttributeBaseTypeAccess().getRule(); + } + + //XOseeEnumType: + // "oseeEnumType" name=ENUM_TYPE_REFERENCE "{" "guid" typeGuid=STRING enumEntries+=XOseeEnumEntry* "}"; + public XOseeEnumTypeElements getXOseeEnumTypeAccess() { + return (pXOseeEnumType != null) ? pXOseeEnumType : (pXOseeEnumType = new XOseeEnumTypeElements()); + } + + public ParserRule getXOseeEnumTypeRule() { + return getXOseeEnumTypeAccess().getRule(); + } + + //XOseeEnumEntry: + // "entry" name=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; + public XOseeEnumEntryElements getXOseeEnumEntryAccess() { + return (pXOseeEnumEntry != null) ? pXOseeEnumEntry : (pXOseeEnumEntry = new XOseeEnumEntryElements()); + } + + public ParserRule getXOseeEnumEntryRule() { + return getXOseeEnumEntryAccess().getRule(); + } + + //XOseeEnumOverride: + // "overrides enum" overridenEnumType=[XOseeEnumType|ENUM_TYPE_REFERENCE] "{" inheritAll?="inheritAll"? + // overrideOptions+=OverrideOption* "}"; + public XOseeEnumOverrideElements getXOseeEnumOverrideAccess() { + return (pXOseeEnumOverride != null) ? pXOseeEnumOverride : (pXOseeEnumOverride = new XOseeEnumOverrideElements()); + } + + public ParserRule getXOseeEnumOverrideRule() { + return getXOseeEnumOverrideAccess().getRule(); + } + + //OverrideOption: + // AddEnum | RemoveEnum; + public OverrideOptionElements getOverrideOptionAccess() { + return (pOverrideOption != null) ? pOverrideOption : (pOverrideOption = new OverrideOptionElements()); + } + + public ParserRule getOverrideOptionRule() { + return getOverrideOptionAccess().getRule(); + } + + //AddEnum: + // "add" enumEntry=ENUM_ENTRY_TYPE_REFERENCE ordinal=WHOLE_NUM_STR? ("entryGuid" entryGuid=STRING)?; + public AddEnumElements getAddEnumAccess() { + return (pAddEnum != null) ? pAddEnum : (pAddEnum = new AddEnumElements()); + } + + public ParserRule getAddEnumRule() { + return getAddEnumAccess().getRule(); + } + + //RemoveEnum: + // "remove" enumEntry=[XOseeEnumEntry|ENUM_ENTRY_TYPE_REFERENCE]; + public RemoveEnumElements getRemoveEnumAccess() { + return (pRemoveEnum != null) ? pRemoveEnum : (pRemoveEnum = new RemoveEnumElements()); + } + + public ParserRule getRemoveEnumRule() { + return getRemoveEnumAccess().getRule(); + } + + //XRelationType: + // "relationType" name=RELATION_TYPE_REFERENCE "{" "guid" typeGuid=STRING "sideAName" sideAName=STRING + // "sideAArtifactType" sideAArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "sideBName" sideBName=STRING + // "sideBArtifactType" sideBArtifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] "defaultOrderType" + // defaultOrderType=RelationOrderType "multiplicity" multiplicity=RelationMultiplicityEnum "}"; + public XRelationTypeElements getXRelationTypeAccess() { + return (pXRelationType != null) ? pXRelationType : (pXRelationType = new XRelationTypeElements()); + } + + public ParserRule getXRelationTypeRule() { + return getXRelationTypeAccess().getRule(); + } + + //enum RelationMultiplicityEnum: + // ONE_TO_ONE | ONE_TO_MANY | MANY_TO_ONE | MANY_TO_MANY; + public RelationMultiplicityEnumElements getRelationMultiplicityEnumAccess() { + return (unknownRuleRelationMultiplicityEnum != null) ? unknownRuleRelationMultiplicityEnum : (unknownRuleRelationMultiplicityEnum = new RelationMultiplicityEnumElements()); + } + + public EnumRule getRelationMultiplicityEnumRule() { + return getRelationMultiplicityEnumAccess().getRule(); + } + + //RelationOrderType: + // "Lexicographical_Ascending" | "Lexicographical_Descending" | "Unordered" | ID; + public RelationOrderTypeElements getRelationOrderTypeAccess() { + return (pRelationOrderType != null) ? pRelationOrderType : (pRelationOrderType = new RelationOrderTypeElements()); + } + + public ParserRule getRelationOrderTypeRule() { + return getRelationOrderTypeAccess().getRule(); + } + + ///////////////////////////////////////// + //// OSEE ARTIFACT INSTANCE REFERENCE // + ///////////////////////////////////////// + //ARTIFACT_INSTANCE_REFERENCE: + // STRING; + public ARTIFACT_INSTANCE_REFERENCEElements getARTIFACT_INSTANCE_REFERENCEAccess() { + return (pARTIFACT_INSTANCE_REFERENCE != null) ? pARTIFACT_INSTANCE_REFERENCE : (pARTIFACT_INSTANCE_REFERENCE = new ARTIFACT_INSTANCE_REFERENCEElements()); + } + + public ParserRule getARTIFACT_INSTANCE_REFERENCERule() { + return getARTIFACT_INSTANCE_REFERENCEAccess().getRule(); + } + + //XArtifactRef: + // "artifact" name=ARTIFACT_INSTANCE_REFERENCE "artGuid" guid=STRING ";"; + public XArtifactRefElements getXArtifactRefAccess() { + return (pXArtifactRef != null) ? pXArtifactRef : (pXArtifactRef = new XArtifactRefElements()); + } + + public ParserRule getXArtifactRefRule() { + return getXArtifactRefAccess().getRule(); + } + + //BRANCH_INSTANCE_REFERENCE: + // STRING; + public BRANCH_INSTANCE_REFERENCEElements getBRANCH_INSTANCE_REFERENCEAccess() { + return (pBRANCH_INSTANCE_REFERENCE != null) ? pBRANCH_INSTANCE_REFERENCE : (pBRANCH_INSTANCE_REFERENCE = new BRANCH_INSTANCE_REFERENCEElements()); + } + + public ParserRule getBRANCH_INSTANCE_REFERENCERule() { + return getBRANCH_INSTANCE_REFERENCEAccess().getRule(); + } + + //XBranchRef: + // "branch" name=BRANCH_INSTANCE_REFERENCE "branchGuid" guid=STRING ";"; + public XBranchRefElements getXBranchRefAccess() { + return (pXBranchRef != null) ? pXBranchRef : (pXBranchRef = new XBranchRefElements()); + } + + public ParserRule getXBranchRefRule() { + return getXBranchRefAccess().getRule(); + } + + ///////////////////////////////////////// + //// OSEE ACCESS MODEL // + ///////////////////////////////////////// + //ACCESS_CONTEXT_TYPE_REFRENCE: + // STRING; + public ACCESS_CONTEXT_TYPE_REFRENCEElements getACCESS_CONTEXT_TYPE_REFRENCEAccess() { + return (pACCESS_CONTEXT_TYPE_REFRENCE != null) ? pACCESS_CONTEXT_TYPE_REFRENCE : (pACCESS_CONTEXT_TYPE_REFRENCE = new ACCESS_CONTEXT_TYPE_REFRENCEElements()); + } + + public ParserRule getACCESS_CONTEXT_TYPE_REFRENCERule() { + return getACCESS_CONTEXT_TYPE_REFRENCEAccess().getRule(); + } + + //AccessContext: + // "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" + // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," + // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" guid=STRING ";" + // (accessRules+=ObjectRestriction | hierarchyRestrictions+=HierarchyRestriction)+ "}"; + public AccessContextElements getAccessContextAccess() { + return (pAccessContext != null) ? pAccessContext : (pAccessContext = new AccessContextElements()); + } + + public ParserRule getAccessContextRule() { + return getAccessContextAccess().getRule(); + } + + //HierarchyRestriction: + // "childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=ObjectRestriction+ "}"; + public HierarchyRestrictionElements getHierarchyRestrictionAccess() { + return (pHierarchyRestriction != null) ? pHierarchyRestriction : (pHierarchyRestriction = new HierarchyRestrictionElements()); + } + + public ParserRule getHierarchyRestrictionRule() { + return getHierarchyRestrictionAccess().getRule(); + } + + //enum AccessPermissionEnum: + // ALLOW | DENY; + public AccessPermissionEnumElements getAccessPermissionEnumAccess() { + return (unknownRuleAccessPermissionEnum != null) ? unknownRuleAccessPermissionEnum : (unknownRuleAccessPermissionEnum = new AccessPermissionEnumElements()); + } + + public EnumRule getAccessPermissionEnumRule() { + return getAccessPermissionEnumAccess().getRule(); + } + + //ObjectRestriction: + // ArtifactInstanceRestriction | ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction; + public ObjectRestrictionElements getObjectRestrictionAccess() { + return (pObjectRestriction != null) ? pObjectRestriction : (pObjectRestriction = new ObjectRestrictionElements()); + } + + public ParserRule getObjectRestrictionRule() { + return getObjectRestrictionAccess().getRule(); + } + + //ArtifactInstanceRestriction: + // permission=AccessPermissionEnum "edit" "artifact" artifactRef=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; + public ArtifactInstanceRestrictionElements getArtifactInstanceRestrictionAccess() { + return (pArtifactInstanceRestriction != null) ? pArtifactInstanceRestriction : (pArtifactInstanceRestriction = new ArtifactInstanceRestrictionElements()); + } + + public ParserRule getArtifactInstanceRestrictionRule() { + return getArtifactInstanceRestrictionAccess().getRule(); + } + + //ArtifactTypeRestriction: + // permission=AccessPermissionEnum "edit" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; + public ArtifactTypeRestrictionElements getArtifactTypeRestrictionAccess() { + return (pArtifactTypeRestriction != null) ? pArtifactTypeRestriction : (pArtifactTypeRestriction = new ArtifactTypeRestrictionElements()); + } + + public ParserRule getArtifactTypeRestrictionRule() { + return getArtifactTypeRestrictionAccess().getRule(); + } + + //AttributeTypeRestriction: + // permission=AccessPermissionEnum "edit" "attributeType" attributeTypeRef=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] + // ("of" "artifactType" artifactTypeRef=[XArtifactType|ARTIFACT_TYPE_REFERENCE])? ";"; + public AttributeTypeRestrictionElements getAttributeTypeRestrictionAccess() { + return (pAttributeTypeRestriction != null) ? pAttributeTypeRestriction : (pAttributeTypeRestriction = new AttributeTypeRestrictionElements()); + } + + public ParserRule getAttributeTypeRestrictionRule() { + return getAttributeTypeRestrictionAccess().getRule(); + } + + //RelationTypeRestriction: + // permission=AccessPermissionEnum "edit" "relationType" relationTypeRef=[XRelationType|RELATION_TYPE_REFERENCE] + // restrictedToSide=XRelationSideEnum ";"; + public RelationTypeRestrictionElements getRelationTypeRestrictionAccess() { + return (pRelationTypeRestriction != null) ? pRelationTypeRestriction : (pRelationTypeRestriction = new RelationTypeRestrictionElements()); + } + + public ParserRule getRelationTypeRestrictionRule() { + return getRelationTypeRestrictionAccess().getRule(); + } + + ////BranchRestriction: + //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; + ////AccessSet: + //// artifactRestrictions+=ArtifactInstanceRestriction + //// artifactTypeRestrictions+=ArtifactTypeRestriction + //// attributeTypeRestrictions+=AttributeTypeRestriction + //// relationTypeRestrictions+=RelationTypeRestriction; enum XRelationSideEnum: + // SIDE_A | SIDE_B | BOTH; + public XRelationSideEnumElements getXRelationSideEnumAccess() { + return (unknownRuleXRelationSideEnum != null) ? unknownRuleXRelationSideEnum : (unknownRuleXRelationSideEnum = new XRelationSideEnumElements()); + } + + 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 STRING: + // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | + // "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'"; + public TerminalRule getSTRINGRule() { + return gaTerminals.getSTRINGRule(); + } + + //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 index 12172183bfa..ccd21aeaf5d 100644 --- 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 @@ -1,31 +1,20 @@ -/******************************************************************************* - * Copyright (c) 2010 Boeing. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ 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.AbstractDeclarativeValidator; import org.eclipse.xtext.validation.ComposedChecks; -@ComposedChecks(validators = { - org.eclipse.xtext.validation.ImportUriValidator.class, - org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) +@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) public class AbstractOseeDslJavaValidator extends 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; - } + @Override + protected List<EPackage> getEPackages() { + List<EPackage> result = new ArrayList<EPackage>(); + result.add(org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage.eINSTANCE); + return result; + } } |