diff options
author | rescobar | 2010-07-29 02:36:24 +0000 |
---|---|---|
committer | rescobar | 2010-07-29 02:36:24 +0000 |
commit | c001a829049fa6d98b24483decb9b15444423d40 (patch) | |
tree | 747816426b519a997f081d545b1c79f50316f2bc /plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core | |
parent | f1479c0c6dfc4efe9392768bc39b06bd6a9c294e (diff) | |
download | org.eclipse.osee-c001a829049fa6d98b24483decb9b15444423d40.tar.gz org.eclipse.osee-c001a829049fa6d98b24483decb9b15444423d40.tar.xz org.eclipse.osee-c001a829049fa6d98b24483decb9b15444423d40.zip |
"Team Workflow" - YGHW1 - "Block changes to requirements unless done under an appropriate action."
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core')
75 files changed, 34075 insertions, 34932 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..71636861513 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,129 @@ 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.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; + } } 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 5874a25fe31..b4871313852 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 @@ -104,48 +104,41 @@ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="superAccessContexts" unique="false"
upperBound="-1" eType="#//AccessContext"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeGuid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <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="#//PermissionRule" containment="true"/>
+ eType="#//ObjectRestriction" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="hierarchyRestrictions"
upperBound="-1" eType="#//HierarchyRestriction" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="HierarchyRestriction">
<eStructuralFeatures xsi:type="ecore:EReference" name="artifact" eType="#//XArtifactRef"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="accessRules" upperBound="-1"
- eType="#//PermissionRule" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PermissionRule">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="permission" eType="#//AccessPermissionEnum"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="objectRestriction" eType="#//ObjectRestriction"
- containment="true"/>
+ eType="#//ObjectRestriction" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="AccessPermissionEnum">
<eLiterals name="ALLOW" literal="ALLOW"/>
<eLiterals name="DENY" value="1" literal="DENY"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ObjectRestriction"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ObjectRestriction">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="permission" eType="#//AccessPermissionEnum"/>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ArtifactInstanceRestriction" eSuperTypes="#//ObjectRestriction">
- <eStructuralFeatures xsi:type="ecore:EReference" name="artifactName" eType="#//XArtifactRef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifactRef" eType="#//XArtifactRef"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ArtifactTypeRestriction" eSuperTypes="#//ObjectRestriction">
- <eStructuralFeatures xsi:type="ecore:EReference" name="artifactType" eType="#//XArtifactType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="#//XArtifactType"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AttributeTypeRestriction" eSuperTypes="#//ObjectRestriction">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributeTypeRef" eType="#//XAttributeType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="artifactTypeRef" eType="#//XArtifactType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RelationTypeRestriction" eSuperTypes="#//ObjectRestriction">
- <eStructuralFeatures xsi:type="ecore:EReference" name="relationType" eType="#//XRelationType"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="restrictedTo" unique="false"
- upperBound="-1" eType="#//RelationTypeSideRestriction"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="relationTypeRef" eType="#//XRelationType"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="restrictedToSide" eType="#//XRelationSideEnum"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="RelationTypeSideRestriction">
+ <eClassifiers xsi:type="ecore:EEnum" name="XRelationSideEnum">
<eLiterals name="SIDE_A" literal="SIDE_A"/>
<eLiterals name="SIDE_B" value="1" literal="SIDE_B"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AttributeTypeRestriction" eSuperTypes="#//ObjectRestriction">
- <eStructuralFeatures xsi:type="ecore:EReference" name="attributeType" eType="#//XAttributeType"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AttributeTypeOfArtifactTypeRestriction"
- eSuperTypes="#//ObjectRestriction">
- <eStructuralFeatures xsi:type="ecore:EReference" name="attributeType" eType="#//XAttributeType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="artifactType" eType="#//XArtifactType"/>
+ <eLiterals name="BOTH" value="2" literal="BOTH"/>
</eClassifiers>
</ecore:EPackage>
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.genmodel b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/OseeDsl.genmodel index 82520d9784a..cdfd9a91924 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 @@ -19,9 +19,10 @@ <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//AccessPermissionEnum/ALLOW"/>
<genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//AccessPermissionEnum/DENY"/>
</genEnums>
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//RelationTypeSideRestriction">
- <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationTypeSideRestriction/SIDE_A"/>
- <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//RelationTypeSideRestriction/SIDE_B"/>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="OseeDsl.ecore#//XRelationSideEnum">
+ <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XRelationSideEnum/SIDE_A"/>
+ <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XRelationSideEnum/SIDE_B"/>
+ <genEnumLiterals ecoreEnumLiteral="OseeDsl.ecore#//XRelationSideEnum/BOTH"/>
</genEnums>
<genClasses ecoreClass="OseeDsl.ecore#//OseeDsl">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//OseeDsl/imports"/>
@@ -104,7 +105,7 @@ <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/typeGuid"/>
+ <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>
@@ -112,27 +113,22 @@ <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#//PermissionRule">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//PermissionRule/permission"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//PermissionRule/objectRestriction"/>
+ <genClasses ecoreClass="OseeDsl.ecore#//ObjectRestriction">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//ObjectRestriction/permission"/>
</genClasses>
- <genClasses ecoreClass="OseeDsl.ecore#//ObjectRestriction"/>
<genClasses ecoreClass="OseeDsl.ecore#//ArtifactInstanceRestriction">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//ArtifactInstanceRestriction/artifactName"/>
+ <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/artifactType"/>
- </genClasses>
- <genClasses ecoreClass="OseeDsl.ecore#//RelationTypeRestriction">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//RelationTypeRestriction/relationType"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute OseeDsl.ecore#//RelationTypeRestriction/restrictedTo"/>
+ <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/attributeType"/>
+ <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#//AttributeTypeOfArtifactTypeRestriction">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AttributeTypeOfArtifactTypeRestriction/attributeType"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference OseeDsl.ecore#//AttributeTypeOfArtifactTypeRestriction/artifactType"/>
+ <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>
</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 f84d76f00e5..86bcad7c464 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 @@ -582,15 +582,17 @@ </elements>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Keyword" value="guid"/>
- <elements xsi:type="xtext:Assignment" feature="typeGuid" operator="=">
+ <elements xsi:type="xtext:Assignment" feature="guid" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
</elements>
<elements xsi:type="xtext:Keyword" value=";"/>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="accessRules" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="hierarchyRestrictions" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
+ <elements xsi:type="xtext:Alternatives" cardinality="+">
+ <elements xsi:type="xtext:Assignment" feature="accessRules" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.33"/>
+ </elements>
+ <elements xsi:type="xtext:Assignment" feature="hierarchyRestrictions" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
+ </elements>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -611,23 +613,9 @@ </elements>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Assignment" feature="accessRules" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PermissionRule">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//PermissionRule"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="permission" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.33"/>
</elements>
- <elements xsi:type="xtext:Keyword" value="edit"/>
- <elements xsi:type="xtext:Assignment" feature="objectRestriction" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.34"/>
- </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
</rules>
<rules xsi:type="xtext:EnumRule" name="AccessPermissionEnum">
@@ -650,11 +638,10 @@ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//ObjectRestriction"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.36"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.37"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.39"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.40"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.34"/>
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.35"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.37"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.36"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="ArtifactInstanceRestriction">
@@ -662,8 +649,12 @@ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//ArtifactInstanceRestriction"/>
</type>
<alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" feature="permission" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="edit"/>
<elements xsi:type="xtext:Keyword" value="artifact"/>
- <elements xsi:type="xtext:Assignment" feature="artifactName" operator="=">
+ <elements xsi:type="xtext:Assignment" feature="artifactRef" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.0">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XArtifactRef"/>
@@ -679,8 +670,12 @@ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//ArtifactTypeRestriction"/>
</type>
<alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" feature="permission" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="edit"/>
<elements xsi:type="xtext:Keyword" value="artifactType"/>
- <elements xsi:type="xtext:Assignment" feature="artifactType" operator="=">
+ <elements xsi:type="xtext:Assignment" feature="artifactTypeRef" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.0">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XArtifactType"/>
@@ -691,13 +686,50 @@ <elements xsi:type="xtext:Keyword" value=";"/>
</alternatives>
</rules>
+ <rules xsi:type="xtext:ParserRule" name="AttributeTypeRestriction">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//AttributeTypeRestriction"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" feature="permission" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="edit"/>
+ <elements xsi:type="xtext:Keyword" value="attributeType"/>
+ <elements xsi:type="xtext:Assignment" feature="attributeTypeRef" operator="=">
+ <terminal xsi:type="xtext:CrossReference">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XAttributeType"/>
+ </type>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
+ </terminal>
+ </elements>
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="of"/>
+ <elements xsi:type="xtext:Keyword" value="artifactType"/>
+ <elements xsi:type="xtext:Assignment" feature="artifactTypeRef" operator="=">
+ <terminal xsi:type="xtext:CrossReference">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XArtifactType"/>
+ </type>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ </terminal>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value=";"/>
+ </alternatives>
+ </rules>
<rules xsi:type="xtext:ParserRule" name="RelationTypeRestriction">
<type metamodel="/0/@metamodelDeclarations.0">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//RelationTypeRestriction"/>
</type>
<alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" feature="permission" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="edit"/>
<elements xsi:type="xtext:Keyword" value="relationType"/>
- <elements xsi:type="xtext:Assignment" feature="relationType" operator="=">
+ <elements xsi:type="xtext:Assignment" feature="relationTypeRef" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.0">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XRelationType"/>
@@ -705,69 +737,29 @@ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
</terminal>
</elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="restrictedTo" operator="+=">
+ <elements xsi:type="xtext:Assignment" feature="restrictedToSide" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.38"/>
</elements>
<elements xsi:type="xtext:Keyword" value=";"/>
</alternatives>
</rules>
- <rules xsi:type="xtext:EnumRule" name="RelationTypeSideRestriction">
+ <rules xsi:type="xtext:EnumRule" name="XRelationSideEnum">
<type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//RelationTypeSideRestriction"/>
+ <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XRelationSideEnum"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
<elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//RelationTypeSideRestriction/SIDE_A"/>
+ <enumLiteral href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XRelationSideEnum/SIDE_A"/>
<literal value="SIDE_A"/>
</elements>
<elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//RelationTypeSideRestriction/SIDE_B"/>
+ <enumLiteral href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XRelationSideEnum/SIDE_B"/>
<literal value="SIDE_B"/>
</elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AttributeTypeRestriction">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//AttributeTypeRestriction"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="attributeType"/>
- <elements xsi:type="xtext:Assignment" feature="attributeType" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XAttributeType"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AttributeTypeOfArtifactTypeRestriction">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//AttributeTypeOfArtifactTypeRestriction"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="attributeType"/>
- <elements xsi:type="xtext:Assignment" feature="attributeType" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XAttributeType"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="of"/>
- <elements xsi:type="xtext:Keyword" value="artifactType"/>
- <elements xsi:type="xtext:Assignment" feature="artifactType" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XArtifactType"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </terminal>
+ <elements xsi:type="xtext:EnumLiteralDeclaration">
+ <enumLiteral href="http://www.eclipse.org/osee/framework/core/dsl/OseeDsl#//XRelationSideEnum/BOTH"/>
+ <literal value="BOTH"/>
</elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
</alternatives>
</rules>
</xtext:Grammar>
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 3b61b94e62d..1f1d514010b 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,8 +1,10 @@ + 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; @@ -12,31 +14,31 @@ 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 019464cd903..cb9e2a1c2e5 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 @@ -1,131 +1,135 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Access Context</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <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#getTypeGuid <em>Type 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(); - - /** - * 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>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#getAccessContext_TypeGuid() - * @model - * @generated - */ - String getTypeGuid(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#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); - - /** - * 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.PermissionRule}. <!-- 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<PermissionRule> getAccessRules(); - - /** - * Returns the value of the '<em><b>Hierarchy Restrictions</b></em>' containment reference list. The list contents - * are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Hierarchy Restrictions</em>' containment reference list isn't clear, there really - * should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Hierarchy Restrictions</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_HierarchyRestrictions() - * @model containment="true" - * @generated - */ - EList<HierarchyRestriction> getHierarchyRestrictions(); - -} // AccessContext + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Access Context</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getGuid <em>Guid</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li>
+ * </ul>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Super Access Contexts</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Super Access Contexts</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Super Access Contexts</em>' reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_SuperAccessContexts()
+ * @model
+ * @generated
+ */
+ EList<AccessContext> getSuperAccessContexts();
+
+ /**
+ * Returns the value of the '<em><b>Guid</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Guid</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Guid</em>' attribute.
+ * @see #setGuid(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_Guid()
+ * @model
+ * @generated
+ */
+ String getGuid();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getGuid <em>Guid</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Guid</em>' attribute.
+ * @see #getGuid()
+ * @generated
+ */
+ void setGuid(String value);
+
+ /**
+ * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Access Rules</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_AccessRules()
+ * @model containment="true"
+ * @generated
+ */
+ EList<ObjectRestriction> getAccessRules();
+
+ /**
+ * Returns the value of the '<em><b>Hierarchy Restrictions</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hierarchy Restrictions</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hierarchy Restrictions</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_HierarchyRestrictions()
+ * @model containment="true"
+ * @generated
+ */
+ EList<HierarchyRestriction> getHierarchyRestrictions();
+
+} // AccessContext
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java index 1b4f048f40e..cf3583599e9 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 @@ -1,208 +1,227 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> A representation of the literals of the enumeration '<em><b>Access Permission Enum</b></em>', - * and utility methods for working with them. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessPermissionEnum() - * @model - * @generated - */ -public enum AccessPermissionEnum implements Enumerator { - /** - * The '<em><b>ALLOW</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #ALLOW_VALUE - * @generated - * @ordered - */ - ALLOW(0, "ALLOW", "ALLOW"), - - /** - * The '<em><b>DENY</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #DENY_VALUE - * @generated - * @ordered - */ - DENY(1, "DENY", "DENY"); - - /** - * The '<em><b>ALLOW</b></em>' literal value. <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ALLOW</b></em>' literal object isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @see #ALLOW - * @model - * @generated - * @ordered - */ - public static final int ALLOW_VALUE = 0; - - /** - * The '<em><b>DENY</b></em>' literal value. <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>DENY</b></em>' literal object isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @see #DENY - * @model - * @generated - * @ordered - */ - public static final int DENY_VALUE = 1; - - /** - * An array of all the '<em><b>Access Permission Enum</b></em>' enumerators. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - private static final AccessPermissionEnum[] VALUES_ARRAY = new AccessPermissionEnum[] {ALLOW, DENY,}; - - /** - * A public read-only list of all the '<em><b>Access Permission Enum</b></em>' enumerators. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - */ - public static final List<AccessPermissionEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified literal value. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @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; - } - } - 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 - */ - @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; - } - -} //AccessPermissionEnum +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Access Permission Enum</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessPermissionEnum()
+ * @model
+ * @generated
+ */
+public enum AccessPermissionEnum implements Enumerator
+{
+ /**
+ * The '<em><b>ALLOW</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ALLOW_VALUE
+ * @generated
+ * @ordered
+ */
+ ALLOW(0, "ALLOW", "ALLOW"),
+
+ /**
+ * The '<em><b>DENY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #DENY_VALUE
+ * @generated
+ * @ordered
+ */
+ DENY(1, "DENY", "DENY");
+
+ /**
+ * The '<em><b>ALLOW</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ALLOW</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ALLOW
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ALLOW_VALUE = 0;
+
+ /**
+ * The '<em><b>DENY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>DENY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #DENY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int DENY_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Access Permission Enum</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final AccessPermissionEnum[] VALUES_ARRAY =
+ new AccessPermissionEnum[]
+ {
+ ALLOW,
+ DENY,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Access Permission Enum</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<AccessPermissionEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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;
+ }
+ }
+ 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..14425f472a7 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 @@ -1,103 +1,108 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Add Enum</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry - * <em>Enum Entry</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Enum Entry</em>' attribute. - * @see #getEnumEntry() - * @generated - */ - void setEnumEntry(String value); - - /** - * Returns the value of the '<em><b>Ordinal</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ordinal</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Ordinal</em>' attribute. - * @see #setOrdinal(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_Ordinal() - * @model - * @generated - */ - String getOrdinal(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Ordinal</em>' attribute. - * @see #getOrdinal() - * @generated - */ - void setOrdinal(String value); - - /** - * Returns the value of the '<em><b>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); - -} // AddEnum + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Add Enum</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Enum Entry</em>' attribute.
+ * @see #getEnumEntry()
+ * @generated
+ */
+ void setEnumEntry(String value);
+
+ /**
+ * Returns the value of the '<em><b>Ordinal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ordinal</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ordinal</em>' attribute.
+ * @see #setOrdinal(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_Ordinal()
+ * @model
+ * @generated
+ */
+ String getOrdinal();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ordinal</em>' attribute.
+ * @see #getOrdinal()
+ * @generated
+ */
+ void setOrdinal(String value);
+
+ /**
+ * Returns the value of the '<em><b>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);
+
+} // 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 ca8ecaa6b5a..d2962843bfb 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 @@ -1,52 +1,54 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name - * </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 Name</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Name</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 Name</em>' reference. - * @see #setArtifactName(XArtifactRef) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction_ArtifactName() - * @model - * @generated - */ - XArtifactRef getArtifactName(); - - /** - * Sets the value of the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName - * <em>Artifact Name</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Artifact Name</em>' reference. - * @see #getArtifactName() - * @generated - */ - void setArtifactName(XArtifactRef value); - -} // ArtifactInstanceRestriction + */
+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 -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <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();
+
+ /**
+ * 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 e2743ac2363..38cfa7353bf 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 @@ -1,51 +1,54 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Artifact Type Restriction</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type - * </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</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Type</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Artifact Type</em>' reference. - * @see #setArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction_ArtifactType() - * @model - * @generated - */ - XArtifactType getArtifactType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType - * <em>Artifact Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Artifact Type</em>' reference. - * @see #getArtifactType() - * @generated - */ - void setArtifactType(XArtifactType value); - -} // ArtifactTypeRestriction + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Artifact Type Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <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();
+
+ /**
+ * 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/AttributeTypeOfArtifactTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeOfArtifactTypeRestriction.java deleted file mode 100644 index 1babdab2d3e..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeOfArtifactTypeRestriction.java +++ /dev/null @@ -1,81 +0,0 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object ' - * <em><b>Attribute Type Of Artifact Type Restriction</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em> - * Attribute Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em> - * Artifact Type</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction() - * @model - * @generated - */ -public interface AttributeTypeOfArtifactTypeRestriction extends ObjectRestriction { - /** - * Returns the value of the '<em><b>Attribute Type</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Attribute Type</em>' reference. - * @see #setAttributeType(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction_AttributeType() - * @model - * @generated - */ - XAttributeType getAttributeType(); - - /** - * Sets the value of the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType - * <em>Attribute Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Attribute Type</em>' reference. - * @see #getAttributeType() - * @generated - */ - void setAttributeType(XAttributeType value); - - /** - * Returns the value of the '<em><b>Artifact Type</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Type</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Artifact Type</em>' reference. - * @see #setArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction_ArtifactType() - * @model - * @generated - */ - XArtifactType getArtifactType(); - - /** - * Sets the value of the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType - * <em>Artifact Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Artifact Type</em>' reference. - * @see #getArtifactType() - * @generated - */ - void setArtifactType(XArtifactType value); - -} // AttributeTypeOfArtifactTypeRestriction 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 61836dfad02..3dc754d6a01 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 @@ -1,52 +1,81 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Attribute Type Restriction</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type - * </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</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>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>Attribute Type</em>' reference. - * @see #setAttributeType(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction_AttributeType() - * @model - * @generated - */ - XAttributeType getAttributeType(); - - /** - * Sets the value of the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType - * <em>Attribute Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Attribute Type</em>' reference. - * @see #getAttributeType() - * @generated - */ - void setAttributeType(XAttributeType value); - -} // AttributeTypeRestriction + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Attribute Type Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeTypeRef <em>Attribute Type Ref</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}</li>
+ * </ul>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeTypeRef <em>Attribute Type Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attribute Type Ref</em>' reference.
+ * @see #getAttributeTypeRef()
+ * @generated
+ */
+ void setAttributeTypeRef(XAttributeType value);
+
+ /**
+ * Returns the value of the '<em><b>Artifact Type Ref</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifact Type Ref</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifact Type Ref</em>' reference.
+ * @see #setArtifactTypeRef(XArtifactType)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction_ArtifactTypeRef()
+ * @model
+ * @generated
+ */
+ XArtifactType getArtifactTypeRef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getArtifactTypeRef <em>Artifact Type Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Artifact Type Ref</em>' reference.
+ * @see #getArtifactTypeRef()
+ * @generated
+ */
+ void setArtifactTypeRef(XArtifactType value);
+
+} // AttributeTypeRestriction
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java index 28291a185b6..7d1be4e711e 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 @@ -1,70 +1,74 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Hierarchy Restriction</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * 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.PermissionRule}. <!-- 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<PermissionRule> getAccessRules(); - -} // HierarchyRestriction + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Hierarchy Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * 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();
+
+} // 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..0df896f2bcc 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 @@ -1,51 +1,55 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Import</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <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(); - - /** - * 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 + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Import</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <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();
+
+ /**
+ * 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 1b69e945d8d..8e7deab4d07 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 @@ -1,20 +1,58 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 - * --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getObjectRestriction() - * @model - * @generated - */ -public interface ObjectRestriction extends EObject { -} // ObjectRestriction + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Object Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <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();
+
+ /**
+ * 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..23ae70945df 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 @@ -1,178 +1,183 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Osee Dsl</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * Returns the value of the '<em><b>Artifact Types</b></em>' containment reference list. The list contents are of - * type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Artifact Types</em>' containment reference list isn't clear, there really should be - * more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Artifact Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactTypes() - * @model containment="true" - * @generated - */ - EList<XArtifactType> getArtifactTypes(); - - /** - * Returns the value of the '<em><b>Relation Types</b></em>' containment reference list. The list contents are of - * type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Relation Types</em>' containment reference list isn't clear, there really should be - * more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Relation Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_RelationTypes() - * @model containment="true" - * @generated - */ - EList<XRelationType> getRelationTypes(); - - /** - * Returns the value of the '<em><b>Attribute Types</b></em>' containment reference list. The list contents are of - * type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Attribute Types</em>' containment reference list isn't clear, there really should be - * more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Attribute Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AttributeTypes() - * @model containment="true" - * @generated - */ - EList<XAttributeType> getAttributeTypes(); - - /** - * Returns the value of the '<em><b>Enum Types</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Types</em>' containment reference list isn't clear, there really should be more of - * a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Enum Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumTypes() - * @model containment="true" - * @generated - */ - EList<XOseeEnumType> getEnumTypes(); - - /** - * Returns the value of the '<em><b>Enum Overrides</b></em>' containment reference list. The list contents are of - * type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Overrides</em>' containment reference list isn't clear, there really should be - * more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Enum Overrides</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumOverrides() - * @model containment="true" - * @generated - */ - EList<XOseeEnumOverride> getEnumOverrides(); - - /** - * Returns the value of the '<em><b>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>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 + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Osee Dsl</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * Returns the value of the '<em><b>Artifact Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Artifact Types</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Artifact Types</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactTypes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<XArtifactType> getArtifactTypes();
+
+ /**
+ * Returns the value of the '<em><b>Relation Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Relation Types</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Relation Types</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_RelationTypes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<XRelationType> getRelationTypes();
+
+ /**
+ * Returns the value of the '<em><b>Attribute Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attribute Types</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attribute Types</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AttributeTypes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<XAttributeType> getAttributeTypes();
+
+ /**
+ * Returns the value of the '<em><b>Enum Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Enum Types</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Enum Types</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumTypes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<XOseeEnumType> getEnumTypes();
+
+ /**
+ * Returns the value of the '<em><b>Enum Overrides</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Enum Overrides</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Enum Overrides</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumOverrides()
+ * @model containment="true"
+ * @generated
+ */
+ EList<XOseeEnumOverride> getEnumOverrides();
+
+ /**
+ * Returns the value of the '<em><b>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>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 f28af76aea0..117618dc37e 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 @@ -1,236 +1,245 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of - * the model. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage - * @generated - */ -public interface OseeDslFactory extends EFactory { - /** - * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - OseeDslFactory eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Osee Dsl</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Osee Dsl</em>'. - * @generated - */ - OseeDsl createOseeDsl(); - - /** - * Returns a new object of class '<em>Import</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Import</em>'. - * @generated - */ - Import createImport(); - - /** - * Returns a new object of class '<em>Osee Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Osee Element</em>'. - * @generated - */ - OseeElement createOseeElement(); - - /** - * Returns a new object of class '<em>Osee Type</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Osee Type</em>'. - * @generated - */ - OseeType createOseeType(); - - /** - * Returns a new object of class '<em>XArtifact Type</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XArtifact Type</em>'. - * @generated - */ - XArtifactType createXArtifactType(); - - /** - * Returns a new object of class '<em>XAttribute Type Ref</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XAttribute Type Ref</em>'. - * @generated - */ - XAttributeTypeRef createXAttributeTypeRef(); - - /** - * Returns a new object of class '<em>XAttribute Type</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XAttribute Type</em>'. - * @generated - */ - XAttributeType createXAttributeType(); - - /** - * Returns a new object of class '<em>XOsee Enum Type</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XOsee Enum Type</em>'. - * @generated - */ - XOseeEnumType createXOseeEnumType(); - - /** - * Returns a new object of class '<em>XOsee Enum Entry</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XOsee Enum Entry</em>'. - * @generated - */ - XOseeEnumEntry createXOseeEnumEntry(); - - /** - * Returns a new object of class '<em>XOsee Enum Override</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>XOsee Enum Override</em>'. - * @generated - */ - XOseeEnumOverride createXOseeEnumOverride(); - - /** - * Returns a new object of class '<em>Override Option</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Override Option</em>'. - * @generated - */ - OverrideOption createOverrideOption(); - - /** - * Returns a new object of class '<em>Add Enum</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Add Enum</em>'. - * @generated - */ - AddEnum createAddEnum(); - - /** - * Returns a new object of class '<em>Remove Enum</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Remove Enum</em>'. - * @generated - */ - RemoveEnum createRemoveEnum(); - - /** - * Returns a new object of class '<em>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>Permission Rule</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return a new object of class '<em>Permission Rule</em>'. - * @generated - */ - PermissionRule createPermissionRule(); - - /** - * 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>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 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>Attribute Type Of Artifact Type Restriction</em>'. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @return a new object of class '<em>Attribute Type Of Artifact Type Restriction</em>'. - * @generated - */ - AttributeTypeOfArtifactTypeRestriction createAttributeTypeOfArtifactTypeRestriction(); - - /** - * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the package supported by this factory. - * @generated - */ - OseeDslPackage getOseeDslPackage(); - -} //OseeDslFactory +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage
+ * @generated
+ */
+public interface OseeDslFactory extends EFactory
+{
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ OseeDslFactory eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Osee Dsl</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Osee Dsl</em>'.
+ * @generated
+ */
+ OseeDsl createOseeDsl();
+
+ /**
+ * Returns a new object of class '<em>Import</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Import</em>'.
+ * @generated
+ */
+ Import createImport();
+
+ /**
+ * Returns a new object of class '<em>Osee Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Osee Element</em>'.
+ * @generated
+ */
+ OseeElement createOseeElement();
+
+ /**
+ * Returns a new object of class '<em>Osee Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Osee Type</em>'.
+ * @generated
+ */
+ OseeType createOseeType();
+
+ /**
+ * Returns a new object of class '<em>XArtifact Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>XArtifact Type</em>'.
+ * @generated
+ */
+ XArtifactType createXArtifactType();
+
+ /**
+ * Returns a new object of class '<em>XAttribute Type Ref</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>XAttribute Type Ref</em>'.
+ * @generated
+ */
+ XAttributeTypeRef createXAttributeTypeRef();
+
+ /**
+ * Returns a new object of class '<em>XAttribute Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>XAttribute Type</em>'.
+ * @generated
+ */
+ XAttributeType createXAttributeType();
+
+ /**
+ * Returns a new object of class '<em>XOsee Enum Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>XOsee Enum Type</em>'.
+ * @generated
+ */
+ XOseeEnumType createXOseeEnumType();
+
+ /**
+ * Returns a new object of class '<em>XOsee Enum Entry</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>XOsee Enum Entry</em>'.
+ * @generated
+ */
+ XOseeEnumEntry createXOseeEnumEntry();
+
+ /**
+ * Returns a new object of class '<em>XOsee Enum Override</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>XOsee Enum Override</em>'.
+ * @generated
+ */
+ XOseeEnumOverride createXOseeEnumOverride();
+
+ /**
+ * Returns a new object of class '<em>Override Option</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Override Option</em>'.
+ * @generated
+ */
+ OverrideOption createOverrideOption();
+
+ /**
+ * Returns a new object of class '<em>Add Enum</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Add Enum</em>'.
+ * @generated
+ */
+ AddEnum createAddEnum();
+
+ /**
+ * Returns a new object of class '<em>Remove Enum</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Remove Enum</em>'.
+ * @generated
+ */
+ RemoveEnum createRemoveEnum();
+
+ /**
+ * Returns a new object of class '<em>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 b510b6cab3a..770c18c7384 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 @@ -1,3030 +1,2921 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> The <b>Package</b> for the model. It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory - * @model kind="package" - * @generated - */ -public interface OseeDslPackage extends EPackage { - /** - * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNAME = "oseeDsl"; - - /** - * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/osee/framework/core/dsl/OseeDsl"; - - /** - * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNS_PREFIX = "oseeDsl"; - - /** - * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - OseeDslPackage eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>} - * ' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl() - * @generated - */ - int OSEE_DSL = 0; - - /** - * The feature id for the '<em><b>Imports</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__IMPORTS = 0; - - /** - * The feature id for the '<em><b>Artifact Types</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__ARTIFACT_TYPES = 1; - - /** - * The feature id for the '<em><b>Relation Types</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__RELATION_TYPES = 2; - - /** - * The feature id for the '<em><b>Attribute Types</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__ATTRIBUTE_TYPES = 3; - - /** - * The feature id for the '<em><b>Enum Types</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__ENUM_TYPES = 4; - - /** - * The feature id for the '<em><b>Enum Overrides</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int OSEE_DSL__ENUM_OVERRIDES = 5; - - /** - * The feature id for the '<em><b>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>Type Guid</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ACCESS_CONTEXT__TYPE_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.PermissionRuleImpl - * <em>Permission Rule</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getPermissionRule() - * @generated - */ - int PERMISSION_RULE = 18; - - /** - * The feature id for the '<em><b>Permission</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int PERMISSION_RULE__PERMISSION = 0; - - /** - * The feature id for the '<em><b>Object Restriction</b></em>' containment reference. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int PERMISSION_RULE__OBJECT_RESTRICTION = 1; - - /** - * The number of structural features of the '<em>Permission Rule</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int PERMISSION_RULE_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 = 19; - - /** - * 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 = 0; - - /** - * 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 = 20; - - /** - * The feature id for the '<em><b>Artifact Name</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME = 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 = 21; - - /** - * The feature id for the '<em><b>Artifact Type</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = 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.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>Relation Type</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__RELATION_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Restricted To</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int RELATION_TYPE_RESTRICTION__RESTRICTED_TO = 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.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 = 23; - - /** - * The feature id for the '<em><b>Attribute Type</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * 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 + 1; - - /** - * The meta object id for the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl - * <em>Attribute Type Of Artifact Type Restriction</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeOfArtifactTypeRestriction() - * @generated - */ - int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION = 24; - - /** - * The feature id for the '<em><b>Attribute Type</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Artifact Type</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Attribute Type Of Artifact Type Restriction</em>' class. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ATTRIBUTE_TYPE_OF_ARTIFACT_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 = 25; - - /** - * 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 = 26; - - /** - * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction - * <em>Relation Type Side Restriction</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeSideRestriction() - * @generated - */ - int RELATION_TYPE_SIDE_RESTRICTION = 27; - - /** - * 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#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.AccessContext#getTypeGuid() - * @see #getAccessContext() - * @generated - */ - EAttribute getAccessContext_TypeGuid(); - - /** - * 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.PermissionRule - * <em>Permission Rule</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>Permission Rule</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule - * @generated - */ - EClass getPermissionRule(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#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.PermissionRule#getPermission() - * @see #getPermissionRule() - * @generated - */ - EAttribute getPermissionRule_Permission(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction - * <em>Object Restriction</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the containment reference '<em>Object Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction() - * @see #getPermissionRule() - * @generated - */ - EReference getPermissionRule_ObjectRestriction(); - - /** - * 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 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#getArtifactName - * <em>Artifact Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Artifact Name</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName() - * @see #getArtifactInstanceRestriction() - * @generated - */ - EReference getArtifactInstanceRestriction_ArtifactName(); - - /** - * 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#getArtifactType <em>Artifact Type</em>} - * '. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Artifact Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType() - * @see #getArtifactTypeRestriction() - * @generated - */ - EReference getArtifactTypeRestriction_ArtifactType(); - - /** - * 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#getRelationType <em>Relation Type</em>} - * '. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Relation Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType() - * @see #getRelationTypeRestriction() - * @generated - */ - EReference getRelationTypeRestriction_RelationType(); - - /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo <em>Restricted To</em>} - * '. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the attribute list '<em>Restricted To</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo() - * @see #getRelationTypeRestriction() - * @generated - */ - EAttribute getRelationTypeRestriction_RestrictedTo(); - - /** - * 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#getAttributeType - * <em>Attribute Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Attribute Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType() - * @see #getAttributeTypeRestriction() - * @generated - */ - EReference getAttributeTypeRestriction_AttributeType(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction - * <em>Attribute Type Of Artifact Type Restriction</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>Attribute Type Of Artifact Type Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction - * @generated - */ - EClass getAttributeTypeOfArtifactTypeRestriction(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType - * <em>Attribute Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Attribute Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType() - * @see #getAttributeTypeOfArtifactTypeRestriction() - * @generated - */ - EReference getAttributeTypeOfArtifactTypeRestriction_AttributeType(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType - * <em>Artifact Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for the reference '<em>Artifact Type</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType() - * @see #getAttributeTypeOfArtifactTypeRestriction() - * @generated - */ - EReference getAttributeTypeOfArtifactTypeRestriction_ArtifactType(); - - /** - * 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.RelationTypeSideRestriction - * <em>Relation Type Side Restriction</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for enum '<em>Relation Type Side Restriction</em>'. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction - * @generated - */ - EEnum getRelationTypeSideRestriction(); - - /** - * 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>Type Guid</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute ACCESS_CONTEXT__TYPE_GUID = eINSTANCE.getAccessContext_TypeGuid(); - - /** - * 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.PermissionRuleImpl - * <em>Permission Rule</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getPermissionRule() - * @generated - */ - EClass PERMISSION_RULE = eINSTANCE.getPermissionRule(); - - /** - * The meta object literal for the '<em><b>Permission</b></em>' attribute feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EAttribute PERMISSION_RULE__PERMISSION = eINSTANCE.getPermissionRule_Permission(); - - /** - * The meta object literal for the '<em><b>Object Restriction</b></em>' containment reference feature. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - EReference PERMISSION_RULE__OBJECT_RESTRICTION = eINSTANCE.getPermissionRule_ObjectRestriction(); - - /** - * 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 ' - * {@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 Name</b></em>' reference feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EReference ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME = eINSTANCE.getArtifactInstanceRestriction_ArtifactName(); - - /** - * 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</b></em>' reference feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EReference ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = eINSTANCE.getArtifactTypeRestriction_ArtifactType(); - - /** - * 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</b></em>' reference feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EReference RELATION_TYPE_RESTRICTION__RELATION_TYPE = eINSTANCE.getRelationTypeRestriction_RelationType(); - - /** - * The meta object literal for the '<em><b>Restricted To</b></em>' attribute list feature. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - */ - EAttribute RELATION_TYPE_RESTRICTION__RESTRICTED_TO = eINSTANCE.getRelationTypeRestriction_RestrictedTo(); - - /** - * 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</b></em>' reference feature. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - */ - EReference ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE = eINSTANCE.getAttributeTypeRestriction_AttributeType(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl - * <em>Attribute Type Of Artifact Type Restriction</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeOfArtifactTypeRestriction() - * @generated - */ - EClass ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction(); - - /** - * The meta object literal for the '<em><b>Attribute Type</b></em>' reference feature. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - */ - EReference ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE = - eINSTANCE.getAttributeTypeOfArtifactTypeRestriction_AttributeType(); - - /** - * The meta object literal for the '<em><b>Artifact Type</b></em>' reference feature. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - EReference ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = - eINSTANCE.getAttributeTypeOfArtifactTypeRestriction_ArtifactType(); - - /** - * 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.RelationTypeSideRestriction - * <em>Relation Type Side Restriction</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeSideRestriction() - * @generated - */ - EEnum RELATION_TYPE_SIDE_RESTRICTION = eINSTANCE.getRelationTypeSideRestriction(); - - } - -} //OseeDslPackage +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface OseeDslPackage extends EPackage
+{
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "oseeDsl";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/osee/framework/core/dsl/OseeDsl";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "oseeDsl";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ OseeDslPackage eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl()
+ * @generated
+ */
+ int OSEE_DSL = 0;
+
+ /**
+ * The feature id for the '<em><b>Imports</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSEE_DSL__IMPORTS = 0;
+
+ /**
+ * The feature id for the '<em><b>Artifact Types</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSEE_DSL__ARTIFACT_TYPES = 1;
+
+ /**
+ * The feature id for the '<em><b>Relation Types</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSEE_DSL__RELATION_TYPES = 2;
+
+ /**
+ * The feature id for the '<em><b>Attribute Types</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSEE_DSL__ATTRIBUTE_TYPES = 3;
+
+ /**
+ * The feature id for the '<em><b>Enum Types</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSEE_DSL__ENUM_TYPES = 4;
+
+ /**
+ * The feature id for the '<em><b>Enum Overrides</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OSEE_DSL__ENUM_OVERRIDES = 5;
+
+ /**
+ * The feature id for the '<em><b>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..c81d35cc3c5 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 @@ -1,19 +1,23 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Osee Element</b></em>'. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeElement() - * @model - * @generated - */ -public interface OseeElement extends EObject { -} // OseeElement + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Osee Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeElement()
+ * @model
+ * @generated
+ */
+public interface OseeElement extends EObject
+{
+} // OseeElement
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java index ba30d1f6c10..d5854606f23 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 @@ -1,75 +1,81 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Osee Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * 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(); - - /** - * 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 + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Osee Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * 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();
+
+ /**
+ * 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..4a1249b1d62 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 @@ -1,19 +1,23 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Override Option</b></em>'. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOverrideOption() - * @model - * @generated - */ -public interface OverrideOption extends EObject { -} // OverrideOption + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Override Option</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOverrideOption()
+ * @model
+ * @generated
+ */
+public interface OverrideOption extends EObject
+{
+} // OverrideOption
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java deleted file mode 100644 index 8b18bf220da..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java +++ /dev/null @@ -1,82 +0,0 @@ -/** - * <copyright> - * </copyright> - * - - */ -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>Permission Rule</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction - * </em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule() - * @model - * @generated - */ -public interface PermissionRule 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#getPermissionRule_Permission() - * @model - * @generated - */ - AccessPermissionEnum getPermission(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission - * <em>Permission</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Permission</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum - * @see #getPermission() - * @generated - */ - void setPermission(AccessPermissionEnum value); - - /** - * Returns the value of the '<em><b>Object Restriction</b></em>' containment reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Object Restriction</em>' containment reference isn't clear, there really should be more - * of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Object Restriction</em>' containment reference. - * @see #setObjectRestriction(ObjectRestriction) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule_ObjectRestriction() - * @model containment="true" - * @generated - */ - ObjectRestriction getObjectRestriction(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction - * <em>Object Restriction</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Object Restriction</em>' containment reference. - * @see #getObjectRestriction() - * @generated - */ - void setObjectRestriction(ObjectRestriction value); - -} // PermissionRule 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 4351d5279ea..16c0f35bc2e 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 @@ -1,262 +1,281 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> A representation of the literals of the enumeration ' - * <em><b>Relation Multiplicity Enum</b></em>', and utility methods for working with them. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationMultiplicityEnum() - * @model - * @generated - */ -public enum RelationMultiplicityEnum implements Enumerator { - /** - * The '<em><b>ONE TO ONE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #ONE_TO_ONE_VALUE - * @generated - * @ordered - */ - ONE_TO_ONE(0, "ONE_TO_ONE", "ONE_TO_ONE"), - - /** - * The '<em><b>ONE TO MANY</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #ONE_TO_MANY_VALUE - * @generated - * @ordered - */ - ONE_TO_MANY(1, "ONE_TO_MANY", "ONE_TO_MANY"), - - /** - * The '<em><b>MANY TO ONE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #MANY_TO_ONE_VALUE - * @generated - * @ordered - */ - MANY_TO_ONE(2, "MANY_TO_ONE", "MANY_TO_ONE"), - - /** - * The '<em><b>MANY TO MANY</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #MANY_TO_MANY_VALUE - * @generated - * @ordered - */ - MANY_TO_MANY(3, "MANY_TO_MANY", "MANY_TO_MANY"); - - /** - * The '<em><b>ONE TO ONE</b></em>' literal value. <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ONE TO ONE</b></em>' literal object isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @see #ONE_TO_ONE - * @model - * @generated - * @ordered - */ - public static final int ONE_TO_ONE_VALUE = 0; - - /** - * The '<em><b>ONE TO MANY</b></em>' literal value. <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ONE TO MANY</b></em>' literal object isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @see #ONE_TO_MANY - * @model - * @generated - * @ordered - */ - public static final int ONE_TO_MANY_VALUE = 1; - - /** - * The '<em><b>MANY TO ONE</b></em>' literal value. <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>MANY TO ONE</b></em>' literal object isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @see #MANY_TO_ONE - * @model - * @generated - * @ordered - */ - public static final int MANY_TO_ONE_VALUE = 2; - - /** - * The '<em><b>MANY TO MANY</b></em>' literal value. <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>MANY TO MANY</b></em>' literal object isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @see #MANY_TO_MANY - * @model - * @generated - * @ordered - */ - public static final int MANY_TO_MANY_VALUE = 3; - - /** - * An array of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - private static final RelationMultiplicityEnum[] VALUES_ARRAY = new RelationMultiplicityEnum[] {ONE_TO_ONE, - ONE_TO_MANY, MANY_TO_ONE, MANY_TO_MANY,}; - - /** - * A public read-only list of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - */ - public static final List<RelationMultiplicityEnum> VALUES = - Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public static RelationMultiplicityEnum get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - RelationMultiplicityEnum result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified name. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - */ - public static RelationMultiplicityEnum getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - RelationMultiplicityEnum result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public static RelationMultiplicityEnum get(int value) { - switch (value) { - case ONE_TO_ONE_VALUE: - return ONE_TO_ONE; - case ONE_TO_MANY_VALUE: - return ONE_TO_MANY; - case MANY_TO_ONE_VALUE: - return MANY_TO_ONE; - case MANY_TO_MANY_VALUE: - return MANY_TO_MANY; - } - return null; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private RelationMultiplicityEnum(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @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; - } - -} //RelationMultiplicityEnum + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Relation Multiplicity Enum</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationMultiplicityEnum()
+ * @model
+ * @generated
+ */
+public enum RelationMultiplicityEnum implements Enumerator
+{
+ /**
+ * The '<em><b>ONE TO ONE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ONE_TO_ONE_VALUE
+ * @generated
+ * @ordered
+ */
+ ONE_TO_ONE(0, "ONE_TO_ONE", "ONE_TO_ONE"),
+
+ /**
+ * The '<em><b>ONE TO MANY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ONE_TO_MANY_VALUE
+ * @generated
+ * @ordered
+ */
+ ONE_TO_MANY(1, "ONE_TO_MANY", "ONE_TO_MANY"),
+
+ /**
+ * The '<em><b>MANY TO ONE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MANY_TO_ONE_VALUE
+ * @generated
+ * @ordered
+ */
+ MANY_TO_ONE(2, "MANY_TO_ONE", "MANY_TO_ONE"),
+
+ /**
+ * The '<em><b>MANY TO MANY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MANY_TO_MANY_VALUE
+ * @generated
+ * @ordered
+ */
+ MANY_TO_MANY(3, "MANY_TO_MANY", "MANY_TO_MANY");
+
+ /**
+ * The '<em><b>ONE TO ONE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ONE TO ONE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ONE_TO_ONE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ONE_TO_ONE_VALUE = 0;
+
+ /**
+ * The '<em><b>ONE TO MANY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ONE TO MANY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ONE_TO_MANY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ONE_TO_MANY_VALUE = 1;
+
+ /**
+ * The '<em><b>MANY TO ONE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>MANY TO ONE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MANY_TO_ONE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int MANY_TO_ONE_VALUE = 2;
+
+ /**
+ * The '<em><b>MANY TO MANY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>MANY TO MANY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MANY_TO_MANY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int MANY_TO_MANY_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final RelationMultiplicityEnum[] VALUES_ARRAY =
+ new RelationMultiplicityEnum[]
+ {
+ ONE_TO_ONE,
+ ONE_TO_MANY,
+ MANY_TO_ONE,
+ MANY_TO_MANY,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<RelationMultiplicityEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RelationMultiplicityEnum get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ RelationMultiplicityEnum result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RelationMultiplicityEnum getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ RelationMultiplicityEnum result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RelationMultiplicityEnum get(int value)
+ {
+ switch (value)
+ {
+ case ONE_TO_ONE_VALUE: return ONE_TO_ONE;
+ case ONE_TO_MANY_VALUE: return ONE_TO_MANY;
+ case MANY_TO_ONE_VALUE: return MANY_TO_ONE;
+ case MANY_TO_MANY_VALUE: return MANY_TO_MANY;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private RelationMultiplicityEnum(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //RelationMultiplicityEnum
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java index cc0c2727178..48a2fd614da 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 @@ -1,74 +1,84 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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>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#getRelationType <em>Relation Type - * </em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo <em>Restricted To - * </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</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Relation 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>Relation Type</em>' reference. - * @see #setRelationType(XRelationType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RelationType() - * @model - * @generated - */ - XRelationType getRelationType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType - * <em>Relation Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Relation Type</em>' reference. - * @see #getRelationType() - * @generated - */ - void setRelationType(XRelationType value); - - /** - * Returns the value of the '<em><b>Restricted To</b></em>' attribute list. The list contents are of type - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction}. The literals are from the - * enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction}. <!-- begin-user-doc - * --> - * <p> - * If the meaning of the '<em>Restricted To</em>' attribute list isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Restricted To</em>' attribute list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RestrictedTo() - * @model unique="false" - * @generated - */ - EList<RelationTypeSideRestriction> getRestrictedTo(); - -} // RelationTypeRestriction + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Relation Type Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationTypeRef <em>Relation Type Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Relation Type Ref</em>' reference.
+ * @see #getRelationTypeRef()
+ * @generated
+ */
+ void setRelationTypeRef(XRelationType value);
+
+ /**
+ * Returns the value of the '<em><b>Restricted To Side</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Restricted To Side</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Restricted To Side</em>' attribute.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum
+ * @see #setRestrictedToSide(XRelationSideEnum)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RestrictedToSide()
+ * @model
+ * @generated
+ */
+ XRelationSideEnum getRestrictedToSide();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedToSide <em>Restricted To Side</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Restricted To Side</em>' attribute.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationSideEnum
+ * @see #getRestrictedToSide()
+ * @generated
+ */
+ void setRestrictedToSide(XRelationSideEnum value);
+
+} // RelationTypeRestriction
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java deleted file mode 100644 index 464d17a8073..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java +++ /dev/null @@ -1,210 +0,0 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> A representation of the literals of the enumeration ' - * <em><b>Relation Type Side Restriction</b></em>', and utility methods for working with them. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeSideRestriction() - * @model - * @generated - */ -public enum RelationTypeSideRestriction 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>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; - - /** - * An array of all the '<em><b>Relation Type Side Restriction</b></em>' enumerators. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - */ - private static final RelationTypeSideRestriction[] VALUES_ARRAY = - new RelationTypeSideRestriction[] {SIDE_A, SIDE_B,}; - - /** - * A public read-only list of all the '<em><b>Relation Type Side Restriction</b></em>' enumerators. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public static final List<RelationTypeSideRestriction> VALUES = - Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified literal value. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public static RelationTypeSideRestriction get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - RelationTypeSideRestriction result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified name. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - */ - public static RelationTypeSideRestriction getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - RelationTypeSideRestriction result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified integer value. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public static RelationTypeSideRestriction get(int value) { - switch (value) { - case SIDE_A_VALUE: - return SIDE_A; - case SIDE_B_VALUE: - return SIDE_B; - } - 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 RelationTypeSideRestriction(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; - } - -} //RelationTypeSideRestriction 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..f39fbe5f300 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 @@ -1,49 +1,54 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Remove Enum</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <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(); - - /** - * 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 + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Remove Enum</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <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();
+
+ /**
+ * 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..539dd355469 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 @@ -1,76 +1,82 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 --> - * <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> - * </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(); - - /** - * 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(); - - /** - * 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 + */
+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 -->
+ *
+ * <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>
+ * </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();
+
+ /**
+ * 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();
+
+ /**
+ * 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..0e45618b12e 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 @@ -1,87 +1,89 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XArtifact Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types - * </em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types - * </em>}</li> - * </ul> - * </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(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract - * <em>Abstract</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Abstract</em>' attribute. - * @see #isAbstract() - * @generated - */ - void setAbstract(boolean value); - - /** - * Returns the value of the '<em><b>Super Artifact Types</b></em>' reference list. The list contents are of type - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Super Artifact Types</em>' reference list isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Super Artifact Types</em>' reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_SuperArtifactTypes() - * @model - * @generated - */ - EList<XArtifactType> getSuperArtifactTypes(); - - /** - * Returns the value of the '<em><b>Valid Attribute Types</b></em>' containment reference list. The list contents are - * of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Valid Attribute Types</em>' containment reference list isn't clear, there really should - * be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Valid Attribute Types</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_ValidAttributeTypes() - * @model containment="true" - * @generated - */ - EList<XAttributeTypeRef> getValidAttributeTypes(); - -} // XArtifactType + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XArtifact Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}</li>
+ * </ul>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Abstract</em>' attribute.
+ * @see #isAbstract()
+ * @generated
+ */
+ void setAbstract(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Super Artifact Types</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Super Artifact Types</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Super Artifact Types</em>' reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_SuperArtifactTypes()
+ * @model
+ * @generated
+ */
+ EList<XArtifactType> getSuperArtifactTypes();
+
+ /**
+ * Returns the value of the '<em><b>Valid Attribute Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Valid Attribute Types</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Valid Attribute Types</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_ValidAttributeTypes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<XAttributeTypeRef> getValidAttributeTypes();
+
+} // XArtifactType
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java index fa1b72fac8d..594e26efbdf 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 @@ -1,291 +1,297 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XAttribute Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType - * <em>Base Attribute Type</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Base Attribute Type</em>' attribute. - * @see #getBaseAttributeType() - * @generated - */ - void setBaseAttributeType(String value); - - /** - * Returns the value of the '<em><b>Override</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Override</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Override</em>' reference. - * @see #setOverride(XAttributeType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Override() - * @model - * @generated - */ - XAttributeType getOverride(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride - * <em>Override</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Override</em>' reference. - * @see #getOverride() - * @generated - */ - void setOverride(XAttributeType value); - - /** - * Returns the value of the '<em><b>Data Provider</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data Provider</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Data Provider</em>' attribute. - * @see #setDataProvider(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DataProvider() - * @model - * @generated - */ - String getDataProvider(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider - * <em>Data Provider</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Data Provider</em>' attribute. - * @see #getDataProvider() - * @generated - */ - void setDataProvider(String value); - - /** - * Returns the value of the '<em><b>Min</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Min</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Min</em>' attribute. - * @see #setMin(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Min() - * @model - * @generated - */ - String getMin(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Min</em>' attribute. - * @see #getMin() - * @generated - */ - void setMin(String value); - - /** - * Returns the value of the '<em><b>Max</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Max</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Max</em>' attribute. - * @see #setMax(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Max() - * @model - * @generated - */ - String getMax(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Max</em>' attribute. - * @see #getMax() - * @generated - */ - void setMax(String value); - - /** - * Returns the value of the '<em><b>Tagger Id</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Tagger Id</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Tagger Id</em>' attribute. - * @see #setTaggerId(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_TaggerId() - * @model - * @generated - */ - String getTaggerId(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId - * <em>Tagger Id</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Tagger Id</em>' attribute. - * @see #getTaggerId() - * @generated - */ - void setTaggerId(String value); - - /** - * Returns the value of the '<em><b>Enum Type</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enum Type</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Enum Type</em>' reference. - * @see #setEnumType(XOseeEnumType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_EnumType() - * @model - * @generated - */ - XOseeEnumType getEnumType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType - * <em>Enum Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Enum Type</em>' reference. - * @see #getEnumType() - * @generated - */ - void setEnumType(XOseeEnumType value); - - /** - * Returns the value of the '<em><b>Description</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Description</em>' attribute. - * @see #setDescription(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Description() - * @model - * @generated - */ - String getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription - * <em>Description</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Description</em>' attribute. - * @see #getDescription() - * @generated - */ - void setDescription(String value); - - /** - * Returns the value of the '<em><b>Default Value</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Default Value</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Default Value</em>' attribute. - * @see #setDefaultValue(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DefaultValue() - * @model - * @generated - */ - String getDefaultValue(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue - * <em>Default Value</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Default Value</em>' attribute. - * @see #getDefaultValue() - * @generated - */ - void setDefaultValue(String value); - - /** - * Returns the value of the '<em><b>File Extension</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>File Extension</em>' attribute isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>File Extension</em>' attribute. - * @see #setFileExtension(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_FileExtension() - * @model - * @generated - */ - String getFileExtension(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension - * <em>File Extension</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>File Extension</em>' attribute. - * @see #getFileExtension() - * @generated - */ - void setFileExtension(String value); - -} // XAttributeType + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XAttribute Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Attribute Type</em>' attribute.
+ * @see #getBaseAttributeType()
+ * @generated
+ */
+ void setBaseAttributeType(String value);
+
+ /**
+ * Returns the value of the '<em><b>Override</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Override</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Override</em>' reference.
+ * @see #setOverride(XAttributeType)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Override()
+ * @model
+ * @generated
+ */
+ XAttributeType getOverride();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Override</em>' reference.
+ * @see #getOverride()
+ * @generated
+ */
+ void setOverride(XAttributeType value);
+
+ /**
+ * Returns the value of the '<em><b>Data Provider</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Provider</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data Provider</em>' attribute.
+ * @see #setDataProvider(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DataProvider()
+ * @model
+ * @generated
+ */
+ String getDataProvider();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Provider</em>' attribute.
+ * @see #getDataProvider()
+ * @generated
+ */
+ void setDataProvider(String value);
+
+ /**
+ * Returns the value of the '<em><b>Min</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Min</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Min</em>' attribute.
+ * @see #setMin(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Min()
+ * @model
+ * @generated
+ */
+ String getMin();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Min</em>' attribute.
+ * @see #getMin()
+ * @generated
+ */
+ void setMin(String value);
+
+ /**
+ * Returns the value of the '<em><b>Max</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Max</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Max</em>' attribute.
+ * @see #setMax(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Max()
+ * @model
+ * @generated
+ */
+ String getMax();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Max</em>' attribute.
+ * @see #getMax()
+ * @generated
+ */
+ void setMax(String value);
+
+ /**
+ * Returns the value of the '<em><b>Tagger Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Tagger Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Tagger Id</em>' attribute.
+ * @see #setTaggerId(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_TaggerId()
+ * @model
+ * @generated
+ */
+ String getTaggerId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Tagger Id</em>' attribute.
+ * @see #getTaggerId()
+ * @generated
+ */
+ void setTaggerId(String value);
+
+ /**
+ * Returns the value of the '<em><b>Enum Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Enum Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Enum Type</em>' reference.
+ * @see #setEnumType(XOseeEnumType)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_EnumType()
+ * @model
+ * @generated
+ */
+ XOseeEnumType getEnumType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Enum Type</em>' reference.
+ * @see #getEnumType()
+ * @generated
+ */
+ void setEnumType(XOseeEnumType value);
+
+ /**
+ * Returns the value of the '<em><b>Description</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Description</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Description</em>' attribute.
+ * @see #setDescription(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Description()
+ * @model
+ * @generated
+ */
+ String getDescription();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Description</em>' attribute.
+ * @see #getDescription()
+ * @generated
+ */
+ void setDescription(String value);
+
+ /**
+ * Returns the value of the '<em><b>Default Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Value</em>' attribute.
+ * @see #setDefaultValue(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DefaultValue()
+ * @model
+ * @generated
+ */
+ String getDefaultValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Value</em>' attribute.
+ * @see #getDefaultValue()
+ * @generated
+ */
+ void setDefaultValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>File Extension</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>File Extension</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>File Extension</em>' attribute.
+ * @see #setFileExtension(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_FileExtension()
+ * @model
+ * @generated
+ */
+ String getFileExtension();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>File Extension</em>' attribute.
+ * @see #getFileExtension()
+ * @generated
+ */
+ void setFileExtension(String value);
+
+} // 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..806755fa15e 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 @@ -1,80 +1,82 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XAttribute Type Ref</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * 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(); - - /** - * 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 + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XAttribute Type Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * 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();
+
+ /**
+ * 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..d3e74ad126b 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 @@ -1,76 +1,82 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 --> - * <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> - * </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(); - - /** - * 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(); - - /** - * 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 + */
+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 -->
+ *
+ * <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>
+ * </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();
+
+ /**
+ * 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();
+
+ /**
+ * 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..db3cd3251f5 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 @@ -1,105 +1,109 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XOsee Enum Entry</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are supported: - * <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> - * </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(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Ordinal</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ordinal</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Ordinal</em>' attribute. - * @see #setOrdinal(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Ordinal() - * @model - * @generated - */ - String getOrdinal(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal - * <em>Ordinal</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Ordinal</em>' attribute. - * @see #getOrdinal() - * @generated - */ - void setOrdinal(String value); - - /** - * Returns the value of the '<em><b>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); - -} // XOseeEnumEntry + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XOsee Enum Entry</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <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>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Ordinal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ordinal</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ordinal</em>' attribute.
+ * @see #setOrdinal(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Ordinal()
+ * @model
+ * @generated
+ */
+ String getOrdinal();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ordinal</em>' attribute.
+ * @see #getOrdinal()
+ * @generated
+ */
+ void setOrdinal(String value);
+
+ /**
+ * Returns the value of the '<em><b>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);
+
+} // 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..01de29a2304 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 @@ -1,98 +1,99 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XOsee Enum Override</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type - * </em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options - * </em>}</li> - * </ul> - * </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(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType - * <em>Overriden Enum Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Overriden Enum Type</em>' reference. - * @see #getOverridenEnumType() - * @generated - */ - void setOverridenEnumType(XOseeEnumType value); - - /** - * Returns the value of the '<em><b>Inherit All</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Inherit All</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Inherit All</em>' attribute. - * @see #setInheritAll(boolean) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_InheritAll() - * @model - * @generated - */ - boolean isInheritAll(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll - * <em>Inherit All</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Inherit All</em>' attribute. - * @see #isInheritAll() - * @generated - */ - void setInheritAll(boolean value); - - /** - * Returns the value of the '<em><b>Override Options</b></em>' containment reference list. The list contents are of - * type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Override Options</em>' containment reference list isn't clear, there really should be - * more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Override Options</em>' containment reference list. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverrideOptions() - * @model containment="true" - * @generated - */ - EList<OverrideOption> getOverrideOptions(); - -} // XOseeEnumOverride + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XOsee Enum Override</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}</li>
+ * </ul>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Overriden Enum Type</em>' reference.
+ * @see #getOverridenEnumType()
+ * @generated
+ */
+ void setOverridenEnumType(XOseeEnumType value);
+
+ /**
+ * Returns the value of the '<em><b>Inherit All</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inherit All</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inherit All</em>' attribute.
+ * @see #setInheritAll(boolean)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_InheritAll()
+ * @model
+ * @generated
+ */
+ boolean isInheritAll();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inherit All</em>' attribute.
+ * @see #isInheritAll()
+ * @generated
+ */
+ void setInheritAll(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Override Options</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Override Options</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Override Options</em>' containment reference list.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverrideOptions()
+ * @model containment="true"
+ * @generated
+ */
+ EList<OverrideOption> getOverrideOptions();
+
+} // XOseeEnumOverride
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java index eae96d95bf7..312184e11bc 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 @@ -1,41 +1,45 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XOsee Enum Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <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(); - -} // XOseeEnumType + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XOsee Enum Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <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();
+
+} // 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 new file mode 100644 index 00000000000..77cafdff268 --- /dev/null +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationSideEnum.java @@ -0,0 +1,254 @@ +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>XRelation Side Enum</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationSideEnum()
+ * @model
+ * @generated
+ */
+public enum XRelationSideEnum implements Enumerator
+{
+ /**
+ * The '<em><b>SIDE A</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #SIDE_A_VALUE
+ * @generated
+ * @ordered
+ */
+ SIDE_A(0, "SIDE_A", "SIDE_A"),
+
+ /**
+ * The '<em><b>SIDE B</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #SIDE_B_VALUE
+ * @generated
+ * @ordered
+ */
+ SIDE_B(1, "SIDE_B", "SIDE_B"),
+
+ /**
+ * The '<em><b>BOTH</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #BOTH_VALUE
+ * @generated
+ * @ordered
+ */
+ BOTH(2, "BOTH", "BOTH");
+
+ /**
+ * The '<em><b>SIDE A</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>SIDE A</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #SIDE_A
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int SIDE_A_VALUE = 0;
+
+ /**
+ * The '<em><b>SIDE B</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>SIDE B</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #SIDE_B
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int SIDE_B_VALUE = 1;
+
+ /**
+ * The '<em><b>BOTH</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>BOTH</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #BOTH
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int BOTH_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>XRelation Side Enum</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final XRelationSideEnum[] VALUES_ARRAY =
+ new XRelationSideEnum[]
+ {
+ SIDE_A,
+ SIDE_B,
+ BOTH,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>XRelation Side Enum</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<XRelationSideEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>XRelation Side Enum</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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;
+ }
+ }
+ 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..0688b4761d4 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 @@ -1,190 +1,192 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>XRelation Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type - * </em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type - * </em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>} - * </li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}</li> - * </ul> - * </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(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName - * <em>Side AName</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Side AName</em>' attribute. - * @see #getSideAName() - * @generated - */ - void setSideAName(String value); - - /** - * Returns the value of the '<em><b>Side AArtifact Type</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side AArtifact Type</em>' reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Side AArtifact Type</em>' reference. - * @see #setSideAArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAArtifactType() - * @model - * @generated - */ - XArtifactType getSideAArtifactType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType - * <em>Side AArtifact Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Side AArtifact Type</em>' reference. - * @see #getSideAArtifactType() - * @generated - */ - void setSideAArtifactType(XArtifactType value); - - /** - * Returns the value of the '<em><b>Side BName</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side BName</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Side BName</em>' attribute. - * @see #setSideBName(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBName() - * @model - * @generated - */ - String getSideBName(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName - * <em>Side BName</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Side BName</em>' attribute. - * @see #getSideBName() - * @generated - */ - void setSideBName(String value); - - /** - * Returns the value of the '<em><b>Side BArtifact Type</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Side BArtifact Type</em>' reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Side BArtifact Type</em>' reference. - * @see #setSideBArtifactType(XArtifactType) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBArtifactType() - * @model - * @generated - */ - XArtifactType getSideBArtifactType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType - * <em>Side BArtifact Type</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Side BArtifact Type</em>' reference. - * @see #getSideBArtifactType() - * @generated - */ - void setSideBArtifactType(XArtifactType value); - - /** - * Returns the value of the '<em><b>Default Order Type</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Default Order Type</em>' attribute isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Default Order Type</em>' attribute. - * @see #setDefaultOrderType(String) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_DefaultOrderType() - * @model - * @generated - */ - String getDefaultOrderType(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType - * <em>Default Order Type</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Default Order Type</em>' attribute. - * @see #getDefaultOrderType() - * @generated - */ - void setDefaultOrderType(String value); - - /** - * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. The literals are from the enumeration - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Multiplicity</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @see #setMultiplicity(RelationMultiplicityEnum) - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_Multiplicity() - * @model - * @generated - */ - RelationMultiplicityEnum getMultiplicity(); - - /** - * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity - * <em>Multiplicity</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value the new value of the '<em>Multiplicity</em>' attribute. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum - * @see #getMultiplicity() - * @generated - */ - void setMultiplicity(RelationMultiplicityEnum value); - -} // XRelationType + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>XRelation Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}</li>
+ * </ul>
+ * </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();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Side AName</em>' attribute.
+ * @see #getSideAName()
+ * @generated
+ */
+ void setSideAName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Side AArtifact Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Side AArtifact Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Side AArtifact Type</em>' reference.
+ * @see #setSideAArtifactType(XArtifactType)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAArtifactType()
+ * @model
+ * @generated
+ */
+ XArtifactType getSideAArtifactType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Side AArtifact Type</em>' reference.
+ * @see #getSideAArtifactType()
+ * @generated
+ */
+ void setSideAArtifactType(XArtifactType value);
+
+ /**
+ * Returns the value of the '<em><b>Side BName</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Side BName</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Side BName</em>' attribute.
+ * @see #setSideBName(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBName()
+ * @model
+ * @generated
+ */
+ String getSideBName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Side BName</em>' attribute.
+ * @see #getSideBName()
+ * @generated
+ */
+ void setSideBName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Side BArtifact Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Side BArtifact Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Side BArtifact Type</em>' reference.
+ * @see #setSideBArtifactType(XArtifactType)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBArtifactType()
+ * @model
+ * @generated
+ */
+ XArtifactType getSideBArtifactType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Side BArtifact Type</em>' reference.
+ * @see #getSideBArtifactType()
+ * @generated
+ */
+ void setSideBArtifactType(XArtifactType value);
+
+ /**
+ * Returns the value of the '<em><b>Default Order Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Order Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Order Type</em>' attribute.
+ * @see #setDefaultOrderType(String)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_DefaultOrderType()
+ * @model
+ * @generated
+ */
+ String getDefaultOrderType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Order Type</em>' attribute.
+ * @see #getDefaultOrderType()
+ * @generated
+ */
+ void setDefaultOrderType(String value);
+
+ /**
+ * Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Multiplicity</em>' attribute.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
+ * @see #setMultiplicity(RelationMultiplicityEnum)
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_Multiplicity()
+ * @model
+ * @generated
+ */
+ RelationMultiplicityEnum getMultiplicity();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Multiplicity</em>' attribute.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
+ * @see #getMultiplicity()
+ * @generated
+ */
+ void setMultiplicity(RelationMultiplicityEnum value);
+
+} // XRelationType
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java index 060494ac97c..bf90ca9522e 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 @@ -1,364 +1,376 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; - -/** - * <!-- 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#getTypeGuid <em>Type 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 #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; - - /** - * 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<PermissionRule> 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 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.ACCESS_CONTEXT__TYPE_GUID, oldTypeGuid, - typeGuid)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EList<PermissionRule> getAccessRules() { - if (accessRules == null) { - accessRules = - new EObjectContainmentEList<PermissionRule>(PermissionRule.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__TYPE_GUID: - return getTypeGuid(); - 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__TYPE_GUID: - setTypeGuid((String) newValue); - return; - case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: - getAccessRules().clear(); - getAccessRules().addAll((Collection<? extends PermissionRule>) 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__TYPE_GUID: - setTypeGuid(TYPE_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__TYPE_GUID: - return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid); - 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(", typeGuid: "); - result.append(typeGuid); - result.append(')'); - return result.toString(); - } - -} //AccessContextImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Access Context</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getSuperAccessContexts <em>Super Access Contexts</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getGuid <em>Guid</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getAccessRules <em>Access Rules</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li>
+ * </ul>
+ * </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
+ */
+ 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..f5397be2da1 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 @@ -1,282 +1,292 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Add Enum</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <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> - * </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; - - /** - * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getEnumEntry() - * @generated - * @ordered - */ - protected String enumEntry = ENUM_ENTRY_EDEFAULT; - - /** - * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getOrdinal() - * @generated - * @ordered - */ - protected static final String ORDINAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getOrdinal() - * @generated - * @ordered - */ - protected String ordinal = ORDINAL_EDEFAULT; - - /** - * The default value of the '{@link #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; - - /** - * <!-- 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 - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @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 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 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(); - } - -} //AddEnumImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Add Enum</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <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>
+ * </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;
+
+ /**
+ * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnumEntry()
+ * @generated
+ * @ordered
+ */
+ protected String enumEntry = ENUM_ENTRY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOrdinal()
+ * @generated
+ * @ordered
+ */
+ protected static final String ORDINAL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOrdinal()
+ * @generated
+ * @ordered
+ */
+ protected String ordinal = ORDINAL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #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;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AddEnumImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.ADD_ENUM;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEnumEntry()
+ {
+ return enumEntry;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnumEntry(String newEnumEntry)
+ {
+ String oldEnumEntry = enumEntry;
+ enumEntry = newEnumEntry;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getOrdinal()
+ {
+ return ordinal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOrdinal(String newOrdinal)
+ {
+ String oldOrdinal = ordinal;
+ ordinal = newOrdinal;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ORDINAL, oldOrdinal, ordinal));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEntryGuid()
+ {
+ return 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 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 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();
+
+ 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 83afceac2ea..ca0acc91986 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 @@ -1,165 +1,176 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl#getArtifactName <em> - * Artifact Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ArtifactInstanceRestrictionImpl extends ObjectRestrictionImpl implements ArtifactInstanceRestriction { - /** - * The cached value of the '{@link #getArtifactName() <em>Artifact Name</em>}' reference. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @see #getArtifactName() - * @generated - * @ordered - */ - protected XArtifactRef artifactName; - - /** - * <!-- 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 getArtifactName() { - if (artifactName != null && artifactName.eIsProxy()) { - InternalEObject oldArtifactName = (InternalEObject) artifactName; - artifactName = (XArtifactRef) eResolveProxy(oldArtifactName); - if (artifactName != oldArtifactName) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME, oldArtifactName, artifactName)); - } - } - } - return artifactName; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XArtifactRef basicGetArtifactName() { - return artifactName; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setArtifactName(XArtifactRef newArtifactName) { - XArtifactRef oldArtifactName = artifactName; - artifactName = newArtifactName; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, - OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME, oldArtifactName, artifactName)); - } - } - - /** - * <!-- 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_NAME: - if (resolve) { - return getArtifactName(); - } - return basicGetArtifactName(); - } - 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_NAME: - setArtifactName((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_NAME: - setArtifactName((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_NAME: - return artifactName != null; - } - return super.eIsSet(featureID); - } - -} //ArtifactInstanceRestrictionImpl + */
+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 -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <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
+ */
+ 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
+ */
+ 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 468fd2da988..8983062766a 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 @@ -1,165 +1,176 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Artifact Type Restriction</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl#getArtifactType <em>Artifact - * Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements ArtifactTypeRestriction { - /** - * The cached value of the '{@link #getArtifactType() <em>Artifact Type</em>}' reference. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @see #getArtifactType() - * @generated - * @ordered - */ - protected XArtifactType artifactType; - - /** - * <!-- 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 getArtifactType() { - if (artifactType != null && artifactType.eIsProxy()) { - InternalEObject oldArtifactType = (InternalEObject) artifactType; - artifactType = (XArtifactType) eResolveProxy(oldArtifactType); - if (artifactType != oldArtifactType) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType)); - } - } - } - return artifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XArtifactType basicGetArtifactType() { - return artifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setArtifactType(XArtifactType newArtifactType) { - XArtifactType oldArtifactType = artifactType; - artifactType = newArtifactType; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, - oldArtifactType, artifactType)); - } - } - - /** - * <!-- 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: - if (resolve) { - return getArtifactType(); - } - return basicGetArtifactType(); - } - 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: - setArtifactType((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: - setArtifactType((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: - return artifactType != null; - } - return super.eIsSet(featureID); - } - -} //ArtifactTypeRestrictionImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Artifact Type Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <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
+ */
+ public XArtifactType getArtifactTypeRef()
+ {
+ if (artifactTypeRef != null && artifactTypeRef.eIsProxy())
+ {
+ InternalEObject oldArtifactTypeRef = (InternalEObject)artifactTypeRef;
+ artifactTypeRef = (XArtifactType)eResolveProxy(oldArtifactTypeRef);
+ if (artifactTypeRef != oldArtifactTypeRef)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef));
+ }
+ }
+ return artifactTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType basicGetArtifactTypeRef()
+ {
+ return artifactTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setArtifactTypeRef(XArtifactType newArtifactTypeRef)
+ {
+ XArtifactType oldArtifactTypeRef = artifactTypeRef;
+ artifactTypeRef = newArtifactTypeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ if (resolve) return getArtifactTypeRef();
+ return basicGetArtifactTypeRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ setArtifactTypeRef((XArtifactType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ setArtifactTypeRef((XArtifactType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ return artifactTypeRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ArtifactTypeRestrictionImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java deleted file mode 100644 index a8c3ed60e8a..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - * <copyright> - * </copyright> - * - - */ -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.AttributeTypeOfArtifactTypeRestriction; -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 Of 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.AttributeTypeOfArtifactTypeRestrictionImpl#getAttributeType - * <em>Attribute Type</em>}</li> - * <li> - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl#getArtifactType - * <em>Artifact Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class AttributeTypeOfArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeOfArtifactTypeRestriction { - /** - * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' reference. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected XAttributeType attributeType; - - /** - * The cached value of the '{@link #getArtifactType() <em>Artifact Type</em>}' reference. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @see #getArtifactType() - * @generated - * @ordered - */ - protected XArtifactType artifactType; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected AttributeTypeOfArtifactTypeRestrictionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XAttributeType getAttributeType() { - if (attributeType != null && attributeType.eIsProxy()) { - InternalEObject oldAttributeType = (InternalEObject) attributeType; - attributeType = (XAttributeType) eResolveProxy(oldAttributeType); - if (attributeType != oldAttributeType) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, - attributeType)); - } - } - } - return attributeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XAttributeType basicGetAttributeType() { - return attributeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setAttributeType(XAttributeType newAttributeType) { - XAttributeType oldAttributeType = attributeType; - attributeType = newAttributeType; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, - OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public XArtifactType getArtifactType() { - if (artifactType != null && artifactType.eIsProxy()) { - InternalEObject oldArtifactType = (InternalEObject) artifactType; - artifactType = (XArtifactType) eResolveProxy(oldArtifactType); - if (artifactType != oldArtifactType) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, - artifactType)); - } - } - } - return artifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XArtifactType basicGetArtifactType() { - return artifactType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setArtifactType(XArtifactType newArtifactType) { - XArtifactType oldArtifactType = artifactType; - artifactType = newArtifactType; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, - OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: - if (resolve) { - return getAttributeType(); - } - return basicGetAttributeType(); - case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: - if (resolve) { - return getArtifactType(); - } - return basicGetArtifactType(); - } - 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_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: - setAttributeType((XAttributeType) newValue); - return; - case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: - setArtifactType((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_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: - setAttributeType((XAttributeType) null); - return; - case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: - setArtifactType((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_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: - return attributeType != null; - case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: - return artifactType != null; - } - return super.eIsSet(featureID); - } - -} //AttributeTypeOfArtifactTypeRestrictionImpl 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 bac52d19343..06a4a1f9d07 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 @@ -1,165 +1,242 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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.XAttributeType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Attribute Type Restriction</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getAttributeType <em> - * Attribute Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class AttributeTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeRestriction { - /** - * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' reference. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected XAttributeType attributeType; - - /** - * <!-- 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 getAttributeType() { - if (attributeType != null && attributeType.eIsProxy()) { - InternalEObject oldAttributeType = (InternalEObject) attributeType; - attributeType = (XAttributeType) eResolveProxy(oldAttributeType); - if (attributeType != oldAttributeType) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - } - } - return attributeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XAttributeType basicGetAttributeType() { - return attributeType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setAttributeType(XAttributeType newAttributeType) { - XAttributeType oldAttributeType = attributeType; - attributeType = newAttributeType; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, - OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - } - - /** - * <!-- 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: - if (resolve) { - return getAttributeType(); - } - return basicGetAttributeType(); - } - 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: - setAttributeType((XAttributeType) 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: - setAttributeType((XAttributeType) 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: - return attributeType != null; - } - return super.eIsSet(featureID); - } - -} //AttributeTypeRestrictionImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Attribute Type Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getAttributeTypeRef <em>Attribute Type Ref</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getArtifactTypeRef <em>Artifact Type Ref</em>}</li>
+ * </ul>
+ * </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
+ */
+ public XAttributeType getAttributeTypeRef()
+ {
+ if (attributeTypeRef != null && attributeTypeRef.eIsProxy())
+ {
+ InternalEObject oldAttributeTypeRef = (InternalEObject)attributeTypeRef;
+ attributeTypeRef = (XAttributeType)eResolveProxy(oldAttributeTypeRef);
+ if (attributeTypeRef != oldAttributeTypeRef)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF, oldAttributeTypeRef, attributeTypeRef));
+ }
+ }
+ return attributeTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XAttributeType basicGetAttributeTypeRef()
+ {
+ return attributeTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttributeTypeRef(XAttributeType newAttributeTypeRef)
+ {
+ XAttributeType oldAttributeTypeRef = attributeTypeRef;
+ attributeTypeRef = newAttributeTypeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF, oldAttributeTypeRef, attributeTypeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType getArtifactTypeRef()
+ {
+ if (artifactTypeRef != null && artifactTypeRef.eIsProxy())
+ {
+ InternalEObject oldArtifactTypeRef = (InternalEObject)artifactTypeRef;
+ artifactTypeRef = (XArtifactType)eResolveProxy(oldArtifactTypeRef);
+ if (artifactTypeRef != oldArtifactTypeRef)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef));
+ }
+ }
+ return artifactTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType basicGetArtifactTypeRef()
+ {
+ return artifactTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setArtifactTypeRef(XArtifactType newArtifactTypeRef)
+ {
+ XArtifactType oldArtifactTypeRef = artifactTypeRef;
+ artifactTypeRef = newArtifactTypeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF, oldArtifactTypeRef, artifactTypeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF:
+ if (resolve) return getAttributeTypeRef();
+ return basicGetAttributeTypeRef();
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ if (resolve) return getArtifactTypeRef();
+ return basicGetArtifactTypeRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF:
+ setAttributeTypeRef((XAttributeType)newValue);
+ return;
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ setArtifactTypeRef((XArtifactType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF:
+ setAttributeTypeRef((XAttributeType)null);
+ return;
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ setArtifactTypeRef((XArtifactType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE_REF:
+ return attributeTypeRef != null;
+ case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ARTIFACT_TYPE_REF:
+ return artifactTypeRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //AttributeTypeRestrictionImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java index 47332183e5a..300a1c98e49 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 @@ -1,224 +1,239 @@ -/** - * <copyright> - * </copyright> - * - - */ -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.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; -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 --> - * <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> - * </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<PermissionRule> 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<PermissionRule> getAccessRules() { - if (accessRules == null) { - accessRules = - new EObjectContainmentEList<PermissionRule>(PermissionRule.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 PermissionRule>) 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 +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+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 -->
+ * <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>
+ * </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
+ */
+ 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
+ */
+ 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..229ca13e75c 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 @@ -1,168 +1,181 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Import</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <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(); - } - -} //ImportImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.Import;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Import</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <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
+ */
+ 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 0937082c74b..15c1625b261 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 @@ -1,42 +1,182 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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.ObjectRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Object Restriction</b></em>'. <!-- end-user-doc - * --> - * <p> - * </p> - * - * @generated - */ -public class ObjectRestrictionImpl extends MinimalEObjectImpl.Container implements ObjectRestriction { - /** - * <!-- 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; - } - -} //ObjectRestrictionImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Object Restriction</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <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
+ */
+ 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 0ac6fc2a2e1..1923c58ec81 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 @@ -1,546 +1,483 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.osee.framework.core.dsl.oseeDsl.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.AttributeTypeOfArtifactTypeRestriction; -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.PermissionRule; -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.RelationTypeSideRestriction; -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; - -/** - * <!-- 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.PERMISSION_RULE: - return createPermissionRule(); - case OseeDslPackage.OBJECT_RESTRICTION: - return createObjectRestriction(); - case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: - return createArtifactInstanceRestriction(); - case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: - return createArtifactTypeRestriction(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION: - return createRelationTypeRestriction(); - case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: - return createAttributeTypeRestriction(); - case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION: - return createAttributeTypeOfArtifactTypeRestriction(); - 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.RELATION_TYPE_SIDE_RESTRICTION: - return createRelationTypeSideRestrictionFromString(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.RELATION_TYPE_SIDE_RESTRICTION: - return convertRelationTypeSideRestrictionToString(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 PermissionRule createPermissionRule() { - PermissionRuleImpl permissionRule = new PermissionRuleImpl(); - return permissionRule; - } - - /** - * <!-- 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 RelationTypeRestriction createRelationTypeRestriction() { - RelationTypeRestrictionImpl relationTypeRestriction = new RelationTypeRestrictionImpl(); - return relationTypeRestriction; - } - - /** - * <!-- 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 AttributeTypeOfArtifactTypeRestriction createAttributeTypeOfArtifactTypeRestriction() { - AttributeTypeOfArtifactTypeRestrictionImpl attributeTypeOfArtifactTypeRestriction = - new AttributeTypeOfArtifactTypeRestrictionImpl(); - return attributeTypeOfArtifactTypeRestriction; - } - - /** - * <!-- 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 RelationTypeSideRestriction createRelationTypeSideRestrictionFromString(EDataType eDataType, String initialValue) { - RelationTypeSideRestriction result = RelationTypeSideRestriction.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 convertRelationTypeSideRestrictionToString(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; - } - -} //OseeDslFactoryImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class OseeDslFactoryImpl extends EFactoryImpl implements OseeDslFactory
+{
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OseeDslFactory init()
+ {
+ try
+ {
+ OseeDslFactory theOseeDslFactory = (OseeDslFactory)EPackage.Registry.INSTANCE.getEFactory("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
+ */
+ 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..48d6ecac8b8 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 @@ -1,467 +1,483 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.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.XBranchRef; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Osee Dsl</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <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> - * </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); - } - -} //OseeDslImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.Import;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.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.XBranchRef;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Osee Dsl</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <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>
+ * </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
+ */
+ 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 bb52924dcb1..267f1b041b5 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 @@ -1,1608 +1,1494 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; -import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.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.AttributeTypeOfArtifactTypeRestriction; -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.PermissionRule; -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.RelationTypeSideRestriction; -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; - -/** - * <!-- 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 permissionRuleEClass = 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 relationTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EClass attributeTypeRestrictionEClass = null; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - private EClass attributeTypeOfArtifactTypeRestrictionEClass = 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 relationTypeSideRestrictionEEnum = 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 - */ - 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_TypeGuid() { - 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 getPermissionRule() { - return permissionRuleEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getPermissionRule_Permission() { - return (EAttribute) permissionRuleEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getPermissionRule_ObjectRestriction() { - return (EReference) permissionRuleEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getObjectRestriction() { - return objectRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getArtifactInstanceRestriction() { - return artifactInstanceRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getArtifactInstanceRestriction_ArtifactName() { - 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_ArtifactType() { - return (EReference) artifactTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getRelationTypeRestriction() { - return relationTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getRelationTypeRestriction_RelationType() { - return (EReference) relationTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getRelationTypeRestriction_RestrictedTo() { - return (EAttribute) relationTypeRestrictionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getAttributeTypeRestriction() { - return attributeTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getAttributeTypeRestriction_AttributeType() { - return (EReference) attributeTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getAttributeTypeOfArtifactTypeRestriction() { - return attributeTypeOfArtifactTypeRestrictionEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getAttributeTypeOfArtifactTypeRestriction_AttributeType() { - return (EReference) attributeTypeOfArtifactTypeRestrictionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getAttributeTypeOfArtifactTypeRestriction_ArtifactType() { - return (EReference) attributeTypeOfArtifactTypeRestrictionEClass.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 getRelationTypeSideRestriction() { - return relationTypeSideRestrictionEEnum; - } - - /** - * <!-- 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__TYPE_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); - - permissionRuleEClass = createEClass(PERMISSION_RULE); - createEAttribute(permissionRuleEClass, PERMISSION_RULE__PERMISSION); - createEReference(permissionRuleEClass, PERMISSION_RULE__OBJECT_RESTRICTION); - - objectRestrictionEClass = createEClass(OBJECT_RESTRICTION); - - artifactInstanceRestrictionEClass = createEClass(ARTIFACT_INSTANCE_RESTRICTION); - createEReference(artifactInstanceRestrictionEClass, ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME); - - artifactTypeRestrictionEClass = createEClass(ARTIFACT_TYPE_RESTRICTION); - createEReference(artifactTypeRestrictionEClass, ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE); - - relationTypeRestrictionEClass = createEClass(RELATION_TYPE_RESTRICTION); - createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE); - createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RESTRICTED_TO); - - attributeTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_RESTRICTION); - createEReference(attributeTypeRestrictionEClass, ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE); - - attributeTypeOfArtifactTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION); - createEReference(attributeTypeOfArtifactTypeRestrictionEClass, - ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE); - createEReference(attributeTypeOfArtifactTypeRestrictionEClass, - ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE); - - // Create enums - relationMultiplicityEnumEEnum = createEEnum(RELATION_MULTIPLICITY_ENUM); - accessPermissionEnumEEnum = createEEnum(ACCESS_PERMISSION_ENUM); - relationTypeSideRestrictionEEnum = createEEnum(RELATION_TYPE_SIDE_RESTRICTION); - } - - /** - * <!-- 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()); - relationTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); - attributeTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); - attributeTypeOfArtifactTypeRestrictionEClass.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_TypeGuid(), ecorePackage.getEString(), "typeGuid", 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.getPermissionRule(), 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.getPermissionRule(), 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(permissionRuleEClass, PermissionRule.class, "PermissionRule", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPermissionRule_Permission(), this.getAccessPermissionEnum(), "permission", null, 0, 1, - PermissionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getPermissionRule_ObjectRestriction(), this.getObjectRestriction(), null, "objectRestriction", - null, 0, 1, PermissionRule.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); - - initEClass(artifactInstanceRestrictionEClass, ArtifactInstanceRestriction.class, "ArtifactInstanceRestriction", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArtifactInstanceRestriction_ArtifactName(), this.getXArtifactRef(), null, "artifactName", 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_ArtifactType(), this.getXArtifactType(), null, "artifactType", 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(relationTypeRestrictionEClass, RelationTypeRestriction.class, "RelationTypeRestriction", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRelationTypeRestriction_RelationType(), this.getXRelationType(), null, "relationType", 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_RestrictedTo(), this.getRelationTypeSideRestriction(), "restrictedTo", - null, 0, -1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, - !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(attributeTypeRestrictionEClass, AttributeTypeRestriction.class, "AttributeTypeRestriction", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAttributeTypeRestriction_AttributeType(), this.getXAttributeType(), null, "attributeType", - 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(attributeTypeOfArtifactTypeRestrictionEClass, AttributeTypeOfArtifactTypeRestriction.class, - "AttributeTypeOfArtifactTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAttributeTypeOfArtifactTypeRestriction_AttributeType(), this.getXAttributeType(), null, - "attributeType", null, 0, 1, AttributeTypeOfArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, - IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAttributeTypeOfArtifactTypeRestriction_ArtifactType(), this.getXArtifactType(), null, - "artifactType", null, 0, 1, AttributeTypeOfArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, - IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.class, "RelationMultiplicityEnum"); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_ONE); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_MANY); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_ONE); - addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_MANY); - - initEEnum(accessPermissionEnumEEnum, AccessPermissionEnum.class, "AccessPermissionEnum"); - addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.ALLOW); - addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.DENY); - - initEEnum(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.class, "RelationTypeSideRestriction"); - addEEnumLiteral(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.SIDE_A); - addEEnumLiteral(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.SIDE_B); - - // Create resource - createResource(eNS_URI); - } - -} //OseeDslPackageImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.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;
+
+/**
+ * <!-- 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
+ */
+ 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..9e2666c8b51 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 @@ -1,41 +1,48 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 --> - * <p> - * </p> - * - * @generated - */ -public class OseeElementImpl extends MinimalEObjectImpl.Container implements OseeElement { - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected OseeElementImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.OSEE_ELEMENT; - } - -} //OseeElementImpl + */
+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 -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class OseeElementImpl extends MinimalEObjectImpl.Container implements OseeElement
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OseeElementImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.OSEE_ELEMENT;
+ }
+
+} //OseeElementImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java index 841d7b6265c..98bad15b84c 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 @@ -1,224 +1,236 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Osee Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <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> - * </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(); - } - -} //OseeTypeImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Osee Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <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>
+ * </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
+ */
+ 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..a1a507a2ee6 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 @@ -1,42 +1,48 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -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 - * --> - * <p> - * </p> - * - * @generated - */ -public class OverrideOptionImpl extends MinimalEObjectImpl.Container implements OverrideOption { - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected OverrideOptionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.OVERRIDE_OPTION; - } - -} //OverrideOptionImpl + */
+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 -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class OverrideOptionImpl extends MinimalEObjectImpl.Container implements OverrideOption
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OverrideOptionImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.OVERRIDE_OPTION;
+ }
+
+} //OverrideOptionImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java deleted file mode 100644 index 7ec254addd0..00000000000 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.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; -import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Permission Rule</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl#getPermission <em>Permission</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl#getObjectRestriction <em>Object - * Restriction</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PermissionRuleImpl extends MinimalEObjectImpl.Container implements PermissionRule { - /** - * The default value of the '{@link #getPermission() <em>Permission</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getPermission() - * @generated - * @ordered - */ - protected static final AccessPermissionEnum PERMISSION_EDEFAULT = AccessPermissionEnum.ALLOW; - - /** - * The cached value of the '{@link #getPermission() <em>Permission</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getPermission() - * @generated - * @ordered - */ - protected AccessPermissionEnum permission = PERMISSION_EDEFAULT; - - /** - * The cached value of the '{@link #getObjectRestriction() <em>Object Restriction</em>}' containment reference. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @see #getObjectRestriction() - * @generated - * @ordered - */ - protected ObjectRestriction objectRestriction; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected PermissionRuleImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.PERMISSION_RULE; - } - - /** - * <!-- 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.PERMISSION_RULE__PERMISSION, - oldPermission, permission)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public ObjectRestriction getObjectRestriction() { - return objectRestriction; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public NotificationChain basicSetObjectRestriction(ObjectRestriction newObjectRestriction, NotificationChain msgs) { - ObjectRestriction oldObjectRestriction = objectRestriction; - objectRestriction = newObjectRestriction; - if (eNotificationRequired()) { - ENotificationImpl notification = - new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, - oldObjectRestriction, newObjectRestriction); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } - } - return msgs; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setObjectRestriction(ObjectRestriction newObjectRestriction) { - if (newObjectRestriction != objectRestriction) { - NotificationChain msgs = null; - if (objectRestriction != null) { - msgs = - ((InternalEObject) objectRestriction).eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, null, msgs); - } - if (newObjectRestriction != null) { - msgs = - ((InternalEObject) newObjectRestriction).eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, null, msgs); - } - msgs = basicSetObjectRestriction(newObjectRestriction, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, - newObjectRestriction, newObjectRestriction)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: - return basicSetObjectRestriction(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.PERMISSION_RULE__PERMISSION: - return getPermission(); - case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: - return getObjectRestriction(); - } - 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.PERMISSION_RULE__PERMISSION: - setPermission((AccessPermissionEnum) newValue); - return; - case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: - setObjectRestriction((ObjectRestriction) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case OseeDslPackage.PERMISSION_RULE__PERMISSION: - setPermission(PERMISSION_EDEFAULT); - return; - case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: - setObjectRestriction((ObjectRestriction) null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case OseeDslPackage.PERMISSION_RULE__PERMISSION: - return permission != PERMISSION_EDEFAULT; - case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: - return objectRestriction != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (permission: "); - result.append(permission); - result.append(')'); - return result.toString(); - } - -} //PermissionRuleImpl 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 c6f740569ea..4707ea08a25 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 @@ -1,226 +1,248 @@ -/** - * <copyright> - * </copyright> - * - - */ -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.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.EDataTypeEList; -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.RelationTypeSideRestriction; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Relation Type Restriction</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRelationType <em>Relation - * Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRestrictedTo <em> - * Restricted To</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class RelationTypeRestrictionImpl extends ObjectRestrictionImpl implements RelationTypeRestriction { - /** - * The cached value of the '{@link #getRelationType() <em>Relation Type</em>}' reference. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @see #getRelationType() - * @generated - * @ordered - */ - protected XRelationType relationType; - - /** - * The cached value of the '{@link #getRestrictedTo() <em>Restricted To</em>}' attribute list. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @see #getRestrictedTo() - * @generated - * @ordered - */ - protected EList<RelationTypeSideRestriction> restrictedTo; - - /** - * <!-- 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 getRelationType() { - if (relationType != null && relationType.eIsProxy()) { - InternalEObject oldRelationType = (InternalEObject) relationType; - relationType = (XRelationType) eResolveProxy(oldRelationType); - if (relationType != oldRelationType) { - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE, oldRelationType, relationType)); - } - } - } - return relationType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public XRelationType basicGetRelationType() { - return relationType; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void setRelationType(XRelationType newRelationType) { - XRelationType oldRelationType = relationType; - relationType = newRelationType; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE, - oldRelationType, relationType)); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EList<RelationTypeSideRestriction> getRestrictedTo() { - if (restrictedTo == null) { - restrictedTo = - new EDataTypeEList<RelationTypeSideRestriction>(RelationTypeSideRestriction.class, this, - OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO); - } - return restrictedTo; - } - - /** - * <!-- 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: - if (resolve) { - return getRelationType(); - } - return basicGetRelationType(); - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: - return getRestrictedTo(); - } - 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.RELATION_TYPE_RESTRICTION__RELATION_TYPE: - setRelationType((XRelationType) newValue); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: - getRestrictedTo().clear(); - getRestrictedTo().addAll((Collection<? extends RelationTypeSideRestriction>) 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: - setRelationType((XRelationType) null); - return; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: - getRestrictedTo().clear(); - 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: - return relationType != null; - case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: - return restrictedTo != null && !restrictedTo.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(" (restrictedTo: "); - result.append(restrictedTo); - result.append(')'); - return result.toString(); - } - -} //RelationTypeRestrictionImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+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 -->
+ * <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>
+ * </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
+ */
+ public XRelationType getRelationTypeRef()
+ {
+ if (relationTypeRef != null && relationTypeRef.eIsProxy())
+ {
+ InternalEObject oldRelationTypeRef = (InternalEObject)relationTypeRef;
+ relationTypeRef = (XRelationType)eResolveProxy(oldRelationTypeRef);
+ if (relationTypeRef != oldRelationTypeRef)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF, oldRelationTypeRef, relationTypeRef));
+ }
+ }
+ return relationTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XRelationType basicGetRelationTypeRef()
+ {
+ return relationTypeRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRelationTypeRef(XRelationType newRelationTypeRef)
+ {
+ XRelationType oldRelationTypeRef = relationTypeRef;
+ relationTypeRef = newRelationTypeRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE_REF, oldRelationTypeRef, relationTypeRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XRelationSideEnum getRestrictedToSide()
+ {
+ return restrictedToSide;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRestrictedToSide(XRelationSideEnum newRestrictedToSide)
+ {
+ XRelationSideEnum oldRestrictedToSide = restrictedToSide;
+ restrictedToSide = newRestrictedToSide == null ? RESTRICTED_TO_SIDE_EDEFAULT : newRestrictedToSide;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO_SIDE, oldRestrictedToSide, restrictedToSide));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @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..c4b623c2549 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 @@ -1,163 +1,176 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>Remove Enum</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <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; - } - return super.eIsSet(featureID); - } - -} //RemoveEnumImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Remove Enum</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <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
+ */
+ public XOseeEnumEntry getEnumEntry()
+ {
+ if (enumEntry != null && enumEntry.eIsProxy())
+ {
+ InternalEObject oldEnumEntry = (InternalEObject)enumEntry;
+ enumEntry = (XOseeEnumEntry)eResolveProxy(oldEnumEntry);
+ if (enumEntry != oldEnumEntry)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry));
+ }
+ }
+ return enumEntry;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XOseeEnumEntry basicGetEnumEntry()
+ {
+ return enumEntry;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnumEntry(XOseeEnumEntry newEnumEntry)
+ {
+ XOseeEnumEntry oldEnumEntry = enumEntry;
+ enumEntry = newEnumEntry;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
+ if (resolve) return getEnumEntry();
+ return basicGetEnumEntry();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
+ setEnumEntry((XOseeEnumEntry)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
+ setEnumEntry((XOseeEnumEntry)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
+ return enumEntry != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //RemoveEnumImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java index d1936e66f30..84a15da97ff 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 @@ -1,224 +1,237 @@ -/** - * <copyright> - * </copyright> - * - - */ -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 --> - * <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> - * </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(); - } - -} //XArtifactRefImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+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 -->
+ * <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>
+ * </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
+ */
+ 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..283b728bf7e 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 @@ -1,266 +1,280 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XArtifact Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#isAbstract <em>Abstract</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getSuperArtifactTypes <em>Super - * Artifact Types</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getValidAttributeTypes <em>Valid - * Attribute Types</em>}</li> - * </ul> - * </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; - - /** - * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #isAbstract() - * @generated - * @ordered - */ - protected boolean abstract_ = ABSTRACT_EDEFAULT; - - /** - * The cached value of the '{@link #getSuperArtifactTypes() <em>Super Artifact Types</em>}' reference list. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @see #getSuperArtifactTypes() - * @generated - * @ordered - */ - protected EList<XArtifactType> superArtifactTypes; - - /** - * The cached value of the '{@link #getValidAttributeTypes() <em>Valid Attribute Types</em>}' containment reference - * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see #getValidAttributeTypes() - * @generated - * @ordered - */ - protected EList<XAttributeTypeRef> validAttributeTypes; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected XArtifactTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.XARTIFACT_TYPE; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - 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 - */ - @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 - */ - @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 - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - return ((InternalEList<?>) getValidAttributeTypes()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - return isAbstract(); - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - return getSuperArtifactTypes(); - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - return getValidAttributeTypes(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - setAbstract((Boolean) newValue); - return; - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - getSuperArtifactTypes().clear(); - getSuperArtifactTypes().addAll((Collection<? extends XArtifactType>) newValue); - return; - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - getValidAttributeTypes().clear(); - getValidAttributeTypes().addAll((Collection<? extends XAttributeTypeRef>) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - getSuperArtifactTypes().clear(); - return; - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - getValidAttributeTypes().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: - return superArtifactTypes != null && !superArtifactTypes.isEmpty(); - case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: - return validAttributeTypes != null && !validAttributeTypes.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (abstract: "); - result.append(abstract_); - result.append(')'); - return result.toString(); - } - -} //XArtifactTypeImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XArtifact Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#isAbstract <em>Abstract</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getSuperArtifactTypes <em>Super Artifact Types</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getValidAttributeTypes <em>Valid Attribute Types</em>}</li>
+ * </ul>
+ * </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;
+
+ /**
+ * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected boolean abstract_ = ABSTRACT_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSuperArtifactTypes() <em>Super Artifact Types</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuperArtifactTypes()
+ * @generated
+ * @ordered
+ */
+ protected EList<XArtifactType> superArtifactTypes;
+
+ /**
+ * The cached value of the '{@link #getValidAttributeTypes() <em>Valid Attribute Types</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValidAttributeTypes()
+ * @generated
+ * @ordered
+ */
+ protected EList<XAttributeTypeRef> validAttributeTypes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XArtifactTypeImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.XARTIFACT_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAbstract()
+ {
+ return abstract_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAbstract(boolean newAbstract)
+ {
+ boolean oldAbstract = abstract_;
+ abstract_ = newAbstract;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_TYPE__ABSTRACT, oldAbstract, abstract_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<XArtifactType> getSuperArtifactTypes()
+ {
+ if (superArtifactTypes == null)
+ {
+ superArtifactTypes = new EObjectResolvingEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES);
+ }
+ return superArtifactTypes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<XAttributeTypeRef> getValidAttributeTypes()
+ {
+ if (validAttributeTypes == null)
+ {
+ validAttributeTypes = new EObjectContainmentEList<XAttributeTypeRef>(XAttributeTypeRef.class, this, OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES);
+ }
+ return validAttributeTypes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
+ return ((InternalEList<?>)getValidAttributeTypes()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
+ return isAbstract();
+ case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
+ return getSuperArtifactTypes();
+ case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
+ return getValidAttributeTypes();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
+ setAbstract((Boolean)newValue);
+ return;
+ case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
+ getSuperArtifactTypes().clear();
+ getSuperArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue);
+ return;
+ case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
+ getValidAttributeTypes().clear();
+ getValidAttributeTypes().addAll((Collection<? extends XAttributeTypeRef>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
+ setAbstract(ABSTRACT_EDEFAULT);
+ return;
+ case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
+ getSuperArtifactTypes().clear();
+ return;
+ case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
+ getValidAttributeTypes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
+ return abstract_ != ABSTRACT_EDEFAULT;
+ case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
+ return superArtifactTypes != null && !superArtifactTypes.isEmpty();
+ case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
+ return validAttributeTypes != null && !validAttributeTypes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (abstract: ");
+ result.append(abstract_);
+ result.append(')');
+ return result.toString();
+ }
+
+} //XArtifactTypeImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java index 23e853b62f4..a7b9494fda5 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 @@ -1,710 +1,704 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XAttribute Type</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are implemented: - * <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> - * </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)); - } - } - - /** - * <!-- 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 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(); - } - -} //XAttributeTypeImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XAttribute Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <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>
+ * </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
+ */
+ public String getBaseAttributeType()
+ {
+ return baseAttributeType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBaseAttributeType(String newBaseAttributeType)
+ {
+ String oldBaseAttributeType = baseAttributeType;
+ baseAttributeType = newBaseAttributeType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE, oldBaseAttributeType, baseAttributeType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XAttributeType getOverride()
+ {
+ if (override != null && override.eIsProxy())
+ {
+ InternalEObject oldOverride = (InternalEObject)override;
+ override = (XAttributeType)eResolveProxy(oldOverride);
+ if (override != oldOverride)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override));
+ }
+ }
+ return override;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XAttributeType basicGetOverride()
+ {
+ return override;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOverride(XAttributeType newOverride)
+ {
+ XAttributeType oldOverride = override;
+ override = newOverride;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDataProvider()
+ {
+ return dataProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataProvider(String newDataProvider)
+ {
+ String oldDataProvider = dataProvider;
+ dataProvider = newDataProvider;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER, oldDataProvider, dataProvider));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getMin()
+ {
+ return min;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMin(String newMin)
+ {
+ String oldMin = min;
+ min = newMin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MIN, oldMin, min));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getMax()
+ {
+ return max;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMax(String newMax)
+ {
+ String oldMax = max;
+ max = newMax;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MAX, oldMax, max));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTaggerId()
+ {
+ return taggerId;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTaggerId(String newTaggerId)
+ {
+ String oldTaggerId = taggerId;
+ taggerId = newTaggerId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID, oldTaggerId, taggerId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XOseeEnumType getEnumType()
+ {
+ if (enumType != null && enumType.eIsProxy())
+ {
+ InternalEObject oldEnumType = (InternalEObject)enumType;
+ enumType = (XOseeEnumType)eResolveProxy(oldEnumType);
+ if (enumType != oldEnumType)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType));
+ }
+ }
+ return enumType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XOseeEnumType basicGetEnumType()
+ {
+ return enumType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnumType(XOseeEnumType newEnumType)
+ {
+ XOseeEnumType oldEnumType = enumType;
+ enumType = newEnumType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDescription()
+ {
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDescription(String newDescription)
+ {
+ String oldDescription = description;
+ description = newDescription;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION, oldDescription, description));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefaultValue()
+ {
+ return defaultValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefaultValue(String newDefaultValue)
+ {
+ String oldDefaultValue = defaultValue;
+ defaultValue = newDefaultValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE, oldDefaultValue, defaultValue));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFileExtension()
+ {
+ return fileExtension;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFileExtension(String newFileExtension)
+ {
+ String oldFileExtension = fileExtension;
+ fileExtension = newFileExtension;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION, oldFileExtension, fileExtension));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @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..cf3b03f6c94 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 @@ -1,241 +1,248 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XAttribute Type Ref</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are implemented: - * <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> - * </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)); - } - } - - /** - * <!-- 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 +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XAttribute Type Ref</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <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>
+ * </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
+ */
+ public XAttributeType getValidAttributeType()
+ {
+ if (validAttributeType != null && validAttributeType.eIsProxy())
+ {
+ InternalEObject oldValidAttributeType = (InternalEObject)validAttributeType;
+ validAttributeType = (XAttributeType)eResolveProxy(oldValidAttributeType);
+ if (validAttributeType != oldValidAttributeType)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType));
+ }
+ }
+ return validAttributeType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XAttributeType basicGetValidAttributeType()
+ {
+ return validAttributeType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValidAttributeType(XAttributeType newValidAttributeType)
+ {
+ XAttributeType oldValidAttributeType = validAttributeType;
+ validAttributeType = newValidAttributeType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String 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..66c172b0eae 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 @@ -1,224 +1,237 @@ -/** - * <copyright> - * </copyright> - * - - */ -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 --> - * <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> - * </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(); - } - -} //XBranchRefImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+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 -->
+ * <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>
+ * </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
+ */
+ 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..5448de6a903 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 @@ -1,284 +1,293 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XOsee Enum Entry</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are implemented: - * <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> - * </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; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getOrdinal() - * @generated - * @ordered - */ - protected static final String ORDINAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #getOrdinal() - * @generated - * @ordered - */ - protected String ordinal = ORDINAL_EDEFAULT; - - /** - * The default value of the '{@link #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; - - /** - * <!-- 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 - 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 - */ - @Override - 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 - */ - @Override - 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 - */ - @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 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 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(); - } - -} //XOseeEnumEntryImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XOsee Enum Entry</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <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>
+ * </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;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOrdinal()
+ * @generated
+ * @ordered
+ */
+ protected static final String ORDINAL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOrdinal()
+ * @generated
+ * @ordered
+ */
+ protected String ordinal = ORDINAL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #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;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XOseeEnumEntryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.XOSEE_ENUM_ENTRY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getOrdinal()
+ {
+ return ordinal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOrdinal(String newOrdinal)
+ {
+ String oldOrdinal = ordinal;
+ ordinal = newOrdinal;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL, oldOrdinal, ordinal));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEntryGuid()
+ {
+ return 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 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 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();
+
+ 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..160448b7d51 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 @@ -1,298 +1,309 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XOsee Enum Override</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverridenEnumType <em>Overriden - * Enum Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#isInheritAll <em>Inherit All</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverrideOptions <em>Override - * Options</em>}</li> - * </ul> - * </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; - - /** - * The default value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #isInheritAll() - * @generated - * @ordered - */ - protected static final boolean INHERIT_ALL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @see #isInheritAll() - * @generated - * @ordered - */ - protected boolean inheritAll = INHERIT_ALL_EDEFAULT; - - /** - * The cached value of the '{@link #getOverrideOptions() <em>Override Options</em>}' containment reference list. <!-- - * begin-user-doc --> <!-- end-user-doc --> - * - * @see #getOverrideOptions() - * @generated - * @ordered - */ - protected EList<OverrideOption> overrideOptions; - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected XOseeEnumOverrideImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return OseeDslPackage.Literals.XOSEE_ENUM_OVERRIDE; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @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)); - } - } - } - 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 - */ - @Override - 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 - */ - @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 - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - return ((InternalEList<?>) getOverrideOptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - if (resolve) { - return getOverridenEnumType(); - } - return basicGetOverridenEnumType(); - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - return isInheritAll(); - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - return getOverrideOptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - setOverridenEnumType((XOseeEnumType) newValue); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - setInheritAll((Boolean) newValue); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - getOverrideOptions().clear(); - getOverrideOptions().addAll((Collection<? extends OverrideOption>) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - setOverridenEnumType((XOseeEnumType) null); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - setInheritAll(INHERIT_ALL_EDEFAULT); - return; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - getOverrideOptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: - return overridenEnumType != null; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: - return inheritAll != INHERIT_ALL_EDEFAULT; - case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: - return overrideOptions != null && !overrideOptions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (inheritAll: "); - result.append(inheritAll); - result.append(')'); - return result.toString(); - } - -} //XOseeEnumOverrideImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XOsee Enum Override</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverridenEnumType <em>Overriden Enum Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#isInheritAll <em>Inherit All</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverrideOptions <em>Override Options</em>}</li>
+ * </ul>
+ * </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;
+
+ /**
+ * The default value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInheritAll()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean INHERIT_ALL_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInheritAll()
+ * @generated
+ * @ordered
+ */
+ protected boolean inheritAll = INHERIT_ALL_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getOverrideOptions() <em>Override Options</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOverrideOptions()
+ * @generated
+ * @ordered
+ */
+ protected EList<OverrideOption> overrideOptions;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XOseeEnumOverrideImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.XOSEE_ENUM_OVERRIDE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XOseeEnumType getOverridenEnumType()
+ {
+ if (overridenEnumType != null && overridenEnumType.eIsProxy())
+ {
+ InternalEObject oldOverridenEnumType = (InternalEObject)overridenEnumType;
+ overridenEnumType = (XOseeEnumType)eResolveProxy(oldOverridenEnumType);
+ if (overridenEnumType != oldOverridenEnumType)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType));
+ }
+ }
+ return overridenEnumType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XOseeEnumType basicGetOverridenEnumType()
+ {
+ return overridenEnumType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOverridenEnumType(XOseeEnumType newOverridenEnumType)
+ {
+ XOseeEnumType oldOverridenEnumType = overridenEnumType;
+ overridenEnumType = newOverridenEnumType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isInheritAll()
+ {
+ return inheritAll;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInheritAll(boolean newInheritAll)
+ {
+ boolean oldInheritAll = inheritAll;
+ inheritAll = newInheritAll;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL, oldInheritAll, inheritAll));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<OverrideOption> getOverrideOptions()
+ {
+ if (overrideOptions == null)
+ {
+ overrideOptions = new EObjectContainmentEList<OverrideOption>(OverrideOption.class, this, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS);
+ }
+ return overrideOptions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
+ return ((InternalEList<?>)getOverrideOptions()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
+ if (resolve) return getOverridenEnumType();
+ return basicGetOverridenEnumType();
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
+ return isInheritAll();
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
+ return getOverrideOptions();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
+ setOverridenEnumType((XOseeEnumType)newValue);
+ return;
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
+ setInheritAll((Boolean)newValue);
+ return;
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
+ getOverrideOptions().clear();
+ getOverrideOptions().addAll((Collection<? extends OverrideOption>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
+ setOverridenEnumType((XOseeEnumType)null);
+ return;
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
+ setInheritAll(INHERIT_ALL_EDEFAULT);
+ return;
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
+ getOverrideOptions().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
+ return overridenEnumType != null;
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
+ return inheritAll != INHERIT_ALL_EDEFAULT;
+ case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
+ return overrideOptions != null && !overrideOptions.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (inheritAll: ");
+ result.append(inheritAll);
+ result.append(')');
+ return result.toString();
+ }
+
+} //XOseeEnumOverrideImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java index 8ceffc1cbe5..925fb93469d 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 @@ -1,151 +1,169 @@ -/** - * <copyright> - * </copyright> - * +/**
+ * <copyright>
+ * </copyright>
+ *
- */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import java.util.Collection; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XOsee Enum Type</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are implemented: - * <ul> - * <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); - } - -} //XOseeEnumTypeImpl + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XOsee Enum Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <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
+ */
+ 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..c00eb83d42d 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 @@ -1,483 +1,481 @@ -/** - * <copyright> - * </copyright> - * - - */ -package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; -import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; -import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; - -/** - * <!-- begin-user-doc --> An implementation of the model object '<em><b>XRelation Type</b></em>'. <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAName <em>Side AName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAArtifactType <em>Side AArtifact - * Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBName <em>Side BName</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBArtifactType <em>Side BArtifact - * Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getDefaultOrderType <em>Default Order - * Type</em>}</li> - * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getMultiplicity <em>Multiplicity</em>}</li> - * </ul> - * </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)); - } - } - } - 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)); - } - } - - /** - * <!-- 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(); - } - -} //XRelationTypeImpl +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
+import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>XRelation Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAName <em>Side AName</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAArtifactType <em>Side AArtifact Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBName <em>Side BName</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBArtifactType <em>Side BArtifact Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getDefaultOrderType <em>Default Order Type</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getMultiplicity <em>Multiplicity</em>}</li>
+ * </ul>
+ * </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
+ */
+ public String getSideAName()
+ {
+ return sideAName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSideAName(String newSideAName)
+ {
+ String oldSideAName = sideAName;
+ sideAName = newSideAName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_ANAME, oldSideAName, sideAName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType getSideAArtifactType()
+ {
+ if (sideAArtifactType != null && sideAArtifactType.eIsProxy())
+ {
+ InternalEObject oldSideAArtifactType = (InternalEObject)sideAArtifactType;
+ sideAArtifactType = (XArtifactType)eResolveProxy(oldSideAArtifactType);
+ if (sideAArtifactType != oldSideAArtifactType)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType));
+ }
+ }
+ return sideAArtifactType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType basicGetSideAArtifactType()
+ {
+ return sideAArtifactType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSideAArtifactType(XArtifactType newSideAArtifactType)
+ {
+ XArtifactType oldSideAArtifactType = sideAArtifactType;
+ sideAArtifactType = newSideAArtifactType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSideBName()
+ {
+ return sideBName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSideBName(String newSideBName)
+ {
+ String oldSideBName = sideBName;
+ sideBName = newSideBName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BNAME, oldSideBName, sideBName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType getSideBArtifactType()
+ {
+ if (sideBArtifactType != null && sideBArtifactType.eIsProxy())
+ {
+ InternalEObject oldSideBArtifactType = (InternalEObject)sideBArtifactType;
+ sideBArtifactType = (XArtifactType)eResolveProxy(oldSideBArtifactType);
+ if (sideBArtifactType != oldSideBArtifactType)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType));
+ }
+ }
+ return sideBArtifactType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactType basicGetSideBArtifactType()
+ {
+ return sideBArtifactType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSideBArtifactType(XArtifactType newSideBArtifactType)
+ {
+ XArtifactType oldSideBArtifactType = sideBArtifactType;
+ sideBArtifactType = newSideBArtifactType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefaultOrderType()
+ {
+ return defaultOrderType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefaultOrderType(String newDefaultOrderType)
+ {
+ String oldDefaultOrderType = defaultOrderType;
+ defaultOrderType = newDefaultOrderType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE, oldDefaultOrderType, defaultOrderType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RelationMultiplicityEnum getMultiplicity()
+ {
+ return multiplicity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMultiplicity(RelationMultiplicityEnum newMultiplicity)
+ {
+ RelationMultiplicityEnum oldMultiplicity = multiplicity;
+ multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__MULTIPLICITY, oldMultiplicity, multiplicity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
+ return getSideAName();
+ case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
+ if (resolve) return getSideAArtifactType();
+ return basicGetSideAArtifactType();
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
+ return getSideBName();
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
+ if (resolve) return getSideBArtifactType();
+ return basicGetSideBArtifactType();
+ case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
+ return getDefaultOrderType();
+ case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
+ return getMultiplicity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
+ setSideAName((String)newValue);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
+ setSideAArtifactType((XArtifactType)newValue);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
+ setSideBName((String)newValue);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
+ setSideBArtifactType((XArtifactType)newValue);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
+ setDefaultOrderType((String)newValue);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
+ setMultiplicity((RelationMultiplicityEnum)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
+ setSideAName(SIDE_ANAME_EDEFAULT);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
+ setSideAArtifactType((XArtifactType)null);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
+ setSideBName(SIDE_BNAME_EDEFAULT);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
+ setSideBArtifactType((XArtifactType)null);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
+ setDefaultOrderType(DEFAULT_ORDER_TYPE_EDEFAULT);
+ return;
+ case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
+ setMultiplicity(MULTIPLICITY_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
+ return SIDE_ANAME_EDEFAULT == null ? sideAName != null : !SIDE_ANAME_EDEFAULT.equals(sideAName);
+ case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
+ return sideAArtifactType != null;
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
+ return SIDE_BNAME_EDEFAULT == null ? sideBName != null : !SIDE_BNAME_EDEFAULT.equals(sideBName);
+ case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
+ return sideBArtifactType != null;
+ case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
+ return DEFAULT_ORDER_TYPE_EDEFAULT == null ? defaultOrderType != null : !DEFAULT_ORDER_TYPE_EDEFAULT.equals(defaultOrderType);
+ case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
+ return multiplicity != MULTIPLICITY_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (sideAName: ");
+ result.append(sideAName);
+ result.append(", sideBName: ");
+ result.append(sideBName);
+ result.append(", defaultOrderType: ");
+ result.append(defaultOrderType);
+ result.append(", multiplicity: ");
+ result.append(multiplicity);
+ result.append(')');
+ return result.toString();
+ }
+
+} //XRelationTypeImpl
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java index 3a9d16a94f8..0895ef8945b 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 @@ -1,582 +1,576 @@ -/** - * <copyright> - * </copyright> - * - - */ -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.AttributeTypeOfArtifactTypeRestriction; -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.PermissionRule; -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; - -/** - * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code> - * method for each class of the model. <!-- end-user-doc --> - * - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage - * @generated - */ -public class OseeDslAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected static OseeDslPackage modelPackage; - - /** - * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public OseeDslAdapterFactory() { - if (modelPackage == null) { - modelPackage = OseeDslPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation - * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!-- - * end-user-doc --> - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - protected OseeDslSwitch<Adapter> modelSwitch = new OseeDslSwitch<Adapter>() { - @Override - public Adapter caseOseeDsl(OseeDsl object) { - return createOseeDslAdapter(); - } - - @Override - public Adapter caseImport(Import object) { - return createImportAdapter(); - } - - @Override - public Adapter caseOseeElement(OseeElement object) { - return createOseeElementAdapter(); - } - - @Override - public Adapter caseOseeType(OseeType object) { - return createOseeTypeAdapter(); - } - - @Override - public Adapter caseXArtifactType(XArtifactType object) { - return createXArtifactTypeAdapter(); - } - - @Override - public Adapter caseXAttributeTypeRef(XAttributeTypeRef object) { - return createXAttributeTypeRefAdapter(); - } - - @Override - public Adapter caseXAttributeType(XAttributeType object) { - return createXAttributeTypeAdapter(); - } - - @Override - public Adapter caseXOseeEnumType(XOseeEnumType object) { - return createXOseeEnumTypeAdapter(); - } - - @Override - public Adapter caseXOseeEnumEntry(XOseeEnumEntry object) { - return createXOseeEnumEntryAdapter(); - } - - @Override - public Adapter caseXOseeEnumOverride(XOseeEnumOverride object) { - return createXOseeEnumOverrideAdapter(); - } - - @Override - public Adapter caseOverrideOption(OverrideOption object) { - return createOverrideOptionAdapter(); - } - - @Override - public Adapter caseAddEnum(AddEnum object) { - return createAddEnumAdapter(); - } - - @Override - public Adapter caseRemoveEnum(RemoveEnum object) { - return createRemoveEnumAdapter(); - } - - @Override - public Adapter caseXRelationType(XRelationType object) { - return createXRelationTypeAdapter(); - } - - @Override - public Adapter caseXArtifactRef(XArtifactRef object) { - return createXArtifactRefAdapter(); - } - - @Override - public Adapter caseXBranchRef(XBranchRef object) { - return createXBranchRefAdapter(); - } - - @Override - public Adapter caseAccessContext(AccessContext object) { - return createAccessContextAdapter(); - } - - @Override - public Adapter caseHierarchyRestriction(HierarchyRestriction object) { - return createHierarchyRestrictionAdapter(); - } - - @Override - public Adapter casePermissionRule(PermissionRule object) { - return createPermissionRuleAdapter(); - } - - @Override - public Adapter caseObjectRestriction(ObjectRestriction object) { - return createObjectRestrictionAdapter(); - } - - @Override - public Adapter caseArtifactInstanceRestriction(ArtifactInstanceRestriction object) { - return createArtifactInstanceRestrictionAdapter(); - } - - @Override - public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object) { - return createArtifactTypeRestrictionAdapter(); - } - - @Override - public Adapter caseRelationTypeRestriction(RelationTypeRestriction object) { - return createRelationTypeRestrictionAdapter(); - } - - @Override - public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object) { - return createAttributeTypeRestrictionAdapter(); - } - - @Override - public Adapter caseAttributeTypeOfArtifactTypeRestriction(AttributeTypeOfArtifactTypeRestriction object) { - return createAttributeTypeOfArtifactTypeRestrictionAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl - * <em>Osee Dsl</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl - * @generated - */ - public Adapter createOseeDslAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import - * <em>Import</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import - * @generated - */ - public Adapter createImportAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement - * <em>Osee Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement - * @generated - */ - public Adapter createOseeElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType - * <em>Osee Type</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType - * @generated - */ - public Adapter createOseeTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType - * <em>XArtifact Type</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType - * @generated - */ - public Adapter createXArtifactTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'. <!-- - * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to - * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef - * @generated - */ - public Adapter createXAttributeTypeRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType - * <em>XAttribute Type</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType - * @generated - */ - public Adapter createXAttributeTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType - * <em>XOsee Enum Type</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType - * @generated - */ - public Adapter createXOseeEnumTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry - * <em>XOsee Enum Entry</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can - * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- - * end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry - * @generated - */ - public Adapter createXOseeEnumEntryAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'. <!-- - * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to - * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride - * @generated - */ - public Adapter createXOseeEnumOverrideAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption - * <em>Override Option</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption - * @generated - */ - public Adapter createOverrideOptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum - * <em>Add Enum</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum - * @generated - */ - public Adapter createAddEnumAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum - * <em>Remove Enum</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily - * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum - * @generated - */ - public Adapter createRemoveEnumAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.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.PermissionRule - * <em>Permission Rule</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.PermissionRule - * @generated - */ - public Adapter createPermissionRuleAdapter() { - 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.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 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.AttributeTypeOfArtifactTypeRestriction - * <em>Attribute Type Of 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.AttributeTypeOfArtifactTypeRestriction - * @generated - */ - public Adapter createAttributeTypeOfArtifactTypeRestrictionAdapter() { - 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 +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+package org.eclipse.osee.framework.core.dsl.oseeDsl.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.osee.framework.core.dsl.oseeDsl.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage
+ * @generated
+ */
+public class OseeDslAdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static OseeDslPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OseeDslAdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = OseeDslPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object)
+ {
+ if (object == modelPackage)
+ {
+ return true;
+ }
+ if (object instanceof EObject)
+ {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OseeDslSwitch<Adapter> modelSwitch =
+ new OseeDslSwitch<Adapter>()
+ {
+ @Override
+ public Adapter caseOseeDsl(OseeDsl object)
+ {
+ return createOseeDslAdapter();
+ }
+ @Override
+ public Adapter caseImport(Import object)
+ {
+ return createImportAdapter();
+ }
+ @Override
+ public Adapter caseOseeElement(OseeElement object)
+ {
+ return createOseeElementAdapter();
+ }
+ @Override
+ public Adapter caseOseeType(OseeType object)
+ {
+ return createOseeTypeAdapter();
+ }
+ @Override
+ public Adapter caseXArtifactType(XArtifactType object)
+ {
+ return createXArtifactTypeAdapter();
+ }
+ @Override
+ public Adapter caseXAttributeTypeRef(XAttributeTypeRef object)
+ {
+ return createXAttributeTypeRefAdapter();
+ }
+ @Override
+ public Adapter caseXAttributeType(XAttributeType object)
+ {
+ return createXAttributeTypeAdapter();
+ }
+ @Override
+ public Adapter caseXOseeEnumType(XOseeEnumType object)
+ {
+ return createXOseeEnumTypeAdapter();
+ }
+ @Override
+ public Adapter caseXOseeEnumEntry(XOseeEnumEntry object)
+ {
+ return createXOseeEnumEntryAdapter();
+ }
+ @Override
+ public Adapter caseXOseeEnumOverride(XOseeEnumOverride object)
+ {
+ return createXOseeEnumOverrideAdapter();
+ }
+ @Override
+ public Adapter caseOverrideOption(OverrideOption object)
+ {
+ return createOverrideOptionAdapter();
+ }
+ @Override
+ public Adapter caseAddEnum(AddEnum object)
+ {
+ return createAddEnumAdapter();
+ }
+ @Override
+ public Adapter caseRemoveEnum(RemoveEnum object)
+ {
+ return createRemoveEnumAdapter();
+ }
+ @Override
+ public Adapter caseXRelationType(XRelationType object)
+ {
+ return createXRelationTypeAdapter();
+ }
+ @Override
+ public Adapter caseXArtifactRef(XArtifactRef object)
+ {
+ return createXArtifactRefAdapter();
+ }
+ @Override
+ public Adapter caseXBranchRef(XBranchRef object)
+ {
+ return createXBranchRefAdapter();
+ }
+ @Override
+ public Adapter caseAccessContext(AccessContext object)
+ {
+ return createAccessContextAdapter();
+ }
+ @Override
+ public Adapter caseHierarchyRestriction(HierarchyRestriction object)
+ {
+ return createHierarchyRestrictionAdapter();
+ }
+ @Override
+ public Adapter caseObjectRestriction(ObjectRestriction object)
+ {
+ return createObjectRestrictionAdapter();
+ }
+ @Override
+ public Adapter caseArtifactInstanceRestriction(ArtifactInstanceRestriction object)
+ {
+ return createArtifactInstanceRestrictionAdapter();
+ }
+ @Override
+ public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object)
+ {
+ return createArtifactTypeRestrictionAdapter();
+ }
+ @Override
+ public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object)
+ {
+ return createAttributeTypeRestrictionAdapter();
+ }
+ @Override
+ public Adapter caseRelationTypeRestriction(RelationTypeRestriction object)
+ {
+ return createRelationTypeRestrictionAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target)
+ {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl
+ * @generated
+ */
+ public Adapter createOseeDslAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import
+ * @generated
+ */
+ public Adapter createImportAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement
+ * @generated
+ */
+ public Adapter createOseeElementAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType
+ * @generated
+ */
+ public Adapter createOseeTypeAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType
+ * @generated
+ */
+ public Adapter createXArtifactTypeAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef
+ * @generated
+ */
+ public Adapter createXAttributeTypeRefAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType
+ * @generated
+ */
+ public Adapter createXAttributeTypeAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType
+ * @generated
+ */
+ public Adapter createXOseeEnumTypeAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry
+ * @generated
+ */
+ public Adapter createXOseeEnumEntryAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride
+ * @generated
+ */
+ public Adapter createXOseeEnumOverrideAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption
+ * @generated
+ */
+ public Adapter createOverrideOptionAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum
+ * @generated
+ */
+ public Adapter createAddEnumAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum
+ * @generated
+ */
+ public Adapter createRemoveEnumAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.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 dda7ef21525..d4d97a156ca 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 @@ -1,708 +1,664 @@ -/** - * <copyright> - * </copyright> - * - - */ -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.AttributeTypeOfArtifactTypeRestriction; -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.PermissionRule; -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; - -/** - * <!-- 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; - } - } - - /** - * 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); - } - } - - /** - * 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.PERMISSION_RULE: { - PermissionRule permissionRule = (PermissionRule) theEObject; - T result = casePermissionRule(permissionRule); - 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.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; - } - 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.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION: { - AttributeTypeOfArtifactTypeRestriction attributeTypeOfArtifactTypeRestriction = - (AttributeTypeOfArtifactTypeRestriction) theEObject; - T result = caseAttributeTypeOfArtifactTypeRestriction(attributeTypeOfArtifactTypeRestriction); - if (result == null) { - result = caseObjectRestriction(attributeTypeOfArtifactTypeRestriction); - } - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Osee Dsl</em>'. <!-- begin-user-doc --> This - * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Osee Dsl</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOseeDsl(OseeDsl object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Import</em>'. <!-- begin-user-doc --> This - * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Import</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImport(Import object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Osee Element</em>'. <!-- begin-user-doc --> - * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Osee Element</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOseeElement(OseeElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Osee Type</em>'. <!-- begin-user-doc --> This - * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Osee Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOseeType(OseeType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XArtifact Type</em>'. <!-- begin-user-doc --> - * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XArtifact Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXArtifactType(XArtifactType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'. <!-- - * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- - * end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXAttributeTypeRef(XAttributeTypeRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XAttribute Type</em>'. <!-- begin-user-doc - * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XAttribute Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXAttributeType(XAttributeType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'. <!-- begin-user-doc - * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeEnumType(XOseeEnumType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'. <!-- begin-user-doc - * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeEnumEntry(XOseeEnumEntry object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'. <!-- - * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- - * end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseXOseeEnumOverride(XOseeEnumOverride object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Override Option</em>'. <!-- begin-user-doc - * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Override Option</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOverrideOption(OverrideOption object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Add Enum</em>'. <!-- begin-user-doc --> This - * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Add Enum</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAddEnum(AddEnum object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Remove Enum</em>'. <!-- begin-user-doc --> - * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Remove Enum</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRemoveEnum(RemoveEnum object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>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>Permission Rule</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>Permission Rule</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePermissionRule(PermissionRule 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>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>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>Attribute Type Of 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>Attribute Type Of Artifact Type Restriction</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAttributeTypeOfArtifactTypeRestriction(AttributeTypeOfArtifactTypeRestriction 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; - } - -} //OseeDslSwitch +/**
+ * <copyright>
+ * </copyright>
+ *
+ + */
+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.*;
+
+/**
+ * <!-- 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;
+ }
+ }
+
+ /**
+ * 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);
+ }
+ }
+
+ /**
+ * 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);
+ }
+ }
+
+ /**
+ * 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;
+ }
+
+} //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 a3689540f1c..fe5a625f0ad 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,7052 +1,6332 @@ /* - * 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_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 PermissionRule_Group(this, this, 18, inst); - case 19: - return new ObjectRestriction_Alternatives(this, this, 19, inst); - case 20: - return new ArtifactInstanceRestriction_Group(this, this, 20, inst); - case 21: - return new ArtifactTypeRestriction_Group(this, this, 21, inst); - case 22: - return new RelationTypeRestriction_Group(this, this, 22, inst); - case 23: - return new AttributeTypeRestriction_Group(this, this, 23, inst); - case 24: - return new AttributeTypeOfArtifactTypeRestriction_Group(this, this, 24, 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" typeGuid=STRING ";" - * //(branchRestrictions+=BranchRestriction)* accessRules+=PermissionRule* - * hierarchyRestrictions+=HierarchyRestriction* "}"; - **/ - - // "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" typeGuid=STRING ";" //(branchRestrictions+=BranchRestriction)* - // accessRules+=PermissionRule* 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_9(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; - } - } - - } - - // typeGuid=STRING - protected class AccessContext_TypeGuidAssignment_5 extends AssignmentToken { - - public AccessContext_TypeGuidAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getTypeGuidAssignment_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("typeGuid", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeGuid"); - if (valueSerializer.isValid(obj.getEObject(), - grammarAccess.getAccessContextAccess().getTypeGuidSTRINGTerminalRuleCall_5_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getAccessContextAccess().getTypeGuidSTRINGTerminalRuleCall_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_TypeGuidAssignment_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // accessRules+=PermissionRule* - protected class AccessContext_AccessRulesAssignment_7 extends AssignmentToken { - - public AccessContext_AccessRulesAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getAccessRulesAssignment_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new PermissionRule_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("accessRules", false)) == 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.getPermissionRuleRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAccessContextAccess().getAccessRulesPermissionRuleParserRuleCall_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 AccessContext_AccessRulesAssignment_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_8 extends AssignmentToken { - - public AccessContext_HierarchyRestrictionsAssignment_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAccessContextAccess().getHierarchyRestrictionsAssignment_8(); - } - - @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", false)) == 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_8_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_HierarchyRestrictionsAssignment_8(lastRuleCallOrigin, next, actIndex, consumed); - case 1: - return new AccessContext_AccessRulesAssignment_7(lastRuleCallOrigin, next, actIndex, consumed); - case 2: - return new AccessContext_SemicolonKeyword_6(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - // "}" - protected class AccessContext_RightCurlyBracketKeyword_9 extends KeywordToken { - - public AccessContext_RightCurlyBracketKeyword_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_9(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AccessContext_HierarchyRestrictionsAssignment_8(lastRuleCallOrigin, this, 0, inst); - case 1: - return new AccessContext_AccessRulesAssignment_7(lastRuleCallOrigin, this, 1, inst); - case 2: - return new AccessContext_SemicolonKeyword_6(lastRuleCallOrigin, this, 2, inst); - default: - return null; - } - } - - } - - /************ end Rule AccessContext ****************/ - - /************ - * begin Rule HierarchyRestriction **************** HierarchyRestriction: "childrenOf" - * artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=PermissionRule "}"; - **/ - - // "childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=PermissionRule "}" - 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+=PermissionRule - 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 PermissionRule_Group(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.getPermissionRuleRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getHierarchyRestrictionAccess().getAccessRulesPermissionRuleParserRuleCall_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_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 PermissionRule **************** //BranchRestriction: // 'onBranch' - * branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; PermissionRule: - * permission=AccessPermissionEnum "edit" objectRestriction=ObjectRestriction; - **/ - - // permission=AccessPermissionEnum "edit" objectRestriction=ObjectRestriction - protected class PermissionRule_Group extends GroupToken { - - public PermissionRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getPermissionRuleAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new PermissionRule_ObjectRestrictionAssignment_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getPermissionRuleRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // permission=AccessPermissionEnum - protected class PermissionRule_PermissionAssignment_0 extends AssignmentToken { - - public PermissionRule_PermissionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPermissionRuleAccess().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.getPermissionRuleAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = grammarAccess.getPermissionRuleAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(); - return obj; - } - return null; - } - - } - - // "edit" - protected class PermissionRule_EditKeyword_1 extends KeywordToken { - - public PermissionRule_EditKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getPermissionRuleAccess().getEditKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new PermissionRule_PermissionAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // objectRestriction=ObjectRestriction - protected class PermissionRule_ObjectRestrictionAssignment_2 extends AssignmentToken { - - public PermissionRule_ObjectRestrictionAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPermissionRuleAccess().getObjectRestrictionAssignment_2(); - } - - @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("objectRestriction", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("objectRestriction"); - 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.getPermissionRuleAccess().getObjectRestrictionObjectRestrictionParserRuleCall_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 PermissionRule_EditKeyword_1(lastRuleCallOrigin, next, actIndex, consumed); - default: - return null; - } - } - } - - /************ end Rule PermissionRule ****************/ - - /************ - * begin Rule ObjectRestriction **************** ObjectRestriction: ArtifactTypeRestriction | RelationTypeRestriction - * | AttributeTypeRestriction | AttributeTypeOfArtifactTypeRestriction | ArtifactInstanceRestriction; - **/ - - // ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction | AttributeTypeOfArtifactTypeRestriction | - // ArtifactInstanceRestriction - 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_ArtifactTypeRestrictionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: - return new ObjectRestriction_RelationTypeRestrictionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: - return new ObjectRestriction_AttributeTypeRestrictionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: - return new ObjectRestriction_AttributeTypeOfArtifactTypeRestrictionParserRuleCall_3(lastRuleCallOrigin, - this, 3, inst); - case 4: - return new ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_4(lastRuleCallOrigin, this, 4, - inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier() && getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // ArtifactTypeRestriction - protected class ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_0 extends RuleCallToken { - - public ObjectRestriction_ArtifactTypeRestrictionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_0(); - } - - @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_1 extends RuleCallToken { - - public ObjectRestriction_RelationTypeRestrictionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_1(); - } - - @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_2 extends RuleCallToken { - - public ObjectRestriction_AttributeTypeRestrictionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_2(); - } - - @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); - } - } - } - - // AttributeTypeOfArtifactTypeRestriction - protected class ObjectRestriction_AttributeTypeOfArtifactTypeRestrictionParserRuleCall_3 extends RuleCallToken { - - public ObjectRestriction_AttributeTypeOfArtifactTypeRestrictionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getAttributeTypeOfArtifactTypeRestrictionParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_Group(this, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier()) { - return null; - } - if (checkForRecursion(AttributeTypeOfArtifactTypeRestriction_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); - } - } - } - - // ArtifactInstanceRestriction - protected class ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_4 extends RuleCallToken { - - public ObjectRestriction_ArtifactInstanceRestrictionParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_4(); - } - - @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); - } - } - } - - /************ end Rule ObjectRestriction ****************/ - - /************ - * begin Rule ArtifactInstanceRestriction **************** ArtifactInstanceRestriction: "artifact" - * artifactName=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; - **/ - - // "artifact" artifactName=[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_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "artifact" - protected class ArtifactInstanceRestriction_ArtifactKeyword_0 extends KeywordToken { - - public ArtifactInstanceRestriction_ArtifactKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // artifactName=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - protected class ArtifactInstanceRestriction_ArtifactNameAssignment_1 extends AssignmentToken { - - public ArtifactInstanceRestriction_ArtifactNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_ArtifactKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactName", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactName"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactNameXArtifactRefCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactNameXArtifactRefCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class ArtifactInstanceRestriction_SemicolonKeyword_2 extends KeywordToken { - - public ArtifactInstanceRestriction_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactInstanceRestriction_ArtifactNameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule ArtifactInstanceRestriction ****************/ - - /************ - * begin Rule ArtifactTypeRestriction **************** ArtifactTypeRestriction: "artifactType" - * artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - **/ - - // "artifactType" artifactType=[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_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "artifactType" - protected class ArtifactTypeRestriction_ArtifactTypeKeyword_0 extends KeywordToken { - - public ArtifactTypeRestriction_ArtifactTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class ArtifactTypeRestriction_ArtifactTypeAssignment_1 extends AssignmentToken { - - public ArtifactTypeRestriction_ArtifactTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_ArtifactTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class ArtifactTypeRestriction_SemicolonKeyword_2 extends KeywordToken { - - public ArtifactTypeRestriction_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new ArtifactTypeRestriction_ArtifactTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule ArtifactTypeRestriction ****************/ - - /************ - * begin Rule RelationTypeRestriction **************** RelationTypeRestriction: "relationType" - * relationType=[XRelationType|RELATION_TYPE_REFERENCE] restrictedTo+=RelationTypeSideRestriction? ";"; - **/ - - // "relationType" relationType=[XRelationType|RELATION_TYPE_REFERENCE] restrictedTo+=RelationTypeSideRestriction? ";" - 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_3(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "relationType" - protected class RelationTypeRestriction_RelationTypeKeyword_0 extends KeywordToken { - - public RelationTypeRestriction_RelationTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // relationType=[XRelationType|RELATION_TYPE_REFERENCE] - protected class RelationTypeRestriction_RelationTypeAssignment_1 extends AssignmentToken { - - public RelationTypeRestriction_RelationTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_RelationTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("relationType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("relationType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeXRelationTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeXRelationTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // restrictedTo+=RelationTypeSideRestriction? - protected class RelationTypeRestriction_RestrictedToAssignment_2 extends AssignmentToken { - - public RelationTypeRestriction_RestrictedToAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_RelationTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("restrictedTo", false)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("restrictedTo"); - if (enumLitSerializer.isValid( - obj.getEObject(), - grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0(), - value, null)) { - type = AssignmentType.ENUM_RULE_CALL; - element = - grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0(); - return obj; - } - return null; - } - - } - - // ";" - protected class RelationTypeRestriction_SemicolonKeyword_3 extends KeywordToken { - - public RelationTypeRestriction_SemicolonKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new RelationTypeRestriction_RestrictedToAssignment_2(lastRuleCallOrigin, this, 0, inst); - case 1: - return new RelationTypeRestriction_RelationTypeAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: - return null; - } - } - - } - - /************ end Rule RelationTypeRestriction ****************/ - - /************ - * begin Rule AttributeTypeRestriction **************** AttributeTypeRestriction: "attributeType" - * attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ";"; - **/ - - // "attributeType" attributeType=[XAttributeType|ATTRIBUTE_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_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "attributeType" - protected class AttributeTypeRestriction_AttributeTypeKeyword_0 extends KeywordToken { - - public AttributeTypeRestriction_AttributeTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - protected class AttributeTypeRestriction_AttributeTypeAssignment_1 extends AssignmentToken { - - public AttributeTypeRestriction_AttributeTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_AttributeTypeKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("attributeType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("attributeType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class AttributeTypeRestriction_SemicolonKeyword_2 extends KeywordToken { - - public AttributeTypeRestriction_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeRestriction_AttributeTypeAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - /************ end Rule AttributeTypeRestriction ****************/ - - /************ - * begin Rule AttributeTypeOfArtifactTypeRestriction **************** AttributeTypeOfArtifactTypeRestriction: - * "attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] "of" "artifactType" - * artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - **/ - - // "attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] "of" "artifactType" - // artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" - protected class AttributeTypeOfArtifactTypeRestriction_Group extends GroupToken { - - public AttributeTypeOfArtifactTypeRestriction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_SemicolonKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if (getEObject().eClass() != grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier()) { - return null; - } - return eObjectConsumer; - } - - } - - // "attributeType" - protected class AttributeTypeOfArtifactTypeRestriction_AttributeTypeKeyword_0 extends KeywordToken { - - public AttributeTypeOfArtifactTypeRestriction_AttributeTypeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - default: - return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - } - - // attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - protected class AttributeTypeOfArtifactTypeRestriction_AttributeTypeAssignment_1 extends AssignmentToken { - - public AttributeTypeOfArtifactTypeRestriction_AttributeTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_AttributeTypeKeyword_0(lastRuleCallOrigin, this, 0, - inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("attributeType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("attributeType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - - } - - // "of" - protected class AttributeTypeOfArtifactTypeRestriction_OfKeyword_2 extends KeywordToken { - - public AttributeTypeOfArtifactTypeRestriction_OfKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getOfKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_AttributeTypeAssignment_1(lastRuleCallOrigin, this, 0, - inst); - default: - return null; - } - } - - } - - // "artifactType" - protected class AttributeTypeOfArtifactTypeRestriction_ArtifactTypeKeyword_3 extends KeywordToken { - - public AttributeTypeOfArtifactTypeRestriction_ArtifactTypeKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_OfKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: - return null; - } - } - - } - - // artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - protected class AttributeTypeOfArtifactTypeRestriction_ArtifactTypeAssignment_4 extends AssignmentToken { - - public AttributeTypeOfArtifactTypeRestriction_ArtifactTypeAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeAssignment_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_ArtifactTypeKeyword_3(lastRuleCallOrigin, this, 0, - inst); - default: - return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if ((value = eObjectConsumer.getConsumable("artifactType", true)) == null) { - return null; - } - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("artifactType"); - if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject) value); - if (param.isInstanceOf(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_4_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = - grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_4_0(); - return obj; - } - } - return null; - } - - } - - // ";" - protected class AttributeTypeOfArtifactTypeRestriction_SemicolonKeyword_5 extends KeywordToken { - - public AttributeTypeOfArtifactTypeRestriction_SemicolonKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getSemicolonKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch (index) { - case 0: - return new AttributeTypeOfArtifactTypeRestriction_ArtifactTypeAssignment_4(lastRuleCallOrigin, this, 0, - inst); - default: - return null; - } - } - - } - - /************ end Rule AttributeTypeOfArtifactTypeRestriction ****************/ +/************ 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..c8839e3fdec 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,56 @@ /* - * 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; - } +import com.google.inject.Inject; - public void setGrammarAccess(OseeDslGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } +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 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; + } + } 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 4ea4ad13325..059e2c4a983 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 @@ -2538,9 +2538,9 @@ ruleAccessContext returns [EObject current=null] } ( ( - lv_typeGuid_8_0=RULE_STRING + lv_guid_8_0=RULE_STRING { - createLeafNode(grammarAccess.getAccessContextAccess().getTypeGuidSTRINGTerminalRuleCall_5_0(), "typeGuid"); + createLeafNode(grammarAccess.getAccessContextAccess().getGuidSTRINGTerminalRuleCall_5_0(), "guid"); } { if ($current==null) { @@ -2550,8 +2550,8 @@ ruleAccessContext returns [EObject current=null] try { set( $current, - "typeGuid", - lv_typeGuid_8_0, + "guid", + lv_guid_8_0, "STRING", lastConsumedNode); } catch (ValueConverterException vce) { @@ -2564,12 +2564,12 @@ ruleAccessContext returns [EObject current=null] { createLeafNode(grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(), null); } -( +(( ( { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesPermissionRuleParserRuleCall_7_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getAccessRulesObjectRestrictionParserRuleCall_7_0_0(), currentNode); } - lv_accessRules_10_0=rulePermissionRule { + lv_accessRules_10_0=ruleObjectRestriction { if ($current==null) { $current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); associateNodeWithAstElement(currentNode.getParent(), $current); @@ -2579,7 +2579,7 @@ ruleAccessContext returns [EObject current=null] $current, "accessRules", lv_accessRules_10_0, - "PermissionRule", + "ObjectRestriction", currentNode); } catch (ValueConverterException vce) { handleValueConverterException(vce); @@ -2588,10 +2588,11 @@ ruleAccessContext returns [EObject current=null] } ) -)*( +) + |( ( { - currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_8_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_7_1_0(), currentNode); } lv_hierarchyRestrictions_11_0=ruleHierarchyRestriction { if ($current==null) { @@ -2612,9 +2613,9 @@ ruleAccessContext returns [EObject current=null] } ) -)* '}' +))+ '}' { - createLeafNode(grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_9(), null); + createLeafNode(grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8(), null); } ) ; @@ -2666,9 +2667,9 @@ ruleHierarchyRestriction returns [EObject current=null] ( ( { - currentNode=createCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesPermissionRuleParserRuleCall_3_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0(), currentNode); } - lv_accessRules_3_0=rulePermissionRule { + lv_accessRules_3_0=ruleObjectRestriction { if ($current==null) { $current = factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); associateNodeWithAstElement(currentNode.getParent(), $current); @@ -2678,7 +2679,7 @@ ruleHierarchyRestriction returns [EObject current=null] $current, "accessRules", lv_accessRules_3_0, - "PermissionRule", + "ObjectRestriction", currentNode); } catch (ValueConverterException vce) { handleValueConverterException(vce); @@ -2698,81 +2699,6 @@ ruleHierarchyRestriction returns [EObject current=null] -// Entry rule entryRulePermissionRule -entryRulePermissionRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getPermissionRuleRule(), currentNode); } - iv_rulePermissionRule=rulePermissionRule - { $current=$iv_rulePermissionRule.current; } - EOF -; - -// Rule PermissionRule -rulePermissionRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getPermissionRuleAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); - } - lv_permission_0_0=ruleAccessPermissionEnum { - if ($current==null) { - $current = factory.create(grammarAccess.getPermissionRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "permission", - lv_permission_0_0, - "AccessPermissionEnum", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) 'edit' - { - createLeafNode(grammarAccess.getPermissionRuleAccess().getEditKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getPermissionRuleAccess().getObjectRestrictionObjectRestrictionParserRuleCall_2_0(), currentNode); - } - lv_objectRestriction_2_0=ruleObjectRestriction { - if ($current==null) { - $current = factory.create(grammarAccess.getPermissionRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "objectRestriction", - lv_objectRestriction_2_0, - "ObjectRestriction", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - // Entry rule entryRuleObjectRestriction entryRuleObjectRestriction returns [EObject current=null] : @@ -2791,51 +2717,41 @@ ruleObjectRestriction returns [EObject current=null] }: ( { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_0(), currentNode); } - this_ArtifactTypeRestriction_0=ruleArtifactTypeRestriction + this_ArtifactInstanceRestriction_0=ruleArtifactInstanceRestriction { - $current = $this_ArtifactTypeRestriction_0.current; + $current = $this_ArtifactInstanceRestriction_0.current; currentNode = currentNode.getParent(); } | { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_1(), currentNode); + currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_1(), currentNode); } - this_RelationTypeRestriction_1=ruleRelationTypeRestriction + this_ArtifactTypeRestriction_1=ruleArtifactTypeRestriction { - $current = $this_RelationTypeRestriction_1.current; + $current = $this_ArtifactTypeRestriction_1.current; currentNode = currentNode.getParent(); } | { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_2(), currentNode); + currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2(), currentNode); } - this_AttributeTypeRestriction_2=ruleAttributeTypeRestriction + this_RelationTypeRestriction_2=ruleRelationTypeRestriction { - $current = $this_AttributeTypeRestriction_2.current; + $current = $this_RelationTypeRestriction_2.current; currentNode = currentNode.getParent(); } | { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeOfArtifactTypeRestrictionParserRuleCall_3(), currentNode); + currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_3(), currentNode); } - this_AttributeTypeOfArtifactTypeRestriction_3=ruleAttributeTypeOfArtifactTypeRestriction + this_AttributeTypeRestriction_3=ruleAttributeTypeRestriction { - $current = $this_AttributeTypeOfArtifactTypeRestriction_3.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_4(), currentNode); - } - this_ArtifactInstanceRestriction_4=ruleArtifactInstanceRestriction - { - $current = $this_ArtifactInstanceRestriction_4.current; + $current = $this_AttributeTypeRestriction_3.current; currentNode = currentNode.getParent(); } ) @@ -2861,9 +2777,37 @@ ruleArtifactInstanceRestriction returns [EObject current=null] @after { resetLookahead(); lastConsumedNode = currentNode; }: -( 'artifact' +(( +( + { + currentNode=createCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + } + 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); + } + currentNode = currentNode.getParent(); + } + +) +) 'edit' + { + createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1(), null); + } + 'artifact' { - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_0(), null); + createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2(), null); } ( ( @@ -2874,7 +2818,7 @@ ruleArtifactInstanceRestriction returns [EObject current=null] } } { - currentNode=createCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactNameXArtifactRefCrossReference_1_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactRefXArtifactRefCrossReference_3_0(), currentNode); } ruleARTIFACT_INSTANCE_REFERENCE { currentNode = currentNode.getParent(); @@ -2883,7 +2827,7 @@ ruleArtifactInstanceRestriction returns [EObject current=null] ) ) ';' { - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_2(), null); + createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4(), null); } ) ; @@ -2908,9 +2852,37 @@ ruleArtifactTypeRestriction returns [EObject current=null] @after { resetLookahead(); lastConsumedNode = currentNode; }: -( 'artifactType' +(( +( + { + currentNode=createCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + } + lv_permission_0_0=ruleAccessPermissionEnum { + 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(); + } + +) +) 'edit' { - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_0(), null); + createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1(), null); + } + 'artifactType' + { + createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_2(), null); } ( ( @@ -2921,7 +2893,7 @@ ruleArtifactTypeRestriction returns [EObject current=null] } } { - currentNode=createCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_1_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0(), currentNode); } ruleARTIFACT_TYPE_REFERENCE { currentNode = currentNode.getParent(); @@ -2930,7 +2902,7 @@ ruleArtifactTypeRestriction returns [EObject current=null] ) ) ';' { - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_2(), null); + createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4(), null); } ) ; @@ -2939,58 +2911,38 @@ ruleArtifactTypeRestriction returns [EObject current=null] -// Entry rule entryRuleRelationTypeRestriction -entryRuleRelationTypeRestriction returns [EObject current=null] +// Entry rule entryRuleAttributeTypeRestriction +entryRuleAttributeTypeRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getRelationTypeRestrictionRule(), currentNode); } - iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction - { $current=$iv_ruleRelationTypeRestriction.current; } + { currentNode = createCompositeNode(grammarAccess.getAttributeTypeRestrictionRule(), currentNode); } + iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction + { $current=$iv_ruleAttributeTypeRestriction.current; } EOF ; -// Rule RelationTypeRestriction -ruleRelationTypeRestriction returns [EObject current=null] +// Rule AttributeTypeRestriction +ruleAttributeTypeRestriction returns [EObject current=null] @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); } @after { resetLookahead(); lastConsumedNode = currentNode; }: -( 'relationType' - { - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_0(), null); - } -( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - { - currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeXRelationTypeCrossReference_1_0(), currentNode); - } - ruleRELATION_TYPE_REFERENCE { - currentNode = currentNode.getParent(); - } - -) -)( +(( ( { - currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); } - lv_restrictedTo_2_0=ruleRelationTypeSideRestriction { + lv_permission_0_0=ruleAccessPermissionEnum { if ($current==null) { - $current = factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); + $current = factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); associateNodeWithAstElement(currentNode.getParent(), $current); } try { - add( + set( $current, - "restrictedTo", - lv_restrictedTo_2_0, - "RelationTypeSideRestriction", + "permission", + lv_permission_0_0, + "AccessPermissionEnum", currentNode); } catch (ValueConverterException vce) { handleValueConverterException(vce); @@ -2999,36 +2951,37 @@ ruleRelationTypeRestriction returns [EObject current=null] } ) -)? ';' +) 'edit' { - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_3(), null); + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1(), null); } -) -; - - - - - -// Entry rule entryRuleAttributeTypeRestriction -entryRuleAttributeTypeRestriction returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getAttributeTypeRestrictionRule(), currentNode); } - iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction - { $current=$iv_ruleAttributeTypeRestriction.current; } - EOF -; + 'attributeType' + { + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_2(), null); + } +( +( + { + if ($current==null) { + $current = factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, $current); + } + } + { + currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeRefXAttributeTypeCrossReference_3_0(), currentNode); + } + ruleATTRIBUTE_TYPE_REFERENCE { + currentNode = currentNode.getParent(); + } -// Rule AttributeTypeRestriction -ruleAttributeTypeRestriction returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); +) +)( 'of' + { + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0(), null); } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'attributeType' + 'artifactType' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_0(), null); + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeKeyword_4_1(), null); } ( ( @@ -3039,16 +2992,16 @@ ruleAttributeTypeRestriction returns [EObject current=null] } } { - currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0(), currentNode); } - ruleATTRIBUTE_TYPE_REFERENCE { + ruleARTIFACT_TYPE_REFERENCE { currentNode = currentNode.getParent(); } ) -) ';' +))? ';' { - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_2(), null); + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5(), null); } ) ; @@ -3057,69 +3010,97 @@ ruleAttributeTypeRestriction returns [EObject current=null] -// Entry rule entryRuleAttributeTypeOfArtifactTypeRestriction -entryRuleAttributeTypeOfArtifactTypeRestriction returns [EObject current=null] +// Entry rule entryRuleRelationTypeRestriction +entryRuleRelationTypeRestriction returns [EObject current=null] : - { currentNode = createCompositeNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule(), currentNode); } - iv_ruleAttributeTypeOfArtifactTypeRestriction=ruleAttributeTypeOfArtifactTypeRestriction - { $current=$iv_ruleAttributeTypeOfArtifactTypeRestriction.current; } + { currentNode = createCompositeNode(grammarAccess.getRelationTypeRestrictionRule(), currentNode); } + iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction + { $current=$iv_ruleRelationTypeRestriction.current; } EOF ; -// Rule AttributeTypeOfArtifactTypeRestriction -ruleAttributeTypeOfArtifactTypeRestriction returns [EObject current=null] +// Rule RelationTypeRestriction +ruleRelationTypeRestriction returns [EObject current=null] @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); } @after { resetLookahead(); lastConsumedNode = currentNode; }: -( 'attributeType' - { - createLeafNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeKeyword_0(), null); - } -( +(( ( - { - if ($current==null) { - $current = factory.create(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } { - currentNode=createCompositeNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); } - ruleATTRIBUTE_TYPE_REFERENCE { + lv_permission_0_0=ruleAccessPermissionEnum { + 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(); } ) -) 'of' +) 'edit' { - createLeafNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getOfKeyword_2(), null); + createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1(), null); } - 'artifactType' + 'relationType' { - createLeafNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeKeyword_3(), null); + createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_2(), null); } ( ( { if ($current==null) { - $current = factory.create(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier()); + $current = factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); associateNodeWithAstElement(currentNode, $current); } } { - currentNode=createCompositeNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_4_0(), currentNode); + currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeRefXRelationTypeCrossReference_3_0(), currentNode); } - ruleARTIFACT_TYPE_REFERENCE { + ruleRELATION_TYPE_REFERENCE { + currentNode = currentNode.getParent(); + } + +) +)( +( + { + currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToSideXRelationSideEnumEnumRuleCall_4_0(), currentNode); + } + 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); + } currentNode = currentNode.getParent(); } ) ) ';' { - createLeafNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getSemicolonKeyword_5(), null); + createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5(), null); } ) ; @@ -3182,22 +3163,28 @@ ruleAccessPermissionEnum returns [Enumerator current=null] -// Rule RelationTypeSideRestriction -ruleRelationTypeSideRestriction returns [Enumerator current=null] +// Rule XRelationSideEnum +ruleXRelationSideEnum returns [Enumerator current=null] @init { setCurrentLookahead(); resetLookahead(); } @after { resetLookahead(); lastConsumedNode = currentNode; }: (( 'SIDE_A' { - $current = grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_AEnumLiteralDeclaration_0(), null); + $current = grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0(), null); } ) |( 'SIDE_B' { - $current = grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode(grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_BEnumLiteralDeclaration_1(), null); + $current = grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1(), null); + } +) + |( 'BOTH' + { + $current = grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2(), null); } )); 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 be567356b7e..ec59b98d675 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 @@ -35,6 +35,7 @@ RULE_ML_COMMENT=8 'of'=70 'edit'=69 ','=17 +'BOTH'=79 'IntegerAttribute'=42 'Unordered'=62 'defaultValue'=35 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 573ed8b8b32..7e975310db1 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 @@ -2,2514 +2,3370 @@ 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.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 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 = 79; - 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 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:3206:20: ( ( '0' .. '9' )+ ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3206:22: ( '0' .. '9' )+ - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3206: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:3206: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 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 { - } - } + } + + 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 end RULE_WHOLE_NUM_STR + // $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"); - // $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:3208: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:3208: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:3208:11: ( '^' )? - int alt2 = 2; + + } + + 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); + + + } + + this.type = _type; + } + finally { + } + } + // $ANTLR end RULE_WHOLE_NUM_STR + + // $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; + 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:3208:11: '^' - { - match('^'); + 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; + } + break; } - if (input.LA(1) >= 'A' && input.LA(1) <= 'Z' || input.LA(1) == '_' || input.LA(1) >= 'a' && input.LA(1) <= 'z') { - input.consume(); + 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; + } + 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:3208:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop3: do { - int alt3 = 2; - int LA3_0 = input.LA(1); + // ../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); - if (LA3_0 >= '0' && LA3_0 <= '9' || LA3_0 >= 'A' && LA3_0 <= 'Z' || LA3_0 == '_' || LA3_0 >= 'a' && LA3_0 <= 'z') { - alt3 = 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; - } + 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(); - } - break; + } + else { + MismatchedSetException mse = + new MismatchedSetException(null,input); + recover(mse); throw mse; + } - default: - break loop3; - } - } 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:3210:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3210:12: ( '0' .. '9' )+ - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3210: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:3210:13: '0' .. '9' - { - matchRange('0', '9'); - - } - break; - - default: - if (cnt4 >= 1) { - break loop4; - } - EarlyExitException eee = new EarlyExitException(4, input); - throw eee; - } - cnt4++; + } + break; + + default : + break loop3; + } } while (true); - } - this.type = _type; - } finally { - } - } + } + + 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++; + } 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:3212: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:3212: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:3212:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt7 = 2; + this.type = _type; + } + finally { + } + } + // $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; int LA7_0 = input.LA(1); - if (LA7_0 == '\"') { - alt7 = 1; - } else if (LA7_0 == '\'') { - alt7 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException( - "3212: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("3199:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 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:3212: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:3212: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:3212: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: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; } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3212: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<='\uFFFE')) ) { + 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:3212: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:3212: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:3212: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:3212: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: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; + } + + + } + 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; + } + + + } + 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; } - 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: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(); - } - 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: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(); - 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:3214:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3214: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:3214: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:3214:52: . - { - matchAny(); - } - break; + } - default: - break loop8; - } + this.type = _type; + } + finally { + } + } + // $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("/*"); + + // ../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); + + 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<='\uFFFE')) ) { + alt8=1; + } + + + } + 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; + } } 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:3216:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3216: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:3216: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:3216: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("*/"); + + + } + + 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; + } } while (true); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3216: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:3203: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:3216:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3216: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:3216:41: '\\r' - { - match('\r'); - - } - break; - - } - - 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:3218:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3218:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3218: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++; + 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; + + } + + 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++; } 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:3220:16: ( . ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3220: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 | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt13 = 75; - 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: RULE_WHOLE_NUM_STR - { - mRULE_WHOLE_NUM_STR(); - - } - break; - case 69: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:297: RULE_ID - { - mRULE_ID(); - - } - break; - case 70: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:305: RULE_INT - { - mRULE_INT(); - - } - break; - case 71: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:314: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 72: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:326: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 73: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:342: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 74: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:358: RULE_WS - { - mRULE_WS(); - - } - break; - case 75: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:1:366: 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\134\1\51\1\uffff\3\51\2\uffff\2\54\2\uffff\10\54\2\uffff\1" + "\54\1\uffff\1\54\1\157\33\54\1\uffff\4\54\1\uffff\1\134\4\uffff" + "\6\54\1\u0098\6\54\1\uffff\13\54\1\u00aa\1\u00ab\33\54\1\uffff\1" + "\u00c7\3\54\1\u00cb\10\54\1\u00d4\3\54\2\uffff\33\54\1\uffff\1\u00f5" + "\2\54\1\uffff\10\54\1\uffff\27\54\1\u011a\1\54\1\u011c\6\54\1\uffff" + "\2\54\1\u0126\24\54\1\u013b\1\u013c\1\54\1\u013e\11\54\1\uffff\1" + "\54\1\uffff\1\54\1\u014a\5\54\1\u0150\1\54\1\uffff\24\54\2\uffff" + "\1\54\1\uffff\13\54\1\uffff\1\u0175\1\54\1\u0177\1\54\1\u0179\1" + "\uffff\15\54\1\u0187\26\54\1\uffff\1\u01a0\1\uffff\1\u01a1\1\uffff" + "\1\54\1\u01a4\7\54\1\u01ac\2\54\1\u01af\1\uffff\13\54\1\u01bb\1" + "\54\1\u01bd\6\54\1\u01c4\3\54\2\uffff\1\u01c8\2\uffff\7\54\1\uffff" + "\2\54\1\uffff\13\54\1\uffff\1\54\1\uffff\1\54\1\u01df\1\54\1\u01e1" + "\2\54\1\uffff\3\54\1\uffff\3\54\1\u01ea\22\54\1\uffff\1\u01fd\1" + "\uffff\1\u01fe\2\54\1\u0201\1\54\1\u0203\1\54\1\u0205\1\uffff\1" + "\u0206\3\54\1\u020a\11\54\1\u0214\3\54\2\uffff\1\u0218\1\u0219\1" + "\uffff\1\u021a\1\uffff\1\54\2\uffff\1\54\1\u021d\1\54\1\uffff\1" + "\u021f\7\54\1\u0227\1\uffff\3\54\3\uffff\2\54\1\uffff\1\54\1\uffff" + "\7\54\1\uffff\14\54\1\u0241\3\54\1\u0245\2\54\1\u0249\3\54\1\u024d" + "\1\54\1\uffff\3\54\1\uffff\3\54\1\uffff\3\54\1\uffff\1\54\1\u025a" + "\1\u025b\11\54\2\uffff\6\54\1\u026b\1\54\1\u026d\6\54\1\uffff\1" + "\54\1\uffff\15\54\1\u0282\6\54\1\uffff\4\54\1\u028d\5\54\1\uffff" + "\2\54\1\u0295\2\54\1\u0298\1\u0299\1\uffff\2\54\2\uffff\1\u029c" + "\1\54\1\uffff\1\54\1\u029f\1\uffff"; - static final String DFA13_eofS = "\u02a0\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\2\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\150\1\160\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\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\145\1\157\1\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\141\1\143\2\141\1" + "\145\1\131\1\162\1\101\1\164\2\60\1\151\1\147\1\145\1\154\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\165\1\146\1\151\1\162\1\uffff" + "\1\60\1\171\1\124\1\156\1\60\1\143\1\162\1\105\1\165\1\162\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\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\151\1\164\1\163\1\151\1\141" + "\1\142\1\141\1\uffff\1\60\1\171\1\144\1\uffff\1\150\1\151\1\156" + "\1\154\1\151\1\162\1\154\1\164\1\uffff\1\145\1\164\1\160\1\151\1" + "\162\1\170\1\141\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\1\60\1\164\1\60\1\103" + "\1\144\1\143\1\165\1\143\1\165\1\uffff\1\160\1\163\1\60\1\144\1" + "\165\1\164\1\160\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\162" + "\1\141\1\162\1\141\1\147\1\145\1\137\1\117\1\uffff\1\101\1\uffff" + "\1\157\1\60\3\164\1\151\1\145\1\60\1\165\1\uffff\1\145\1\155\1\117" + "\1\164\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\164" + "\1\155\1\164\1\155\1\162\1\156\1\115\1\137\1\154\1\156\1\uffff\1" + "\60\1\145\1\60\1\144\1\60\1\uffff\1\151\1\163\1\124\1\162\1\141" + "\2\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\151\1\145\1\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\144\1\154\1\157\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\146\1\60\1\146\1\60\1\160\1\146\1\116\1\105\1\116" + "\1\101\1\60\1\145\1\160\1\171\2\uffff\1\60\2\uffff\1\160\1\145\1" + "\165\1\156\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\141\1\uffff\1\141" + "\1\uffff\1\150\1\60\1\131\1\60\1\105\1\116\1\uffff\1\170\1\145\1" + "\160\1\uffff\1\145\1\162\1\145\1\60\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\60\1\131\1\164\1\60\1\145\1\60\1\124" + "\1\60\1\uffff\1\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\2\uffff\2\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\164\1\147\1" + "\157\1\164\1\145\1\142\1\145\2\uffff\1\163\1\143\1\141\1\147\1\166" + "\1\164\1\60\1\165\1\60\1\143\1\145\1\120\1\145\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" + "\157\1\120\1\145\1\142\1\60\1\144\1\151\1\166\2\162\1\165\1\uffff" + "\1\151\1\156\1\151\1\157\1\60\1\164\1\156\1\147\1\144\1\166\1\uffff" + "\1\145\1\147\1\60\1\145\1\151\2\60\1\uffff\1\162\1\144\2\uffff\1" + "\60\1\145\1\uffff\1\162\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\150\1\160\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\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\145\1\157\1\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\141" + "\1\143\2\141\1\145\1\131\1\162\1\101\1\164\2\172\1\151\1\147\1\145" + "\1\154\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\165\1\146\1\151" + "\1\162\1\uffff\1\172\1\171\1\124\1\156\1\172\1\143\1\162\1\105\1" + "\165\1\162\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\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\151\1\164\1\163" + "\1\151\1\141\1\142\1\141\1\uffff\1\172\1\171\1\144\1\uffff\1\150" + "\1\151\1\156\1\154\1\151\1\162\1\154\1\164\1\uffff\1\145\1\164\1" + "\160\1\151\1\162\1\170\1\141\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\1\172\1\164" + "\1\172\1\103\1\144\1\143\1\165\1\143\1\165\1\uffff\1\160\1\163\1" + "\172\1\144\1\165\1\164\1\160\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\162\1\141\1\162\1\141\1\147\1\145\1\137\1\117\1\uffff\1" + "\101\1\uffff\1\157\1\172\3\164\1\151\1\145\1\172\1\165\1\uffff\1" + "\145\1\155\1\126\1\164\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\164\1\155\1\164\1\155\1\162\1\156\1\117\1\137\1\154" + "\1\156\1\uffff\1\172\1\145\1\172\1\144\1\172\1\uffff\1\151\1\163" + "\1\124\1\162\1\141\2\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\151\1\145" + "\1\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\144\1\154\1\157" + "\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\146\1\172\1\146\1\172\1\160" + "\1\146\1\116\1\105\1\116\1\101\1\172\1\145\1\160\1\171\2\uffff\1" + "\172\2\uffff\1\160\1\145\1\165\1\156\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\141\1\uffff\1\141\1\uffff\1\150\1\172\1\131\1\172\1\105" + "\1\116\1\uffff\1\170\1\145\1\160\1\uffff\1\145\1\162\1\145\1\172" + "\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\172" + "\1\131\1\164\1\172\1\145\1\172\1\124\1\172\1\uffff\1\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\2\uffff\2\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\164\1\147\1\157\1\164\1\145\1\142\1\145" + "\2\uffff\1\163\1\143\1\141\1\147\1\166\1\164\1\172\1\165\1\172\1" + "\143\1\145\1\120\1\145\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\157\1\120\1\145\1\142" + "\1\172\1\144\1\151\1\166\2\162\1\165\1\uffff\1\151\1\156\1\151\1" + "\157\1\172\1\164\1\156\1\147\1\144\1\166\1\uffff\1\145\1\147\1\172" + "\1\145\1\151\2\172\1\uffff\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\105\3\uffff\1\112\1\113\2\uffff\1\105\1\2\10\uffff\1\6\1\7\1" + "\uffff\1\11\35\uffff\1\66\4\uffff\1\104\1\uffff\1\107\1\111\1\110" + "\1\112\15\uffff\1\73\50\uffff\1\50\21\uffff\1\21\1\22\33\uffff\1" + "\72\3\uffff\1\10\10\uffff\1\101\40\uffff\1\44\44\uffff\1\100\1\uffff" + "\1\1\11\uffff\1\67\24\uffff\1\103\1\102\1\uffff\1\51\13\uffff\1" + "\65\5\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\13\uffff\1\53\1\uffff\1\55\6\uffff\1\47\3\uffff\1\13\26\uffff" + "\1\71\1\uffff\1\74\10\uffff\1\27\22\uffff\1\75\1\76\2\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\54\1\56" + "\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\2\uffff\1\17\2\uffff\1\25"; - static final String DFA13_specialS = "\u02a0\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\53\1\52", "", "\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\113", "\1\114", "\1\115", "\1\116", "\1\117", "\1\120", - "\1\122\52\uffff\1\121", "\1\123", "\1\124", "\1\125", "\1\126", "", "\1\130", "\1\131", "\1\132", "\1\133", - "\12\135", "\32\54\4\uffff\1\54\1\uffff\32\54", "", "\uffff\136", "\uffff\136", "\1\140\4\uffff\1\137", "", - "", "\1\142", "\1\143", "", "", "\1\144", "\1\145", "\1\146", "\1\147", "\1\150", "\1\151", "\1\152\1\153", - "\1\154", "", "", "\1\155", "", "\1\156", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\160", - "\1\161", "\1\162\14\uffff\1\163", "\1\164", "\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\u008a\1\u0089", "\1\u008b", "\1\u008c", "", "\1\u008d", - "\1\u008e", "\1\u008f", "\1\u0090", "", "\12\135", "", "", "", "", "\1\u0091", "\1\u0092", "\1\u0093", - "\1\u0094\41\uffff\1\u0095", "\1\u0096", "\1\u0097", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0099", "\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", - "\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\u00ac", "\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", - "", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00c8", "\1\u00c9", "\1\u00ca", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00cc", "\1\u00cd", "\1\u00ce", "\1\u00cf", "\1\u00d0", - "\1\u00d1", "\1\u00d2", "\1\u00d3", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00d5", "\1\u00d6", - "\1\u00d7", "", "", "\1\u00d8", "\1\u00d9", "\1\u00da", "\1\u00db", "\1\u00dc", "\1\u00dd", "\1\u00de", - "\1\u00df", "\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", "", "\12\54\7\uffff\6\54\1\u00f4\23\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00f6", "\1\u00f7", "", "\1\u00f8", "\1\u00f9", "\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\u010e\1\u010d", - "\1\u010f", "\1\u0110", "\1\u0111", "\1\u0112\14\uffff\1\u0113", "\1\u0114\14\uffff\1\u0115", "\1\u0116", - "\1\u0117", "\1\u0118", "\1\u0119", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u011b", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u011d", "\1\u011e", "\1\u011f", "\1\u0120", "\1\u0121", - "\1\u0122", "", "\1\u0123", "\1\u0124", "\12\54\7\uffff\6\54\1\u0125\23\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0127", "\1\u0128", "\1\u0129", "\1\u012a", "\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", "\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\u013d", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u013f", "\1\u0140", "\1\u0141", "\1\u0142", "\1\u0143", - "\1\u0144", "\1\u0145", "\1\u0146", "\1\u0147", "", "\1\u0148", "", "\1\u0149", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u014b", "\1\u014c", "\1\u014d", "\1\u014e", "\1\u014f", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0151", "", "\1\u0152", "\1\u0153", - "\1\u0154\6\uffff\1\u0155", "\1\u0156", "\1\u0157", "\1\u0158", "\1\u0159", "\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\uffff\1\u0170", "\1\u0171", "\1\u0172", "\1\u0173", "", - "\12\54\7\uffff\23\54\1\u0174\6\54\4\uffff\1\54\1\uffff\32\54", "\1\u0176", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0178", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "\1\u017a", "\1\u017b", "\1\u017c", "\1\u017d", - "\1\u017e", "\1\u017f", "\1\u0180", "\1\u0181", "\1\u0182", "\1\u0183", "\1\u0184", "\1\u0185", "\1\u0186", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0188", "\1\u0189", "\1\u018a", "\1\u018b", "\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\u019b\1\uffff\1\u019a", "\1\u019c", "\1\u019d", - "\1\u019e", "", "\12\54\7\uffff\23\54\1\u019f\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\u01a2", - "\1\u01a3\17\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32" + "\54", "\1\u01a5", "\1\u01a6", "\1\u01a7", - "\1\u01a8", "\1\u01a9", "\1\u01aa", "\1\u01ab", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u01ad", - "\1\u01ae", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "\1\u01b0", "\1\u01b1", "\1\u01b2", - "\1\u01b3", "\1\u01b4", "\1\u01b5", "\1\u01b6", "\1\u01b7", "\1\u01b8", "\1\u01b9", "\1\u01ba", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u01bc", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u01be", "\1\u01bf", "\1\u01c0", "\1\u01c1", "\1\u01c2", - "\1\u01c3", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\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", "\1\u01cc", - "\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", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u01e0", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u01e2", "\1\u01e3", "", "\1\u01e4", "\1\u01e5", - "\1\u01e6", "", "\1\u01e7", "\1\u01e8", "\1\u01e9", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u01eb", "\1\u01ec", "\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", - "", "\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\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", "", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0207", "\1\u0208", "\1\u0209", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u020b", "\1\u020c", - "\1\u020d", "\1\u020e", "\1\u020f", "\1\u0210", "\1\u0211", "\1\u0212", "\1\u0213", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0215", "\1\u0216", "\1\u0217", "", "", - "\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\u021b", "", "", "\1\u021c", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u021e", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0220", "\1\u0221", "\1\u0222", "\1\u0223", "\1\u0224", - "\1\u0225", "\1\u0226", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "\1\u0228", "\1\u0229", - "\1\u022a", "", "", "", "\1\u022b", "\1\u022c", "", "\1\u022d", "", "\1\u022e", "\1\u022f", "\1\u0230", - "\1\u0231", "\1\u0232", "\1\u0233", "\1\u0234", "", "\1\u0235", "\1\u0236", "\1\u0237", "\1\u0238", - "\1\u0239", "\1\u023a", "\1\u023b", "\1\u023c", "\1\u023d", "\1\u023e", "\1\u023f", "\1\u0240", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0242", "\1\u0243", "\1\u0244", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0246\17\uffff\1\u0247", "\1\u0248", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u024a", "\1\u024b", "\1\u024c", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u024e", "", "\1\u024f", "\1\u0250", - "\1\u0252\2\uffff\1\u0251", "", "\1\u0253", "\1\u0254", "\1\u0255", "", "\1\u0256", "\1\u0257", "\1\u0258", - "", "\1\u0259", "\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\u025c", "\1\u025d", "\1\u025e", "\1\u025f", "\1\u0260", - "\1\u0261", "\1\u0262", "\1\u0263", "\1\u0264", "", "", "\1\u0265", "\1\u0266", "\1\u0267", "\1\u0268", - "\1\u0269", "\1\u026a", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u026c", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u026e", "\1\u026f", "\1\u0270", "\1\u0271", "\1\u0272", - "\1\u0273", "", "\1\u0274", "", "\1\u0275", "\1\u0276", "\1\u0277", "\1\u0278", "\1\u0279", "\1\u027a", - "\1\u027b", "\1\u027c", "\1\u027d", "\1\u027e", "\1\u027f", "\1\u0280", "\1\u0281", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0283", "\1\u0284", "\1\u0285", "\1\u0286", "\1\u0287", - "\1\u0288", "", "\1\u0289", "\1\u028a", "\1\u028b", "\1\u028c", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u028e", "\1\u028f", "\1\u0290", "\1\u0291", "\1\u0292", - "", "\1\u0293", "\1\u0294", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0296", "\1\u0297", - "\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\u029a", "\1\u029b", "", "", "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u029d", "", "\1\u029e", - "\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 | RULE_WHOLE_NUM_STR | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - } + + } + + 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 );"; + } + } + }
\ 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 334d53d0c80..e9d1e2285a6 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,6912 +1,7227 @@ -package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; +package org.eclipse.osee.framework.core.dsl.parser.antlr.internal; import java.io.InputStream; -import org.antlr.runtime.BitSet; -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; +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.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.xtext.conversion.ValueConverterException; +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'"}; - 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 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); pushFollow(FOLLOW_ruleOseeDsl_in_entryRuleOseeDsl75); - iv_ruleOseeDsl = ruleOseeDsl(); + iv_ruleOseeDsl=ruleOseeDsl(); _fsp--; - current = iv_ruleOseeDsl; - match(input, EOF, FOLLOW_EOF_in_entryRuleOseeDsl85); + 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: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; - 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 ) )* ) - { + 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 ) )* { - // ../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(); + // ../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; + + } + + 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; + 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; + 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(); + + + } + + + } + + + } + 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(); + + + } + + + } + + + } + 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(); + + + } + + + } + + + } + 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: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(); + + + } + + + } + break; + + default : + break loop4; + } + } while (true); - } - - } - 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; - - } - - 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; - 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; - 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(); - - } - - } - - } - 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(); - - } - - } - - } - 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(); - - } - - } - - } - 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: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(); - - } - - } - break; - - default: - break loop4; - } - } while (true); } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $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(); + iv_ruleImport=ruleImport(); _fsp--; - current = iv_ruleImport; - match(input, EOF, FOLLOW_EOF_in_entryRuleImport383); - - } + 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:331:1: ruleImport returns [EObject current=null] : ( 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ; - public final EObject ruleImport() throws RecognitionException { - EObject current = null; - - Token lv_importURI_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: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 ) ) ) - { + } + + 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:331:1: ruleImport returns [EObject current=null] : ( 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ; + public final EObject ruleImport() throws RecognitionException { + EObject current = null; + + Token lv_importURI_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: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 ) ) { - match(input, 12, FOLLOW_12_in_ruleImport418); + match(input,12,FOLLOW_12_in_ruleImport418); - createLeafNode(grammarAccess.getImportAccess().getImportKeyword_0(), null); - - // ../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); - - createLeafNode(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), - "importURI"); - - 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); - } - - } - - } + createLeafNode(grammarAccess.getImportAccess().getImportKeyword_0(), null); + + // ../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); + + createLeafNode(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0(), "importURI"); + + + 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); + } + } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleImport + } - // $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: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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleImport + + + // $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: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(); + iv_ruleATTRIBUTE_TYPE_REFERENCE=ruleATTRIBUTE_TYPE_REFERENCE(); _fsp--; - current = iv_ruleATTRIBUTE_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleATTRIBUTE_TYPE_REFERENCE490); - - } - - } - - 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: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(); - - Token this_STRING_0 = null; - - setCurrentLookahead(); - resetLookahead(); - - 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); - - current.merge(this_STRING_0); - - createLeafNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } + current =iv_ruleATTRIBUTE_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleATTRIBUTE_TYPE_REFERENCE490); - resetLookahead(); - lastConsumedNode = currentNode; - - } - - 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 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(); + + Token this_STRING_0=null; + + setCurrentLookahead(); resetLookahead(); + + 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); - // $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; + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getATTRIBUTE_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + - AntlrDatatypeRuleToken iv_ruleARTIFACT_TYPE_REFERENCE = null; + } - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleATTRIBUTE_TYPE_REFERENCE + + + // $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; + + + 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(); + iv_ruleARTIFACT_TYPE_REFERENCE=ruleARTIFACT_TYPE_REFERENCE(); _fsp--; - current = iv_ruleARTIFACT_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleARTIFACT_TYPE_REFERENCE585); - - } - - } - - 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: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(); - - Token this_STRING_0 = null; - - setCurrentLookahead(); - resetLookahead(); - - 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); + current =iv_ruleARTIFACT_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleARTIFACT_TYPE_REFERENCE585); - createLeafNode(grammarAccess.getARTIFACT_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleARTIFACT_TYPE_REFERENCE + } + + 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: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(); + + Token this_STRING_0=null; + + setCurrentLookahead(); resetLookahead(); + + 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); - // $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; + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getARTIFACT_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + - AntlrDatatypeRuleToken iv_ruleRELATION_TYPE_REFERENCE = null; + } - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleARTIFACT_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; + + AntlrDatatypeRuleToken iv_ruleRELATION_TYPE_REFERENCE = null; + + + 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(); + 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 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(); - - Token this_STRING_0 = 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); + current =iv_ruleRELATION_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleRELATION_TYPE_REFERENCE680); - current.merge(this_STRING_0); - - createLeafNode(grammarAccess.getRELATION_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleRELATION_TYPE_REFERENCE + } + + 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: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(); + + Token this_STRING_0=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); - // $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; + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getRELATION_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + - AntlrDatatypeRuleToken iv_ruleENUM_TYPE_REFERENCE = null; + } - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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; + + + 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(); + iv_ruleENUM_TYPE_REFERENCE=ruleENUM_TYPE_REFERENCE(); _fsp--; - current = iv_ruleENUM_TYPE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleENUM_TYPE_REFERENCE775); - - } - - } - - 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: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(); - - Token this_STRING_0 = null; - - setCurrentLookahead(); - resetLookahead(); + current =iv_ruleENUM_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleENUM_TYPE_REFERENCE775); - 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); - - createLeafNode(grammarAccess.getENUM_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleENUM_TYPE_REFERENCE + } + + 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: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(); + + Token this_STRING_0=null; + + setCurrentLookahead(); resetLookahead(); + + 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); - // $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; + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getENUM_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleENUM_TYPE_REFERENCE + + + // $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; + + 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(); + 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); - - } - - } - - 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: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; + current =iv_ruleENUM_ENTRY_TYPE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleENUM_ENTRY_TYPE_REFERENCE870); - setCurrentLookahead(); - resetLookahead(); - - 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.merge(this_STRING_0); - - createLeafNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleENUM_ENTRY_TYPE_REFERENCE + } + + 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: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; + + setCurrentLookahead(); resetLookahead(); + + 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); - // $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; + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getENUM_ENTRY_TYPE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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; + + 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(); + iv_ruleQUALIFIED_NAME=ruleQUALIFIED_NAME(); _fsp--; - current = iv_ruleQUALIFIED_NAME.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleQUALIFIED_NAME965); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleQUALIFIED_NAME + current =iv_ruleQUALIFIED_NAME.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleQUALIFIED_NAME965); - // $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(); - - Token this_ID_0 = null; - Token kw = null; - Token this_ID_2 = null; - - 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 )* ) - { + } + + 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: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(); + + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; + + 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); - - current.merge(this_ID_0); - - createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0(), null); - - // ../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); - - 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: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; + this_ID_0=(Token)input.LT(1); + match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQUALIFIED_NAME1005); + + current.merge(this_ID_0); + + + createLeafNode(grammarAccess.getQUALIFIED_NAMEAccess().getIDTerminalRuleCall_0(), null); + + // ../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); + + 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: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; + + default : + break loop5; + } + } 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); + 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(); + iv_ruleOseeType=ruleOseeType(); _fsp--; - current = iv_ruleOseeType; - match(input, EOF, FOLLOW_EOF_in_entryRuleOseeType1098); - - } + current =iv_ruleOseeType; + match(input,EOF,FOLLOW_EOF_in_entryRuleOseeType1098); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleOseeType - // $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; + // $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_XArtifactType_0 = null; - EObject this_XRelationType_1 = null; + EObject this_XRelationType_1 = null; - EObject this_XAttributeType_2 = null; + EObject this_XAttributeType_2 = null; - EObject this_XOseeEnumType_3 = 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 ) - { + 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; + 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 - { - - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0(), - currentNode); - - pushFollow(FOLLOW_ruleXArtifactType_in_ruleOseeType1145); - this_XArtifactType_0 = ruleXArtifactType(); - _fsp--; - - current = this_XArtifactType_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:596:5: this_XRelationType_1= ruleXRelationType - { - - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1(), - currentNode); - - pushFollow(FOLLOW_ruleXRelationType_in_ruleOseeType1172); - this_XRelationType_1 = ruleXRelationType(); - _fsp--; - - 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--; - - current = this_XAttributeType_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:616:5: this_XOseeEnumType_3= ruleXOseeEnumType - { - - currentNode = - createCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3(), - currentNode); - - pushFollow(FOLLOW_ruleXOseeEnumType_in_ruleOseeType1226); - this_XOseeEnumType_3 = ruleXOseeEnumType(); - _fsp--; - - current = this_XOseeEnumType_3; - currentNode = currentNode.getParent(); - - } - break; + 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 + { + + currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXArtifactTypeParserRuleCall_0(), currentNode); + + pushFollow(FOLLOW_ruleXArtifactType_in_ruleOseeType1145); + this_XArtifactType_0=ruleXArtifactType(); + _fsp--; + + + current = this_XArtifactType_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:596:5: this_XRelationType_1= ruleXRelationType + { + + currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXRelationTypeParserRuleCall_1(), currentNode); + + pushFollow(FOLLOW_ruleXRelationType_in_ruleOseeType1172); + this_XRelationType_1=ruleXRelationType(); + _fsp--; + + + 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--; + + + current = this_XAttributeType_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:616:5: this_XOseeEnumType_3= ruleXOseeEnumType + { + + currentNode=createCompositeNode(grammarAccess.getOseeTypeAccess().getXOseeEnumTypeParserRuleCall_3(), currentNode); + + pushFollow(FOLLOW_ruleXOseeEnumType_in_ruleOseeType1226); + this_XOseeEnumType_3=ruleXOseeEnumType(); + _fsp--; + + + 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); + 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(); + iv_ruleXArtifactType=ruleXArtifactType(); _fsp--; - current = iv_ruleXArtifactType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXArtifactType1271); - - } + current =iv_ruleXArtifactType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXArtifactType1271); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleXArtifactType - // $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; + // $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; + Token lv_abstract_0_0=null; + Token lv_typeGuid_9_0=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; - EObject lv_validAttributeTypes_10_0 = null; + EObject lv_validAttributeTypes_10_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: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 ) )* '}' ) - { + 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"); - - 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); - } - - } - - } - break; - - } - - match(input, 15, FOLLOW_15_in_ruleXArtifactType1338); - - createLeafNode(grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1(), null); + // ../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); - // ../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); - - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1359); - lv_name_2_0 = ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; - - 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(); - - } - - } - - // ../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); + 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"); + + + 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); + } + + + } + + + } + break; - 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); + match(input,15,FOLLOW_15_in_ruleXArtifactType1338); - // ../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 - { + createLeafNode(grammarAccess.getXArtifactTypeAccess().getArtifactTypeKeyword_1(), null); + + // ../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); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1359); + lv_name_2_0=ruleARTIFACT_TYPE_REFERENCE(); + _fsp--; - if (current == null) { - current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - currentNode = - createCompositeNode( - grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0(), - currentNode); + 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(); + - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1393); - ruleARTIFACT_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:696:2: ( 'extends' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* )? + int alt9=2; + int LA9_0 = input.LA(1); - // ../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; + 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); + + // ../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 + { + + if (current==null) { + current = factory.create(grammarAccess.getXArtifactTypeRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getXArtifactTypeAccess().getSuperArtifactTypesXArtifactTypeCrossReference_3_1_0(), currentNode); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXArtifactType1393); + ruleARTIFACT_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:716:2: ( ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) )* + loop8: + do { + int alt8=2; int LA8_0 = input.LA(1); - if (LA8_0 == 17) { - alt8 = 1; + if ( (LA8_0==17) ) { + 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:716:4: ',' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - { - match(input, 17, FOLLOW_17_in_ruleXArtifactType1404); - - createLeafNode(grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0(), null); - - // ../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 = - 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; - - default: - break loop8; + 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); + + createLeafNode(grammarAccess.getXArtifactTypeAccess().getCommaKeyword_3_2_0(), null); + + // ../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 = 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; + + default : + break loop8; } - } while (true); - - } - break; - - } - - match(input, 18, FOLLOW_18_in_ruleXArtifactType1441); - - createLeafNode(grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4(), null); - - match(input, 19, FOLLOW_19_in_ruleXArtifactType1451); + } while (true); - createLeafNode(grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5(), 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); + } + break; - createLeafNode(grammarAccess.getXArtifactTypeAccess().getTypeGuidSTRINGTerminalRuleCall_6_0(), - "typeGuid"); - - 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); - } - - } - - } - - // ../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); - - if (LA10_0 == 21) { - 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: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; + } - default: - break loop10; - } - } while (true); + match(input,18,FOLLOW_18_in_ruleXArtifactType1441); - match(input, 20, FOLLOW_20_in_ruleXArtifactType1505); + createLeafNode(grammarAccess.getXArtifactTypeAccess().getLeftCurlyBracketKeyword_4(), null); + + match(input,19,FOLLOW_19_in_ruleXArtifactType1451); - createLeafNode(grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8(), null); + createLeafNode(grammarAccess.getXArtifactTypeAccess().getGuidKeyword_5(), 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"); + + + 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); + } + } - } - - 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:768:2: ( (lv_validAttributeTypes_10_0= ruleXAttributeTypeRef ) )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==21) ) { + 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: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; + + default : + break loop10; + } + } while (true); + + match(input,20,FOLLOW_20_in_ruleXArtifactType1505); + + createLeafNode(grammarAccess.getXArtifactTypeAccess().getRightCurlyBracketKeyword_8(), null); + - // $ANTLR end ruleXArtifactType + } - // $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; - EObject iv_ruleXAttributeTypeRef = null; + } - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleXArtifactType + + + // $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; + + EObject iv_ruleXAttributeTypeRef = null; + + + 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(); + iv_ruleXAttributeTypeRef=ruleXAttributeTypeRef(); _fsp--; - current = iv_ruleXAttributeTypeRef; - match(input, EOF, FOLLOW_EOF_in_entryRuleXAttributeTypeRef1551); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleXAttributeTypeRef + current =iv_ruleXAttributeTypeRef; + match(input,EOF,FOLLOW_EOF_in_entryRuleXAttributeTypeRef1551); - // $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; - - 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: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 ) ) )? ) - { + } + + 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: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; + + 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: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 ) ) )? { - 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 - { + match(input,21,FOLLOW_21_in_ruleXAttributeTypeRef1586); - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - currentNode = - createCompositeNode( - grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeTypeRef1609); - ruleATTRIBUTE_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: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); - - // ../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); - } + 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 + { - } + if (current==null) { + current = factory.create(grammarAccess.getXAttributeTypeRefRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getXAttributeTypeRefAccess().getValidAttributeTypeXAttributeTypeCrossReference_1_0(), currentNode); + + pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeTypeRef1609); + ruleATTRIBUTE_TYPE_REFERENCE(); + _fsp--; - } + + currentNode = currentNode.getParent(); + - } - break; + } - } } - } + // ../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); - resetLookahead(); - lastConsumedNode = currentNode; + 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); + + // ../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); + } + + + } + + + } + + + } + break; - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $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(); + iv_ruleXAttributeType=ruleXAttributeType(); _fsp--; - current = iv_ruleXAttributeType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXAttributeType1690); - - } - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end entryRuleXAttributeType + current =iv_ruleXAttributeType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXAttributeType1690); - // $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; - - AntlrDatatypeRuleToken lv_taggerId_16_2 = 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: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 ) ) )? '}' ) - { + } + + 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; + + AntlrDatatypeRuleToken lv_taggerId_16_2 = 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: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); - - createLeafNode(grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0(), 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 - { - - 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(); - - } + match(input,23,FOLLOW_23_in_ruleXAttributeType1725); - } - - } + createLeafNode(grammarAccess.getXAttributeTypeAccess().getAttributeTypeKeyword_0(), 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 + { + + 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--; - // ../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); + 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(); + - 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); + // ../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); - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleXAttributeType1813); - ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; + 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--; - currentNode = currentNode.getParent(); - } + 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(); + - } - - } - break; + } - } - match(input, 18, FOLLOW_18_in_ruleXAttributeType1825); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4(), null); - 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:946:3: ( 'overrides' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) )? + int alt12=2; + int LA12_0 = input.LA(1); - // ../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); + 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--; + + + currentNode = currentNode.getParent(); + + + } + + + } + + + } + break; - 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); - } + match(input,18,FOLLOW_18_in_ruleXAttributeType1825); - } + createLeafNode(grammarAccess.getXAttributeTypeAccess().getLeftCurlyBracketKeyword_4(), null); + + 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); + } + - match(input, 25, FOLLOW_25_in_ruleXAttributeType1867); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7(), null); - // ../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); + } - createLeafNode( - grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(), - "dataProvider"); + match(input,25,FOLLOW_25_in_ruleXAttributeType1867); - if (current == null) { - current = factory.create(grammarAccess.getXAttributeTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderKeyword_7(), null); + + // ../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; + } - try { - set(current, "dataProvider", lv_dataProvider_10_1, null, 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:1005:3: lv_dataProvider_10_1= 'DefaultAttributeDataProvider' + { + lv_dataProvider_10_1=(Token)input.LT(1); + match(input,26,FOLLOW_26_in_ruleXAttributeType1887); + + createLeafNode(grammarAccess.getXAttributeTypeAccess().getDataProviderDefaultAttributeDataProviderKeyword_8_0_0(), "dataProvider"); + + + 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); + } + + 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 + { + + 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(); + + + } + break; - } - 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); - } + } - 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 - { + } - 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(); + match(input,28,FOLLOW_28_in_ruleXAttributeType1961); - } - break; + 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"); + + + 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); + } + - } + } - } - } + } - match(input, 28, FOLLOW_28_in_ruleXAttributeType1961); + match(input,29,FOLLOW_29_in_ruleXAttributeType1993); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMinKeyword_9(), null); + createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11(), null); + + // ../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); - // ../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); + 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); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMinWHOLE_NUM_STRTerminalRuleCall_10_0(), - "min"); + 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); + } + + try { + set(current, "max", lv_max_14_2, null, lastConsumedNode); + } catch (ValueConverterException vce) { + handleValueConverterException(vce); + } + + + } + 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); - } + } - } - } + } - match(input, 29, FOLLOW_29_in_ruleXAttributeType1993); - createLeafNode(grammarAccess.getXAttributeTypeAccess().getMaxKeyword_11(), null); + } - // ../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); + // ../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 (LA14_0 == RULE_WHOLE_NUM_STR) { - alt14 = 1; - } else if (LA14_0 == 30) { - alt14 = 2; - } else { + 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); + + 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( - "1099:1: (lv_max_14_1= RULE_WHOLE_NUM_STR | lv_max_14_2= 'unlimited' )", 14, 0, input); + new NoViableAltException("1148:1: (lv_taggerId_16_1= 'DefaultAttributeTaggerProvider' | lv_taggerId_16_2= ruleQUALIFIED_NAME )", 15, 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); - } - - try { - set(current, "max", lv_max_14_2, null, 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: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); - - 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; - - } - - } - - } - - } - break; - - } - - // ../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); - - 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); - - // ../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 - { - - 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(); - - } - - } - - } - break; - - } - - // ../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); - - 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); - - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0(), null); + } + 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; + + } + + + } + + + } + + + } + break; - // ../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); - } - - } - - } - - } - 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); - - createLeafNode(grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0(), null); - - // ../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); - } - - } - - } - - } - 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); + // ../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); - 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); + 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); + + // ../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 + { + + 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(); + + + } + + + } + + + } + break; - createLeafNode(grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0(), null); + } - // ../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); - } + // ../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); - } + 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); + + createLeafNode(grammarAccess.getXAttributeTypeAccess().getDescriptionKeyword_15_0(), null); + + // ../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); + } + + + } + + + } + + + } + break; - } + } - } - 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); + + createLeafNode(grammarAccess.getXAttributeTypeAccess().getDefaultValueKeyword_16_0(), null); + + // ../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); + } + + + } + + + } + + + } + break; - match(input, 20, FOLLOW_20_in_ruleXAttributeType2268); + } - createLeafNode(grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18(), null); + // ../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); + + createLeafNode(grammarAccess.getXAttributeTypeAccess().getFileExtensionKeyword_17_0(), null); + + // ../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); + } + + + } + + + } + + + } + break; - } - - resetLookahead(); - lastConsumedNode = currentNode; + } - } + match(input,20,FOLLOW_20_in_ruleXAttributeType2268); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + createLeafNode(grammarAccess.getXAttributeTypeAccess().getRightCurlyBracketKeyword_18(), null); + - // $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); + 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(); + iv_ruleAttributeBaseType=ruleAttributeBaseType(); _fsp--; - current = iv_ruleAttributeBaseType.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleAttributeBaseType2316); - - } + current =iv_ruleAttributeBaseType.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleAttributeBaseType2316); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleAttributeBaseType - // $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(); + // $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; + 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 ) - { + 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; + 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; } 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 - - // $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); + 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 + + + // $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(); + iv_ruleXOseeEnumType=ruleXOseeEnumType(); _fsp--; - current = iv_ruleXOseeEnumType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXOseeEnumType2589); + current =iv_ruleXOseeEnumType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXOseeEnumType2589); - } - - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleXOseeEnumType - // $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: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; + // $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; - Token lv_typeGuid_4_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + Token lv_typeGuid_4_0=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; - EObject lv_enumEntries_5_0 = null; + 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 ) )* '}' ) - { + 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); - - // ../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); - - pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumType2645); - lv_name_1_0 = ruleENUM_TYPE_REFERENCE(); - _fsp--; - - 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(); + match(input,46,FOLLOW_46_in_ruleXOseeEnumType2624); - } - - } - break; - - default: - break loop22; - } - } while (true); + createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getOseeEnumTypeKeyword_0(), null); + + // ../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); + + pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumType2645); + lv_name_1_0=ruleENUM_TYPE_REFERENCE(); + _fsp--; - match(input, 20, FOLLOW_20_in_ruleXOseeEnumType2719); - createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6(), 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(); + } - } - - resetLookahead(); - lastConsumedNode = currentNode; - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + match(input,18,FOLLOW_18_in_ruleXOseeEnumType2655); - // $ANTLR end ruleXOseeEnumType + createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getLeftCurlyBracketKeyword_2(), null); + + match(input,19,FOLLOW_19_in_ruleXOseeEnumType2665); - // $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; + 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); + } + - 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); + } - } + // ../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(); + + + } + + + } + break; + + default : + break loop22; + } + } while (true); + + match(input,20,FOLLOW_20_in_ruleXOseeEnumType2719); + + createLeafNode(grammarAccess.getXOseeEnumTypeAccess().getRightCurlyBracketKeyword_6(), null); + - } + } - 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; + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleXOseeEnumType + + + // $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--; - Token lv_ordinal_2_0 = null; - Token lv_entryGuid_4_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + current =iv_ruleXOseeEnumEntry; + match(input,EOF,FOLLOW_EOF_in_entryRuleXOseeEnumEntry2765); - 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 ) ) )? ) - { + } + + 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); - } - - } - - } - break; + match(input,47,FOLLOW_47_in_ruleXOseeEnumEntry2800); - } - - // ../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); + 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 (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); + 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: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; + // ../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); + } + + + } + + + } + break; } - } + // ../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); - resetLookahead(); - lastConsumedNode = currentNode; + 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; - } + } - 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:1618:1: entryRuleXOseeEnumOverride returns [EObject current=null] : iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ; - public final EObject entryRuleXOseeEnumOverride() throws RecognitionException { - EObject current = 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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:1618:1: entryRuleXOseeEnumOverride returns [EObject current=null] : iv_ruleXOseeEnumOverride= ruleXOseeEnumOverride EOF ; + public final EObject entryRuleXOseeEnumOverride() throws RecognitionException { + EObject current = 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(); + iv_ruleXOseeEnumOverride=ruleXOseeEnumOverride(); _fsp--; - current = iv_ruleXOseeEnumOverride; - match(input, EOF, FOLLOW_EOF_in_entryRuleXOseeEnumOverride2925); + current =iv_ruleXOseeEnumOverride; + match(input,EOF,FOLLOW_EOF_in_entryRuleXOseeEnumOverride2925); - } - - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleXOseeEnumOverride - // $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: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; + // $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; - Token lv_inheritAll_3_0 = null; - EObject lv_overrideOptions_4_0 = null; + Token lv_inheritAll_3_0=null; + EObject lv_overrideOptions_4_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: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 ) )* '}' ) - { + 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: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 - { + match(input,49,FOLLOW_49_in_ruleXOseeEnumOverride2960); - if (current == null) { - current = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - currentNode = - createCompositeNode( - grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumOverride2983); - ruleENUM_TYPE_REFERENCE(); - _fsp--; - - currentNode = currentNode.getParent(); - - } - - } - - 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); - - 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); - } - - } - - } - break; - - } - - // ../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); - - if (LA26_0 >= 51 && LA26_0 <= 52) { - alt26 = 1; - } + 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 + { - 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 = factory.create(grammarAccess.getXOseeEnumOverrideRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getXOseeEnumOverrideAccess().getOverridenEnumTypeXOseeEnumTypeCrossReference_1_0(), currentNode); + + pushFollow(FOLLOW_ruleENUM_TYPE_REFERENCE_in_ruleXOseeEnumOverride2983); + ruleENUM_TYPE_REFERENCE(); + _fsp--; - 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(); + + currentNode = currentNode.getParent(); + - } + } - } - break; - default: - break loop26; - } - } while (true); + } - match(input, 20, FOLLOW_20_in_ruleXOseeEnumOverride3057); + match(input,18,FOLLOW_18_in_ruleXOseeEnumOverride2993); - createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5(), null); + 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); + + 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); + } + + + } + + + } + break; - } - - 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:1678: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; + } + + + 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 + { + + 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; + + default : + break loop26; + } + } while (true); + + match(input,20,FOLLOW_20_in_ruleXOseeEnumOverride3057); + + createLeafNode(grammarAccess.getXOseeEnumOverrideAccess().getRightCurlyBracketKeyword_5(), null); + - // $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:1714:1: entryRuleOverrideOption returns [EObject current=null] : iv_ruleOverrideOption= ruleOverrideOption EOF ; - public final EObject entryRuleOverrideOption() throws RecognitionException { - EObject current = 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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:1714:1: entryRuleOverrideOption returns [EObject current=null] : iv_ruleOverrideOption= ruleOverrideOption EOF ; + public final EObject entryRuleOverrideOption() throws RecognitionException { + EObject current = 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(); + iv_ruleOverrideOption=ruleOverrideOption(); _fsp--; - current = iv_ruleOverrideOption; - match(input, EOF, FOLLOW_EOF_in_entryRuleOverrideOption3103); + current =iv_ruleOverrideOption; + match(input,EOF,FOLLOW_EOF_in_entryRuleOverrideOption3103); - } - - } + } - 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:1723: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 ) - { + 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 ) - int alt27 = 2; + { + // ../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; 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("1729:1: (this_AddEnum_0= ruleAddEnum | this_RemoveEnum_1= ruleRemoveEnum )", 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--; - - 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(); - - } - break; + 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--; + + + 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(); + + + } + break; } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } - - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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(); + iv_ruleAddEnum=ruleAddEnum(); _fsp--; - current = iv_ruleAddEnum; - match(input, EOF, FOLLOW_EOF_in_entryRuleAddEnum3222); - - } + 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 ) ) )? ) - { + } + + 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); - } - - } + match(input,51,FOLLOW_51_in_ruleAddEnum3257); - } - break; - - } - - // ../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); + 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 (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); + 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: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); - } + } - } - } + } - } - break; + // ../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; } - } + // ../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); - resetLookahead(); - lastConsumedNode = currentNode; + 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); + + // ../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); + } + + + } + + + } + + + } + break; - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleAddEnum + } - // $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; - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleAddEnum + + + // $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; + + 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(); + iv_ruleRemoveEnum=ruleRemoveEnum(); _fsp--; - current = iv_ruleRemoveEnum; - match(input, EOF, FOLLOW_EOF_in_entryRuleRemoveEnum3382); - - } - - } - - 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; + current =iv_ruleRemoveEnum; + match(input,EOF,FOLLOW_EOF_in_entryRuleRemoveEnum3382); - 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 ) ) ) - { + } + + 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); - - // ../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); - } - - currentNode = - createCompositeNode( - grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0(), - currentNode); + match(input,52,FOLLOW_52_in_ruleRemoveEnum3417); - pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleRemoveEnum3440); - ruleENUM_ENTRY_TYPE_REFERENCE(); - _fsp--; - - currentNode = currentNode.getParent(); + createLeafNode(grammarAccess.getRemoveEnumAccess().getRemoveKeyword_0(), null); + + // ../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); + } + + + currentNode=createCompositeNode(grammarAccess.getRemoveEnumAccess().getEnumEntryXOseeEnumEntryCrossReference_1_0(), currentNode); + + pushFollow(FOLLOW_ruleENUM_ENTRY_TYPE_REFERENCE_in_ruleRemoveEnum3440); + ruleENUM_ENTRY_TYPE_REFERENCE(); + _fsp--; - } + + currentNode = currentNode.getParent(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleRemoveEnum + } - // $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; - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleRemoveEnum + + + // $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; + + 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(); + iv_ruleXRelationType=ruleXRelationType(); _fsp--; - current = iv_ruleXRelationType; - match(input, EOF, FOLLOW_EOF_in_entryRuleXRelationType3486); - - } + current =iv_ruleXRelationType; + match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationType3486); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleXRelationType - // $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; + // $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; - Token lv_typeGuid_4_0 = null; - Token lv_sideAName_6_0 = null; - Token lv_sideBName_10_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + 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; + AntlrDatatypeRuleToken lv_defaultOrderType_14_0 = null; - Enumerator lv_multiplicity_16_0 = null; + Enumerator lv_multiplicity_16_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: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 ) ) '}' ) - { + 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 ) ) '}' { - match(input, 53, FOLLOW_53_in_ruleXRelationType3521); - - createLeafNode(grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0(), null); - - // ../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 - { - - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getNameRELATION_TYPE_REFERENCEParserRuleCall_1_0(), - currentNode); + match(input,53,FOLLOW_53_in_ruleXRelationType3521); - pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleXRelationType3542); - lv_name_1_0 = ruleRELATION_TYPE_REFERENCE(); - _fsp--; - - 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(); - - } - - } - - match(input, 18, FOLLOW_18_in_ruleXRelationType3552); - - createLeafNode(grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2(), null); - - match(input, 19, FOLLOW_19_in_ruleXRelationType3562); - - createLeafNode(grammarAccess.getXRelationTypeAccess().getGuidKeyword_3(), null); - - // ../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); - } - - } - - } - - match(input, 54, FOLLOW_54_in_ruleXRelationType3594); - - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameKeyword_5(), null); + createLeafNode(grammarAccess.getXRelationTypeAccess().getRelationTypeKeyword_0(), null); + + // ../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 + { + + 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--; - // ../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); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), - "sideAName"); + 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(); + - 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); - } + } - } - } + } - match(input, 55, FOLLOW_55_in_ruleXRelationType3626); + match(input,18,FOLLOW_18_in_ruleXRelationType3552); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeKeyword_7(), null); + createLeafNode(grammarAccess.getXRelationTypeAccess().getLeftCurlyBracketKeyword_2(), null); + + match(input,19,FOLLOW_19_in_ruleXRelationType3562); - // ../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 - { + createLeafNode(grammarAccess.getXRelationTypeAccess().getGuidKeyword_3(), null); + + // ../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); + } + - if (current == null) { - current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0(), - currentNode); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3649); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); + 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); + + createLeafNode(grammarAccess.getXRelationTypeAccess().getSideANameSTRINGTerminalRuleCall_6_0(), "sideAName"); + + + 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); + } + - } + } - match(input, 56, FOLLOW_56_in_ruleXRelationType3659); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9(), null); + } - // ../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); + match(input,55,FOLLOW_55_in_ruleXRelationType3626); - createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), - "sideBName"); + 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 + { - 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 = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getSideAArtifactTypeXArtifactTypeCrossReference_8_0(), currentNode); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3649); + ruleARTIFACT_TYPE_REFERENCE(); + _fsp--; - match(input, 57, FOLLOW_57_in_ruleXRelationType3691); + + currentNode = currentNode.getParent(); + - 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); - } + } - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0(), - currentNode); + match(input,56,FOLLOW_56_in_ruleXRelationType3659); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3714); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameKeyword_9(), null); + + // ../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); + + createLeafNode(grammarAccess.getXRelationTypeAccess().getSideBNameSTRINGTerminalRuleCall_10_0(), "sideBName"); + + + 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); + } + - currentNode = currentNode.getParent(); + } - } - } + } - match(input, 58, FOLLOW_58_in_ruleXRelationType3724); + match(input,57,FOLLOW_57_in_ruleXRelationType3691); - createLeafNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeKeyword_13(), null); + 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 + { - // ../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 - { + if (current==null) { + current = factory.create(grammarAccess.getXRelationTypeRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getSideBArtifactTypeXArtifactTypeCrossReference_12_0(), currentNode); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleXRelationType3714); + ruleARTIFACT_TYPE_REFERENCE(); + _fsp--; - currentNode = - createCompositeNode( - grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), - currentNode); + + currentNode = currentNode.getParent(); + - 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(); - } + } - } + match(input,58,FOLLOW_58_in_ruleXRelationType3724); - match(input, 59, FOLLOW_59_in_ruleXRelationType3755); + 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 + { + + currentNode=createCompositeNode(grammarAccess.getXRelationTypeAccess().getDefaultOrderTypeRelationOrderTypeParserRuleCall_14_0(), currentNode); + + pushFollow(FOLLOW_ruleRelationOrderType_in_ruleXRelationType3745); + lv_defaultOrderType_14_0=ruleRelationOrderType(); + _fsp--; - 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 - { + 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(); + - 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,59,FOLLOW_59_in_ruleXRelationType3755); - } + 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--; - match(input, 20, FOLLOW_20_in_ruleXRelationType3786); - createLeafNode(grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17(), null); + 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(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + match(input,20,FOLLOW_20_in_ruleXRelationType3786); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + createLeafNode(grammarAccess.getXRelationTypeAccess().getRightCurlyBracketKeyword_17(), null); + - // $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); + 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(); + 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; - } + current =iv_ruleRelationOrderType.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleRelationOrderType3834); - // $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(); - - 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 ) - { + } + + 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(); + + 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 ) - 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); - - throw nvae; + { + // ../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); + + 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); - - 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); - - current.merge(kw); - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2(), 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); - - createLeafNode(grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3(), null); - - } - break; + 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); + + 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); + + current.merge(kw); + createLeafNode(grammarAccess.getRelationOrderTypeAccess().getUnorderedKeyword_2(), 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); + + + createLeafNode(grammarAccess.getRelationOrderTypeAccess().getIDTerminalRuleCall_3(), null); + + + } + break; } - } - - resetLookahead(); - lastConsumedNode = currentNode; - } - - 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; - - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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; + + 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(); + iv_ruleARTIFACT_INSTANCE_REFERENCE=ruleARTIFACT_INSTANCE_REFERENCE(); _fsp--; - current = iv_ruleARTIFACT_INSTANCE_REFERENCE.getText(); - match(input, EOF, FOLLOW_EOF_in_entryRuleARTIFACT_INSTANCE_REFERENCE3988); - - } + current =iv_ruleARTIFACT_INSTANCE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleARTIFACT_INSTANCE_REFERENCE3988); - } - - 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: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; - - setCurrentLookahead(); - resetLookahead(); - - 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); - - createLeafNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleARTIFACT_INSTANCE_REFERENCE + } + + 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: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; + + setCurrentLookahead(); resetLookahead(); + + 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); - // $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.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getARTIFACT_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); + - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleARTIFACT_INSTANCE_REFERENCE + + + // $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; + + 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(); + iv_ruleXArtifactRef=ruleXArtifactRef(); _fsp--; - current = iv_ruleXArtifactRef; - match(input, EOF, FOLLOW_EOF_in_entryRuleXArtifactRef4081); + current =iv_ruleXArtifactRef; + match(input,EOF,FOLLOW_EOF_in_entryRuleXArtifactRef4081); - } - - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleXArtifactRef - // $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: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; + // $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; - Token lv_guid_3_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + Token lv_guid_3_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: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 ) ) ';' ) - { + 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: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); - - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleXArtifactRef4137); - lv_name_1_0 = ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + match(input,63,FOLLOW_63_in_ruleXArtifactRef4116); - 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); - - createLeafNode(grammarAccess.getXArtifactRefAccess().getArtGuidKeyword_2(), null); + 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); + + pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleXArtifactRef4137); + lv_name_1_0=ruleARTIFACT_INSTANCE_REFERENCE(); + _fsp--; - // ../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); - createLeafNode(grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + 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(); + - 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); - } + } - } - } + } - match(input, 65, FOLLOW_65_in_ruleXArtifactRef4179); + match(input,64,FOLLOW_64_in_ruleXArtifactRef4147); - createLeafNode(grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4(), null); + 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); + + createLeafNode(grammarAccess.getXArtifactRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + + + 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); + } + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + match(input,65,FOLLOW_65_in_ruleXArtifactRef4179); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + createLeafNode(grammarAccess.getXArtifactRefAccess().getSemicolonKeyword_4(), 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; - AntlrDatatypeRuleToken iv_ruleBRANCH_INSTANCE_REFERENCE = null; + } - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $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; + + AntlrDatatypeRuleToken iv_ruleBRANCH_INSTANCE_REFERENCE = null; + + + 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(); + iv_ruleBRANCH_INSTANCE_REFERENCE=ruleBRANCH_INSTANCE_REFERENCE(); _fsp--; - 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 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; - - setCurrentLookahead(); - resetLookahead(); - - 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); + current =iv_ruleBRANCH_INSTANCE_REFERENCE.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleBRANCH_INSTANCE_REFERENCE4227); - current.merge(this_STRING_0); - - createLeafNode(grammarAccess.getBRANCH_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), null); - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleBRANCH_INSTANCE_REFERENCE + } + + 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; + + setCurrentLookahead(); resetLookahead(); + + 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); - // $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; + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getBRANCH_INSTANCE_REFERENCEAccess().getSTRINGTerminalRuleCall(), 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $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(); + iv_ruleXBranchRef=ruleXBranchRef(); _fsp--; - current = iv_ruleXBranchRef; - match(input, EOF, FOLLOW_EOF_in_entryRuleXBranchRef4320); - - } + current =iv_ruleXBranchRef; + match(input,EOF,FOLLOW_EOF_in_entryRuleXBranchRef4320); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleXBranchRef - // $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: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; + // $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; - Token lv_guid_3_0 = null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + Token lv_guid_3_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: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 ) ) ';' ) - { + 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 ) ) ';' { - match(input, 66, FOLLOW_66_in_ruleXBranchRef4355); - - createLeafNode(grammarAccess.getXBranchRefAccess().getBranchKeyword_0(), null); - - // ../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); + match(input,66,FOLLOW_66_in_ruleXBranchRef4355); - 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(); - - } - - } - - match(input, 22, FOLLOW_22_in_ruleXBranchRef4386); - - createLeafNode(grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2(), null); + createLeafNode(grammarAccess.getXBranchRefAccess().getBranchKeyword_0(), null); + + // ../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); + + pushFollow(FOLLOW_ruleBRANCH_INSTANCE_REFERENCE_in_ruleXBranchRef4376); + lv_name_1_0=ruleBRANCH_INSTANCE_REFERENCE(); + _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); - createLeafNode(grammarAccess.getXBranchRefAccess().getGuidSTRINGTerminalRuleCall_3_0(), "guid"); + 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(); + - 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); - } + } - } - } + } - match(input, 65, FOLLOW_65_in_ruleXBranchRef4418); + match(input,22,FOLLOW_22_in_ruleXBranchRef4386); - createLeafNode(grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4(), null); + createLeafNode(grammarAccess.getXBranchRefAccess().getBranchGuidKeyword_2(), null); + + // ../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); + + 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); + } + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + match(input,65,FOLLOW_65_in_ruleXBranchRef4418); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + createLeafNode(grammarAccess.getXBranchRefAccess().getSemicolonKeyword_4(), null); + - // $ANTLR end ruleXBranchRef + } - // $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; - AntlrDatatypeRuleToken iv_ruleACCESS_CONTEXT_TYPE_REFRENCE = null; + } - 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); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleXBranchRef + + + // $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; + + AntlrDatatypeRuleToken iv_ruleACCESS_CONTEXT_TYPE_REFRENCE = null; + + + 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(); + 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); + 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; - } + } - // $ANTLR end entryRuleACCESS_CONTEXT_TYPE_REFRENCE + } + + 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: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; + + 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); - // $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(); + current.merge(this_STRING_0); + + + createLeafNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCEAccess().getSTRINGTerminalRuleCall(), null); + - Token this_STRING_0 = null; + } - setCurrentLookahead(); - resetLookahead(); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + 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; + + EObject iv_ruleAccessContext = null; + + + 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--; - 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); + current =iv_ruleAccessContext; + match(input,EOF,FOLLOW_EOF_in_entryRuleAccessContext4559); - current.merge(this_STRING_0); + } - createLeafNode(grammarAccess.getACCESS_CONTEXT_TYPE_REFRENCEAccess().getSTRINGTerminalRuleCall(), null); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleAccessContext - } - resetLookahead(); - lastConsumedNode = currentNode; + // $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; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + EObject lv_accessRules_10_0 = null; - // $ANTLR end ruleACCESS_CONTEXT_TYPE_REFRENCE + EObject lv_hierarchyRestrictions_11_0 = null; - // $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; - EObject iv_ruleAccessContext = 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: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); - 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(); + createLeafNode(grammarAccess.getAccessContextAccess().getAccessContextKeyword_0(), 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 + { + + 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--; - current = iv_ruleAccessContext; - match(input, EOF, FOLLOW_EOF_in_entryRuleAccessContext4559); - - } - - } - - 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: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_typeGuid_8_0= RULE_STRING ) ) ';' ( (lv_accessRules_10_0= rulePermissionRule ) )* ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) )* '}' ) ; - public final EObject ruleAccessContext() throws RecognitionException { - EObject current = null; - - Token lv_typeGuid_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(); - - 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_typeGuid_8_0= RULE_STRING ) ) ';' ( (lv_accessRules_10_0= rulePermissionRule ) )* ( (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_typeGuid_8_0= RULE_STRING ) ) ';' ( (lv_accessRules_10_0= rulePermissionRule ) )* ( (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_typeGuid_8_0= RULE_STRING ) ) ';' ( (lv_accessRules_10_0= rulePermissionRule ) )* ( (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_typeGuid_8_0= RULE_STRING ) ) ';' ( (lv_accessRules_10_0= rulePermissionRule ) )* ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) )* '}' - { - match(input, 67, FOLLOW_67_in_ruleAccessContext4594); - - createLeafNode(grammarAccess.getAccessContextAccess().getAccessContextKeyword_0(), 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 - { - - 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); - } + 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(); + - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4649); - ruleACCESS_CONTEXT_TYPE_REFRENCE(); - _fsp--; + } - 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); - // ../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; + 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); + } + + + currentNode=createCompositeNode(grammarAccess.getAccessContextAccess().getSuperAccessContextsAccessContextCrossReference_2_1_0(), currentNode); + + pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4649); + ruleACCESS_CONTEXT_TYPE_REFRENCE(); + _fsp--; + + + currentNode = currentNode.getParent(); + + + } + + + } + + // ../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 (LA31_0 == 17) { - alt31 = 1; + if ( (LA31_0==17) ) { + alt31=1; } - 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); - - 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); + 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); + + 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); + + pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4683); + ruleACCESS_CONTEXT_TYPE_REFRENCE(); + _fsp--; + + + currentNode = currentNode.getParent(); + + + } + + + } + + + } + break; + + default : + break loop31; + } + } while (true); - pushFollow(FOLLOW_ruleACCESS_CONTEXT_TYPE_REFRENCE_in_ruleAccessContext4683); - ruleACCESS_CONTEXT_TYPE_REFRENCE(); - _fsp--; - currentNode = currentNode.getParent(); + } + break; - } + } - } + match(input,18,FOLLOW_18_in_ruleAccessContext4697); - } - break; + createLeafNode(grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3(), null); + + match(input,19,FOLLOW_19_in_ruleAccessContext4707); - default: - break loop31; - } - } while (true); + createLeafNode(grammarAccess.getAccessContextAccess().getGuidKeyword_4(), null); + + // ../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); + + 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); + } + - } - break; + } - } - match(input, 18, FOLLOW_18_in_ruleAccessContext4697); + } - createLeafNode(grammarAccess.getAccessContextAccess().getLeftCurlyBracketKeyword_3(), null); + match(input,65,FOLLOW_65_in_ruleAccessContext4739); + + createLeafNode(grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(), 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); + + 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: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(); + + + } + + + } + + + } + 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 ) + { + // ../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(); + + + } + + + } + + + } + break; + + default : + if ( cnt33 >= 1 ) break loop33; + EarlyExitException eee = + new EarlyExitException(33, input); + throw eee; + } + cnt33++; + } while (true); + + match(input,20,FOLLOW_20_in_ruleAccessContext4800); + + createLeafNode(grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_8(), null); + - match(input, 19, FOLLOW_19_in_ruleAccessContext4707); + } - createLeafNode(grammarAccess.getAccessContextAccess().getGuidKeyword_4(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2539: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:2540: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:2540: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:2541:3: lv_typeGuid_8_0= RULE_STRING - { - lv_typeGuid_8_0 = (Token) input.LT(1); - match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleAccessContext4724); + } - createLeafNode(grammarAccess.getAccessContextAccess().getTypeGuidSTRINGTerminalRuleCall_5_0(), - "typeGuid"); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleAccessContext + + + // $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; + + EObject iv_ruleHierarchyRestriction = null; + + + 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--; - if (current == null) { - current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set(current, "typeGuid", lv_typeGuid_8_0, "STRING", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } + current =iv_ruleHierarchyRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleHierarchyRestriction4846); - } + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleHierarchyRestriction - match(input, 65, FOLLOW_65_in_ruleAccessContext4739); - createLeafNode(grammarAccess.getAccessContextAccess().getSemicolonKeyword_6(), null); + // $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; - // ../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= rulePermissionRule ) )* - loop33: do { - int alt33 = 2; - int LA33_0 = input.LA(1); + EObject lv_accessRules_3_0 = null; - if (LA33_0 >= 75 && LA33_0 <= 76) { - alt33 = 1; - } - switch (alt33) { - case 1: - // ../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= rulePermissionRule ) - { - // ../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= rulePermissionRule ) - // ../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= rulePermissionRule - { + 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 ) ) '}' + { + match(input,68,FOLLOW_68_in_ruleHierarchyRestriction4881); - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getAccessRulesPermissionRuleParserRuleCall_7_0(), - currentNode); - - pushFollow(FOLLOW_rulePermissionRule_in_ruleAccessContext4760); - lv_accessRules_10_0 = rulePermissionRule(); - _fsp--; - - if (current == null) { - current = factory.create(grammarAccess.getAccessContextRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "accessRules", lv_accessRules_10_0, "PermissionRule", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + 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); + + pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction4904); + ruleARTIFACT_INSTANCE_REFERENCE(); + _fsp--; - } - break; + + currentNode = currentNode.getParent(); + - default: - break loop33; - } - } while (true); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2591:3: ( (lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction ) )* - loop34: do { - int alt34 = 2; - int LA34_0 = input.LA(1); - - if (LA34_0 == 68) { - 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:2592: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:2592: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:2593:3: lv_hierarchyRestrictions_11_0= ruleHierarchyRestriction - { + } - currentNode = - createCompositeNode( - grammarAccess.getAccessContextAccess().getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_8_0(), - currentNode); - - pushFollow(FOLLOW_ruleHierarchyRestriction_in_ruleAccessContext4782); - 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(); - } + } - } - break; + match(input,18,FOLLOW_18_in_ruleHierarchyRestriction4914); - default: - break loop34; - } - } while (true); + 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 ) ) + // ../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 + { + + currentNode=createCompositeNode(grammarAccess.getHierarchyRestrictionAccess().getAccessRulesObjectRestrictionParserRuleCall_3_0(), currentNode); + + pushFollow(FOLLOW_ruleObjectRestriction_in_ruleHierarchyRestriction4935); + lv_accessRules_3_0=ruleObjectRestriction(); + _fsp--; - match(input, 20, FOLLOW_20_in_ruleAccessContext4793); - createLeafNode(grammarAccess.getAccessContextAccess().getRightCurlyBracketKeyword_9(), null); + 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(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } - } + match(input,20,FOLLOW_20_in_ruleHierarchyRestriction4945); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4(), null); + - // $ANTLR end ruleAccessContext + } - // $ANTLR start entryRuleHierarchyRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2627:1: entryRuleHierarchyRestriction returns [EObject current=null] : iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ; - public final EObject entryRuleHierarchyRestriction() throws RecognitionException { - EObject current = null; - EObject iv_ruleHierarchyRestriction = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2628:2: (iv_ruleHierarchyRestriction= ruleHierarchyRestriction EOF ) - // ../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 - { - currentNode = createCompositeNode(grammarAccess.getHierarchyRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleHierarchyRestriction_in_entryRuleHierarchyRestriction4829); - iv_ruleHierarchyRestriction = ruleHierarchyRestriction(); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $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_entryRuleObjectRestriction4981); + iv_ruleObjectRestriction=ruleObjectRestriction(); _fsp--; - current = iv_ruleHierarchyRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleHierarchyRestriction4839); - - } + current =iv_ruleObjectRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleObjectRestriction4991); - } + } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleObjectRestriction - // $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:2636:1: ruleHierarchyRestriction returns [EObject current=null] : ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= rulePermissionRule ) ) '}' ) ; - public final EObject ruleHierarchyRestriction() throws RecognitionException { - EObject current = null; + // $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; - EObject lv_accessRules_3_0 = null; + EObject this_ArtifactInstanceRestriction_0 = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + EObject this_ArtifactTypeRestriction_1 = null; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2641:6: ( ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= rulePermissionRule ) ) '}' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2642:1: ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= rulePermissionRule ) ) '}' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2642:1: ( 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= rulePermissionRule ) ) '}' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2642:3: 'childrenOf' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) '{' ( (lv_accessRules_3_0= rulePermissionRule ) ) '}' - { - match(input, 68, FOLLOW_68_in_ruleHierarchyRestriction4874); + EObject this_RelationTypeRestriction_2 = null; - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getChildrenOfKeyword_0(), null); + EObject this_AttributeTypeRestriction_3 = null; - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2646:1: ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) - // ../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: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:3: ruleARTIFACT_INSTANCE_REFERENCE - { - if (current == null) { - current = factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + 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 alt34=4; + int LA34_0 = input.LA(1); - currentNode = - createCompositeNode( - grammarAccess.getHierarchyRestrictionAccess().getArtifactXArtifactRefCrossReference_1_0(), - currentNode); + if ( (LA34_0==75) ) { + int LA34_1 = input.LA(2); - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction4897); - ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + if ( (LA34_1==69) ) { + switch ( input.LA(3) ) { + case 63: + { + alt34=1; + } + break; + case 53: + { + alt34=3; + } + break; + case 15: + { + alt34=2; + } + break; + case 23: + { + alt34=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", 34, 3, input); - currentNode = currentNode.getParent(); + 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 )", 34, 1, input); - } + throw nvae; + } + } + else if ( (LA34_0==76) ) { + int LA34_2 = input.LA(2); - match(input, 18, FOLLOW_18_in_ruleHierarchyRestriction4907); + if ( (LA34_2==69) ) { + switch ( input.LA(3) ) { + case 63: + { + alt34=1; + } + break; + case 53: + { + alt34=3; + } + break; + case 15: + { + alt34=2; + } + break; + case 23: + { + alt34=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", 34, 3, input); - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getLeftCurlyBracketKeyword_2(), null); + throw nvae; + } - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2666:1: ( (lv_accessRules_3_0= rulePermissionRule ) ) - // ../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= rulePermissionRule ) - { - // ../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= rulePermissionRule ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2668:3: lv_accessRules_3_0= rulePermissionRule - { + } + else { + NoViableAltException nvae = + new NoViableAltException("2718:1: (this_ArtifactInstanceRestriction_0= ruleArtifactInstanceRestriction | this_ArtifactTypeRestriction_1= ruleArtifactTypeRestriction | this_RelationTypeRestriction_2= ruleRelationTypeRestriction | this_AttributeTypeRestriction_3= ruleAttributeTypeRestriction )", 34, 2, input); - currentNode = - createCompositeNode( - grammarAccess.getHierarchyRestrictionAccess().getAccessRulesPermissionRuleParserRuleCall_3_0(), - currentNode); + 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 )", 34, 0, input); - pushFollow(FOLLOW_rulePermissionRule_in_ruleHierarchyRestriction4928); - lv_accessRules_3_0 = rulePermissionRule(); - _fsp--; + throw nvae; + } + switch (alt34) { + 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_ruleObjectRestriction5038); + 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_ruleObjectRestriction5065); + this_ArtifactTypeRestriction_1=ruleArtifactTypeRestriction(); + _fsp--; + + + current = this_ArtifactTypeRestriction_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:2739:5: this_RelationTypeRestriction_2= ruleRelationTypeRestriction + { + + currentNode=createCompositeNode(grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_2(), currentNode); + + pushFollow(FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5092); + 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_ruleObjectRestriction5119); + this_AttributeTypeRestriction_3=ruleAttributeTypeRestriction(); + _fsp--; + + + current = this_AttributeTypeRestriction_3; + currentNode = currentNode.getParent(); + + + } + break; - if (current == null) { - current = factory.create(grammarAccess.getHierarchyRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "accessRules", lv_accessRules_3_0, "PermissionRule", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } - } - } + } - match(input, 20, FOLLOW_20_in_ruleHierarchyRestriction4938); + 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_entryRuleArtifactInstanceRestriction5154); + iv_ruleArtifactInstanceRestriction=ruleArtifactInstanceRestriction(); + _fsp--; - createLeafNode(grammarAccess.getHierarchyRestrictionAccess().getRightCurlyBracketKeyword_4(), null); + current =iv_ruleArtifactInstanceRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5164); } - } - - resetLookahead(); - lastConsumedNode = currentNode; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleArtifactInstanceRestriction - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + // $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; - // $ANTLR end ruleHierarchyRestriction + Enumerator lv_permission_0_0 = null; - // $ANTLR start entryRulePermissionRule - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2702:1: entryRulePermissionRule returns [EObject current=null] : iv_rulePermissionRule= rulePermissionRule EOF ; - public final EObject entryRulePermissionRule() throws RecognitionException { - EObject current = null; - EObject iv_rulePermissionRule = null; - - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2703:2: (iv_rulePermissionRule= rulePermissionRule EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2704:2: iv_rulePermissionRule= rulePermissionRule EOF - { - currentNode = createCompositeNode(grammarAccess.getPermissionRuleRule(), currentNode); - pushFollow(FOLLOW_rulePermissionRule_in_entryRulePermissionRule4974); - iv_rulePermissionRule = rulePermissionRule(); + 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 ) ) ';' + { + // ../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 + { + + currentNode=createCompositeNode(grammarAccess.getArtifactInstanceRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + + pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactInstanceRestriction5210); + lv_permission_0_0=ruleAccessPermissionEnum(); _fsp--; - current = iv_rulePermissionRule; - match(input, EOF, FOLLOW_EOF_in_entryRulePermissionRule4984); - - } - - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + 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(); + - // $ANTLR end entryRulePermissionRule + } - // $ANTLR start rulePermissionRule - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2711:1: rulePermissionRule returns [EObject current=null] : ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' ( (lv_objectRestriction_2_0= ruleObjectRestriction ) ) ) ; - public final EObject rulePermissionRule() throws RecognitionException { - EObject current = null; - Enumerator lv_permission_0_0 = null; + } - EObject lv_objectRestriction_2_0 = null; + match(input,69,FOLLOW_69_in_ruleArtifactInstanceRestriction5220); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getEditKeyword_1(), null); + + match(input,63,FOLLOW_63_in_ruleArtifactInstanceRestriction5230); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2716:6: ( ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' ( (lv_objectRestriction_2_0= ruleObjectRestriction ) ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2717:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' ( (lv_objectRestriction_2_0= ruleObjectRestriction ) ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2717:1: ( ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' ( (lv_objectRestriction_2_0= ruleObjectRestriction ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2717:2: ( (lv_permission_0_0= ruleAccessPermissionEnum ) ) 'edit' ( (lv_objectRestriction_2_0= ruleObjectRestriction ) ) + createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_2(), null); + + // ../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 { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2717: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:2718: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:2718: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:2719:3: lv_permission_0_0= ruleAccessPermissionEnum - { - currentNode = - createCompositeNode( - grammarAccess.getPermissionRuleAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), - currentNode); + 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_ruleArtifactInstanceRestriction5253); + ruleARTIFACT_INSTANCE_REFERENCE(); + _fsp--; - pushFollow(FOLLOW_ruleAccessPermissionEnum_in_rulePermissionRule5030); - lv_permission_0_0 = ruleAccessPermissionEnum(); - _fsp--; + + currentNode = currentNode.getParent(); + - if (current == null) { - current = factory.create(grammarAccess.getPermissionRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "permission", lv_permission_0_0, "AccessPermissionEnum", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } - } - } + } - match(input, 69, FOLLOW_69_in_rulePermissionRule5040); + match(input,65,FOLLOW_65_in_ruleArtifactInstanceRestriction5263); - createLeafNode(grammarAccess.getPermissionRuleAccess().getEditKeyword_1(), null); + createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_4(), null); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2745:1: ( (lv_objectRestriction_2_0= ruleObjectRestriction ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2746:1: (lv_objectRestriction_2_0= ruleObjectRestriction ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2746:1: (lv_objectRestriction_2_0= ruleObjectRestriction ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2747:3: lv_objectRestriction_2_0= ruleObjectRestriction - { + } - currentNode = - createCompositeNode( - grammarAccess.getPermissionRuleAccess().getObjectRestrictionObjectRestrictionParserRuleCall_2_0(), - currentNode); - pushFollow(FOLLOW_ruleObjectRestriction_in_rulePermissionRule5061); - lv_objectRestriction_2_0 = ruleObjectRestriction(); - _fsp--; + } - if (current == null) { - current = factory.create(grammarAccess.getPermissionRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set(current, "objectRestriction", lv_objectRestriction_2_0, "ObjectRestriction", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleArtifactInstanceRestriction + + + // $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; + + + 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_entryRuleArtifactTypeRestriction5299); + iv_ruleArtifactTypeRestriction=ruleArtifactTypeRestriction(); + _fsp--; - } - - } + current =iv_ruleArtifactTypeRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5309); - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - - // $ANTLR end rulePermissionRule + } - // $ANTLR start entryRuleObjectRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2777: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:2778:2: (iv_ruleObjectRestriction= ruleObjectRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2779:2: iv_ruleObjectRestriction= ruleObjectRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getObjectRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction5097); - iv_ruleObjectRestriction = ruleObjectRestriction(); - _fsp--; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleArtifactTypeRestriction - current = iv_ruleObjectRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleObjectRestriction5107); - } + // $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; - } + Enumerator lv_permission_0_0 = null; - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleObjectRestriction + 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 ) ) ';' + { + // ../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_ruleArtifactTypeRestriction5355); + lv_permission_0_0=ruleAccessPermissionEnum(); + _fsp--; - // $ANTLR start ruleObjectRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2786:1: ruleObjectRestriction returns [EObject current=null] : (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction ) ; - public final EObject ruleObjectRestriction() throws RecognitionException { - EObject current = null; - EObject this_ArtifactTypeRestriction_0 = null; + 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(); + - EObject this_RelationTypeRestriction_1 = null; + } - EObject this_AttributeTypeRestriction_2 = null; - EObject this_AttributeTypeOfArtifactTypeRestriction_3 = null; + } - EObject this_ArtifactInstanceRestriction_4 = null; + match(input,69,FOLLOW_69_in_ruleArtifactTypeRestriction5365); - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1(), null); + + match(input,15,FOLLOW_15_in_ruleArtifactTypeRestriction5375); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2791:6: ( (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2792:1: (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2792:1: (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction ) - int alt35 = 5; - switch (input.LA(1)) { - case 15: { - alt35 = 1; - } - break; - case 53: { - alt35 = 2; - } - break; - case 23: { - int LA35_3 = input.LA(2); + 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 (LA35_3 == RULE_STRING) { - int LA35_5 = input.LA(3); + if (current==null) { + current = factory.create(grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_3_0(), currentNode); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5398); + ruleARTIFACT_TYPE_REFERENCE(); + _fsp--; - if (LA35_5 == 65) { - alt35 = 3; - } else if (LA35_5 == 70) { - alt35 = 4; - } else { - NoViableAltException nvae = - new NoViableAltException( - "2792:1: (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction )", - 35, 5, input); + + currentNode = currentNode.getParent(); + - throw nvae; - } - } else { - NoViableAltException nvae = - new NoViableAltException( - "2792:1: (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction )", - 35, 3, input); - - throw nvae; - } - } - break; - case 63: { - alt35 = 5; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException( - "2792:1: (this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction | this_RelationTypeRestriction_1= ruleRelationTypeRestriction | this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction | this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction | this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction )", - 35, 0, input); - - 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:2793:5: this_ArtifactTypeRestriction_0= ruleArtifactTypeRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getArtifactTypeRestrictionParserRuleCall_0(), - currentNode); - pushFollow(FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5154); - this_ArtifactTypeRestriction_0 = ruleArtifactTypeRestriction(); - _fsp--; + } - current = this_ArtifactTypeRestriction_0; - currentNode = currentNode.getParent(); + match(input,65,FOLLOW_65_in_ruleArtifactTypeRestriction5408); - } - break; - case 2: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2803:5: this_RelationTypeRestriction_1= ruleRelationTypeRestriction - { + createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_4(), null); + - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getRelationTypeRestrictionParserRuleCall_1(), - currentNode); - - pushFollow(FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5181); - this_RelationTypeRestriction_1 = ruleRelationTypeRestriction(); - _fsp--; - - current = this_RelationTypeRestriction_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:2813:5: this_AttributeTypeRestriction_2= ruleAttributeTypeRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getAttributeTypeRestrictionParserRuleCall_2(), - currentNode); - - pushFollow(FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5208); - this_AttributeTypeRestriction_2 = ruleAttributeTypeRestriction(); - _fsp--; - - current = this_AttributeTypeRestriction_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:2823:5: this_AttributeTypeOfArtifactTypeRestriction_3= ruleAttributeTypeOfArtifactTypeRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getAttributeTypeOfArtifactTypeRestrictionParserRuleCall_3(), - currentNode); - - pushFollow(FOLLOW_ruleAttributeTypeOfArtifactTypeRestriction_in_ruleObjectRestriction5235); - this_AttributeTypeOfArtifactTypeRestriction_3 = ruleAttributeTypeOfArtifactTypeRestriction(); - _fsp--; - - current = this_AttributeTypeOfArtifactTypeRestriction_3; - currentNode = currentNode.getParent(); - - } - break; - case 5: - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2833:5: this_ArtifactInstanceRestriction_4= ruleArtifactInstanceRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getObjectRestrictionAccess().getArtifactInstanceRestrictionParserRuleCall_4(), - currentNode); - - pushFollow(FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5262); - this_ArtifactInstanceRestriction_4 = ruleArtifactInstanceRestriction(); - _fsp--; - - current = this_ArtifactInstanceRestriction_4; - 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:2849: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:2850:2: (iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2851:2: iv_ruleArtifactInstanceRestriction= ruleArtifactInstanceRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getArtifactInstanceRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5297); - iv_ruleArtifactInstanceRestriction = ruleArtifactInstanceRestriction(); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleArtifactTypeRestriction + + + // $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_entryRuleAttributeTypeRestriction5444); + iv_ruleAttributeTypeRestriction=ruleAttributeTypeRestriction(); _fsp--; - current = iv_ruleArtifactInstanceRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5307); + current =iv_ruleAttributeTypeRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5454); - } + } - } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleAttributeTypeRestriction - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end entryRuleArtifactInstanceRestriction + // $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; - // $ANTLR start ruleArtifactInstanceRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2858:1: ruleArtifactInstanceRestriction returns [EObject current=null] : ( 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) ; - public final EObject ruleArtifactInstanceRestriction() throws RecognitionException { - EObject current = null; + Enumerator lv_permission_0_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:2863:6: ( ( 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2864:1: ( 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2864:1: ( 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2864:3: 'artifact' ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) ';' + 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: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 ) { - match(input, 63, FOLLOW_63_in_ruleArtifactInstanceRestriction5342); + // ../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_ruleAttributeTypeRestriction5500); + lv_permission_0_0=ruleAccessPermissionEnum(); + _fsp--; - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactKeyword_0(), null); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2868:1: ( ( ruleARTIFACT_INSTANCE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2869:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2869:1: ( ruleARTIFACT_INSTANCE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2870:3: ruleARTIFACT_INSTANCE_REFERENCE - { + 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(); + - if (current == null) { - current = - factory.create(grammarAccess.getArtifactInstanceRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getArtifactInstanceRestrictionAccess().getArtifactNameXArtifactRefCrossReference_1_0(), - currentNode); - pushFollow(FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5365); - ruleARTIFACT_INSTANCE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); + match(input,69,FOLLOW_69_in_ruleAttributeTypeRestriction5510); - } + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getEditKeyword_1(), null); + + match(input,23,FOLLOW_23_in_ruleAttributeTypeRestriction5520); - } + 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 + { - match(input, 65, FOLLOW_65_in_ruleArtifactInstanceRestriction5375); + 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_ruleAttributeTypeRestriction5543); + ruleATTRIBUTE_TYPE_REFERENCE(); + _fsp--; - createLeafNode(grammarAccess.getArtifactInstanceRestrictionAccess().getSemicolonKeyword_2(), null); + + currentNode = currentNode.getParent(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleArtifactInstanceRestriction + // ../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 alt35=2; + int LA35_0 = input.LA(1); - // $ANTLR start entryRuleArtifactTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2896:1: entryRuleArtifactTypeRestriction returns [EObject current=null] : iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ; - public final EObject entryRuleArtifactTypeRestriction() throws RecognitionException { - EObject current = null; + if ( (LA35_0==70) ) { + alt35=1; + } + switch (alt35) { + 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_ruleAttributeTypeRestriction5554); - EObject iv_ruleArtifactTypeRestriction = null; + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getOfKeyword_4_0(), null); + + match(input,15,FOLLOW_15_in_ruleAttributeTypeRestriction5564); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2897:2: (iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2898:2: iv_ruleArtifactTypeRestriction= ruleArtifactTypeRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getArtifactTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5411); - iv_ruleArtifactTypeRestriction = ruleArtifactTypeRestriction(); - _fsp--; + 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 + { - current = iv_ruleArtifactTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5421); + if (current==null) { + current = factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); + associateNodeWithAstElement(currentNode, current); + } + + + currentNode=createCompositeNode(grammarAccess.getAttributeTypeRestrictionAccess().getArtifactTypeRefXArtifactTypeCrossReference_4_2_0(), currentNode); + + pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5587); + ruleARTIFACT_TYPE_REFERENCE(); + _fsp--; - } + + currentNode = currentNode.getParent(); + - } + } - 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:2905:1: ruleArtifactTypeRestriction returns [EObject current=null] : ( 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) ; - public final EObject ruleArtifactTypeRestriction() throws RecognitionException { - EObject current = null; - EObject temp = null; - setCurrentLookahead(); - resetLookahead(); + } + break; - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2910:6: ( ( 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2911:1: ( 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2911:1: ( 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2911:3: 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' - { - match(input, 15, FOLLOW_15_in_ruleArtifactTypeRestriction5456); + } - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeKeyword_0(), null); + match(input,65,FOLLOW_65_in_ruleAttributeTypeRestriction5599); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2915:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2916:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2916:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2917:3: ruleARTIFACT_TYPE_REFERENCE - { + createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_5(), null); + - if (current == null) { - current = - factory.create(grammarAccess.getArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_1_0(), - currentNode); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5479); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + } - currentNode = currentNode.getParent(); + resetLookahead(); + lastConsumedNode = currentNode; + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end ruleAttributeTypeRestriction + + + // $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_entryRuleRelationTypeRestriction5635); + iv_ruleRelationTypeRestriction=ruleRelationTypeRestriction(); + _fsp--; - } + current =iv_ruleRelationTypeRestriction; + match(input,EOF,FOLLOW_EOF_in_entryRuleRelationTypeRestriction5645); - } + } - match(input, 65, FOLLOW_65_in_ruleArtifactTypeRestriction5489); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end entryRuleRelationTypeRestriction - createLeafNode(grammarAccess.getArtifactTypeRestrictionAccess().getSemicolonKeyword_2(), null); - } + // $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; - } + Enumerator lv_permission_0_0 = null; - resetLookahead(); - lastConsumedNode = currentNode; + Enumerator lv_restrictedToSide_4_0 = null; - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + 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: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 + { + + currentNode=createCompositeNode(grammarAccess.getRelationTypeRestrictionAccess().getPermissionAccessPermissionEnumEnumRuleCall_0_0(), currentNode); + + pushFollow(FOLLOW_ruleAccessPermissionEnum_in_ruleRelationTypeRestriction5691); + lv_permission_0_0=ruleAccessPermissionEnum(); + _fsp--; - // $ANTLR end ruleArtifactTypeRestriction - // $ANTLR start entryRuleRelationTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2943:1: entryRuleRelationTypeRestriction returns [EObject current=null] : iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ; - public final EObject entryRuleRelationTypeRestriction() throws RecognitionException { - EObject current = null; + 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(); + - EObject iv_ruleRelationTypeRestriction = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2944:2: (iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2945:2: iv_ruleRelationTypeRestriction= ruleRelationTypeRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getRelationTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5525); - iv_ruleRelationTypeRestriction = ruleRelationTypeRestriction(); - _fsp--; - current = iv_ruleRelationTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleRelationTypeRestriction5535); - - } - - } - - 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:2952:1: ruleRelationTypeRestriction returns [EObject current=null] : ( 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) )? ';' ) ; - public final EObject ruleRelationTypeRestriction() throws RecognitionException { - EObject current = null; - - Enumerator lv_restrictedTo_2_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:2957:6: ( ( 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) )? ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2958:1: ( 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) )? ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2958:1: ( 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) )? ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2958:3: 'relationType' ( ( ruleRELATION_TYPE_REFERENCE ) ) ( (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) )? ';' - { - match(input, 53, FOLLOW_53_in_ruleRelationTypeRestriction5570); - - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeKeyword_0(), null); - - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2962:1: ( ( ruleRELATION_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2963:1: ( ruleRELATION_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2963:1: ( ruleRELATION_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2964:3: ruleRELATION_TYPE_REFERENCE - { - - if (current == null) { - current = - factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - currentNode = - createCompositeNode( - grammarAccess.getRelationTypeRestrictionAccess().getRelationTypeXRelationTypeCrossReference_1_0(), - currentNode); - - pushFollow(FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5593); - 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:2978:2: ( (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) )? - int alt36 = 2; - int LA36_0 = input.LA(1); - - if (LA36_0 >= 77 && LA36_0 <= 78) { - 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:2979:1: (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2979:1: (lv_restrictedTo_2_0= ruleRelationTypeSideRestriction ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:2980:3: lv_restrictedTo_2_0= ruleRelationTypeSideRestriction - { - - currentNode = - createCompositeNode( - grammarAccess.getRelationTypeRestrictionAccess().getRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0(), - currentNode); - - pushFollow(FOLLOW_ruleRelationTypeSideRestriction_in_ruleRelationTypeRestriction5614); - lv_restrictedTo_2_0 = ruleRelationTypeSideRestriction(); - _fsp--; - - if (current == null) { - current = - factory.create(grammarAccess.getRelationTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add(current, "restrictedTo", lv_restrictedTo_2_0, "RelationTypeSideRestriction", currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); + } - } + match(input,69,FOLLOW_69_in_ruleRelationTypeRestriction5701); - } - break; + createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1(), null); + + match(input,53,FOLLOW_53_in_ruleRelationTypeRestriction5711); - } + 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 + { - match(input, 65, FOLLOW_65_in_ruleRelationTypeRestriction5625); + 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_ruleRelationTypeRestriction5734); + ruleRELATION_TYPE_REFERENCE(); + _fsp--; - createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_3(), null); + + currentNode = currentNode.getParent(); + } - } - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleRelationTypeRestriction + // ../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_ruleRelationTypeRestriction5755); + lv_restrictedToSide_4_0=ruleXRelationSideEnum(); + _fsp--; - // $ANTLR start entryRuleAttributeTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3014:1: entryRuleAttributeTypeRestriction returns [EObject current=null] : iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ; - public final EObject entryRuleAttributeTypeRestriction() throws RecognitionException { - EObject current = null; - EObject iv_ruleAttributeTypeRestriction = null; + 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(); + - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3015:2: (iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3016:2: iv_ruleAttributeTypeRestriction= ruleAttributeTypeRestriction EOF - { - currentNode = createCompositeNode(grammarAccess.getAttributeTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5661); - iv_ruleAttributeTypeRestriction = ruleAttributeTypeRestriction(); - _fsp--; + } - current = iv_ruleAttributeTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5671); - } + } - } + match(input,65,FOLLOW_65_in_ruleRelationTypeRestriction5765); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + createLeafNode(grammarAccess.getRelationTypeRestrictionAccess().getSemicolonKeyword_5(), null); + - // $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:3023:1: ruleAttributeTypeRestriction returns [EObject current=null] : ( 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ';' ) ; - public final EObject ruleAttributeTypeRestriction() 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:3028:6: ( ( 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ';' ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:1: ( 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ';' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:1: ( 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ';' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3029:3: 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) ';' + 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; + + 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' ) ) { - match(input, 23, FOLLOW_23_in_ruleAttributeTypeRestriction5706); + // ../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 alt36=4; + switch ( input.LA(1) ) { + case 71: + { + alt36=1; + } + break; + case 72: + { + alt36=2; + } + break; + case 73: + { + alt36=3; + } + break; + case 74: + { + alt36=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("3118:1: ( ( 'ONE_TO_ONE' ) | ( 'ONE_TO_MANY' ) | ( 'MANY_TO_ONE' ) | ( 'MANY_TO_MANY' ) )", 36, 0, input); + + throw nvae; + } - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeKeyword_0(), null); + switch (alt36) { + 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_ruleRelationMultiplicityEnum5813); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3033:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3034:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3034:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3035:3: ruleATTRIBUTE_TYPE_REFERENCE - { + current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_ONEEnumLiteralDeclaration_0(), null); + - if (current == null) { - current = - factory.create(grammarAccess.getAttributeTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getAttributeTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0(), - currentNode); - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5729); - ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; + } + 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_ruleRelationMultiplicityEnum5828); - currentNode = currentNode.getParent(); + current = grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getONE_TO_MANYEnumLiteralDeclaration_1(), null); + - } + } - } - match(input, 65, FOLLOW_65_in_ruleAttributeTypeRestriction5739); + } + 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_ruleRelationMultiplicityEnum5843); - createLeafNode(grammarAccess.getAttributeTypeRestrictionAccess().getSemicolonKeyword_2(), null); + current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_ONEEnumLiteralDeclaration_2(), null); + - } + } - } - resetLookahead(); - lastConsumedNode = currentNode; + } + 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_ruleRelationMultiplicityEnum5858); - } + current = grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getRelationMultiplicityEnumAccess().getMANY_TO_MANYEnumLiteralDeclaration_3(), null); + - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } - // $ANTLR end ruleAttributeTypeRestriction - // $ANTLR start entryRuleAttributeTypeOfArtifactTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3061:1: entryRuleAttributeTypeOfArtifactTypeRestriction returns [EObject current=null] : iv_ruleAttributeTypeOfArtifactTypeRestriction= ruleAttributeTypeOfArtifactTypeRestriction EOF ; - public final EObject entryRuleAttributeTypeOfArtifactTypeRestriction() throws RecognitionException { - EObject current = null; + } + break; - EObject iv_ruleAttributeTypeOfArtifactTypeRestriction = null; + } - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3062:2: (iv_ruleAttributeTypeOfArtifactTypeRestriction= ruleAttributeTypeOfArtifactTypeRestriction EOF ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3063:2: iv_ruleAttributeTypeOfArtifactTypeRestriction= ruleAttributeTypeOfArtifactTypeRestriction EOF - { - currentNode = - createCompositeNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule(), currentNode); - pushFollow(FOLLOW_ruleAttributeTypeOfArtifactTypeRestriction_in_entryRuleAttributeTypeOfArtifactTypeRestriction5775); - iv_ruleAttributeTypeOfArtifactTypeRestriction = ruleAttributeTypeOfArtifactTypeRestriction(); - _fsp--; - current = iv_ruleAttributeTypeOfArtifactTypeRestriction; - match(input, EOF, FOLLOW_EOF_in_entryRuleAttributeTypeOfArtifactTypeRestriction5785); + } - } + 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 alt37=2; + int LA37_0 = input.LA(1); - } + if ( (LA37_0==75) ) { + alt37=1; + } + else if ( (LA37_0==76) ) { + alt37=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("3151:1: ( ( 'ALLOW' ) | ( 'DENY' ) )", 37, 0, input); - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + 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: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_ruleAccessPermissionEnum5901); - // $ANTLR end entryRuleAttributeTypeOfArtifactTypeRestriction + current = grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getAccessPermissionEnumAccess().getALLOWEnumLiteralDeclaration_0(), null); + - // $ANTLR start ruleAttributeTypeOfArtifactTypeRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3070:1: ruleAttributeTypeOfArtifactTypeRestriction returns [EObject current=null] : ( 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' ) ; - public final EObject ruleAttributeTypeOfArtifactTypeRestriction() 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:3075:6: ( ( '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:3076:1: ( '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:3076:1: ( '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:3076:3: 'attributeType' ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) 'of' 'artifactType' ( ( ruleARTIFACT_TYPE_REFERENCE ) ) ';' - { - match(input, 23, FOLLOW_23_in_ruleAttributeTypeOfArtifactTypeRestriction5820); + } + 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_ruleAccessPermissionEnum5916); - createLeafNode( - grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeKeyword_0(), null); + current = grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getAccessPermissionEnumAccess().getDENYEnumLiteralDeclaration_1(), null); + - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3080:1: ( ( ruleATTRIBUTE_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3081:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3081:1: ( ruleATTRIBUTE_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3082:3: ruleATTRIBUTE_TYPE_REFERENCE - { + } - if (current == null) { - current = - factory.create(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - currentNode = - createCompositeNode( - grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getAttributeTypeXAttributeTypeCrossReference_1_0(), - currentNode); + } + break; - pushFollow(FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeOfArtifactTypeRestriction5843); - ruleATTRIBUTE_TYPE_REFERENCE(); - _fsp--; - - currentNode = currentNode.getParent(); - - } - - } + } - match(input, 70, FOLLOW_70_in_ruleAttributeTypeOfArtifactTypeRestriction5853); - createLeafNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getOfKeyword_2(), null); + } - match(input, 15, FOLLOW_15_in_ruleAttributeTypeOfArtifactTypeRestriction5863); + 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 alt38=3; + switch ( input.LA(1) ) { + case 77: + { + alt38=1; + } + break; + case 78: + { + alt38=2; + } + break; + case 79: + { + alt38=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("3172:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) | ( 'BOTH' ) )", 38, 0, input); + + throw nvae; + } - createLeafNode( - grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeKeyword_3(), null); + switch (alt38) { + 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_ruleXRelationSideEnum5959); - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3104:1: ( ( ruleARTIFACT_TYPE_REFERENCE ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3105:1: ( ruleARTIFACT_TYPE_REFERENCE ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3105:1: ( ruleARTIFACT_TYPE_REFERENCE ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3106:3: ruleARTIFACT_TYPE_REFERENCE - { + current = grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_AEnumLiteralDeclaration_0(), null); + - if (current == null) { - current = - factory.create(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } + } - currentNode = - createCompositeNode( - grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getArtifactTypeXArtifactTypeCrossReference_4_0(), - currentNode); - pushFollow(FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeOfArtifactTypeRestriction5886); - ruleARTIFACT_TYPE_REFERENCE(); - _fsp--; + } + 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_ruleXRelationSideEnum5974); - currentNode = currentNode.getParent(); + current = grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getXRelationSideEnumAccess().getSIDE_BEnumLiteralDeclaration_1(), null); + - } + } - } - match(input, 65, FOLLOW_65_in_ruleAttributeTypeOfArtifactTypeRestriction5896); + } + 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_ruleXRelationSideEnum5989); - createLeafNode(grammarAccess.getAttributeTypeOfArtifactTypeRestrictionAccess().getSemicolonKeyword_5(), - null); - - } - - } + current = grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + createLeafNode(grammarAccess.getXRelationSideEnumAccess().getBOTHEnumLiteralDeclaration_2(), null); + - resetLookahead(); - lastConsumedNode = currentNode; + } - } - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } + } + break; - // $ANTLR end ruleAttributeTypeOfArtifactTypeRestriction - - // $ANTLR start ruleRelationMultiplicityEnum - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3132: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; + } - setCurrentLookahead(); - resetLookahead(); - try { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3136: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:3137: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:3137: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( - "3137: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:3137:2: ( 'ONE_TO_ONE' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3137:2: ( 'ONE_TO_ONE' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3137:4: 'ONE_TO_ONE' - { - match(input, 71, FOLLOW_71_in_ruleRelationMultiplicityEnum5944); - - 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:3143:6: ( 'ONE_TO_MANY' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3143:6: ( 'ONE_TO_MANY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3143:8: 'ONE_TO_MANY' - { - match(input, 72, FOLLOW_72_in_ruleRelationMultiplicityEnum5959); - - 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:3149:6: ( 'MANY_TO_ONE' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3149:6: ( 'MANY_TO_ONE' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3149:8: 'MANY_TO_ONE' - { - match(input, 73, FOLLOW_73_in_ruleRelationMultiplicityEnum5974); - - 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:3155:6: ( 'MANY_TO_MANY' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3155:6: ( 'MANY_TO_MANY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3155:8: 'MANY_TO_MANY' - { - match(input, 74, FOLLOW_74_in_ruleRelationMultiplicityEnum5989); - - 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:3165: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:3169:6: ( ( ( 'ALLOW' ) | ( 'DENY' ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3170:1: ( ( 'ALLOW' ) | ( 'DENY' ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3170: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("3170: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:3170:2: ( 'ALLOW' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3170:2: ( 'ALLOW' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3170:4: 'ALLOW' - { - match(input, 75, FOLLOW_75_in_ruleAccessPermissionEnum6032); - - 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:3176:6: ( 'DENY' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3176:6: ( 'DENY' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3176:8: 'DENY' - { - match(input, 76, FOLLOW_76_in_ruleAccessPermissionEnum6047); - - 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 ruleRelationTypeSideRestriction - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3186:1: ruleRelationTypeSideRestriction returns [Enumerator current=null] : ( ( 'SIDE_A' ) | ( 'SIDE_B' ) ) ; - public final Enumerator ruleRelationTypeSideRestriction() 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:3190:6: ( ( ( 'SIDE_A' ) | ( 'SIDE_B' ) ) ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3191:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3191:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) ) - int alt39 = 2; - int LA39_0 = input.LA(1); - - if (LA39_0 == 77) { - alt39 = 1; - } else if (LA39_0 == 78) { - alt39 = 2; - } else { - NoViableAltException nvae = - new NoViableAltException("3191:1: ( ( 'SIDE_A' ) | ( 'SIDE_B' ) )", 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:3191:2: ( 'SIDE_A' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3191:2: ( 'SIDE_A' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3191:4: 'SIDE_A' - { - match(input, 77, FOLLOW_77_in_ruleRelationTypeSideRestriction6090); - - current = - grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_AEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - createLeafNode( - grammarAccess.getRelationTypeSideRestrictionAccess().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:3197:6: ( 'SIDE_B' ) - { - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3197:6: ( 'SIDE_B' ) - // ../org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/parser/antlr/internal/InternalOseeDsl.g:3197:8: 'SIDE_B' - { - match(input, 78, FOLLOW_78_in_ruleRelationTypeSideRestriction6105); - - current = - grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_BEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - createLeafNode( - grammarAccess.getRelationTypeSideRestrictionAccess().getSIDE_BEnumLiteralDeclaration_1(), null); - - } - - } - break; - - } - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input, re); - appendSkippedTokens(); - } finally { - } - return current; - } - // $ANTLR end ruleRelationTypeSideRestriction - - 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[] {0x0000000000100000L, - 0x0000000000001810L}); - public static final BitSet FOLLOW_rulePermissionRule_in_ruleAccessContext4760 = new BitSet(new long[] { - 0x0000000000100000L, 0x0000000000001810L}); - public static final BitSet FOLLOW_ruleHierarchyRestriction_in_ruleAccessContext4782 = new BitSet(new long[] { - 0x0000000000100000L, 0x0000000000000010L}); - public static final BitSet FOLLOW_20_in_ruleAccessContext4793 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHierarchyRestriction_in_entryRuleHierarchyRestriction4829 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleHierarchyRestriction4839 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_68_in_ruleHierarchyRestriction4874 = new BitSet(new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleHierarchyRestriction4897 = new BitSet( - new long[] {0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleHierarchyRestriction4907 = new BitSet(new long[] {0x0000000000000000L, - 0x0000000000001800L}); - public static final BitSet FOLLOW_rulePermissionRule_in_ruleHierarchyRestriction4928 = new BitSet( - new long[] {0x0000000000100000L}); - public static final BitSet FOLLOW_20_in_ruleHierarchyRestriction4938 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_rulePermissionRule_in_entryRulePermissionRule4974 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePermissionRule4984 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_rulePermissionRule5030 = new BitSet(new long[] { - 0x0000000000000000L, 0x0000000000000020L}); - public static final BitSet FOLLOW_69_in_rulePermissionRule5040 = new BitSet(new long[] {0x8020000000808000L}); - public static final BitSet FOLLOW_ruleObjectRestriction_in_rulePermissionRule5061 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction5097 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleObjectRestriction5107 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5154 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5181 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5208 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeTypeOfArtifactTypeRestriction_in_ruleObjectRestriction5235 = - new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5262 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5297 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5307 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_63_in_ruleArtifactInstanceRestriction5342 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5365 = - new BitSet(new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleArtifactInstanceRestriction5375 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5411 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5421 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_15_in_ruleArtifactTypeRestriction5456 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5479 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleArtifactTypeRestriction5489 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5525 = new BitSet( - new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRelationTypeRestriction5535 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_53_in_ruleRelationTypeRestriction5570 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5593 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000006002L}); - public static final BitSet FOLLOW_ruleRelationTypeSideRestriction_in_ruleRelationTypeRestriction5614 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleRelationTypeRestriction5625 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5661 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5671 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_23_in_ruleAttributeTypeRestriction5706 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5729 = new BitSet( - new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleAttributeTypeRestriction5739 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAttributeTypeOfArtifactTypeRestriction_in_entryRuleAttributeTypeOfArtifactTypeRestriction5775 = - new BitSet(new long[] {0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAttributeTypeOfArtifactTypeRestriction5785 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_23_in_ruleAttributeTypeOfArtifactTypeRestriction5820 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeOfArtifactTypeRestriction5843 = - new BitSet(new long[] {0x0000000000000000L, 0x0000000000000040L}); - public static final BitSet FOLLOW_70_in_ruleAttributeTypeOfArtifactTypeRestriction5853 = new BitSet( - new long[] {0x0000000000008000L}); - public static final BitSet FOLLOW_15_in_ruleAttributeTypeOfArtifactTypeRestriction5863 = new BitSet( - new long[] {0x0000000000000010L}); - public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeOfArtifactTypeRestriction5886 = - new BitSet(new long[] {0x0000000000000000L, 0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleAttributeTypeOfArtifactTypeRestriction5896 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_71_in_ruleRelationMultiplicityEnum5944 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_72_in_ruleRelationMultiplicityEnum5959 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_73_in_ruleRelationMultiplicityEnum5974 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_74_in_ruleRelationMultiplicityEnum5989 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_75_in_ruleAccessPermissionEnum6032 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_76_in_ruleAccessPermissionEnum6047 = new BitSet(new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_77_in_ruleRelationTypeSideRestriction6090 = new BitSet( - new long[] {0x0000000000000002L}); - public static final BitSet FOLLOW_78_in_ruleRelationTypeSideRestriction6105 = new BitSet( - new long[] {0x0000000000000002L}); + 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}); + public static final BitSet FOLLOW_20_in_ruleHierarchyRestriction4945 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleObjectRestriction_in_entryRuleObjectRestriction4981 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleObjectRestriction4991 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_ruleObjectRestriction5038 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_ruleObjectRestriction5065 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_ruleObjectRestriction5092 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_ruleObjectRestriction5119 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactInstanceRestriction_in_entryRuleArtifactInstanceRestriction5154 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleArtifactInstanceRestriction5164 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactInstanceRestriction5210 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleArtifactInstanceRestriction5220 = new BitSet(new long[]{0x8000000000000000L}); + public static final BitSet FOLLOW_63_in_ruleArtifactInstanceRestriction5230 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_INSTANCE_REFERENCE_in_ruleArtifactInstanceRestriction5253 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleArtifactInstanceRestriction5263 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleArtifactTypeRestriction_in_entryRuleArtifactTypeRestriction5299 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleArtifactTypeRestriction5309 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleArtifactTypeRestriction5355 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleArtifactTypeRestriction5365 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_in_ruleArtifactTypeRestriction5375 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleArtifactTypeRestriction5398 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleArtifactTypeRestriction5408 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttributeTypeRestriction_in_entryRuleAttributeTypeRestriction5444 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAttributeTypeRestriction5454 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleAttributeTypeRestriction5500 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleAttributeTypeRestriction5510 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_23_in_ruleAttributeTypeRestriction5520 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleATTRIBUTE_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5543 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000042L}); + public static final BitSet FOLLOW_70_in_ruleAttributeTypeRestriction5554 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_in_ruleAttributeTypeRestriction5564 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleARTIFACT_TYPE_REFERENCE_in_ruleAttributeTypeRestriction5587 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleAttributeTypeRestriction5599 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRelationTypeRestriction_in_entryRuleRelationTypeRestriction5635 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRelationTypeRestriction5645 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAccessPermissionEnum_in_ruleRelationTypeRestriction5691 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_69_in_ruleRelationTypeRestriction5701 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_53_in_ruleRelationTypeRestriction5711 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleRELATION_TYPE_REFERENCE_in_ruleRelationTypeRestriction5734 = new BitSet(new long[]{0x0000000000000000L,0x000000000000E000L}); + public static final BitSet FOLLOW_ruleXRelationSideEnum_in_ruleRelationTypeRestriction5755 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleRelationTypeRestriction5765 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_71_in_ruleRelationMultiplicityEnum5813 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_72_in_ruleRelationMultiplicityEnum5828 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_73_in_ruleRelationMultiplicityEnum5843 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_74_in_ruleRelationMultiplicityEnum5858 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_75_in_ruleAccessPermissionEnum5901 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_76_in_ruleAccessPermissionEnum5916 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_77_in_ruleXRelationSideEnum5959 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_78_in_ruleXRelationSideEnum5974 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_79_in_ruleXRelationSideEnum5989 = 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 index 84e49a3e59f..2e3bf8c2d11 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 @@ -74,29 +74,30 @@ 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" 3206 +// $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" 3208 +// $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" 3210 +// $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" 3212 +// $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" 3214 +// $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" 3216 +// $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" 3218 +// $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" 3220 +// $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 1f88b441276..e161ed36c24 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,3261 +1,2309 @@ /* - * 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // "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 returns ecore::EString: + // "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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 returns ecore::EString: + // 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 cTypeGuidAssignment_5 = (Assignment) cGroup.eContents().get(5); - private final RuleCall cTypeGuidSTRINGTerminalRuleCall_5_0 = (RuleCall) cTypeGuidAssignment_5.eContents().get(0); - private final Keyword cSemicolonKeyword_6 = (Keyword) cGroup.eContents().get(6); - private final Assignment cAccessRulesAssignment_7 = (Assignment) cGroup.eContents().get(7); - private final RuleCall cAccessRulesPermissionRuleParserRuleCall_7_0 = - (RuleCall) cAccessRulesAssignment_7.eContents().get(0); - private final Assignment cHierarchyRestrictionsAssignment_8 = (Assignment) cGroup.eContents().get(8); - private final RuleCall cHierarchyRestrictionsHierarchyRestrictionParserRuleCall_8_0 = - (RuleCall) cHierarchyRestrictionsAssignment_8.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_9 = (Keyword) cGroup.eContents().get(9); - - //AccessContext: - // "accessContext" name=ACCESS_CONTEXT_TYPE_REFRENCE ("extends" - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE] ("," - // superAccessContexts+=[AccessContext|ACCESS_CONTEXT_TYPE_REFRENCE])*)? "{" "guid" typeGuid=STRING ";" //(branchRestrictions+=BranchRestriction)* - // accessRules+=PermissionRule* 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" typeGuid=STRING ";" //(branchRestrictions+=BranchRestriction)* - //accessRules+=PermissionRule* 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; - } - - //typeGuid=STRING - public Assignment getTypeGuidAssignment_5() { - return cTypeGuidAssignment_5; - } - - //STRING - public RuleCall getTypeGuidSTRINGTerminalRuleCall_5_0() { - return cTypeGuidSTRINGTerminalRuleCall_5_0; - } - - //";" - public Keyword getSemicolonKeyword_6() { - return cSemicolonKeyword_6; - } - - //accessRules+=PermissionRule* - public Assignment getAccessRulesAssignment_7() { - return cAccessRulesAssignment_7; - } - - //PermissionRule - public RuleCall getAccessRulesPermissionRuleParserRuleCall_7_0() { - return cAccessRulesPermissionRuleParserRuleCall_7_0; - } - - //hierarchyRestrictions+=HierarchyRestriction* - public Assignment getHierarchyRestrictionsAssignment_8() { - return cHierarchyRestrictionsAssignment_8; - } - - //HierarchyRestriction - public RuleCall getHierarchyRestrictionsHierarchyRestrictionParserRuleCall_8_0() { - return cHierarchyRestrictionsHierarchyRestrictionParserRuleCall_8_0; - } - - //"}" - public Keyword getRightCurlyBracketKeyword_9() { - return cRightCurlyBracketKeyword_9; - } - } - - 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 cAccessRulesPermissionRuleParserRuleCall_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+=PermissionRule "}"; - @Override - public ParserRule getRule() { - return rule; - } - - //"childrenOf" artifact=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] "{" accessRules+=PermissionRule "}" - 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+=PermissionRule - public Assignment getAccessRulesAssignment_3() { - return cAccessRulesAssignment_3; - } - - //PermissionRule - public RuleCall getAccessRulesPermissionRuleParserRuleCall_3_0() { - return cAccessRulesPermissionRuleParserRuleCall_3_0; - } - - //"}" - public Keyword getRightCurlyBracketKeyword_4() { - return cRightCurlyBracketKeyword_4; - } - } - - public class PermissionRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PermissionRule"); - 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 Assignment cObjectRestrictionAssignment_2 = (Assignment) cGroup.eContents().get(2); - private final RuleCall cObjectRestrictionObjectRestrictionParserRuleCall_2_0 = - (RuleCall) cObjectRestrictionAssignment_2.eContents().get(0); - - ////BranchRestriction: - //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; - //PermissionRule: - // permission=AccessPermissionEnum "edit" objectRestriction=ObjectRestriction; - @Override - public ParserRule getRule() { - return rule; - } - - //permission=AccessPermissionEnum "edit" objectRestriction=ObjectRestriction - 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; - } - - //objectRestriction=ObjectRestriction - public Assignment getObjectRestrictionAssignment_2() { - return cObjectRestrictionAssignment_2; - } - - //ObjectRestriction - public RuleCall getObjectRestrictionObjectRestrictionParserRuleCall_2_0() { - return cObjectRestrictionObjectRestrictionParserRuleCall_2_0; - } - } - - 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 cArtifactTypeRestrictionParserRuleCall_0 = (RuleCall) cAlternatives.eContents().get(0); - private final RuleCall cRelationTypeRestrictionParserRuleCall_1 = (RuleCall) cAlternatives.eContents().get(1); - private final RuleCall cAttributeTypeRestrictionParserRuleCall_2 = (RuleCall) cAlternatives.eContents().get(2); - private final RuleCall cAttributeTypeOfArtifactTypeRestrictionParserRuleCall_3 = - (RuleCall) cAlternatives.eContents().get(3); - private final RuleCall cArtifactInstanceRestrictionParserRuleCall_4 = (RuleCall) cAlternatives.eContents().get(4); - - //ObjectRestriction: - // ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction | AttributeTypeOfArtifactTypeRestriction - // | ArtifactInstanceRestriction; - @Override - public ParserRule getRule() { - return rule; - } - - //ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction | AttributeTypeOfArtifactTypeRestriction | - //ArtifactInstanceRestriction - public Alternatives getAlternatives() { - return cAlternatives; - } - - //ArtifactTypeRestriction - public RuleCall getArtifactTypeRestrictionParserRuleCall_0() { - return cArtifactTypeRestrictionParserRuleCall_0; - } - - //RelationTypeRestriction - public RuleCall getRelationTypeRestrictionParserRuleCall_1() { - return cRelationTypeRestrictionParserRuleCall_1; - } - - //AttributeTypeRestriction - public RuleCall getAttributeTypeRestrictionParserRuleCall_2() { - return cAttributeTypeRestrictionParserRuleCall_2; - } - - //AttributeTypeOfArtifactTypeRestriction - public RuleCall getAttributeTypeOfArtifactTypeRestrictionParserRuleCall_3() { - return cAttributeTypeOfArtifactTypeRestrictionParserRuleCall_3; - } - - //ArtifactInstanceRestriction - public RuleCall getArtifactInstanceRestrictionParserRuleCall_4() { - return cArtifactInstanceRestrictionParserRuleCall_4; - } - } - - 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 Keyword cArtifactKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cArtifactNameAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final CrossReference cArtifactNameXArtifactRefCrossReference_1_0 = - (CrossReference) cArtifactNameAssignment_1.eContents().get(0); - private final RuleCall cArtifactNameXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cArtifactNameXArtifactRefCrossReference_1_0.eContents().get(1); - private final Keyword cSemicolonKeyword_2 = (Keyword) cGroup.eContents().get(2); - - //ArtifactInstanceRestriction: - // "artifact" artifactName=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"artifact" artifactName=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";" - public Group getGroup() { - return cGroup; - } - - //"artifact" - public Keyword getArtifactKeyword_0() { - return cArtifactKeyword_0; - } - - //artifactName=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - public Assignment getArtifactNameAssignment_1() { - return cArtifactNameAssignment_1; - } - - //[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] - public CrossReference getArtifactNameXArtifactRefCrossReference_1_0() { - return cArtifactNameXArtifactRefCrossReference_1_0; - } - - //ARTIFACT_INSTANCE_REFERENCE - public RuleCall getArtifactNameXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1() { - return cArtifactNameXArtifactRefARTIFACT_INSTANCE_REFERENCEParserRuleCall_1_0_1; - } - - //";" - public Keyword getSemicolonKeyword_2() { - return cSemicolonKeyword_2; - } - } - - 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 Keyword cArtifactTypeKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cArtifactTypeAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final CrossReference cArtifactTypeXArtifactTypeCrossReference_1_0 = - (CrossReference) cArtifactTypeAssignment_1.eContents().get(0); - private final RuleCall cArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cArtifactTypeXArtifactTypeCrossReference_1_0.eContents().get(1); - private final Keyword cSemicolonKeyword_2 = (Keyword) cGroup.eContents().get(2); - - //ArtifactTypeRestriction: - // "artifactType" artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"artifactType" artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" - public Group getGroup() { - return cGroup; - } - - //"artifactType" - public Keyword getArtifactTypeKeyword_0() { - return cArtifactTypeKeyword_0; - } - - //artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public Assignment getArtifactTypeAssignment_1() { - return cArtifactTypeAssignment_1; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getArtifactTypeXArtifactTypeCrossReference_1_0() { - return cArtifactTypeXArtifactTypeCrossReference_1_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_1_0_1; - } - - //";" - public Keyword getSemicolonKeyword_2() { - return cSemicolonKeyword_2; - } - } - - 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 Keyword cRelationTypeKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cRelationTypeAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final CrossReference cRelationTypeXRelationTypeCrossReference_1_0 = - (CrossReference) cRelationTypeAssignment_1.eContents().get(0); - private final RuleCall cRelationTypeXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cRelationTypeXRelationTypeCrossReference_1_0.eContents().get(1); - private final Assignment cRestrictedToAssignment_2 = (Assignment) cGroup.eContents().get(2); - private final RuleCall cRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0 = - (RuleCall) cRestrictedToAssignment_2.eContents().get(0); - private final Keyword cSemicolonKeyword_3 = (Keyword) cGroup.eContents().get(3); - - //RelationTypeRestriction: - // "relationType" relationType=[XRelationType|RELATION_TYPE_REFERENCE] restrictedTo+=RelationTypeSideRestriction? ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"relationType" relationType=[XRelationType|RELATION_TYPE_REFERENCE] restrictedTo+=RelationTypeSideRestriction? ";" - public Group getGroup() { - return cGroup; - } - - //"relationType" - public Keyword getRelationTypeKeyword_0() { - return cRelationTypeKeyword_0; - } - - //relationType=[XRelationType|RELATION_TYPE_REFERENCE] - public Assignment getRelationTypeAssignment_1() { - return cRelationTypeAssignment_1; - } - - //[XRelationType|RELATION_TYPE_REFERENCE] - public CrossReference getRelationTypeXRelationTypeCrossReference_1_0() { - return cRelationTypeXRelationTypeCrossReference_1_0; - } - - //RELATION_TYPE_REFERENCE - public RuleCall getRelationTypeXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cRelationTypeXRelationTypeRELATION_TYPE_REFERENCEParserRuleCall_1_0_1; - } - - //restrictedTo+=RelationTypeSideRestriction? - public Assignment getRestrictedToAssignment_2() { - return cRestrictedToAssignment_2; - } - - //RelationTypeSideRestriction - public RuleCall getRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0() { - return cRestrictedToRelationTypeSideRestrictionEnumRuleCall_2_0; - } - - //";" - public Keyword getSemicolonKeyword_3() { - return cSemicolonKeyword_3; - } - } - - 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 Keyword cAttributeTypeKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cAttributeTypeAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final CrossReference cAttributeTypeXAttributeTypeCrossReference_1_0 = - (CrossReference) cAttributeTypeAssignment_1.eContents().get(0); - private final RuleCall cAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cAttributeTypeXAttributeTypeCrossReference_1_0.eContents().get(1); - private final Keyword cSemicolonKeyword_2 = (Keyword) cGroup.eContents().get(2); - - //AttributeTypeRestriction: - // "attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ";" - public Group getGroup() { - return cGroup; - } - - //"attributeType" - public Keyword getAttributeTypeKeyword_0() { - return cAttributeTypeKeyword_0; - } - - //attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public Assignment getAttributeTypeAssignment_1() { - return cAttributeTypeAssignment_1; - } - - //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public CrossReference getAttributeTypeXAttributeTypeCrossReference_1_0() { - return cAttributeTypeXAttributeTypeCrossReference_1_0; - } - - //ATTRIBUTE_TYPE_REFERENCE - public RuleCall getAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1; - } - - //";" - public Keyword getSemicolonKeyword_2() { - return cSemicolonKeyword_2; - } - } - - public class AttributeTypeOfArtifactTypeRestrictionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), - "AttributeTypeOfArtifactTypeRestriction"); - private final Group cGroup = (Group) rule.eContents().get(1); - private final Keyword cAttributeTypeKeyword_0 = (Keyword) cGroup.eContents().get(0); - private final Assignment cAttributeTypeAssignment_1 = (Assignment) cGroup.eContents().get(1); - private final CrossReference cAttributeTypeXAttributeTypeCrossReference_1_0 = - (CrossReference) cAttributeTypeAssignment_1.eContents().get(0); - private final RuleCall cAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1 = - (RuleCall) cAttributeTypeXAttributeTypeCrossReference_1_0.eContents().get(1); - private final Keyword cOfKeyword_2 = (Keyword) cGroup.eContents().get(2); - private final Keyword cArtifactTypeKeyword_3 = (Keyword) cGroup.eContents().get(3); - private final Assignment cArtifactTypeAssignment_4 = (Assignment) cGroup.eContents().get(4); - private final CrossReference cArtifactTypeXArtifactTypeCrossReference_4_0 = - (CrossReference) cArtifactTypeAssignment_4.eContents().get(0); - private final RuleCall cArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_0_1 = - (RuleCall) cArtifactTypeXArtifactTypeCrossReference_4_0.eContents().get(1); - private final Keyword cSemicolonKeyword_5 = (Keyword) cGroup.eContents().get(5); - - //AttributeTypeOfArtifactTypeRestriction: - // "attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] "of" "artifactType" - // artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - @Override - public ParserRule getRule() { - return rule; - } - - //"attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] "of" "artifactType" - //artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";" - public Group getGroup() { - return cGroup; - } - - //"attributeType" - public Keyword getAttributeTypeKeyword_0() { - return cAttributeTypeKeyword_0; - } - - //attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public Assignment getAttributeTypeAssignment_1() { - return cAttributeTypeAssignment_1; - } - - //[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] - public CrossReference getAttributeTypeXAttributeTypeCrossReference_1_0() { - return cAttributeTypeXAttributeTypeCrossReference_1_0; - } - - //ATTRIBUTE_TYPE_REFERENCE - public RuleCall getAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1() { - return cAttributeTypeXAttributeTypeATTRIBUTE_TYPE_REFERENCEParserRuleCall_1_0_1; - } - - //"of" - public Keyword getOfKeyword_2() { - return cOfKeyword_2; - } - - //"artifactType" - public Keyword getArtifactTypeKeyword_3() { - return cArtifactTypeKeyword_3; - } - - //artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public Assignment getArtifactTypeAssignment_4() { - return cArtifactTypeAssignment_4; - } - - //[XArtifactType|ARTIFACT_TYPE_REFERENCE] - public CrossReference getArtifactTypeXArtifactTypeCrossReference_4_0() { - return cArtifactTypeXArtifactTypeCrossReference_4_0; - } - - //ARTIFACT_TYPE_REFERENCE - public RuleCall getArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_0_1() { - return cArtifactTypeXArtifactTypeARTIFACT_TYPE_REFERENCEParserRuleCall_4_0_1; - } - - //";" - 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 RelationTypeSideRestrictionElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "RelationTypeSideRestriction"); - 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); - - //enum RelationTypeSideRestriction: - // SIDE_A | SIDE_B; - @Override - public EnumRule getRule() { - return rule; - } - - //SIDE_A | SIDE_B - 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; - } - } - - 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 PermissionRuleElements pPermissionRule; - private AccessPermissionEnumElements unknownRuleAccessPermissionEnum; - private ObjectRestrictionElements pObjectRestriction; - private ArtifactInstanceRestrictionElements pArtifactInstanceRestriction; - private ArtifactTypeRestrictionElements pArtifactTypeRestriction; - private RelationTypeRestrictionElements pRelationTypeRestriction; - private RelationTypeSideRestrictionElements unknownRuleRelationTypeSideRestriction; - private AttributeTypeRestrictionElements pAttributeTypeRestriction; - private AttributeTypeOfArtifactTypeRestrictionElements pAttributeTypeOfArtifactTypeRestriction; - - 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" typeGuid=STRING ";" //(branchRestrictions+=BranchRestriction)* - // accessRules+=PermissionRule* 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+=PermissionRule "}"; - public HierarchyRestrictionElements getHierarchyRestrictionAccess() { - return pHierarchyRestriction != null ? pHierarchyRestriction : (pHierarchyRestriction = - new HierarchyRestrictionElements()); - } - - public ParserRule getHierarchyRestrictionRule() { - return getHierarchyRestrictionAccess().getRule(); - } - - ////BranchRestriction: - //// 'onBranch' branch=[XBranchRef|BRANCH_INSTANCE_REFERENCE] '{' accessRule+=PermissionRule '}'; - //PermissionRule: - // permission=AccessPermissionEnum "edit" objectRestriction=ObjectRestriction; - public PermissionRuleElements getPermissionRuleAccess() { - return pPermissionRule != null ? pPermissionRule : (pPermissionRule = new PermissionRuleElements()); - } - - public ParserRule getPermissionRuleRule() { - return getPermissionRuleAccess().getRule(); - } - - //enum AccessPermissionEnum: - // ALLOW | DENY; - public AccessPermissionEnumElements getAccessPermissionEnumAccess() { - return unknownRuleAccessPermissionEnum != null ? unknownRuleAccessPermissionEnum : (unknownRuleAccessPermissionEnum = - new AccessPermissionEnumElements()); - } - - public EnumRule getAccessPermissionEnumRule() { - return getAccessPermissionEnumAccess().getRule(); - } - - //ObjectRestriction: - // ArtifactTypeRestriction | RelationTypeRestriction | AttributeTypeRestriction | AttributeTypeOfArtifactTypeRestriction - // | ArtifactInstanceRestriction; - public ObjectRestrictionElements getObjectRestrictionAccess() { - return pObjectRestriction != null ? pObjectRestriction : (pObjectRestriction = new ObjectRestrictionElements()); - } - - public ParserRule getObjectRestrictionRule() { - return getObjectRestrictionAccess().getRule(); - } - - //ArtifactInstanceRestriction: - // "artifact" artifactName=[XArtifactRef|ARTIFACT_INSTANCE_REFERENCE] ";"; - public ArtifactInstanceRestrictionElements getArtifactInstanceRestrictionAccess() { - return pArtifactInstanceRestriction != null ? pArtifactInstanceRestriction : (pArtifactInstanceRestriction = - new ArtifactInstanceRestrictionElements()); - } - - public ParserRule getArtifactInstanceRestrictionRule() { - return getArtifactInstanceRestrictionAccess().getRule(); - } - - //ArtifactTypeRestriction: - // "artifactType" artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - public ArtifactTypeRestrictionElements getArtifactTypeRestrictionAccess() { - return pArtifactTypeRestriction != null ? pArtifactTypeRestriction : (pArtifactTypeRestriction = - new ArtifactTypeRestrictionElements()); - } - - public ParserRule getArtifactTypeRestrictionRule() { - return getArtifactTypeRestrictionAccess().getRule(); - } - - //RelationTypeRestriction: - // "relationType" relationType=[XRelationType|RELATION_TYPE_REFERENCE] restrictedTo+=RelationTypeSideRestriction? ";"; - public RelationTypeRestrictionElements getRelationTypeRestrictionAccess() { - return pRelationTypeRestriction != null ? pRelationTypeRestriction : (pRelationTypeRestriction = - new RelationTypeRestrictionElements()); - } - - public ParserRule getRelationTypeRestrictionRule() { - return getRelationTypeRestrictionAccess().getRule(); - } - - //enum RelationTypeSideRestriction: - // SIDE_A | SIDE_B; - public RelationTypeSideRestrictionElements getRelationTypeSideRestrictionAccess() { - return unknownRuleRelationTypeSideRestriction != null ? unknownRuleRelationTypeSideRestriction : (unknownRuleRelationTypeSideRestriction = - new RelationTypeSideRestrictionElements()); - } - - public EnumRule getRelationTypeSideRestrictionRule() { - return getRelationTypeSideRestrictionAccess().getRule(); - } - - //AttributeTypeRestriction: - // "attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] ";"; - public AttributeTypeRestrictionElements getAttributeTypeRestrictionAccess() { - return pAttributeTypeRestriction != null ? pAttributeTypeRestriction : (pAttributeTypeRestriction = - new AttributeTypeRestrictionElements()); - } - - public ParserRule getAttributeTypeRestrictionRule() { - return getAttributeTypeRestrictionAccess().getRule(); - } - - //AttributeTypeOfArtifactTypeRestriction: - // "attributeType" attributeType=[XAttributeType|ATTRIBUTE_TYPE_REFERENCE] "of" "artifactType" - // artifactType=[XArtifactType|ARTIFACT_TYPE_REFERENCE] ";"; - public AttributeTypeOfArtifactTypeRestrictionElements getAttributeTypeOfArtifactTypeRestrictionAccess() { - return pAttributeTypeOfArtifactTypeRestriction != null ? pAttributeTypeOfArtifactTypeRestriction : (pAttributeTypeOfArtifactTypeRestriction = - new AttributeTypeOfArtifactTypeRestrictionElements()); - } - - public ParserRule getAttributeTypeOfArtifactTypeRestrictionRule() { - return getAttributeTypeOfArtifactTypeRestrictionAccess().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; } + + ////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 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 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(); + } } 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 6862ce796d0..6c4ee39ff47 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,20 +1,20 @@ 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; + } } |