/* * generated by Xtext */ package org.lunifera.dsl.entity.xtext.services; import com.google.inject.Singleton; import com.google.inject.Inject; import java.util.List; import org.eclipse.xtext.*; import org.eclipse.xtext.service.GrammarProvider; import org.eclipse.xtext.service.AbstractElementFinder.*; import org.lunifera.dsl.common.xtext.services.CommonGrammarGrammarAccess; import org.eclipse.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess; import org.eclipse.xtext.xbase.services.XbaseGrammarAccess; import org.eclipse.xtext.xbase.services.XtypeGrammarAccess; @Singleton public class EntityGrammarGrammarAccess extends AbstractGrammarElementFinder { public class EntityModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityModel"); private final Assignment cPackagesAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cPackagesTypedPackageParserRuleCall_0 = (RuleCall)cPackagesAssignment.eContents().get(0); //EntityModel returns entity::LEntityModel: // packages+=TypedPackage*; public ParserRule getRule() { return rule; } //packages+=TypedPackage* public Assignment getPackagesAssignment() { return cPackagesAssignment; } //TypedPackage public RuleCall getPackagesTypedPackageParserRuleCall_0() { return cPackagesTypedPackageParserRuleCall_0; } } public class ClassElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Class"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLClassAction_0 = (Action)cGroup.eContents().get(0); private final Assignment cAnnotationsAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cAnnotationsAnnotationDefParserRuleCall_1_0 = (RuleCall)cAnnotationsAssignment_1.eContents().get(0); private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); private final Action cLEntityAnnotationInfoAction_2_0_0 = (Action)cGroup_2_0.eContents().get(0); private final UnorderedGroup cUnorderedGroup_2_0_1 = (UnorderedGroup)cGroup_2_0.eContents().get(1); private final Assignment cAbstractAssignment_2_0_1_0 = (Assignment)cUnorderedGroup_2_0_1.eContents().get(0); private final Keyword cAbstractAbstractKeyword_2_0_1_0_0 = (Keyword)cAbstractAssignment_2_0_1_0.eContents().get(0); private final Alternatives cAlternatives_2_0_1_1 = (Alternatives)cUnorderedGroup_2_0_1.eContents().get(1); private final Assignment cHistorizedAssignment_2_0_1_1_0 = (Assignment)cAlternatives_2_0_1_1.eContents().get(0); private final Keyword cHistorizedHistorizedKeyword_2_0_1_1_0_0 = (Keyword)cHistorizedAssignment_2_0_1_1_0.eContents().get(0); private final Group cGroup_2_0_1_1_1 = (Group)cAlternatives_2_0_1_1.eContents().get(1); private final Assignment cTimedependentAssignment_2_0_1_1_1_0 = (Assignment)cGroup_2_0_1_1_1.eContents().get(0); private final Keyword cTimedependentTimedependentKeyword_2_0_1_1_1_0_0 = (Keyword)cTimedependentAssignment_2_0_1_1_1_0.eContents().get(0); private final Group cGroup_2_0_1_1_1_1 = (Group)cGroup_2_0_1_1_1.eContents().get(1); private final Keyword cLeftParenthesisKeyword_2_0_1_1_1_1_0 = (Keyword)cGroup_2_0_1_1_1_1.eContents().get(0); private final Assignment cTimedependentDateTypeAssignment_2_0_1_1_1_1_1 = (Assignment)cGroup_2_0_1_1_1_1.eContents().get(1); private final RuleCall cTimedependentDateTypeLHistorizedDateTypeEnumRuleCall_2_0_1_1_1_1_1_0 = (RuleCall)cTimedependentDateTypeAssignment_2_0_1_1_1_1_1.eContents().get(0); private final Keyword cRightParenthesisKeyword_2_0_1_1_1_1_2 = (Keyword)cGroup_2_0_1_1_1_1.eContents().get(2); private final Assignment cCacheableAssignment_2_0_1_2 = (Assignment)cUnorderedGroup_2_0_1.eContents().get(2); private final Keyword cCacheableCacheableKeyword_2_0_1_2_0 = (Keyword)cCacheableAssignment_2_0_1_2.eContents().get(0); private final Keyword cEntityKeyword_2_0_2 = (Keyword)cGroup_2_0.eContents().get(2); private final Assignment cNameAssignment_2_0_3 = (Assignment)cGroup_2_0.eContents().get(3); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0_3_0 = (RuleCall)cNameAssignment_2_0_3.eContents().get(0); private final Group cGroup_2_0_4 = (Group)cGroup_2_0.eContents().get(4); private final Keyword cExtendsKeyword_2_0_4_0 = (Keyword)cGroup_2_0_4.eContents().get(0); private final Assignment cSuperTypeAssignment_2_0_4_1 = (Assignment)cGroup_2_0_4.eContents().get(1); private final CrossReference cSuperTypeLEntityCrossReference_2_0_4_1_0 = (CrossReference)cSuperTypeAssignment_2_0_4_1.eContents().get(0); private final RuleCall cSuperTypeLEntityIDTerminalRuleCall_2_0_4_1_0_1 = (RuleCall)cSuperTypeLEntityCrossReference_2_0_4_1_0.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2_0_5 = (Keyword)cGroup_2_0.eContents().get(5); private final Assignment cPersistenceInfoAssignment_2_0_6 = (Assignment)cGroup_2_0.eContents().get(6); private final RuleCall cPersistenceInfoEntityPersistenceInfoParserRuleCall_2_0_6_0 = (RuleCall)cPersistenceInfoAssignment_2_0_6.eContents().get(0); private final Assignment cInheritanceStrategyAssignment_2_0_7 = (Assignment)cGroup_2_0.eContents().get(7); private final RuleCall cInheritanceStrategyEntityInheritanceStrategyParserRuleCall_2_0_7_0 = (RuleCall)cInheritanceStrategyAssignment_2_0_7.eContents().get(0); private final Assignment cFeaturesAssignment_2_0_8 = (Assignment)cGroup_2_0.eContents().get(8); private final RuleCall cFeaturesEntityFeatureParserRuleCall_2_0_8_0 = (RuleCall)cFeaturesAssignment_2_0_8.eContents().get(0); private final Assignment cIndexesAssignment_2_0_9 = (Assignment)cGroup_2_0.eContents().get(9); private final RuleCall cIndexesIndexParserRuleCall_2_0_9_0 = (RuleCall)cIndexesAssignment_2_0_9.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_2_0_10 = (Keyword)cGroup_2_0.eContents().get(10); private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1); private final Action cLEntityAnnotationInfoAction_2_1_0 = (Action)cGroup_2_1.eContents().get(0); private final Assignment cMappedSuperclassAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); private final Keyword cMappedSuperclassMappedSuperclassKeyword_2_1_1_0 = (Keyword)cMappedSuperclassAssignment_2_1_1.eContents().get(0); private final Group cGroup_2_1_2 = (Group)cGroup_2_1.eContents().get(2); private final Keyword cExtendsKeyword_2_1_2_0 = (Keyword)cGroup_2_1_2.eContents().get(0); private final Assignment cSuperTypeAssignment_2_1_2_1 = (Assignment)cGroup_2_1_2.eContents().get(1); private final CrossReference cSuperTypeLEntityCrossReference_2_1_2_1_0 = (CrossReference)cSuperTypeAssignment_2_1_2_1.eContents().get(0); private final RuleCall cSuperTypeLEntityIDTerminalRuleCall_2_1_2_1_0_1 = (RuleCall)cSuperTypeLEntityCrossReference_2_1_2_1_0.eContents().get(1); private final Assignment cNameAssignment_2_1_3 = (Assignment)cGroup_2_1.eContents().get(3); private final RuleCall cNameValidIDWithKeywordsParserRuleCall_2_1_3_0 = (RuleCall)cNameAssignment_2_1_3.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2_1_4 = (Keyword)cGroup_2_1.eContents().get(4); private final Assignment cFeaturesAssignment_2_1_5 = (Assignment)cGroup_2_1.eContents().get(5); private final RuleCall cFeaturesEntityFeatureParserRuleCall_2_1_5_0 = (RuleCall)cFeaturesAssignment_2_1_5.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_2_1_6 = (Keyword)cGroup_2_1.eContents().get(6); private final Group cGroup_2_2 = (Group)cAlternatives_2.eContents().get(2); private final Action cLBeanAnnotationInfoAction_2_2_0 = (Action)cGroup_2_2.eContents().get(0); private final Keyword cBeanKeyword_2_2_1 = (Keyword)cGroup_2_2.eContents().get(1); private final Assignment cNameAssignment_2_2_2 = (Assignment)cGroup_2_2.eContents().get(2); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_2_2_0 = (RuleCall)cNameAssignment_2_2_2.eContents().get(0); private final Group cGroup_2_2_3 = (Group)cGroup_2_2.eContents().get(3); private final Keyword cExtendsKeyword_2_2_3_0 = (Keyword)cGroup_2_2_3.eContents().get(0); private final Assignment cSuperTypeAssignment_2_2_3_1 = (Assignment)cGroup_2_2_3.eContents().get(1); private final CrossReference cSuperTypeLBeanCrossReference_2_2_3_1_0 = (CrossReference)cSuperTypeAssignment_2_2_3_1.eContents().get(0); private final RuleCall cSuperTypeLBeanIDTerminalRuleCall_2_2_3_1_0_1 = (RuleCall)cSuperTypeLBeanCrossReference_2_2_3_1_0.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2_2_4 = (Keyword)cGroup_2_2.eContents().get(4); private final Assignment cFeaturesAssignment_2_2_5 = (Assignment)cGroup_2_2.eContents().get(5); private final RuleCall cFeaturesBeanFeatureParserRuleCall_2_2_5_0 = (RuleCall)cFeaturesAssignment_2_2_5.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_2_2_6 = (Keyword)cGroup_2_2.eContents().get(6); //Class returns LClass: // {LClass} annotations+=AnnotationDef* ({entity::LEntity.annotationInfo=current} (abstract?="abstract"? & // (historized?="historized" | timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")?)? & // cacheable?="cacheable"?) "entity" name=TRANSLATABLEID ("extends" superType=[entity::LEntity])? "{" // persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? features+=EntityFeature* // indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} mappedSuperclass?="mapped superclass" ("extends" // superType=[entity::LEntity])? name=ValidIDWithKeywords "{" features+=EntityFeature* "}" | // {entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" superType=[entity::LBean])? "{" // features+=BeanFeature* "}"); public ParserRule getRule() { return rule; } //{LClass} annotations+=AnnotationDef* ({entity::LEntity.annotationInfo=current} (abstract?="abstract"? & //(historized?="historized" | timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")?)? & //cacheable?="cacheable"?) "entity" name=TRANSLATABLEID ("extends" superType=[entity::LEntity])? "{" //persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? features+=EntityFeature* //indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} mappedSuperclass?="mapped superclass" ("extends" //superType=[entity::LEntity])? name=ValidIDWithKeywords "{" features+=EntityFeature* "}" | //{entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" superType=[entity::LBean])? "{" //features+=BeanFeature* "}") public Group getGroup() { return cGroup; } //{LClass} public Action getLClassAction_0() { return cLClassAction_0; } //annotations+=AnnotationDef* public Assignment getAnnotationsAssignment_1() { return cAnnotationsAssignment_1; } //AnnotationDef public RuleCall getAnnotationsAnnotationDefParserRuleCall_1_0() { return cAnnotationsAnnotationDefParserRuleCall_1_0; } //{entity::LEntity.annotationInfo=current} (abstract?="abstract"? & (historized?="historized" | //timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")?)? & cacheable?="cacheable"?) //"entity" name=TRANSLATABLEID ("extends" superType=[entity::LEntity])? "{" persistenceInfo=EntityPersistenceInfo //inheritanceStrategy=EntityInheritanceStrategy? features+=EntityFeature* indexes+=Index* "}" | //{entity::LEntity.annotationInfo=current} mappedSuperclass?="mapped superclass" ("extends" superType=[entity::LEntity])? //name=ValidIDWithKeywords "{" features+=EntityFeature* "}" | {entity::LBean.annotationInfo=current} "bean" //name=TRANSLATABLEID ("extends" superType=[entity::LBean])? "{" features+=BeanFeature* "}" public Alternatives getAlternatives_2() { return cAlternatives_2; } //{entity::LEntity.annotationInfo=current} (abstract?="abstract"? & (historized?="historized" | //timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")?)? & cacheable?="cacheable"?) //"entity" name=TRANSLATABLEID ("extends" superType=[entity::LEntity])? "{" persistenceInfo=EntityPersistenceInfo //inheritanceStrategy=EntityInheritanceStrategy? features+=EntityFeature* indexes+=Index* "}" public Group getGroup_2_0() { return cGroup_2_0; } //{entity::LEntity.annotationInfo=current} public Action getLEntityAnnotationInfoAction_2_0_0() { return cLEntityAnnotationInfoAction_2_0_0; } //abstract?="abstract"? & (historized?="historized" | timedependent?="timedependent" ("(" //timedependentDateType=LHistorizedDateType ")")?)? & cacheable?="cacheable"? public UnorderedGroup getUnorderedGroup_2_0_1() { return cUnorderedGroup_2_0_1; } //abstract?="abstract"? public Assignment getAbstractAssignment_2_0_1_0() { return cAbstractAssignment_2_0_1_0; } //"abstract" public Keyword getAbstractAbstractKeyword_2_0_1_0_0() { return cAbstractAbstractKeyword_2_0_1_0_0; } //(historized?="historized" | timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")?)? public Alternatives getAlternatives_2_0_1_1() { return cAlternatives_2_0_1_1; } //historized?="historized" public Assignment getHistorizedAssignment_2_0_1_1_0() { return cHistorizedAssignment_2_0_1_1_0; } //"historized" public Keyword getHistorizedHistorizedKeyword_2_0_1_1_0_0() { return cHistorizedHistorizedKeyword_2_0_1_1_0_0; } //timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")? public Group getGroup_2_0_1_1_1() { return cGroup_2_0_1_1_1; } //timedependent?="timedependent" public Assignment getTimedependentAssignment_2_0_1_1_1_0() { return cTimedependentAssignment_2_0_1_1_1_0; } //"timedependent" public Keyword getTimedependentTimedependentKeyword_2_0_1_1_1_0_0() { return cTimedependentTimedependentKeyword_2_0_1_1_1_0_0; } //("(" timedependentDateType=LHistorizedDateType ")")? public Group getGroup_2_0_1_1_1_1() { return cGroup_2_0_1_1_1_1; } //"(" public Keyword getLeftParenthesisKeyword_2_0_1_1_1_1_0() { return cLeftParenthesisKeyword_2_0_1_1_1_1_0; } //timedependentDateType=LHistorizedDateType public Assignment getTimedependentDateTypeAssignment_2_0_1_1_1_1_1() { return cTimedependentDateTypeAssignment_2_0_1_1_1_1_1; } //LHistorizedDateType public RuleCall getTimedependentDateTypeLHistorizedDateTypeEnumRuleCall_2_0_1_1_1_1_1_0() { return cTimedependentDateTypeLHistorizedDateTypeEnumRuleCall_2_0_1_1_1_1_1_0; } //")" public Keyword getRightParenthesisKeyword_2_0_1_1_1_1_2() { return cRightParenthesisKeyword_2_0_1_1_1_1_2; } //cacheable?="cacheable"? public Assignment getCacheableAssignment_2_0_1_2() { return cCacheableAssignment_2_0_1_2; } //"cacheable" public Keyword getCacheableCacheableKeyword_2_0_1_2_0() { return cCacheableCacheableKeyword_2_0_1_2_0; } //"entity" public Keyword getEntityKeyword_2_0_2() { return cEntityKeyword_2_0_2; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_0_3() { return cNameAssignment_2_0_3; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0_3_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0_3_0; } //("extends" superType=[entity::LEntity])? public Group getGroup_2_0_4() { return cGroup_2_0_4; } //"extends" public Keyword getExtendsKeyword_2_0_4_0() { return cExtendsKeyword_2_0_4_0; } //superType=[entity::LEntity] public Assignment getSuperTypeAssignment_2_0_4_1() { return cSuperTypeAssignment_2_0_4_1; } //[entity::LEntity] public CrossReference getSuperTypeLEntityCrossReference_2_0_4_1_0() { return cSuperTypeLEntityCrossReference_2_0_4_1_0; } //ID public RuleCall getSuperTypeLEntityIDTerminalRuleCall_2_0_4_1_0_1() { return cSuperTypeLEntityIDTerminalRuleCall_2_0_4_1_0_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2_0_5() { return cLeftCurlyBracketKeyword_2_0_5; } //persistenceInfo=EntityPersistenceInfo public Assignment getPersistenceInfoAssignment_2_0_6() { return cPersistenceInfoAssignment_2_0_6; } //EntityPersistenceInfo public RuleCall getPersistenceInfoEntityPersistenceInfoParserRuleCall_2_0_6_0() { return cPersistenceInfoEntityPersistenceInfoParserRuleCall_2_0_6_0; } //inheritanceStrategy=EntityInheritanceStrategy? public Assignment getInheritanceStrategyAssignment_2_0_7() { return cInheritanceStrategyAssignment_2_0_7; } //EntityInheritanceStrategy public RuleCall getInheritanceStrategyEntityInheritanceStrategyParserRuleCall_2_0_7_0() { return cInheritanceStrategyEntityInheritanceStrategyParserRuleCall_2_0_7_0; } //features+=EntityFeature* public Assignment getFeaturesAssignment_2_0_8() { return cFeaturesAssignment_2_0_8; } //EntityFeature public RuleCall getFeaturesEntityFeatureParserRuleCall_2_0_8_0() { return cFeaturesEntityFeatureParserRuleCall_2_0_8_0; } //indexes+=Index* public Assignment getIndexesAssignment_2_0_9() { return cIndexesAssignment_2_0_9; } //Index public RuleCall getIndexesIndexParserRuleCall_2_0_9_0() { return cIndexesIndexParserRuleCall_2_0_9_0; } //"}" public Keyword getRightCurlyBracketKeyword_2_0_10() { return cRightCurlyBracketKeyword_2_0_10; } //{entity::LEntity.annotationInfo=current} mappedSuperclass?="mapped superclass" ("extends" superType=[entity::LEntity])? //name=ValidIDWithKeywords "{" features+=EntityFeature* "}" public Group getGroup_2_1() { return cGroup_2_1; } //{entity::LEntity.annotationInfo=current} public Action getLEntityAnnotationInfoAction_2_1_0() { return cLEntityAnnotationInfoAction_2_1_0; } //mappedSuperclass?="mapped superclass" public Assignment getMappedSuperclassAssignment_2_1_1() { return cMappedSuperclassAssignment_2_1_1; } //"mapped superclass" public Keyword getMappedSuperclassMappedSuperclassKeyword_2_1_1_0() { return cMappedSuperclassMappedSuperclassKeyword_2_1_1_0; } //("extends" superType=[entity::LEntity])? public Group getGroup_2_1_2() { return cGroup_2_1_2; } //"extends" public Keyword getExtendsKeyword_2_1_2_0() { return cExtendsKeyword_2_1_2_0; } //superType=[entity::LEntity] public Assignment getSuperTypeAssignment_2_1_2_1() { return cSuperTypeAssignment_2_1_2_1; } //[entity::LEntity] public CrossReference getSuperTypeLEntityCrossReference_2_1_2_1_0() { return cSuperTypeLEntityCrossReference_2_1_2_1_0; } //ID public RuleCall getSuperTypeLEntityIDTerminalRuleCall_2_1_2_1_0_1() { return cSuperTypeLEntityIDTerminalRuleCall_2_1_2_1_0_1; } //name=ValidIDWithKeywords public Assignment getNameAssignment_2_1_3() { return cNameAssignment_2_1_3; } //ValidIDWithKeywords public RuleCall getNameValidIDWithKeywordsParserRuleCall_2_1_3_0() { return cNameValidIDWithKeywordsParserRuleCall_2_1_3_0; } //"{" public Keyword getLeftCurlyBracketKeyword_2_1_4() { return cLeftCurlyBracketKeyword_2_1_4; } //features+=EntityFeature* public Assignment getFeaturesAssignment_2_1_5() { return cFeaturesAssignment_2_1_5; } //EntityFeature public RuleCall getFeaturesEntityFeatureParserRuleCall_2_1_5_0() { return cFeaturesEntityFeatureParserRuleCall_2_1_5_0; } //"}" public Keyword getRightCurlyBracketKeyword_2_1_6() { return cRightCurlyBracketKeyword_2_1_6; } //{entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" superType=[entity::LBean])? "{" //features+=BeanFeature* "}" public Group getGroup_2_2() { return cGroup_2_2; } //{entity::LBean.annotationInfo=current} public Action getLBeanAnnotationInfoAction_2_2_0() { return cLBeanAnnotationInfoAction_2_2_0; } //"bean" public Keyword getBeanKeyword_2_2_1() { return cBeanKeyword_2_2_1; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_2_2() { return cNameAssignment_2_2_2; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_2_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_2_2_0; } //("extends" superType=[entity::LBean])? public Group getGroup_2_2_3() { return cGroup_2_2_3; } //"extends" public Keyword getExtendsKeyword_2_2_3_0() { return cExtendsKeyword_2_2_3_0; } //superType=[entity::LBean] public Assignment getSuperTypeAssignment_2_2_3_1() { return cSuperTypeAssignment_2_2_3_1; } //[entity::LBean] public CrossReference getSuperTypeLBeanCrossReference_2_2_3_1_0() { return cSuperTypeLBeanCrossReference_2_2_3_1_0; } //ID public RuleCall getSuperTypeLBeanIDTerminalRuleCall_2_2_3_1_0_1() { return cSuperTypeLBeanIDTerminalRuleCall_2_2_3_1_0_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2_2_4() { return cLeftCurlyBracketKeyword_2_2_4; } //features+=BeanFeature* public Assignment getFeaturesAssignment_2_2_5() { return cFeaturesAssignment_2_2_5; } //BeanFeature public RuleCall getFeaturesBeanFeatureParserRuleCall_2_2_5_0() { return cFeaturesBeanFeatureParserRuleCall_2_2_5_0; } //"}" public Keyword getRightCurlyBracketKeyword_2_2_6() { return cRightCurlyBracketKeyword_2_2_6; } } public class IndexElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Index"); private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cUniqueAssignment_0 = (Assignment)cGroup.eContents().get(0); private final Keyword cUniqueUniqueKeyword_0_0 = (Keyword)cUniqueAssignment_0.eContents().get(0); private final Keyword cIndexKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cFeaturesAssignment_4 = (Assignment)cGroup.eContents().get(4); private final CrossReference cFeaturesLEntityFeatureCrossReference_4_0 = (CrossReference)cFeaturesAssignment_4.eContents().get(0); private final RuleCall cFeaturesLEntityFeatureIDTerminalRuleCall_4_0_1 = (RuleCall)cFeaturesLEntityFeatureCrossReference_4_0.eContents().get(1); private final Group cGroup_5 = (Group)cGroup.eContents().get(5); private final Keyword cCommaSpaceKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); private final Assignment cFeaturesAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); private final CrossReference cFeaturesLEntityFeatureCrossReference_5_1_0 = (CrossReference)cFeaturesAssignment_5_1.eContents().get(0); private final RuleCall cFeaturesLEntityFeatureIDTerminalRuleCall_5_1_0_1 = (RuleCall)cFeaturesLEntityFeatureCrossReference_5_1_0.eContents().get(1); private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); //Index returns entity::LIndex: // unique?="unique"? "index" name=ID "{" features+=[entity::LEntityFeature] (", " features+=[entity::LEntityFeature])* // "}"; public ParserRule getRule() { return rule; } //unique?="unique"? "index" name=ID "{" features+=[entity::LEntityFeature] (", " features+=[entity::LEntityFeature])* "}" public Group getGroup() { return cGroup; } //unique?="unique"? public Assignment getUniqueAssignment_0() { return cUniqueAssignment_0; } //"unique" public Keyword getUniqueUniqueKeyword_0_0() { return cUniqueUniqueKeyword_0_0; } //"index" public Keyword getIndexKeyword_1() { return cIndexKeyword_1; } //name=ID public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //"{" public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //features+=[entity::LEntityFeature] public Assignment getFeaturesAssignment_4() { return cFeaturesAssignment_4; } //[entity::LEntityFeature] public CrossReference getFeaturesLEntityFeatureCrossReference_4_0() { return cFeaturesLEntityFeatureCrossReference_4_0; } //ID public RuleCall getFeaturesLEntityFeatureIDTerminalRuleCall_4_0_1() { return cFeaturesLEntityFeatureIDTerminalRuleCall_4_0_1; } //(", " features+=[entity::LEntityFeature])* public Group getGroup_5() { return cGroup_5; } //", " public Keyword getCommaSpaceKeyword_5_0() { return cCommaSpaceKeyword_5_0; } //features+=[entity::LEntityFeature] public Assignment getFeaturesAssignment_5_1() { return cFeaturesAssignment_5_1; } //[entity::LEntityFeature] public CrossReference getFeaturesLEntityFeatureCrossReference_5_1_0() { return cFeaturesLEntityFeatureCrossReference_5_1_0; } //ID public RuleCall getFeaturesLEntityFeatureIDTerminalRuleCall_5_1_0_1() { return cFeaturesLEntityFeatureIDTerminalRuleCall_5_1_0_1; } //"}" public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } public class EntityPersistenceInfoElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityPersistenceInfo"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLEntityPersistenceInfoAction_0 = (Action)cGroup.eContents().get(0); private final UnorderedGroup cUnorderedGroup_1 = (UnorderedGroup)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cUnorderedGroup_1.eContents().get(0); private final Keyword cSchemaNameKeyword_1_0_0 = (Keyword)cGroup_1_0.eContents().get(0); private final Assignment cSchemaNameAssignment_1_0_1 = (Assignment)cGroup_1_0.eContents().get(1); private final RuleCall cSchemaNameValidIDWithKeywordsParserRuleCall_1_0_1_0 = (RuleCall)cSchemaNameAssignment_1_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_1_0_2 = (Keyword)cGroup_1_0.eContents().get(2); private final Group cGroup_1_1 = (Group)cUnorderedGroup_1.eContents().get(1); private final Keyword cTableNameKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0); private final Assignment cTableNameAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1); private final RuleCall cTableNameValidIDWithKeywordsParserRuleCall_1_1_1_0 = (RuleCall)cTableNameAssignment_1_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_1_1_2 = (Keyword)cGroup_1_1.eContents().get(2); //EntityPersistenceInfo returns entity::LEntityPersistenceInfo: // {entity::LEntityPersistenceInfo} (("schemaName" schemaName=ValidIDWithKeywords ";")? & ("tableName" // tableName=ValidIDWithKeywords ";")?); public ParserRule getRule() { return rule; } //{entity::LEntityPersistenceInfo} (("schemaName" schemaName=ValidIDWithKeywords ";")? & ("tableName" //tableName=ValidIDWithKeywords ";")?) public Group getGroup() { return cGroup; } //{entity::LEntityPersistenceInfo} public Action getLEntityPersistenceInfoAction_0() { return cLEntityPersistenceInfoAction_0; } //("schemaName" schemaName=ValidIDWithKeywords ";")? & ("tableName" tableName=ValidIDWithKeywords ";")? public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } //("schemaName" schemaName=ValidIDWithKeywords ";")? public Group getGroup_1_0() { return cGroup_1_0; } //"schemaName" public Keyword getSchemaNameKeyword_1_0_0() { return cSchemaNameKeyword_1_0_0; } //schemaName=ValidIDWithKeywords public Assignment getSchemaNameAssignment_1_0_1() { return cSchemaNameAssignment_1_0_1; } //ValidIDWithKeywords public RuleCall getSchemaNameValidIDWithKeywordsParserRuleCall_1_0_1_0() { return cSchemaNameValidIDWithKeywordsParserRuleCall_1_0_1_0; } //";" public Keyword getSemicolonKeyword_1_0_2() { return cSemicolonKeyword_1_0_2; } //("tableName" tableName=ValidIDWithKeywords ";")? public Group getGroup_1_1() { return cGroup_1_1; } //"tableName" public Keyword getTableNameKeyword_1_1_0() { return cTableNameKeyword_1_1_0; } //tableName=ValidIDWithKeywords public Assignment getTableNameAssignment_1_1_1() { return cTableNameAssignment_1_1_1; } //ValidIDWithKeywords public RuleCall getTableNameValidIDWithKeywordsParserRuleCall_1_1_1_0() { return cTableNameValidIDWithKeywordsParserRuleCall_1_1_1_0; } //";" public Keyword getSemicolonKeyword_1_1_2() { return cSemicolonKeyword_1_1_2; } } public class ColumnPersistenceInfoElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ColumnPersistenceInfo"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLEntityColumnPersistenceInfoAction_0 = (Action)cGroup.eContents().get(0); private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cColumnNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cColumnNameValidIDWithKeywordsParserRuleCall_2_0 = (RuleCall)cColumnNameAssignment_2.eContents().get(0); private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); //ColumnPersistenceInfo returns entity::LEntityColumnPersistenceInfo: // {entity::LEntityColumnPersistenceInfo} "(" columnName=ValidIDWithKeywords ")"; public ParserRule getRule() { return rule; } //{entity::LEntityColumnPersistenceInfo} "(" columnName=ValidIDWithKeywords ")" public Group getGroup() { return cGroup; } //{entity::LEntityColumnPersistenceInfo} public Action getLEntityColumnPersistenceInfoAction_0() { return cLEntityColumnPersistenceInfoAction_0; } //"(" public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } //columnName=ValidIDWithKeywords public Assignment getColumnNameAssignment_2() { return cColumnNameAssignment_2; } //ValidIDWithKeywords public RuleCall getColumnNameValidIDWithKeywordsParserRuleCall_2_0() { return cColumnNameValidIDWithKeywordsParserRuleCall_2_0; } //")" public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } } public class EntityFeatureElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityFeature"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLEntityFeatureAction_0 = (Action)cGroup.eContents().get(0); private final Assignment cAnnotationsAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cAnnotationsAnnotationDefParserRuleCall_1_0 = (RuleCall)cAnnotationsAssignment_1.eContents().get(0); private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); private final Action cLEntityReferenceAnnotationInfoAction_2_0_0 = (Action)cGroup_2_0.eContents().get(0); private final Group cGroup_2_0_1 = (Group)cGroup_2_0.eContents().get(1); private final Keyword cRefKeyword_2_0_1_0 = (Keyword)cGroup_2_0_1.eContents().get(0); private final Assignment cCascadingAssignment_2_0_1_1 = (Assignment)cGroup_2_0_1.eContents().get(1); private final Keyword cCascadingCascadeKeyword_2_0_1_1_0 = (Keyword)cCascadingAssignment_2_0_1_1.eContents().get(0); private final Assignment cTypeAssignment_2_0_1_2 = (Assignment)cGroup_2_0_1.eContents().get(2); private final CrossReference cTypeLEntityCrossReference_2_0_1_2_0 = (CrossReference)cTypeAssignment_2_0_1_2.eContents().get(0); private final RuleCall cTypeLEntityIDTerminalRuleCall_2_0_1_2_0_1 = (RuleCall)cTypeLEntityCrossReference_2_0_1_2_0.eContents().get(1); private final Assignment cMultiplicityAssignment_2_0_1_3 = (Assignment)cGroup_2_0_1.eContents().get(3); private final RuleCall cMultiplicityMultiplicityParserRuleCall_2_0_1_3_0 = (RuleCall)cMultiplicityAssignment_2_0_1_3.eContents().get(0); private final Assignment cNameAssignment_2_0_1_4 = (Assignment)cGroup_2_0_1.eContents().get(4); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0_1_4_0 = (RuleCall)cNameAssignment_2_0_1_4.eContents().get(0); private final Assignment cPersistenceInfoAssignment_2_0_1_5 = (Assignment)cGroup_2_0_1.eContents().get(5); private final RuleCall cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_5_0 = (RuleCall)cPersistenceInfoAssignment_2_0_1_5.eContents().get(0); private final Group cGroup_2_0_1_6 = (Group)cGroup_2_0_1.eContents().get(6); private final Keyword cOppositeKeyword_2_0_1_6_0 = (Keyword)cGroup_2_0_1_6.eContents().get(0); private final Assignment cOppositeAssignment_2_0_1_6_1 = (Assignment)cGroup_2_0_1_6.eContents().get(1); private final CrossReference cOppositeLEntityReferenceCrossReference_2_0_1_6_1_0 = (CrossReference)cOppositeAssignment_2_0_1_6_1.eContents().get(0); private final RuleCall cOppositeLEntityReferenceLFQNParserRuleCall_2_0_1_6_1_0_1 = (RuleCall)cOppositeLEntityReferenceCrossReference_2_0_1_6_1_0.eContents().get(1); private final Alternatives cAlternatives_2_0_1_7 = (Alternatives)cGroup_2_0_1.eContents().get(7); private final Assignment cConstraintsAssignment_2_0_1_7_0 = (Assignment)cAlternatives_2_0_1_7.eContents().get(0); private final RuleCall cConstraintsConstraintsParserRuleCall_2_0_1_7_0_0 = (RuleCall)cConstraintsAssignment_2_0_1_7_0.eContents().get(0); private final Keyword cSemicolonKeyword_2_0_1_7_1 = (Keyword)cAlternatives_2_0_1_7.eContents().get(1); private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1); private final Action cLEntityAttributeAnnotationInfoAction_2_1_0 = (Action)cGroup_2_1.eContents().get(0); private final Alternatives cAlternatives_2_1_1 = (Alternatives)cGroup_2_1.eContents().get(1); private final Group cGroup_2_1_1_0 = (Group)cAlternatives_2_1_1.eContents().get(0); private final Assignment cTransientAssignment_2_1_1_0_0 = (Assignment)cGroup_2_1_1_0.eContents().get(0); private final Keyword cTransientTransientKeyword_2_1_1_0_0_0 = (Keyword)cTransientAssignment_2_1_1_0_0.eContents().get(0); private final Assignment cTypeAssignment_2_1_1_0_1 = (Assignment)cGroup_2_1_1_0.eContents().get(1); private final CrossReference cTypeLScalarTypeCrossReference_2_1_1_0_1_0 = (CrossReference)cTypeAssignment_2_1_1_0_1.eContents().get(0); private final RuleCall cTypeLScalarTypeIDTerminalRuleCall_2_1_1_0_1_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_0_1_0.eContents().get(1); private final Assignment cNameAssignment_2_1_1_0_2 = (Assignment)cGroup_2_1_1_0.eContents().get(2); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_2_0 = (RuleCall)cNameAssignment_2_1_1_0_2.eContents().get(0); private final Keyword cSemicolonKeyword_2_1_1_0_3 = (Keyword)cGroup_2_1_1_0.eContents().get(3); private final Group cGroup_2_1_1_1 = (Group)cAlternatives_2_1_1.eContents().get(1); private final Assignment cDerivedAssignment_2_1_1_1_0 = (Assignment)cGroup_2_1_1_1.eContents().get(0); private final Keyword cDerivedDerivedKeyword_2_1_1_1_0_0 = (Keyword)cDerivedAssignment_2_1_1_1_0.eContents().get(0); private final Assignment cDomainDescriptionAssignment_2_1_1_1_1 = (Assignment)cGroup_2_1_1_1.eContents().get(1); private final Keyword cDomainDescriptionDomainDescriptionKeyword_2_1_1_1_1_0 = (Keyword)cDomainDescriptionAssignment_2_1_1_1_1.eContents().get(0); private final Assignment cTypeAssignment_2_1_1_1_2 = (Assignment)cGroup_2_1_1_1.eContents().get(2); private final CrossReference cTypeLScalarTypeCrossReference_2_1_1_1_2_0 = (CrossReference)cTypeAssignment_2_1_1_1_2.eContents().get(0); private final RuleCall cTypeLScalarTypeIDTerminalRuleCall_2_1_1_1_2_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_1_2_0.eContents().get(1); private final Assignment cNameAssignment_2_1_1_1_3 = (Assignment)cGroup_2_1_1_1.eContents().get(3); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0 = (RuleCall)cNameAssignment_2_1_1_1_3.eContents().get(0); private final Assignment cDerivedGetterExpressionAssignment_2_1_1_1_4 = (Assignment)cGroup_2_1_1_1.eContents().get(4); private final RuleCall cDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_4_0 = (RuleCall)cDerivedGetterExpressionAssignment_2_1_1_1_4.eContents().get(0); private final Group cGroup_2_1_1_2 = (Group)cAlternatives_2_1_1.eContents().get(2); private final Alternatives cAlternatives_2_1_1_2_0 = (Alternatives)cGroup_2_1_1_2.eContents().get(0); private final Keyword cVarKeyword_2_1_1_2_0_0 = (Keyword)cAlternatives_2_1_1_2_0.eContents().get(0); private final Assignment cIdAssignment_2_1_1_2_0_1 = (Assignment)cAlternatives_2_1_1_2_0.eContents().get(1); private final Keyword cIdIdKeyword_2_1_1_2_0_1_0 = (Keyword)cIdAssignment_2_1_1_2_0_1.eContents().get(0); private final Assignment cUuidAssignment_2_1_1_2_0_2 = (Assignment)cAlternatives_2_1_1_2_0.eContents().get(2); private final Keyword cUuidUuidKeyword_2_1_1_2_0_2_0 = (Keyword)cUuidAssignment_2_1_1_2_0_2.eContents().get(0); private final Assignment cVersionAssignment_2_1_1_2_0_3 = (Assignment)cAlternatives_2_1_1_2_0.eContents().get(3); private final Keyword cVersionVersionKeyword_2_1_1_2_0_3_0 = (Keyword)cVersionAssignment_2_1_1_2_0_3.eContents().get(0); private final Assignment cDomainDescriptionAssignment_2_1_1_2_0_4 = (Assignment)cAlternatives_2_1_1_2_0.eContents().get(4); private final Keyword cDomainDescriptionDomainDescriptionKeyword_2_1_1_2_0_4_0 = (Keyword)cDomainDescriptionAssignment_2_1_1_2_0_4.eContents().get(0); private final Assignment cDomainKeyAssignment_2_1_1_2_0_5 = (Assignment)cAlternatives_2_1_1_2_0.eContents().get(5); private final Keyword cDomainKeyDomainKeyKeyword_2_1_1_2_0_5_0 = (Keyword)cDomainKeyAssignment_2_1_1_2_0_5.eContents().get(0); private final Assignment cTypeAssignment_2_1_1_2_1 = (Assignment)cGroup_2_1_1_2.eContents().get(1); private final CrossReference cTypeLScalarTypeCrossReference_2_1_1_2_1_0 = (CrossReference)cTypeAssignment_2_1_1_2_1.eContents().get(0); private final RuleCall cTypeLScalarTypeIDTerminalRuleCall_2_1_1_2_1_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_2_1_0.eContents().get(1); private final Assignment cMultiplicityAssignment_2_1_1_2_2 = (Assignment)cGroup_2_1_1_2.eContents().get(2); private final RuleCall cMultiplicityMultiplicityParserRuleCall_2_1_1_2_2_0 = (RuleCall)cMultiplicityAssignment_2_1_1_2_2.eContents().get(0); private final Assignment cNameAssignment_2_1_1_2_3 = (Assignment)cGroup_2_1_1_2.eContents().get(3); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_2_3_0 = (RuleCall)cNameAssignment_2_1_1_2_3.eContents().get(0); private final Assignment cPersistenceInfoAssignment_2_1_1_2_4 = (Assignment)cGroup_2_1_1_2.eContents().get(4); private final RuleCall cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_4_0 = (RuleCall)cPersistenceInfoAssignment_2_1_1_2_4.eContents().get(0); private final Group cGroup_2_1_1_2_5 = (Group)cGroup_2_1_1_2.eContents().get(5); private final Keyword cOppositeKeyword_2_1_1_2_5_0 = (Keyword)cGroup_2_1_1_2_5.eContents().get(0); private final Assignment cOppositeAssignment_2_1_1_2_5_1 = (Assignment)cGroup_2_1_1_2_5.eContents().get(1); private final CrossReference cOppositeLBeanReferenceCrossReference_2_1_1_2_5_1_0 = (CrossReference)cOppositeAssignment_2_1_1_2_5_1.eContents().get(0); private final RuleCall cOppositeLBeanReferenceLFQNParserRuleCall_2_1_1_2_5_1_0_1 = (RuleCall)cOppositeLBeanReferenceCrossReference_2_1_1_2_5_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_2_1_1_2_6 = (Keyword)cGroup_2_1_1_2.eContents().get(6); private final Group cGroup_2_2 = (Group)cAlternatives_2.eContents().get(2); private final Action cLOperationAnnotationInfoAction_2_2_0 = (Action)cGroup_2_2.eContents().get(0); private final Group cGroup_2_2_1 = (Group)cGroup_2_2.eContents().get(1); private final Keyword cDefKeyword_2_2_1_0 = (Keyword)cGroup_2_2_1.eContents().get(0); private final Assignment cTypeAssignment_2_2_1_1 = (Assignment)cGroup_2_2_1.eContents().get(1); private final RuleCall cTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0 = (RuleCall)cTypeAssignment_2_2_1_1.eContents().get(0); private final Assignment cNameAssignment_2_2_1_2 = (Assignment)cGroup_2_2_1.eContents().get(2); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0 = (RuleCall)cNameAssignment_2_2_1_2.eContents().get(0); private final Keyword cLeftParenthesisKeyword_2_2_1_3 = (Keyword)cGroup_2_2_1.eContents().get(3); private final Group cGroup_2_2_1_4 = (Group)cGroup_2_2_1.eContents().get(4); private final Assignment cParamsAssignment_2_2_1_4_0 = (Assignment)cGroup_2_2_1_4.eContents().get(0); private final RuleCall cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0 = (RuleCall)cParamsAssignment_2_2_1_4_0.eContents().get(0); private final Group cGroup_2_2_1_4_1 = (Group)cGroup_2_2_1_4.eContents().get(1); private final Keyword cCommaSpaceKeyword_2_2_1_4_1_0 = (Keyword)cGroup_2_2_1_4_1.eContents().get(0); private final Assignment cParamsAssignment_2_2_1_4_1_1 = (Assignment)cGroup_2_2_1_4_1.eContents().get(1); private final RuleCall cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0 = (RuleCall)cParamsAssignment_2_2_1_4_1_1.eContents().get(0); private final Keyword cRightParenthesisKeyword_2_2_1_5 = (Keyword)cGroup_2_2_1.eContents().get(5); private final Assignment cBodyAssignment_2_2_1_6 = (Assignment)cGroup_2_2_1.eContents().get(6); private final RuleCall cBodyXExpressionParserRuleCall_2_2_1_6_0 = (RuleCall)cBodyAssignment_2_2_1_6.eContents().get(0); //EntityFeature returns entity::LEntityFeature: // {entity::LEntityFeature} annotations+=AnnotationDef* ({entity::LEntityReference.annotationInfo=current} ("ref" // cascading?="cascade"? type=[entity::LEntity] multiplicity=Multiplicity? name=TRANSLATABLEID // persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LEntityReference|LFQN])? (constraints=Constraints // | ";")) | {entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] // name=TRANSLATABLEID ";" | derived?="derived" domainDescription?="domainDescription"? type=[LScalarType] // name=TRANSLATABLEID derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | // domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType] multiplicity=Multiplicity? // name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ";") | // {entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" // (params+=FullJvmFormalParameter (", " params+=FullJvmFormalParameter)*)? ")" body=XExpression)); public ParserRule getRule() { return rule; } //{entity::LEntityFeature} annotations+=AnnotationDef* ({entity::LEntityReference.annotationInfo=current} ("ref" //cascading?="cascade"? type=[entity::LEntity] multiplicity=Multiplicity? name=TRANSLATABLEID //persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LEntityReference|LFQN])? (constraints=Constraints //| ";")) | {entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] //name=TRANSLATABLEID ";" | derived?="derived" domainDescription?="domainDescription"? type=[LScalarType] //name=TRANSLATABLEID derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | //domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType] multiplicity=Multiplicity? //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ";") | //{entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" //(params+=FullJvmFormalParameter (", " params+=FullJvmFormalParameter)*)? ")" body=XExpression)) public Group getGroup() { return cGroup; } //{entity::LEntityFeature} public Action getLEntityFeatureAction_0() { return cLEntityFeatureAction_0; } //annotations+=AnnotationDef* public Assignment getAnnotationsAssignment_1() { return cAnnotationsAssignment_1; } //AnnotationDef public RuleCall getAnnotationsAnnotationDefParserRuleCall_1_0() { return cAnnotationsAnnotationDefParserRuleCall_1_0; } //{entity::LEntityReference.annotationInfo=current} ("ref" cascading?="cascade"? type=[entity::LEntity] //multiplicity=Multiplicity? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" //opposite=[entity::LEntityReference|LFQN])? (constraints=Constraints | ";")) | //{entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] name=TRANSLATABLEID ";" | //derived?="derived" domainDescription?="domainDescription"? type=[LScalarType] name=TRANSLATABLEID //derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | //domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType] multiplicity=Multiplicity? //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ";") | //{entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" //(params+=FullJvmFormalParameter (", " params+=FullJvmFormalParameter)*)? ")" body=XExpression) public Alternatives getAlternatives_2() { return cAlternatives_2; } //{entity::LEntityReference.annotationInfo=current} ("ref" cascading?="cascade"? type=[entity::LEntity] //multiplicity=Multiplicity? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" //opposite=[entity::LEntityReference|LFQN])? (constraints=Constraints | ";")) public Group getGroup_2_0() { return cGroup_2_0; } //{entity::LEntityReference.annotationInfo=current} public Action getLEntityReferenceAnnotationInfoAction_2_0_0() { return cLEntityReferenceAnnotationInfoAction_2_0_0; } //"ref" cascading?="cascade"? type=[entity::LEntity] multiplicity=Multiplicity? name=TRANSLATABLEID //persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LEntityReference|LFQN])? (constraints=Constraints //| ";") public Group getGroup_2_0_1() { return cGroup_2_0_1; } //"ref" public Keyword getRefKeyword_2_0_1_0() { return cRefKeyword_2_0_1_0; } //cascading?="cascade"? public Assignment getCascadingAssignment_2_0_1_1() { return cCascadingAssignment_2_0_1_1; } //"cascade" public Keyword getCascadingCascadeKeyword_2_0_1_1_0() { return cCascadingCascadeKeyword_2_0_1_1_0; } //type=[entity::LEntity] public Assignment getTypeAssignment_2_0_1_2() { return cTypeAssignment_2_0_1_2; } //[entity::LEntity] public CrossReference getTypeLEntityCrossReference_2_0_1_2_0() { return cTypeLEntityCrossReference_2_0_1_2_0; } //ID public RuleCall getTypeLEntityIDTerminalRuleCall_2_0_1_2_0_1() { return cTypeLEntityIDTerminalRuleCall_2_0_1_2_0_1; } //multiplicity=Multiplicity? public Assignment getMultiplicityAssignment_2_0_1_3() { return cMultiplicityAssignment_2_0_1_3; } //Multiplicity public RuleCall getMultiplicityMultiplicityParserRuleCall_2_0_1_3_0() { return cMultiplicityMultiplicityParserRuleCall_2_0_1_3_0; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_0_1_4() { return cNameAssignment_2_0_1_4; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0_1_4_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0_1_4_0; } //persistenceInfo=ColumnPersistenceInfo? public Assignment getPersistenceInfoAssignment_2_0_1_5() { return cPersistenceInfoAssignment_2_0_1_5; } //ColumnPersistenceInfo public RuleCall getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_5_0() { return cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_5_0; } //("opposite" opposite=[entity::LEntityReference|LFQN])? public Group getGroup_2_0_1_6() { return cGroup_2_0_1_6; } //"opposite" public Keyword getOppositeKeyword_2_0_1_6_0() { return cOppositeKeyword_2_0_1_6_0; } //opposite=[entity::LEntityReference|LFQN] public Assignment getOppositeAssignment_2_0_1_6_1() { return cOppositeAssignment_2_0_1_6_1; } //[entity::LEntityReference|LFQN] public CrossReference getOppositeLEntityReferenceCrossReference_2_0_1_6_1_0() { return cOppositeLEntityReferenceCrossReference_2_0_1_6_1_0; } //LFQN public RuleCall getOppositeLEntityReferenceLFQNParserRuleCall_2_0_1_6_1_0_1() { return cOppositeLEntityReferenceLFQNParserRuleCall_2_0_1_6_1_0_1; } //constraints=Constraints | ";" public Alternatives getAlternatives_2_0_1_7() { return cAlternatives_2_0_1_7; } //constraints=Constraints public Assignment getConstraintsAssignment_2_0_1_7_0() { return cConstraintsAssignment_2_0_1_7_0; } //Constraints public RuleCall getConstraintsConstraintsParserRuleCall_2_0_1_7_0_0() { return cConstraintsConstraintsParserRuleCall_2_0_1_7_0_0; } //";" public Keyword getSemicolonKeyword_2_0_1_7_1() { return cSemicolonKeyword_2_0_1_7_1; } //{entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] name=TRANSLATABLEID ";" | //derived?="derived" domainDescription?="domainDescription"? type=[LScalarType] name=TRANSLATABLEID //derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | //domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType] multiplicity=Multiplicity? //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ";") public Group getGroup_2_1() { return cGroup_2_1; } //{entity::LEntityAttribute.annotationInfo=current} public Action getLEntityAttributeAnnotationInfoAction_2_1_0() { return cLEntityAttributeAnnotationInfoAction_2_1_0; } //transient?="transient" type=[LScalarType] name=TRANSLATABLEID ";" | derived?="derived" //domainDescription?="domainDescription"? type=[LScalarType] name=TRANSLATABLEID derivedGetterExpression=XBlockExpression //| ("var" | id?="id" | uuid?="uuid" | version?="version" | domainDescription?="domainDescription" | //domainKey?="domainKey") type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID //persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ";" public Alternatives getAlternatives_2_1_1() { return cAlternatives_2_1_1; } //transient?="transient" type=[LScalarType] name=TRANSLATABLEID ";" public Group getGroup_2_1_1_0() { return cGroup_2_1_1_0; } //transient?="transient" public Assignment getTransientAssignment_2_1_1_0_0() { return cTransientAssignment_2_1_1_0_0; } //"transient" public Keyword getTransientTransientKeyword_2_1_1_0_0_0() { return cTransientTransientKeyword_2_1_1_0_0_0; } //type=[LScalarType] public Assignment getTypeAssignment_2_1_1_0_1() { return cTypeAssignment_2_1_1_0_1; } //[LScalarType] public CrossReference getTypeLScalarTypeCrossReference_2_1_1_0_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_0_1_0; } //ID public RuleCall getTypeLScalarTypeIDTerminalRuleCall_2_1_1_0_1_0_1() { return cTypeLScalarTypeIDTerminalRuleCall_2_1_1_0_1_0_1; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_1_1_0_2() { return cNameAssignment_2_1_1_0_2; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_2_0; } //";" public Keyword getSemicolonKeyword_2_1_1_0_3() { return cSemicolonKeyword_2_1_1_0_3; } //derived?="derived" domainDescription?="domainDescription"? type=[LScalarType] name=TRANSLATABLEID //derivedGetterExpression=XBlockExpression public Group getGroup_2_1_1_1() { return cGroup_2_1_1_1; } //derived?="derived" public Assignment getDerivedAssignment_2_1_1_1_0() { return cDerivedAssignment_2_1_1_1_0; } //"derived" public Keyword getDerivedDerivedKeyword_2_1_1_1_0_0() { return cDerivedDerivedKeyword_2_1_1_1_0_0; } //domainDescription?="domainDescription"? public Assignment getDomainDescriptionAssignment_2_1_1_1_1() { return cDomainDescriptionAssignment_2_1_1_1_1; } //"domainDescription" public Keyword getDomainDescriptionDomainDescriptionKeyword_2_1_1_1_1_0() { return cDomainDescriptionDomainDescriptionKeyword_2_1_1_1_1_0; } //type=[LScalarType] public Assignment getTypeAssignment_2_1_1_1_2() { return cTypeAssignment_2_1_1_1_2; } //[LScalarType] public CrossReference getTypeLScalarTypeCrossReference_2_1_1_1_2_0() { return cTypeLScalarTypeCrossReference_2_1_1_1_2_0; } //ID public RuleCall getTypeLScalarTypeIDTerminalRuleCall_2_1_1_1_2_0_1() { return cTypeLScalarTypeIDTerminalRuleCall_2_1_1_1_2_0_1; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_1_1_1_3() { return cNameAssignment_2_1_1_1_3; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0; } //derivedGetterExpression=XBlockExpression public Assignment getDerivedGetterExpressionAssignment_2_1_1_1_4() { return cDerivedGetterExpressionAssignment_2_1_1_1_4; } //XBlockExpression public RuleCall getDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_4_0() { return cDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_4_0; } //("var" | id?="id" | uuid?="uuid" | version?="version" | domainDescription?="domainDescription" | domainKey?="domainKey") //type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" //opposite=[entity::LBeanReference|LFQN])? ";" public Group getGroup_2_1_1_2() { return cGroup_2_1_1_2; } //"var" | id?="id" | uuid?="uuid" | version?="version" | domainDescription?="domainDescription" | domainKey?="domainKey" public Alternatives getAlternatives_2_1_1_2_0() { return cAlternatives_2_1_1_2_0; } //"var" public Keyword getVarKeyword_2_1_1_2_0_0() { return cVarKeyword_2_1_1_2_0_0; } //id?="id" public Assignment getIdAssignment_2_1_1_2_0_1() { return cIdAssignment_2_1_1_2_0_1; } //"id" public Keyword getIdIdKeyword_2_1_1_2_0_1_0() { return cIdIdKeyword_2_1_1_2_0_1_0; } //uuid?="uuid" public Assignment getUuidAssignment_2_1_1_2_0_2() { return cUuidAssignment_2_1_1_2_0_2; } //"uuid" public Keyword getUuidUuidKeyword_2_1_1_2_0_2_0() { return cUuidUuidKeyword_2_1_1_2_0_2_0; } //version?="version" public Assignment getVersionAssignment_2_1_1_2_0_3() { return cVersionAssignment_2_1_1_2_0_3; } //"version" public Keyword getVersionVersionKeyword_2_1_1_2_0_3_0() { return cVersionVersionKeyword_2_1_1_2_0_3_0; } //domainDescription?="domainDescription" public Assignment getDomainDescriptionAssignment_2_1_1_2_0_4() { return cDomainDescriptionAssignment_2_1_1_2_0_4; } //"domainDescription" public Keyword getDomainDescriptionDomainDescriptionKeyword_2_1_1_2_0_4_0() { return cDomainDescriptionDomainDescriptionKeyword_2_1_1_2_0_4_0; } //domainKey?="domainKey" public Assignment getDomainKeyAssignment_2_1_1_2_0_5() { return cDomainKeyAssignment_2_1_1_2_0_5; } //"domainKey" public Keyword getDomainKeyDomainKeyKeyword_2_1_1_2_0_5_0() { return cDomainKeyDomainKeyKeyword_2_1_1_2_0_5_0; } //type=[LScalarType] public Assignment getTypeAssignment_2_1_1_2_1() { return cTypeAssignment_2_1_1_2_1; } //[LScalarType] public CrossReference getTypeLScalarTypeCrossReference_2_1_1_2_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_2_1_0; } //ID public RuleCall getTypeLScalarTypeIDTerminalRuleCall_2_1_1_2_1_0_1() { return cTypeLScalarTypeIDTerminalRuleCall_2_1_1_2_1_0_1; } //multiplicity=Multiplicity? public Assignment getMultiplicityAssignment_2_1_1_2_2() { return cMultiplicityAssignment_2_1_1_2_2; } //Multiplicity public RuleCall getMultiplicityMultiplicityParserRuleCall_2_1_1_2_2_0() { return cMultiplicityMultiplicityParserRuleCall_2_1_1_2_2_0; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_1_1_2_3() { return cNameAssignment_2_1_1_2_3; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_2_3_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_2_3_0; } //persistenceInfo=ColumnPersistenceInfo? public Assignment getPersistenceInfoAssignment_2_1_1_2_4() { return cPersistenceInfoAssignment_2_1_1_2_4; } //ColumnPersistenceInfo public RuleCall getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_4_0() { return cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_4_0; } //("opposite" opposite=[entity::LBeanReference|LFQN])? public Group getGroup_2_1_1_2_5() { return cGroup_2_1_1_2_5; } //"opposite" public Keyword getOppositeKeyword_2_1_1_2_5_0() { return cOppositeKeyword_2_1_1_2_5_0; } //opposite=[entity::LBeanReference|LFQN] public Assignment getOppositeAssignment_2_1_1_2_5_1() { return cOppositeAssignment_2_1_1_2_5_1; } //[entity::LBeanReference|LFQN] public CrossReference getOppositeLBeanReferenceCrossReference_2_1_1_2_5_1_0() { return cOppositeLBeanReferenceCrossReference_2_1_1_2_5_1_0; } //LFQN public RuleCall getOppositeLBeanReferenceLFQNParserRuleCall_2_1_1_2_5_1_0_1() { return cOppositeLBeanReferenceLFQNParserRuleCall_2_1_1_2_5_1_0_1; } //";" public Keyword getSemicolonKeyword_2_1_1_2_6() { return cSemicolonKeyword_2_1_1_2_6; } //{entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" //(params+=FullJvmFormalParameter (", " params+=FullJvmFormalParameter)*)? ")" body=XExpression) public Group getGroup_2_2() { return cGroup_2_2; } //{entity::LOperation.annotationInfo=current} public Action getLOperationAnnotationInfoAction_2_2_0() { return cLOperationAnnotationInfoAction_2_2_0; } //"def" type=JvmTypeReference name=TRANSLATABLEID "(" (params+=FullJvmFormalParameter (", " //params+=FullJvmFormalParameter)*)? ")" body=XExpression public Group getGroup_2_2_1() { return cGroup_2_2_1; } //"def" public Keyword getDefKeyword_2_2_1_0() { return cDefKeyword_2_2_1_0; } //type=JvmTypeReference public Assignment getTypeAssignment_2_2_1_1() { return cTypeAssignment_2_2_1_1; } //JvmTypeReference public RuleCall getTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0() { return cTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_2_1_2() { return cNameAssignment_2_2_1_2; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0; } //"(" public Keyword getLeftParenthesisKeyword_2_2_1_3() { return cLeftParenthesisKeyword_2_2_1_3; } //(params+=FullJvmFormalParameter (", " params+=FullJvmFormalParameter)*)? public Group getGroup_2_2_1_4() { return cGroup_2_2_1_4; } //params+=FullJvmFormalParameter public Assignment getParamsAssignment_2_2_1_4_0() { return cParamsAssignment_2_2_1_4_0; } //FullJvmFormalParameter public RuleCall getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0() { return cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0; } //(", " params+=FullJvmFormalParameter)* public Group getGroup_2_2_1_4_1() { return cGroup_2_2_1_4_1; } //", " public Keyword getCommaSpaceKeyword_2_2_1_4_1_0() { return cCommaSpaceKeyword_2_2_1_4_1_0; } //params+=FullJvmFormalParameter public Assignment getParamsAssignment_2_2_1_4_1_1() { return cParamsAssignment_2_2_1_4_1_1; } //FullJvmFormalParameter public RuleCall getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0() { return cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0; } //")" public Keyword getRightParenthesisKeyword_2_2_1_5() { return cRightParenthesisKeyword_2_2_1_5; } //body=XExpression public Assignment getBodyAssignment_2_2_1_6() { return cBodyAssignment_2_2_1_6; } //XExpression public RuleCall getBodyXExpressionParserRuleCall_2_2_1_6_0() { return cBodyXExpressionParserRuleCall_2_2_1_6_0; } } public class BeanFeatureElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BeanFeature"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLBeanFeatureAction_0 = (Action)cGroup.eContents().get(0); private final Assignment cAnnotationsAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cAnnotationsAnnotationDefParserRuleCall_1_0 = (RuleCall)cAnnotationsAssignment_1.eContents().get(0); private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); private final Action cLBeanReferenceAnnotationInfoAction_2_0_0 = (Action)cGroup_2_0.eContents().get(0); private final Group cGroup_2_0_1 = (Group)cGroup_2_0.eContents().get(1); private final Keyword cRefKeyword_2_0_1_0 = (Keyword)cGroup_2_0_1.eContents().get(0); private final Assignment cCascadingAssignment_2_0_1_1 = (Assignment)cGroup_2_0_1.eContents().get(1); private final Keyword cCascadingCascadeKeyword_2_0_1_1_0 = (Keyword)cCascadingAssignment_2_0_1_1.eContents().get(0); private final Assignment cTypeAssignment_2_0_1_2 = (Assignment)cGroup_2_0_1.eContents().get(2); private final CrossReference cTypeLTypeCrossReference_2_0_1_2_0 = (CrossReference)cTypeAssignment_2_0_1_2.eContents().get(0); private final RuleCall cTypeLTypeIDTerminalRuleCall_2_0_1_2_0_1 = (RuleCall)cTypeLTypeCrossReference_2_0_1_2_0.eContents().get(1); private final Assignment cMultiplicityAssignment_2_0_1_3 = (Assignment)cGroup_2_0_1.eContents().get(3); private final RuleCall cMultiplicityMultiplicityParserRuleCall_2_0_1_3_0 = (RuleCall)cMultiplicityAssignment_2_0_1_3.eContents().get(0); private final Assignment cNameAssignment_2_0_1_4 = (Assignment)cGroup_2_0_1.eContents().get(4); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0_1_4_0 = (RuleCall)cNameAssignment_2_0_1_4.eContents().get(0); private final Group cGroup_2_0_1_5 = (Group)cGroup_2_0_1.eContents().get(5); private final Keyword cOppositeKeyword_2_0_1_5_0 = (Keyword)cGroup_2_0_1_5.eContents().get(0); private final Assignment cOppositeAssignment_2_0_1_5_1 = (Assignment)cGroup_2_0_1_5.eContents().get(1); private final CrossReference cOppositeLReferenceCrossReference_2_0_1_5_1_0 = (CrossReference)cOppositeAssignment_2_0_1_5_1.eContents().get(0); private final RuleCall cOppositeLReferenceLFQNParserRuleCall_2_0_1_5_1_0_1 = (RuleCall)cOppositeLReferenceCrossReference_2_0_1_5_1_0.eContents().get(1); private final Alternatives cAlternatives_2_0_1_6 = (Alternatives)cGroup_2_0_1.eContents().get(6); private final Assignment cConstraintsAssignment_2_0_1_6_0 = (Assignment)cAlternatives_2_0_1_6.eContents().get(0); private final RuleCall cConstraintsConstraintsParserRuleCall_2_0_1_6_0_0 = (RuleCall)cConstraintsAssignment_2_0_1_6_0.eContents().get(0); private final Keyword cSemicolonKeyword_2_0_1_6_1 = (Keyword)cAlternatives_2_0_1_6.eContents().get(1); private final Group cGroup_2_1 = (Group)cAlternatives_2.eContents().get(1); private final Action cLBeanAttributeAnnotationInfoAction_2_1_0 = (Action)cGroup_2_1.eContents().get(0); private final Alternatives cAlternatives_2_1_1 = (Alternatives)cGroup_2_1.eContents().get(1); private final Group cGroup_2_1_1_0 = (Group)cAlternatives_2_1_1.eContents().get(0); private final Assignment cTransientAssignment_2_1_1_0_0 = (Assignment)cGroup_2_1_1_0.eContents().get(0); private final Keyword cTransientTransientKeyword_2_1_1_0_0_0 = (Keyword)cTransientAssignment_2_1_1_0_0.eContents().get(0); private final Assignment cTypeAssignment_2_1_1_0_1 = (Assignment)cGroup_2_1_1_0.eContents().get(1); private final CrossReference cTypeLScalarTypeCrossReference_2_1_1_0_1_0 = (CrossReference)cTypeAssignment_2_1_1_0_1.eContents().get(0); private final RuleCall cTypeLScalarTypeIDTerminalRuleCall_2_1_1_0_1_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_0_1_0.eContents().get(1); private final Assignment cNameAssignment_2_1_1_0_2 = (Assignment)cGroup_2_1_1_0.eContents().get(2); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_2_0 = (RuleCall)cNameAssignment_2_1_1_0_2.eContents().get(0); private final Group cGroup_2_1_1_1 = (Group)cAlternatives_2_1_1.eContents().get(1); private final Alternatives cAlternatives_2_1_1_1_0 = (Alternatives)cGroup_2_1_1_1.eContents().get(0); private final Keyword cVarKeyword_2_1_1_1_0_0 = (Keyword)cAlternatives_2_1_1_1_0.eContents().get(0); private final Assignment cIdAssignment_2_1_1_1_0_1 = (Assignment)cAlternatives_2_1_1_1_0.eContents().get(1); private final Keyword cIdIdKeyword_2_1_1_1_0_1_0 = (Keyword)cIdAssignment_2_1_1_1_0_1.eContents().get(0); private final Assignment cVersionAssignment_2_1_1_1_0_2 = (Assignment)cAlternatives_2_1_1_1_0.eContents().get(2); private final Keyword cVersionVersionKeyword_2_1_1_1_0_2_0 = (Keyword)cVersionAssignment_2_1_1_1_0_2.eContents().get(0); private final Assignment cTypeAssignment_2_1_1_1_1 = (Assignment)cGroup_2_1_1_1.eContents().get(1); private final CrossReference cTypeLScalarTypeCrossReference_2_1_1_1_1_0 = (CrossReference)cTypeAssignment_2_1_1_1_1.eContents().get(0); private final RuleCall cTypeLScalarTypeIDTerminalRuleCall_2_1_1_1_1_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_1_1_0.eContents().get(1); private final Assignment cMultiplicityAssignment_2_1_1_1_2 = (Assignment)cGroup_2_1_1_1.eContents().get(2); private final RuleCall cMultiplicityMultiplicityParserRuleCall_2_1_1_1_2_0 = (RuleCall)cMultiplicityAssignment_2_1_1_1_2.eContents().get(0); private final Assignment cNameAssignment_2_1_1_1_3 = (Assignment)cGroup_2_1_1_1.eContents().get(3); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0 = (RuleCall)cNameAssignment_2_1_1_1_3.eContents().get(0); private final Keyword cSemicolonKeyword_2_1_1_1_4 = (Keyword)cGroup_2_1_1_1.eContents().get(4); private final Group cGroup_2_2 = (Group)cAlternatives_2.eContents().get(2); private final Action cLOperationAnnotationInfoAction_2_2_0 = (Action)cGroup_2_2.eContents().get(0); private final Group cGroup_2_2_1 = (Group)cGroup_2_2.eContents().get(1); private final Keyword cDefKeyword_2_2_1_0 = (Keyword)cGroup_2_2_1.eContents().get(0); private final Assignment cTypeAssignment_2_2_1_1 = (Assignment)cGroup_2_2_1.eContents().get(1); private final RuleCall cTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0 = (RuleCall)cTypeAssignment_2_2_1_1.eContents().get(0); private final Assignment cNameAssignment_2_2_1_2 = (Assignment)cGroup_2_2_1.eContents().get(2); private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0 = (RuleCall)cNameAssignment_2_2_1_2.eContents().get(0); private final Keyword cLeftParenthesisKeyword_2_2_1_3 = (Keyword)cGroup_2_2_1.eContents().get(3); private final Group cGroup_2_2_1_4 = (Group)cGroup_2_2_1.eContents().get(4); private final Assignment cParamsAssignment_2_2_1_4_0 = (Assignment)cGroup_2_2_1_4.eContents().get(0); private final RuleCall cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0 = (RuleCall)cParamsAssignment_2_2_1_4_0.eContents().get(0); private final Group cGroup_2_2_1_4_1 = (Group)cGroup_2_2_1_4.eContents().get(1); private final Keyword cCommaKeyword_2_2_1_4_1_0 = (Keyword)cGroup_2_2_1_4_1.eContents().get(0); private final Assignment cParamsAssignment_2_2_1_4_1_1 = (Assignment)cGroup_2_2_1_4_1.eContents().get(1); private final RuleCall cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0 = (RuleCall)cParamsAssignment_2_2_1_4_1_1.eContents().get(0); private final Keyword cRightParenthesisKeyword_2_2_1_5 = (Keyword)cGroup_2_2_1.eContents().get(5); private final Assignment cBodyAssignment_2_2_1_6 = (Assignment)cGroup_2_2_1.eContents().get(6); private final RuleCall cBodyXExpressionParserRuleCall_2_2_1_6_0 = (RuleCall)cBodyAssignment_2_2_1_6.eContents().get(0); //BeanFeature returns entity::LBeanFeature: // {entity::LBeanFeature} annotations+=AnnotationDef* ({entity::LBeanReference.annotationInfo=current} ("ref" // cascading?="cascade"? type=[LType] multiplicity=Multiplicity? name=TRANSLATABLEID ("opposite" // opposite=[LReference|LFQN])? (constraints=Constraints | ";")) | {entity::LBeanAttribute.annotationInfo=current} // (transient?="transient" type=[LScalarType] name=TRANSLATABLEID | ("var" | id?="id" | version?="version") // type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";") | {entity::LOperation.annotationInfo=current} // ("def" type=JvmTypeReference name=TRANSLATABLEID "(" (params+=FullJvmFormalParameter ("," // params+=FullJvmFormalParameter)*)? ")" body=XExpression)); public ParserRule getRule() { return rule; } //{entity::LBeanFeature} annotations+=AnnotationDef* ({entity::LBeanReference.annotationInfo=current} ("ref" //cascading?="cascade"? type=[LType] multiplicity=Multiplicity? name=TRANSLATABLEID ("opposite" //opposite=[LReference|LFQN])? (constraints=Constraints | ";")) | {entity::LBeanAttribute.annotationInfo=current} //(transient?="transient" type=[LScalarType] name=TRANSLATABLEID | ("var" | id?="id" | version?="version") //type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";") | {entity::LOperation.annotationInfo=current} //("def" type=JvmTypeReference name=TRANSLATABLEID "(" (params+=FullJvmFormalParameter ("," //params+=FullJvmFormalParameter)*)? ")" body=XExpression)) public Group getGroup() { return cGroup; } //{entity::LBeanFeature} public Action getLBeanFeatureAction_0() { return cLBeanFeatureAction_0; } //annotations+=AnnotationDef* public Assignment getAnnotationsAssignment_1() { return cAnnotationsAssignment_1; } //AnnotationDef public RuleCall getAnnotationsAnnotationDefParserRuleCall_1_0() { return cAnnotationsAnnotationDefParserRuleCall_1_0; } //{entity::LBeanReference.annotationInfo=current} ("ref" cascading?="cascade"? type=[LType] multiplicity=Multiplicity? //name=TRANSLATABLEID ("opposite" opposite=[LReference|LFQN])? (constraints=Constraints | ";")) | //{entity::LBeanAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] name=TRANSLATABLEID | ("var" //| id?="id" | version?="version") type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";") | //{entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" //(params+=FullJvmFormalParameter ("," params+=FullJvmFormalParameter)*)? ")" body=XExpression) public Alternatives getAlternatives_2() { return cAlternatives_2; } //{entity::LBeanReference.annotationInfo=current} ("ref" cascading?="cascade"? type=[LType] multiplicity=Multiplicity? //name=TRANSLATABLEID ("opposite" opposite=[LReference|LFQN])? (constraints=Constraints | ";")) public Group getGroup_2_0() { return cGroup_2_0; } //{entity::LBeanReference.annotationInfo=current} public Action getLBeanReferenceAnnotationInfoAction_2_0_0() { return cLBeanReferenceAnnotationInfoAction_2_0_0; } //"ref" cascading?="cascade"? type=[LType] multiplicity=Multiplicity? name=TRANSLATABLEID ("opposite" //opposite=[LReference|LFQN])? (constraints=Constraints | ";") public Group getGroup_2_0_1() { return cGroup_2_0_1; } //"ref" public Keyword getRefKeyword_2_0_1_0() { return cRefKeyword_2_0_1_0; } //cascading?="cascade"? public Assignment getCascadingAssignment_2_0_1_1() { return cCascadingAssignment_2_0_1_1; } //"cascade" public Keyword getCascadingCascadeKeyword_2_0_1_1_0() { return cCascadingCascadeKeyword_2_0_1_1_0; } //type=[LType] public Assignment getTypeAssignment_2_0_1_2() { return cTypeAssignment_2_0_1_2; } //[LType] public CrossReference getTypeLTypeCrossReference_2_0_1_2_0() { return cTypeLTypeCrossReference_2_0_1_2_0; } //ID public RuleCall getTypeLTypeIDTerminalRuleCall_2_0_1_2_0_1() { return cTypeLTypeIDTerminalRuleCall_2_0_1_2_0_1; } //multiplicity=Multiplicity? public Assignment getMultiplicityAssignment_2_0_1_3() { return cMultiplicityAssignment_2_0_1_3; } //Multiplicity public RuleCall getMultiplicityMultiplicityParserRuleCall_2_0_1_3_0() { return cMultiplicityMultiplicityParserRuleCall_2_0_1_3_0; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_0_1_4() { return cNameAssignment_2_0_1_4; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0_1_4_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0_1_4_0; } //("opposite" opposite=[LReference|LFQN])? public Group getGroup_2_0_1_5() { return cGroup_2_0_1_5; } //"opposite" public Keyword getOppositeKeyword_2_0_1_5_0() { return cOppositeKeyword_2_0_1_5_0; } //opposite=[LReference|LFQN] public Assignment getOppositeAssignment_2_0_1_5_1() { return cOppositeAssignment_2_0_1_5_1; } //[LReference|LFQN] public CrossReference getOppositeLReferenceCrossReference_2_0_1_5_1_0() { return cOppositeLReferenceCrossReference_2_0_1_5_1_0; } //LFQN public RuleCall getOppositeLReferenceLFQNParserRuleCall_2_0_1_5_1_0_1() { return cOppositeLReferenceLFQNParserRuleCall_2_0_1_5_1_0_1; } //constraints=Constraints | ";" public Alternatives getAlternatives_2_0_1_6() { return cAlternatives_2_0_1_6; } //constraints=Constraints public Assignment getConstraintsAssignment_2_0_1_6_0() { return cConstraintsAssignment_2_0_1_6_0; } //Constraints public RuleCall getConstraintsConstraintsParserRuleCall_2_0_1_6_0_0() { return cConstraintsConstraintsParserRuleCall_2_0_1_6_0_0; } //";" public Keyword getSemicolonKeyword_2_0_1_6_1() { return cSemicolonKeyword_2_0_1_6_1; } //{entity::LBeanAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] name=TRANSLATABLEID | ("var" //| id?="id" | version?="version") type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";") public Group getGroup_2_1() { return cGroup_2_1; } //{entity::LBeanAttribute.annotationInfo=current} public Action getLBeanAttributeAnnotationInfoAction_2_1_0() { return cLBeanAttributeAnnotationInfoAction_2_1_0; } //transient?="transient" type=[LScalarType] name=TRANSLATABLEID | ("var" | id?="id" | version?="version") //type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";" public Alternatives getAlternatives_2_1_1() { return cAlternatives_2_1_1; } //transient?="transient" type=[LScalarType] name=TRANSLATABLEID public Group getGroup_2_1_1_0() { return cGroup_2_1_1_0; } //transient?="transient" public Assignment getTransientAssignment_2_1_1_0_0() { return cTransientAssignment_2_1_1_0_0; } //"transient" public Keyword getTransientTransientKeyword_2_1_1_0_0_0() { return cTransientTransientKeyword_2_1_1_0_0_0; } //type=[LScalarType] public Assignment getTypeAssignment_2_1_1_0_1() { return cTypeAssignment_2_1_1_0_1; } //[LScalarType] public CrossReference getTypeLScalarTypeCrossReference_2_1_1_0_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_0_1_0; } //ID public RuleCall getTypeLScalarTypeIDTerminalRuleCall_2_1_1_0_1_0_1() { return cTypeLScalarTypeIDTerminalRuleCall_2_1_1_0_1_0_1; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_1_1_0_2() { return cNameAssignment_2_1_1_0_2; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_2_0; } //("var" | id?="id" | version?="version") type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";" public Group getGroup_2_1_1_1() { return cGroup_2_1_1_1; } //"var" | id?="id" | version?="version" public Alternatives getAlternatives_2_1_1_1_0() { return cAlternatives_2_1_1_1_0; } //"var" public Keyword getVarKeyword_2_1_1_1_0_0() { return cVarKeyword_2_1_1_1_0_0; } //id?="id" public Assignment getIdAssignment_2_1_1_1_0_1() { return cIdAssignment_2_1_1_1_0_1; } //"id" public Keyword getIdIdKeyword_2_1_1_1_0_1_0() { return cIdIdKeyword_2_1_1_1_0_1_0; } //version?="version" public Assignment getVersionAssignment_2_1_1_1_0_2() { return cVersionAssignment_2_1_1_1_0_2; } //"version" public Keyword getVersionVersionKeyword_2_1_1_1_0_2_0() { return cVersionVersionKeyword_2_1_1_1_0_2_0; } //type=[LScalarType] public Assignment getTypeAssignment_2_1_1_1_1() { return cTypeAssignment_2_1_1_1_1; } //[LScalarType] public CrossReference getTypeLScalarTypeCrossReference_2_1_1_1_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_1_1_0; } //ID public RuleCall getTypeLScalarTypeIDTerminalRuleCall_2_1_1_1_1_0_1() { return cTypeLScalarTypeIDTerminalRuleCall_2_1_1_1_1_0_1; } //multiplicity=Multiplicity? public Assignment getMultiplicityAssignment_2_1_1_1_2() { return cMultiplicityAssignment_2_1_1_1_2; } //Multiplicity public RuleCall getMultiplicityMultiplicityParserRuleCall_2_1_1_1_2_0() { return cMultiplicityMultiplicityParserRuleCall_2_1_1_1_2_0; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_1_1_1_3() { return cNameAssignment_2_1_1_1_3; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_1_3_0; } //";" public Keyword getSemicolonKeyword_2_1_1_1_4() { return cSemicolonKeyword_2_1_1_1_4; } //{entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" //(params+=FullJvmFormalParameter ("," params+=FullJvmFormalParameter)*)? ")" body=XExpression) public Group getGroup_2_2() { return cGroup_2_2; } //{entity::LOperation.annotationInfo=current} public Action getLOperationAnnotationInfoAction_2_2_0() { return cLOperationAnnotationInfoAction_2_2_0; } //"def" type=JvmTypeReference name=TRANSLATABLEID "(" (params+=FullJvmFormalParameter ("," //params+=FullJvmFormalParameter)*)? ")" body=XExpression public Group getGroup_2_2_1() { return cGroup_2_2_1; } //"def" public Keyword getDefKeyword_2_2_1_0() { return cDefKeyword_2_2_1_0; } //type=JvmTypeReference public Assignment getTypeAssignment_2_2_1_1() { return cTypeAssignment_2_2_1_1; } //JvmTypeReference public RuleCall getTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0() { return cTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0; } //name=TRANSLATABLEID public Assignment getNameAssignment_2_2_1_2() { return cNameAssignment_2_2_1_2; } //TRANSLATABLEID public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_2_1_2_0; } //"(" public Keyword getLeftParenthesisKeyword_2_2_1_3() { return cLeftParenthesisKeyword_2_2_1_3; } //(params+=FullJvmFormalParameter ("," params+=FullJvmFormalParameter)*)? public Group getGroup_2_2_1_4() { return cGroup_2_2_1_4; } //params+=FullJvmFormalParameter public Assignment getParamsAssignment_2_2_1_4_0() { return cParamsAssignment_2_2_1_4_0; } //FullJvmFormalParameter public RuleCall getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0() { return cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0; } //("," params+=FullJvmFormalParameter)* public Group getGroup_2_2_1_4_1() { return cGroup_2_2_1_4_1; } //"," public Keyword getCommaKeyword_2_2_1_4_1_0() { return cCommaKeyword_2_2_1_4_1_0; } //params+=FullJvmFormalParameter public Assignment getParamsAssignment_2_2_1_4_1_1() { return cParamsAssignment_2_2_1_4_1_1; } //FullJvmFormalParameter public RuleCall getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0() { return cParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0; } //")" public Keyword getRightParenthesisKeyword_2_2_1_5() { return cRightParenthesisKeyword_2_2_1_5; } //body=XExpression public Assignment getBodyAssignment_2_2_1_6() { return cBodyAssignment_2_2_1_6; } //XExpression public RuleCall getBodyXExpressionParserRuleCall_2_2_1_6_0() { return cBodyXExpressionParserRuleCall_2_2_1_6_0; } } public class EntityInheritanceStrategyElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EntityInheritanceStrategy"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cTablePerClassStrategyParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cTablePerSubclassStrategyParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //EntityInheritanceStrategy returns entity::LEntityInheritanceStrategy: // TablePerClassStrategy | TablePerSubclassStrategy; public ParserRule getRule() { return rule; } //TablePerClassStrategy | TablePerSubclassStrategy public Alternatives getAlternatives() { return cAlternatives; } //TablePerClassStrategy public RuleCall getTablePerClassStrategyParserRuleCall_0() { return cTablePerClassStrategyParserRuleCall_0; } //TablePerSubclassStrategy public RuleCall getTablePerSubclassStrategyParserRuleCall_1() { return cTablePerSubclassStrategyParserRuleCall_1; } } public class TablePerClassStrategyElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TablePerClassStrategy"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLTablePerClassStrategyAction_0 = (Action)cGroup.eContents().get(0); private final Keyword cInheritancePerClassKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); private final Keyword cDiscriminatorColumnKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); private final Assignment cDiscriminatorColumnAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); private final RuleCall cDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0 = (RuleCall)cDiscriminatorColumnAssignment_3_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2); private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); private final Keyword cDiscriminatorTypeKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); private final Assignment cDiscriminatorTypeAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); private final RuleCall cDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0 = (RuleCall)cDiscriminatorTypeAssignment_3_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); private final Keyword cDiscriminatorValueKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); private final Assignment cDiscriminatorValueAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); private final RuleCall cDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0 = (RuleCall)cDiscriminatorValueAssignment_3_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_2 = (Keyword)cGroup_3_2.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //TablePerClassStrategy returns entity::LTablePerClassStrategy: // {entity::LTablePerClassStrategy} "inheritance per class" "{" (("discriminatorColumn" // discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" discriminatorType=DiscriminatorType ";")? & // ("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")?) "}"; public ParserRule getRule() { return rule; } //{entity::LTablePerClassStrategy} "inheritance per class" "{" (("discriminatorColumn" //discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" discriminatorType=DiscriminatorType ";")? & //("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")?) "}" public Group getGroup() { return cGroup; } //{entity::LTablePerClassStrategy} public Action getLTablePerClassStrategyAction_0() { return cLTablePerClassStrategyAction_0; } //"inheritance per class" public Keyword getInheritancePerClassKeyword_1() { return cInheritancePerClassKeyword_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //("discriminatorColumn" discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" //discriminatorType=DiscriminatorType ";")? & ("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")? public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } //("discriminatorColumn" discriminatorColumn=ValidIDWithKeywords ";")? public Group getGroup_3_0() { return cGroup_3_0; } //"discriminatorColumn" public Keyword getDiscriminatorColumnKeyword_3_0_0() { return cDiscriminatorColumnKeyword_3_0_0; } //discriminatorColumn=ValidIDWithKeywords public Assignment getDiscriminatorColumnAssignment_3_0_1() { return cDiscriminatorColumnAssignment_3_0_1; } //ValidIDWithKeywords public RuleCall getDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0() { return cDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0; } //";" public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } //("discriminatorType" discriminatorType=DiscriminatorType ";")? public Group getGroup_3_1() { return cGroup_3_1; } //"discriminatorType" public Keyword getDiscriminatorTypeKeyword_3_1_0() { return cDiscriminatorTypeKeyword_3_1_0; } //discriminatorType=DiscriminatorType public Assignment getDiscriminatorTypeAssignment_3_1_1() { return cDiscriminatorTypeAssignment_3_1_1; } //DiscriminatorType public RuleCall getDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0() { return cDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0; } //";" public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } //("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")? public Group getGroup_3_2() { return cGroup_3_2; } //"discriminatorValue" public Keyword getDiscriminatorValueKeyword_3_2_0() { return cDiscriminatorValueKeyword_3_2_0; } //discriminatorValue=ValidIDWithKeywords public Assignment getDiscriminatorValueAssignment_3_2_1() { return cDiscriminatorValueAssignment_3_2_1; } //ValidIDWithKeywords public RuleCall getDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0() { return cDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_2() { return cSemicolonKeyword_3_2_2; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class TablePerSubclassStrategyElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TablePerSubclassStrategy"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cLTablePerSubclassStrategyAction_0 = (Action)cGroup.eContents().get(0); private final Keyword cInheritancePerSubclassKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); private final Keyword cDiscriminatorColumnKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); private final Assignment cDiscriminatorColumnAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); private final RuleCall cDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0 = (RuleCall)cDiscriminatorColumnAssignment_3_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2); private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); private final Keyword cDiscriminatorTypeKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); private final Assignment cDiscriminatorTypeAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); private final RuleCall cDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0 = (RuleCall)cDiscriminatorTypeAssignment_3_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); private final Keyword cDiscriminatorValueKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); private final Assignment cDiscriminatorValueAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); private final RuleCall cDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0 = (RuleCall)cDiscriminatorValueAssignment_3_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_2 = (Keyword)cGroup_3_2.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //TablePerSubclassStrategy returns entity::LTablePerSubclassStrategy: // {entity::LTablePerSubclassStrategy} "inheritance per subclass" "{" (("discriminatorColumn" // discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" discriminatorType=DiscriminatorType ";")? & // ("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")?) "}"; public ParserRule getRule() { return rule; } //{entity::LTablePerSubclassStrategy} "inheritance per subclass" "{" (("discriminatorColumn" //discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" discriminatorType=DiscriminatorType ";")? & //("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")?) "}" public Group getGroup() { return cGroup; } //{entity::LTablePerSubclassStrategy} public Action getLTablePerSubclassStrategyAction_0() { return cLTablePerSubclassStrategyAction_0; } //"inheritance per subclass" public Keyword getInheritancePerSubclassKeyword_1() { return cInheritancePerSubclassKeyword_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //("discriminatorColumn" discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" //discriminatorType=DiscriminatorType ";")? & ("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")? public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } //("discriminatorColumn" discriminatorColumn=ValidIDWithKeywords ";")? public Group getGroup_3_0() { return cGroup_3_0; } //"discriminatorColumn" public Keyword getDiscriminatorColumnKeyword_3_0_0() { return cDiscriminatorColumnKeyword_3_0_0; } //discriminatorColumn=ValidIDWithKeywords public Assignment getDiscriminatorColumnAssignment_3_0_1() { return cDiscriminatorColumnAssignment_3_0_1; } //ValidIDWithKeywords public RuleCall getDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0() { return cDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_0_1_0; } //";" public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } //("discriminatorType" discriminatorType=DiscriminatorType ";")? public Group getGroup_3_1() { return cGroup_3_1; } //"discriminatorType" public Keyword getDiscriminatorTypeKeyword_3_1_0() { return cDiscriminatorTypeKeyword_3_1_0; } //discriminatorType=DiscriminatorType public Assignment getDiscriminatorTypeAssignment_3_1_1() { return cDiscriminatorTypeAssignment_3_1_1; } //DiscriminatorType public RuleCall getDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0() { return cDiscriminatorTypeDiscriminatorTypeEnumRuleCall_3_1_1_0; } //";" public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } //("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")? public Group getGroup_3_2() { return cGroup_3_2; } //"discriminatorValue" public Keyword getDiscriminatorValueKeyword_3_2_0() { return cDiscriminatorValueKeyword_3_2_0; } //discriminatorValue=ValidIDWithKeywords public Assignment getDiscriminatorValueAssignment_3_2_1() { return cDiscriminatorValueAssignment_3_2_1; } //ValidIDWithKeywords public RuleCall getDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0() { return cDiscriminatorValueValidIDWithKeywordsParserRuleCall_3_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_2() { return cSemicolonKeyword_3_2_2; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class TRANSLATABLEIDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLEID"); private final RuleCall cValidIDWithKeywordsParserRuleCall = (RuleCall)rule.eContents().get(1); //TRANSLATABLEID: // ValidIDWithKeywords; public ParserRule getRule() { return rule; } //ValidIDWithKeywords public RuleCall getValidIDWithKeywordsParserRuleCall() { return cValidIDWithKeywordsParserRuleCall; } } public class TRANSLATABLESTRINGElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLESTRING"); private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); //TRANSLATABLESTRING: // STRING; public ParserRule getRule() { return rule; } //STRING public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } } public class DiscriminatorTypeElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "DiscriminatorType"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cINHERITEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cINHERITINHERITKeyword_0_0 = (Keyword)cINHERITEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cSTRINGEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cSTRINGSTRINGKeyword_1_0 = (Keyword)cSTRINGEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cCHAREnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cCHARCHARKeyword_2_0 = (Keyword)cCHAREnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cINTEGEREnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cINTEGERINTKeyword_3_0 = (Keyword)cINTEGEREnumLiteralDeclaration_3.eContents().get(0); //enum DiscriminatorType returns entity::LDiscriminatorType: // INHERIT | STRING | CHAR | INTEGER="INT"; public EnumRule getRule() { return rule; } //INHERIT | STRING | CHAR | INTEGER="INT" public Alternatives getAlternatives() { return cAlternatives; } //INHERIT public EnumLiteralDeclaration getINHERITEnumLiteralDeclaration_0() { return cINHERITEnumLiteralDeclaration_0; } //"INHERIT" public Keyword getINHERITINHERITKeyword_0_0() { return cINHERITINHERITKeyword_0_0; } //STRING public EnumLiteralDeclaration getSTRINGEnumLiteralDeclaration_1() { return cSTRINGEnumLiteralDeclaration_1; } //"STRING" public Keyword getSTRINGSTRINGKeyword_1_0() { return cSTRINGSTRINGKeyword_1_0; } //CHAR public EnumLiteralDeclaration getCHAREnumLiteralDeclaration_2() { return cCHAREnumLiteralDeclaration_2; } //"CHAR" public Keyword getCHARCHARKeyword_2_0() { return cCHARCHARKeyword_2_0; } //INTEGER="INT" public EnumLiteralDeclaration getINTEGEREnumLiteralDeclaration_3() { return cINTEGEREnumLiteralDeclaration_3; } //"INT" public Keyword getINTEGERINTKeyword_3_0() { return cINTEGERINTKeyword_3_0; } } public class LHistorizedDateTypeElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LHistorizedDateType"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cDATEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cDATEDATEKeyword_0_0 = (Keyword)cDATEEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cTIMESTAMPEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cTIMESTAMPTIMESTAMPKeyword_1_0 = (Keyword)cTIMESTAMPEnumLiteralDeclaration_1.eContents().get(0); //enum LHistorizedDateType returns LDateType: // DATE | TIMESTAMP; public EnumRule getRule() { return rule; } //DATE | TIMESTAMP public Alternatives getAlternatives() { return cAlternatives; } //DATE public EnumLiteralDeclaration getDATEEnumLiteralDeclaration_0() { return cDATEEnumLiteralDeclaration_0; } //"DATE" public Keyword getDATEDATEKeyword_0_0() { return cDATEDATEKeyword_0_0; } //TIMESTAMP public EnumLiteralDeclaration getTIMESTAMPEnumLiteralDeclaration_1() { return cTIMESTAMPEnumLiteralDeclaration_1; } //"TIMESTAMP" public Keyword getTIMESTAMPTIMESTAMPKeyword_1_0() { return cTIMESTAMPTIMESTAMPKeyword_1_0; } } private final EntityModelElements pEntityModel; private final ClassElements pClass; private final IndexElements pIndex; private final EntityPersistenceInfoElements pEntityPersistenceInfo; private final ColumnPersistenceInfoElements pColumnPersistenceInfo; private final EntityFeatureElements pEntityFeature; private final BeanFeatureElements pBeanFeature; private final EntityInheritanceStrategyElements pEntityInheritanceStrategy; private final TablePerClassStrategyElements pTablePerClassStrategy; private final TablePerSubclassStrategyElements pTablePerSubclassStrategy; private final DiscriminatorTypeElements unknownRuleDiscriminatorType; private final LHistorizedDateTypeElements unknownRuleLHistorizedDateType; private final TRANSLATABLEIDElements pTRANSLATABLEID; private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING; private final Grammar grammar; private final CommonGrammarGrammarAccess gaCommonGrammar; @Inject public EntityGrammarGrammarAccess(GrammarProvider grammarProvider, CommonGrammarGrammarAccess gaCommonGrammar) { this.grammar = internalFindGrammar(grammarProvider); this.gaCommonGrammar = gaCommonGrammar; this.pEntityModel = new EntityModelElements(); this.pClass = new ClassElements(); this.pIndex = new IndexElements(); this.pEntityPersistenceInfo = new EntityPersistenceInfoElements(); this.pColumnPersistenceInfo = new ColumnPersistenceInfoElements(); this.pEntityFeature = new EntityFeatureElements(); this.pBeanFeature = new BeanFeatureElements(); this.pEntityInheritanceStrategy = new EntityInheritanceStrategyElements(); this.pTablePerClassStrategy = new TablePerClassStrategyElements(); this.pTablePerSubclassStrategy = new TablePerSubclassStrategyElements(); this.unknownRuleDiscriminatorType = new DiscriminatorTypeElements(); this.unknownRuleLHistorizedDateType = new LHistorizedDateTypeElements(); this.pTRANSLATABLEID = new TRANSLATABLEIDElements(); this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements(); } protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { Grammar grammar = grammarProvider.getGrammar(this); while (grammar != null) { if ("org.lunifera.dsl.entity.xtext.EntityGrammar".equals(grammar.getName())) { return grammar; } List<Grammar> grammars = grammar.getUsedGrammars(); if (!grammars.isEmpty()) { grammar = grammars.iterator().next(); } else { return null; } } return grammar; } public Grammar getGrammar() { return grammar; } public CommonGrammarGrammarAccess getCommonGrammarGrammarAccess() { return gaCommonGrammar; } //EntityModel returns entity::LEntityModel: // packages+=TypedPackage*; public EntityModelElements getEntityModelAccess() { return pEntityModel; } public ParserRule getEntityModelRule() { return getEntityModelAccess().getRule(); } //Class returns LClass: // {LClass} annotations+=AnnotationDef* ({entity::LEntity.annotationInfo=current} (abstract?="abstract"? & // (historized?="historized" | timedependent?="timedependent" ("(" timedependentDateType=LHistorizedDateType ")")?)? & // cacheable?="cacheable"?) "entity" name=TRANSLATABLEID ("extends" superType=[entity::LEntity])? "{" // persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? features+=EntityFeature* // indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} mappedSuperclass?="mapped superclass" ("extends" // superType=[entity::LEntity])? name=ValidIDWithKeywords "{" features+=EntityFeature* "}" | // {entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" superType=[entity::LBean])? "{" // features+=BeanFeature* "}"); public ClassElements getClassAccess() { return pClass; } public ParserRule getClassRule() { return getClassAccess().getRule(); } //Index returns entity::LIndex: // unique?="unique"? "index" name=ID "{" features+=[entity::LEntityFeature] (", " features+=[entity::LEntityFeature])* // "}"; public IndexElements getIndexAccess() { return pIndex; } public ParserRule getIndexRule() { return getIndexAccess().getRule(); } //EntityPersistenceInfo returns entity::LEntityPersistenceInfo: // {entity::LEntityPersistenceInfo} (("schemaName" schemaName=ValidIDWithKeywords ";")? & ("tableName" // tableName=ValidIDWithKeywords ";")?); public EntityPersistenceInfoElements getEntityPersistenceInfoAccess() { return pEntityPersistenceInfo; } public ParserRule getEntityPersistenceInfoRule() { return getEntityPersistenceInfoAccess().getRule(); } //ColumnPersistenceInfo returns entity::LEntityColumnPersistenceInfo: // {entity::LEntityColumnPersistenceInfo} "(" columnName=ValidIDWithKeywords ")"; public ColumnPersistenceInfoElements getColumnPersistenceInfoAccess() { return pColumnPersistenceInfo; } public ParserRule getColumnPersistenceInfoRule() { return getColumnPersistenceInfoAccess().getRule(); } //EntityFeature returns entity::LEntityFeature: // {entity::LEntityFeature} annotations+=AnnotationDef* ({entity::LEntityReference.annotationInfo=current} ("ref" // cascading?="cascade"? type=[entity::LEntity] multiplicity=Multiplicity? name=TRANSLATABLEID // persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LEntityReference|LFQN])? (constraints=Constraints // | ";")) | {entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType] // name=TRANSLATABLEID ";" | derived?="derived" domainDescription?="domainDescription"? type=[LScalarType] // name=TRANSLATABLEID derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | // domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType] multiplicity=Multiplicity? // name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ";") | // {entity::LOperation.annotationInfo=current} ("def" type=JvmTypeReference name=TRANSLATABLEID "(" // (params+=FullJvmFormalParameter (", " params+=FullJvmFormalParameter)*)? ")" body=XExpression)); public EntityFeatureElements getEntityFeatureAccess() { return pEntityFeature; } public ParserRule getEntityFeatureRule() { return getEntityFeatureAccess().getRule(); } //BeanFeature returns entity::LBeanFeature: // {entity::LBeanFeature} annotations+=AnnotationDef* ({entity::LBeanReference.annotationInfo=current} ("ref" // cascading?="cascade"? type=[LType] multiplicity=Multiplicity? name=TRANSLATABLEID ("opposite" // opposite=[LReference|LFQN])? (constraints=Constraints | ";")) | {entity::LBeanAttribute.annotationInfo=current} // (transient?="transient" type=[LScalarType] name=TRANSLATABLEID | ("var" | id?="id" | version?="version") // type=[LScalarType] multiplicity=Multiplicity? name=TRANSLATABLEID ";") | {entity::LOperation.annotationInfo=current} // ("def" type=JvmTypeReference name=TRANSLATABLEID "(" (params+=FullJvmFormalParameter ("," // params+=FullJvmFormalParameter)*)? ")" body=XExpression)); public BeanFeatureElements getBeanFeatureAccess() { return pBeanFeature; } public ParserRule getBeanFeatureRule() { return getBeanFeatureAccess().getRule(); } //EntityInheritanceStrategy returns entity::LEntityInheritanceStrategy: // TablePerClassStrategy | TablePerSubclassStrategy; public EntityInheritanceStrategyElements getEntityInheritanceStrategyAccess() { return pEntityInheritanceStrategy; } public ParserRule getEntityInheritanceStrategyRule() { return getEntityInheritanceStrategyAccess().getRule(); } //TablePerClassStrategy returns entity::LTablePerClassStrategy: // {entity::LTablePerClassStrategy} "inheritance per class" "{" (("discriminatorColumn" // discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" discriminatorType=DiscriminatorType ";")? & // ("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")?) "}"; public TablePerClassStrategyElements getTablePerClassStrategyAccess() { return pTablePerClassStrategy; } public ParserRule getTablePerClassStrategyRule() { return getTablePerClassStrategyAccess().getRule(); } //TablePerSubclassStrategy returns entity::LTablePerSubclassStrategy: // {entity::LTablePerSubclassStrategy} "inheritance per subclass" "{" (("discriminatorColumn" // discriminatorColumn=ValidIDWithKeywords ";")? & ("discriminatorType" discriminatorType=DiscriminatorType ";")? & // ("discriminatorValue" discriminatorValue=ValidIDWithKeywords ";")?) "}"; public TablePerSubclassStrategyElements getTablePerSubclassStrategyAccess() { return pTablePerSubclassStrategy; } public ParserRule getTablePerSubclassStrategyRule() { return getTablePerSubclassStrategyAccess().getRule(); } //enum DiscriminatorType returns entity::LDiscriminatorType: // INHERIT | STRING | CHAR | INTEGER="INT"; public DiscriminatorTypeElements getDiscriminatorTypeAccess() { return unknownRuleDiscriminatorType; } public EnumRule getDiscriminatorTypeRule() { return getDiscriminatorTypeAccess().getRule(); } //enum LHistorizedDateType returns LDateType: // DATE | TIMESTAMP; public LHistorizedDateTypeElements getLHistorizedDateTypeAccess() { return unknownRuleLHistorizedDateType; } public EnumRule getLHistorizedDateTypeRule() { return getLHistorizedDateTypeAccess().getRule(); } //TRANSLATABLEID: // ValidIDWithKeywords; public TRANSLATABLEIDElements getTRANSLATABLEIDAccess() { return pTRANSLATABLEID; } public ParserRule getTRANSLATABLEIDRule() { return getTRANSLATABLEIDAccess().getRule(); } //TRANSLATABLESTRING: // STRING; public TRANSLATABLESTRINGElements getTRANSLATABLESTRINGAccess() { return pTRANSLATABLESTRING; } public ParserRule getTRANSLATABLESTRINGRule() { return getTRANSLATABLESTRINGAccess().getRule(); } //TypedPackage returns types::LTypedPackage: // {types::LTypedPackage} "package" name=QualifiedName ("{" imports+=Import* types+=Type* "}")?; public CommonGrammarGrammarAccess.TypedPackageElements getTypedPackageAccess() { return gaCommonGrammar.getTypedPackageAccess(); } public ParserRule getTypedPackageRule() { return getTypedPackageAccess().getRule(); } //Type returns types::LType: // ScalarType | Class; public CommonGrammarGrammarAccess.TypeElements getTypeAccess() { return gaCommonGrammar.getTypeAccess(); } public ParserRule getTypeRule() { return getTypeAccess().getRule(); } //Import returns types::LImport: // "import" importedNamespace=LQualifiedNameWithWildCard ";"; public CommonGrammarGrammarAccess.ImportElements getImportAccess() { return gaCommonGrammar.getImportAccess(); } public ParserRule getImportRule() { return getImportAccess().getRule(); } //DataType returns types::LDataType: // "datatype" name=ValidIDWithKeywords ("jvmType" jvmTypeReference=JvmTypeReference asPrimitive?="as primitive"? | // date?="dateType" dateType=DateType | asBlob?="as blob") ";"; public CommonGrammarGrammarAccess.DataTypeElements getDataTypeAccess() { return gaCommonGrammar.getDataTypeAccess(); } public ParserRule getDataTypeRule() { return getDataTypeAccess().getRule(); } //enum DateType returns types::LDateType: // DATE="date" | TIME="time" | TIMESTAMP="timestamp"; public CommonGrammarGrammarAccess.DateTypeElements getDateTypeAccess() { return gaCommonGrammar.getDateTypeAccess(); } public EnumRule getDateTypeRule() { return getDateTypeAccess().getRule(); } //ScalarType returns types::LScalarType: // DataType | Enum; public CommonGrammarGrammarAccess.ScalarTypeElements getScalarTypeAccess() { return gaCommonGrammar.getScalarTypeAccess(); } public ParserRule getScalarTypeRule() { return getScalarTypeAccess().getRule(); } //Modifier returns types::LModifier: // final?="final"? & static?="static"? & visibility=LVisibility; public CommonGrammarGrammarAccess.ModifierElements getModifierAccess() { return gaCommonGrammar.getModifierAccess(); } public ParserRule getModifierRule() { return getModifierAccess().getRule(); } //Enum returns types::LEnum: // "enum" name=ID "{" literals+=EnumLiteral (", " literals+=EnumLiteral)* "}"; public CommonGrammarGrammarAccess.EnumElements getEnumAccess() { return gaCommonGrammar.getEnumAccess(); } public ParserRule getEnumRule() { return getEnumAccess().getRule(); } //EnumLiteral returns types::LEnumLiteral: // name=ID; public CommonGrammarGrammarAccess.EnumLiteralElements getEnumLiteralAccess() { return gaCommonGrammar.getEnumLiteralAccess(); } public ParserRule getEnumLiteralRule() { return getEnumLiteralAccess().getRule(); } //AnnotationDef returns types::LAnnotationDef: // => (annotation=XAnnotation); public CommonGrammarGrammarAccess.AnnotationDefElements getAnnotationDefAccess() { return gaCommonGrammar.getAnnotationDefAccess(); } public ParserRule getAnnotationDefRule() { return getAnnotationDefAccess().getRule(); } //enum LVisibility returns types::LVisibility: // PACKAGE="package" | PRIVATE="private" | PROTECTED="protected" | PUBLIC="public"; public CommonGrammarGrammarAccess.LVisibilityElements getLVisibilityAccess() { return gaCommonGrammar.getLVisibilityAccess(); } public EnumRule getLVisibilityRule() { return getLVisibilityAccess().getRule(); } //Constraints returns types::LConstraints: // {types::LConstraints} "constraints" "{" constraints+=Constraint* "}"; public CommonGrammarGrammarAccess.ConstraintsElements getConstraintsAccess() { return gaCommonGrammar.getConstraintsAccess(); } public ParserRule getConstraintsRule() { return getConstraintsAccess().getRule(); } //Constraint returns types::LConstraint: // AttributeMatchingConstraint; public CommonGrammarGrammarAccess.ConstraintElements getConstraintAccess() { return gaCommonGrammar.getConstraintAccess(); } public ParserRule getConstraintRule() { return getConstraintAccess().getRule(); } //AttributeMatchingConstraint returns types::LAttributeMatchingConstraint: // attribute=[types::LAttribute] comparatorType=LComparatorType (matchingValue=STRING | => // matchingLiteral=[types::LEnumLiteral]) ";"; public CommonGrammarGrammarAccess.AttributeMatchingConstraintElements getAttributeMatchingConstraintAccess() { return gaCommonGrammar.getAttributeMatchingConstraintAccess(); } public ParserRule getAttributeMatchingConstraintRule() { return getAttributeMatchingConstraintAccess().getRule(); } //enum LComparatorType returns types::LComparatorType: // EQUALS="==" | GREATER=">" | LOWER="<" | GREATER_EQ=">=" | LOWER_EQ="<=" | NOT_EQ="<>"; public CommonGrammarGrammarAccess.LComparatorTypeElements getLComparatorTypeAccess() { return gaCommonGrammar.getLComparatorTypeAccess(); } public EnumRule getLComparatorTypeRule() { return getLComparatorTypeAccess().getRule(); } //LQualifiedNameWithWildCard: // QualifiedName ("." "*")?; public CommonGrammarGrammarAccess.LQualifiedNameWithWildCardElements getLQualifiedNameWithWildCardAccess() { return gaCommonGrammar.getLQualifiedNameWithWildCardAccess(); } public ParserRule getLQualifiedNameWithWildCardRule() { return getLQualifiedNameWithWildCardAccess().getRule(); } //LFQN: // ID ("." ID)*; public CommonGrammarGrammarAccess.LFQNElements getLFQNAccess() { return gaCommonGrammar.getLFQNAccess(); } public ParserRule getLFQNRule() { return getLFQNAccess().getRule(); } //ValidIDWithKeywords: // "cachable" | "id" | "uuid" | "transient" | "version" | "derived" "collection" | "refers" | "settings" | "lazy" | // "notnull" | "dto" | "date" | "mapto" | "ref" | "cascade" | "var" | ID; public CommonGrammarGrammarAccess.ValidIDWithKeywordsElements getValidIDWithKeywordsAccess() { return gaCommonGrammar.getValidIDWithKeywordsAccess(); } public ParserRule getValidIDWithKeywordsRule() { return getValidIDWithKeywordsAccess().getRule(); } //ValidLFQNWithKeywords: // ValidIDWithKeywords ("." ValidIDWithKeywords)*; public CommonGrammarGrammarAccess.ValidLFQNWithKeywordsElements getValidLFQNWithKeywordsAccess() { return gaCommonGrammar.getValidLFQNWithKeywordsAccess(); } public ParserRule getValidLFQNWithKeywordsRule() { return getValidLFQNWithKeywordsAccess().getRule(); } //Multiplicity returns types::LMultiplicity: // "[" lower=LowerBound (".." upper=UpperBound)? "]"; public CommonGrammarGrammarAccess.MultiplicityElements getMultiplicityAccess() { return gaCommonGrammar.getMultiplicityAccess(); } public ParserRule getMultiplicityRule() { return getMultiplicityAccess().getRule(); } //enum LowerBound returns types::LLowerBound: // MANY="*" | ZERO="0" | OPTIONAL="?" | ATLEASTONE="+" | ONE="1"; public CommonGrammarGrammarAccess.LowerBoundElements getLowerBoundAccess() { return gaCommonGrammar.getLowerBoundAccess(); } public EnumRule getLowerBoundRule() { return getLowerBoundAccess().getRule(); } //enum UpperBound returns types::LUpperBound: // MANY="*" | ONE="1"; public CommonGrammarGrammarAccess.UpperBoundElements getUpperBoundAccess() { return gaCommonGrammar.getUpperBoundAccess(); } public EnumRule getUpperBoundRule() { return getUpperBoundAccess().getRule(); } //LInt returns ecore::EInt: // INT; public CommonGrammarGrammarAccess.LIntElements getLIntAccess() { return gaCommonGrammar.getLIntAccess(); } public ParserRule getLIntRule() { return getLIntAccess().getRule(); } //XAnnotation: // {XAnnotation} "@" annotationType=[types::JvmAnnotationType|QualifiedName] ("(" // (elementValuePairs+=XAnnotationElementValuePair ("," elementValuePairs+=XAnnotationElementValuePair)* | // value=XAnnotationElementValueOrCommaList)? ")")?; public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() { return gaCommonGrammar.getXAnnotationAccess(); } public ParserRule getXAnnotationRule() { return getXAnnotationAccess().getRule(); } //XAnnotationElementValuePair: // => (element=[types::JvmOperation|ValidID] "=") value=XAnnotationElementValue; public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() { return gaCommonGrammar.getXAnnotationElementValuePairAccess(); } public ParserRule getXAnnotationElementValuePairRule() { return getXAnnotationElementValuePairAccess().getRule(); } //XAnnotationElementValueOrCommaList returns xbase::XExpression: // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" | // XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} ("," elements+=XAnnotationOrExpression)+)?; public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() { return gaCommonGrammar.getXAnnotationElementValueOrCommaListAccess(); } public ParserRule getXAnnotationElementValueOrCommaListRule() { return getXAnnotationElementValueOrCommaListAccess().getRule(); } //XAnnotationElementValue returns xbase::XExpression: // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" | // XAnnotationOrExpression; public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() { return gaCommonGrammar.getXAnnotationElementValueAccess(); } public ParserRule getXAnnotationElementValueRule() { return getXAnnotationElementValueAccess().getRule(); } //XAnnotationOrExpression returns xbase::XExpression: // XAnnotation | XExpression; public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() { return gaCommonGrammar.getXAnnotationOrExpressionAccess(); } public ParserRule getXAnnotationOrExpressionRule() { return getXAnnotationOrExpressionAccess().getRule(); } //XExpression: // XAssignment; public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() { return gaCommonGrammar.getXExpressionAccess(); } public ParserRule getXExpressionRule() { return getXExpressionAccess().getRule(); } //XAssignment returns XExpression: // {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression // (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign]) // rightOperand=XAssignment)?; public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() { return gaCommonGrammar.getXAssignmentAccess(); } public ParserRule getXAssignmentRule() { return getXAssignmentAccess().getRule(); } //OpSingleAssign: // "="; public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() { return gaCommonGrammar.getOpSingleAssignAccess(); } public ParserRule getOpSingleAssignRule() { return getOpSingleAssignAccess().getRule(); } //OpMultiAssign: // "+=" | "-=" | "*=" | "/=" | "%=" | "<" "<" "=" | ">" ">"? ">="; public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() { return gaCommonGrammar.getOpMultiAssignAccess(); } public ParserRule getOpMultiAssignRule() { return getOpMultiAssignAccess().getRule(); } //XOrExpression returns XExpression: // XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr]) // rightOperand=XAndExpression)*; public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() { return gaCommonGrammar.getXOrExpressionAccess(); } public ParserRule getXOrExpressionRule() { return getXOrExpressionAccess().getRule(); } //OpOr: // "||"; public XbaseGrammarAccess.OpOrElements getOpOrAccess() { return gaCommonGrammar.getOpOrAccess(); } public ParserRule getOpOrRule() { return getOpOrAccess().getRule(); } //XAndExpression returns XExpression: // XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd]) // rightOperand=XEqualityExpression)*; public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() { return gaCommonGrammar.getXAndExpressionAccess(); } public ParserRule getXAndExpressionRule() { return getXAndExpressionAccess().getRule(); } //OpAnd: // "&&"; public XbaseGrammarAccess.OpAndElements getOpAndAccess() { return gaCommonGrammar.getOpAndAccess(); } public ParserRule getOpAndRule() { return getOpAndAccess().getRule(); } //XEqualityExpression returns XExpression: // XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality]) // rightOperand=XRelationalExpression)*; public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() { return gaCommonGrammar.getXEqualityExpressionAccess(); } public ParserRule getXEqualityExpressionRule() { return getXEqualityExpressionAccess().getRule(); } //OpEquality: // "==" | "!=" | "===" | "!=="; public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() { return gaCommonGrammar.getOpEqualityAccess(); } public ParserRule getOpEqualityRule() { return getOpEqualityAccess().getRule(); } //XRelationalExpression returns XExpression: // XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} "instanceof") type=JvmTypeReference | => // ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare]) // rightOperand=XOtherOperatorExpression)*; public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() { return gaCommonGrammar.getXRelationalExpressionAccess(); } public ParserRule getXRelationalExpressionRule() { return getXRelationalExpressionAccess().getRule(); } //OpCompare: // ">=" | "<" "=" | ">" | "<"; public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() { return gaCommonGrammar.getOpCompareAccess(); } public ParserRule getOpCompareRule() { return getOpCompareAccess().getRule(); } //XOtherOperatorExpression returns XExpression: // XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther]) // rightOperand=XAdditiveExpression)*; public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() { return gaCommonGrammar.getXOtherOperatorExpressionAccess(); } public ParserRule getXOtherOperatorExpressionRule() { return getXOtherOperatorExpressionAccess().getRule(); } //OpOther: // "->" | "..<" | ">" ".." | ".." | "=>" | ">" (=> (">" ">") | ">") | "<" (=> ("<" "<") | "<" | "=>") | "<>" | "?:"; public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() { return gaCommonGrammar.getOpOtherAccess(); } public ParserRule getOpOtherRule() { return getOpOtherAccess().getRule(); } //XAdditiveExpression returns XExpression: // XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd]) // rightOperand=XMultiplicativeExpression)*; public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() { return gaCommonGrammar.getXAdditiveExpressionAccess(); } public ParserRule getXAdditiveExpressionRule() { return getXAdditiveExpressionAccess().getRule(); } //OpAdd: // "+" | "-"; public XbaseGrammarAccess.OpAddElements getOpAddAccess() { return gaCommonGrammar.getOpAddAccess(); } public ParserRule getOpAddRule() { return getOpAddAccess().getRule(); } //XMultiplicativeExpression returns XExpression: // XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti]) // rightOperand=XUnaryOperation)*; public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() { return gaCommonGrammar.getXMultiplicativeExpressionAccess(); } public ParserRule getXMultiplicativeExpressionRule() { return getXMultiplicativeExpressionAccess().getRule(); } //OpMulti: // "*" | "**" | "/" | "%"; public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() { return gaCommonGrammar.getOpMultiAccess(); } public ParserRule getOpMultiRule() { return getOpMultiAccess().getRule(); } //XUnaryOperation returns XExpression: // {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation | XCastedExpression; public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() { return gaCommonGrammar.getXUnaryOperationAccess(); } public ParserRule getXUnaryOperationRule() { return getXUnaryOperationAccess().getRule(); } //OpUnary: // "!" | "-" | "+"; public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() { return gaCommonGrammar.getOpUnaryAccess(); } public ParserRule getOpUnaryRule() { return getOpUnaryAccess().getRule(); } //XCastedExpression returns XExpression: // XPostfixOperation (=> ({XCastedExpression.target=current} "as") type=JvmTypeReference)*; public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() { return gaCommonGrammar.getXCastedExpressionAccess(); } public ParserRule getXCastedExpressionRule() { return getXCastedExpressionAccess().getRule(); } //XPostfixOperation returns XExpression: // XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?; public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() { return gaCommonGrammar.getXPostfixOperationAccess(); } public ParserRule getXPostfixOperationRule() { return getXPostfixOperationAccess().getRule(); } //OpPostfix: // "++" | "--"; public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() { return gaCommonGrammar.getOpPostfixAccess(); } public ParserRule getOpPostfixRule() { return getOpPostfixAccess().getRule(); } //XMemberFeatureCall returns XExpression: // XPrimaryExpression (=> ({XAssignment.assignable=current} ("." | explicitStatic?="::") // feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign) value=XAssignment | => // ({XMemberFeatureCall.memberCallTarget=current} ("." | nullSafe?="?." | explicitStatic?="::")) ("<" // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (memberCallArguments+=XShortClosure | // memberCallArguments+=XExpression ("," memberCallArguments+=XExpression)*)? ")")? memberCallArguments+=XClosure?)*; public XbaseGrammarAccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() { return gaCommonGrammar.getXMemberFeatureCallAccess(); } public ParserRule getXMemberFeatureCallRule() { return getXMemberFeatureCallAccess().getRule(); } //XPrimaryExpression returns XExpression: // XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral | // XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression | // XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression; public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() { return gaCommonGrammar.getXPrimaryExpressionAccess(); } public ParserRule getXPrimaryExpressionRule() { return getXPrimaryExpressionAccess().getRule(); } //XLiteral returns XExpression: // XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral; public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() { return gaCommonGrammar.getXLiteralAccess(); } public ParserRule getXLiteralRule() { return getXLiteralAccess().getRule(); } //XCollectionLiteral: // XSetLiteral | XListLiteral; public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() { return gaCommonGrammar.getXCollectionLiteralAccess(); } public ParserRule getXCollectionLiteralRule() { return getXCollectionLiteralAccess().getRule(); } //XSetLiteral: // {XSetLiteral} "#" "{" (elements+=XExpression ("," elements+=XExpression)*)? "}"; public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() { return gaCommonGrammar.getXSetLiteralAccess(); } public ParserRule getXSetLiteralRule() { return getXSetLiteralAccess().getRule(); } //XListLiteral: // {XListLiteral} "#" "[" (elements+=XExpression ("," elements+=XExpression)*)? "]"; public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() { return gaCommonGrammar.getXListLiteralAccess(); } public ParserRule getXListLiteralRule() { return getXListLiteralAccess().getRule(); } //XClosure returns XExpression: // => ({XClosure} "[") => ((declaredFormalParameters+=JvmFormalParameter ("," // declaredFormalParameters+=JvmFormalParameter)*)? explicitSyntax?="|")? expression=XExpressionInClosure "]"; public XbaseGrammarAccess.XClosureElements getXClosureAccess() { return gaCommonGrammar.getXClosureAccess(); } public ParserRule getXClosureRule() { return getXClosureAccess().getRule(); } //XExpressionInClosure returns XExpression: // {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ";"?)*; public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() { return gaCommonGrammar.getXExpressionInClosureAccess(); } public ParserRule getXExpressionInClosureRule() { return getXExpressionInClosureAccess().getRule(); } //XShortClosure returns XExpression: // => ({XClosure} (declaredFormalParameters+=JvmFormalParameter ("," declaredFormalParameters+=JvmFormalParameter)*)? // explicitSyntax?="|") expression=XExpression; public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() { return gaCommonGrammar.getXShortClosureAccess(); } public ParserRule getXShortClosureRule() { return getXShortClosureAccess().getRule(); } //XParenthesizedExpression returns XExpression: // "(" XExpression ")"; public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() { return gaCommonGrammar.getXParenthesizedExpressionAccess(); } public ParserRule getXParenthesizedExpressionRule() { return getXParenthesizedExpressionAccess().getRule(); } //XIfExpression returns XExpression: // {XIfExpression} "if" "(" if=XExpression ")" then=XExpression ("else" else=XExpression)?; public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() { return gaCommonGrammar.getXIfExpressionAccess(); } public ParserRule getXIfExpressionRule() { return getXIfExpressionAccess().getRule(); } //XSwitchExpression returns XExpression: // {XSwitchExpression} "switch" (=> ("(" declaredParam=JvmFormalParameter ":") switch=XExpression ")" | => // (declaredParam=JvmFormalParameter ":")? switch=XExpression) "{" cases+=XCasePart* ("default" ":" default=XExpression)? // "}"; public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() { return gaCommonGrammar.getXSwitchExpressionAccess(); } public ParserRule getXSwitchExpressionRule() { return getXSwitchExpressionAccess().getRule(); } //XCasePart: // {XCasePart} typeGuard=JvmTypeReference? ("case" case=XExpression)? (":" then=XExpression | fallThrough?=","); public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() { return gaCommonGrammar.getXCasePartAccess(); } public ParserRule getXCasePartRule() { return getXCasePartAccess().getRule(); } //XForLoopExpression returns XExpression: // => ({XForLoopExpression} "for" "(" declaredParam=JvmFormalParameter ":") forExpression=XExpression ")" // eachExpression=XExpression; public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() { return gaCommonGrammar.getXForLoopExpressionAccess(); } public ParserRule getXForLoopExpressionRule() { return getXForLoopExpressionAccess().getRule(); } //XBasicForLoopExpression returns XExpression: // {XBasicForLoopExpression} "for" "(" (initExpressions+=XExpressionOrVarDeclaration ("," // initExpressions+=XExpressionOrVarDeclaration)*)? ";" expression=XExpression? ";" (updateExpressions+=XExpression ("," // updateExpressions+=XExpression)*)? ")" eachExpression=XExpression; public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() { return gaCommonGrammar.getXBasicForLoopExpressionAccess(); } public ParserRule getXBasicForLoopExpressionRule() { return getXBasicForLoopExpressionAccess().getRule(); } //XWhileExpression returns XExpression: // {XWhileExpression} "while" "(" predicate=XExpression ")" body=XExpression; public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() { return gaCommonGrammar.getXWhileExpressionAccess(); } public ParserRule getXWhileExpressionRule() { return getXWhileExpressionAccess().getRule(); } //XDoWhileExpression returns XExpression: // {XDoWhileExpression} "do" body=XExpression "while" "(" predicate=XExpression ")"; public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() { return gaCommonGrammar.getXDoWhileExpressionAccess(); } public ParserRule getXDoWhileExpressionRule() { return getXDoWhileExpressionAccess().getRule(); } //XBlockExpression returns XExpression: // {XBlockExpression} "{" (expressions+=XExpressionOrVarDeclaration ";"?)* "}"; public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() { return gaCommonGrammar.getXBlockExpressionAccess(); } public ParserRule getXBlockExpressionRule() { return getXBlockExpressionAccess().getRule(); } //XExpressionOrVarDeclaration returns XExpression: // XVariableDeclaration | XExpression; public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() { return gaCommonGrammar.getXExpressionOrVarDeclarationAccess(); } public ParserRule getXExpressionOrVarDeclarationRule() { return getXExpressionOrVarDeclarationAccess().getRule(); } //XVariableDeclaration returns XExpression: // {XVariableDeclaration} (writeable?="var" | "val") (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ("=" // right=XExpression)?; public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() { return gaCommonGrammar.getXVariableDeclarationAccess(); } public ParserRule getXVariableDeclarationRule() { return getXVariableDeclarationAccess().getRule(); } //JvmFormalParameter returns types::JvmFormalParameter: // parameterType=JvmTypeReference? name=ValidID; public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() { return gaCommonGrammar.getJvmFormalParameterAccess(); } public ParserRule getJvmFormalParameterRule() { return getJvmFormalParameterAccess().getRule(); } //FullJvmFormalParameter returns types::JvmFormalParameter: // parameterType=JvmTypeReference name=ValidID; public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() { return gaCommonGrammar.getFullJvmFormalParameterAccess(); } public ParserRule getFullJvmFormalParameterRule() { return getFullJvmFormalParameterAccess().getRule(); } //XFeatureCall returns XExpression: // {XFeatureCall} ("<" typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (featureCallArguments+=XShortClosure // | featureCallArguments+=XExpression ("," featureCallArguments+=XExpression)*)? ")")? featureCallArguments+=XClosure?; public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() { return gaCommonGrammar.getXFeatureCallAccess(); } public ParserRule getXFeatureCallRule() { return getXFeatureCallAccess().getRule(); } //FeatureCallID: // ValidID | "extends" | "static" | "import" | "extension"; public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() { return gaCommonGrammar.getFeatureCallIDAccess(); } public ParserRule getFeatureCallIDRule() { return getFeatureCallIDAccess().getRule(); } //IdOrSuper: // FeatureCallID | "super"; public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() { return gaCommonGrammar.getIdOrSuperAccess(); } public ParserRule getIdOrSuperRule() { return getIdOrSuperAccess().getRule(); } //XConstructorCall returns XExpression: // {XConstructorCall} "new" constructor=[types::JvmConstructor|QualifiedName] ("<" // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? (=> // explicitConstructorCall?="(" (arguments+=XShortClosure | arguments+=XExpression ("," arguments+=XExpression)*)? ")")? // arguments+=XClosure?; public XbaseGrammarAccess.XConstructorCallElements getXConstructorCallAccess() { return gaCommonGrammar.getXConstructorCallAccess(); } public ParserRule getXConstructorCallRule() { return getXConstructorCallAccess().getRule(); } //XBooleanLiteral returns XExpression: // {XBooleanLiteral} ("false" | isTrue?="true"); public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() { return gaCommonGrammar.getXBooleanLiteralAccess(); } public ParserRule getXBooleanLiteralRule() { return getXBooleanLiteralAccess().getRule(); } //XNullLiteral returns XExpression: // {XNullLiteral} "null"; public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() { return gaCommonGrammar.getXNullLiteralAccess(); } public ParserRule getXNullLiteralRule() { return getXNullLiteralAccess().getRule(); } //XNumberLiteral returns XExpression: // {XNumberLiteral} value=Number; public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() { return gaCommonGrammar.getXNumberLiteralAccess(); } public ParserRule getXNumberLiteralRule() { return getXNumberLiteralAccess().getRule(); } //XStringLiteral returns XExpression: // {XStringLiteral} value=STRING; public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() { return gaCommonGrammar.getXStringLiteralAccess(); } public ParserRule getXStringLiteralRule() { return getXStringLiteralAccess().getRule(); } //XTypeLiteral returns XExpression: // {XTypeLiteral} "typeof" "(" type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ")"; public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() { return gaCommonGrammar.getXTypeLiteralAccess(); } public ParserRule getXTypeLiteralRule() { return getXTypeLiteralAccess().getRule(); } //XThrowExpression returns XExpression: // {XThrowExpression} "throw" expression=XExpression; public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() { return gaCommonGrammar.getXThrowExpressionAccess(); } public ParserRule getXThrowExpressionRule() { return getXThrowExpressionAccess().getRule(); } //XReturnExpression returns XExpression: // {XReturnExpression} "return" -> expression=XExpression?; public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() { return gaCommonGrammar.getXReturnExpressionAccess(); } public ParserRule getXReturnExpressionRule() { return getXReturnExpressionAccess().getRule(); } //XTryCatchFinallyExpression returns XExpression: // {XTryCatchFinallyExpression} "try" expression=XExpression (catchClauses+=XCatchClause+ ("finally" // finallyExpression=XExpression)? | "finally" finallyExpression=XExpression); public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() { return gaCommonGrammar.getXTryCatchFinallyExpressionAccess(); } public ParserRule getXTryCatchFinallyExpressionRule() { return getXTryCatchFinallyExpressionAccess().getRule(); } //XSynchronizedExpression returns XExpression: // => ({XSynchronizedExpression} "synchronized" "(") param=XExpression ")" expression=XExpression; public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() { return gaCommonGrammar.getXSynchronizedExpressionAccess(); } public ParserRule getXSynchronizedExpressionRule() { return getXSynchronizedExpressionAccess().getRule(); } //XCatchClause: // "catch" "(" declaredParam=FullJvmFormalParameter ")" expression=XExpression; public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() { return gaCommonGrammar.getXCatchClauseAccess(); } public ParserRule getXCatchClauseRule() { return getXCatchClauseAccess().getRule(); } //QualifiedName: // ValidID ("." ValidID)*; public XbaseGrammarAccess.QualifiedNameElements getQualifiedNameAccess() { return gaCommonGrammar.getQualifiedNameAccess(); } public ParserRule getQualifiedNameRule() { return getQualifiedNameAccess().getRule(); } //Number hidden(): // HEX | (INT | DECIMAL) ("." (INT | DECIMAL))?; public XbaseGrammarAccess.NumberElements getNumberAccess() { return gaCommonGrammar.getNumberAccess(); } public ParserRule getNumberRule() { return getNumberAccess().getRule(); } /// ** // * Dummy rule, for "better" downwards compatibility, since GrammarAccess generates non-static inner classes, // * which makes downstream grammars break on classloading, when a rule is removed. // * / StaticQualifier: // (ValidID "::")+; public XbaseGrammarAccess.StaticQualifierElements getStaticQualifierAccess() { return gaCommonGrammar.getStaticQualifierAccess(); } public ParserRule getStaticQualifierRule() { return getStaticQualifierAccess().getRule(); } //terminal HEX returns ecore::EString: // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F" | "_")+ ("#" (("b" | "B") ("i" | "I") | ("l" | "L")))?; public TerminalRule getHEXRule() { return gaCommonGrammar.getHEXRule(); } //terminal INT returns ecore::EInt: // "0".."9" ("0".."9" | "_")*; public TerminalRule getINTRule() { return gaCommonGrammar.getINTRule(); } //terminal DECIMAL returns ecore::EString: // INT (("e" | "E") ("+" | "-")? INT)? (("b" | "B") ("i" | "I" | "d" | "D") | ("l" | "L" | "d" | "D" | "f" | "F"))?; public TerminalRule getDECIMALRule() { return gaCommonGrammar.getDECIMALRule(); } //JvmTypeReference: // JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* | // XFunctionTypeRef; public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() { return gaCommonGrammar.getJvmTypeReferenceAccess(); } public ParserRule getJvmTypeReferenceRule() { return getJvmTypeReferenceAccess().getRule(); } //ArrayBrackets: // "[" "]"; public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() { return gaCommonGrammar.getArrayBracketsAccess(); } public ParserRule getArrayBracketsRule() { return getArrayBracketsAccess().getRule(); } //XFunctionTypeRef: // ("(" (paramTypes+=JvmTypeReference ("," paramTypes+=JvmTypeReference)*)? ")")? "=>" returnType=JvmTypeReference; public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() { return gaCommonGrammar.getXFunctionTypeRefAccess(); } public ParserRule getXFunctionTypeRefRule() { return getXFunctionTypeRefAccess().getRule(); } //JvmParameterizedTypeReference: // type=[JvmType|QualifiedName] ("<" arguments+=JvmArgumentTypeReference ("," arguments+=JvmArgumentTypeReference)* ">" // (=> ({JvmInnerTypeReference.outer=current} ".") type=[JvmType|ValidID] ("<" arguments+=JvmArgumentTypeReference ("," // arguments+=JvmArgumentTypeReference)* ">")?)*)?; public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() { return gaCommonGrammar.getJvmParameterizedTypeReferenceAccess(); } public ParserRule getJvmParameterizedTypeReferenceRule() { return getJvmParameterizedTypeReferenceAccess().getRule(); } //JvmArgumentTypeReference returns JvmTypeReference: // JvmTypeReference | JvmWildcardTypeReference; public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() { return gaCommonGrammar.getJvmArgumentTypeReferenceAccess(); } public ParserRule getJvmArgumentTypeReferenceRule() { return getJvmArgumentTypeReferenceAccess().getRule(); } //JvmWildcardTypeReference: // {JvmWildcardTypeReference} "?" (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* | // constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?; public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() { return gaCommonGrammar.getJvmWildcardTypeReferenceAccess(); } public ParserRule getJvmWildcardTypeReferenceRule() { return getJvmWildcardTypeReferenceAccess().getRule(); } //JvmUpperBound: // "extends" typeReference=JvmTypeReference; public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() { return gaCommonGrammar.getJvmUpperBoundAccess(); } public ParserRule getJvmUpperBoundRule() { return getJvmUpperBoundAccess().getRule(); } //JvmUpperBoundAnded returns JvmUpperBound: // "&" typeReference=JvmTypeReference; public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() { return gaCommonGrammar.getJvmUpperBoundAndedAccess(); } public ParserRule getJvmUpperBoundAndedRule() { return getJvmUpperBoundAndedAccess().getRule(); } //JvmLowerBound: // "super" typeReference=JvmTypeReference; public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() { return gaCommonGrammar.getJvmLowerBoundAccess(); } public ParserRule getJvmLowerBoundRule() { return getJvmLowerBoundAccess().getRule(); } //JvmLowerBoundAnded returns JvmLowerBound: // "&" typeReference=JvmTypeReference; public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() { return gaCommonGrammar.getJvmLowerBoundAndedAccess(); } public ParserRule getJvmLowerBoundAndedRule() { return getJvmLowerBoundAndedAccess().getRule(); } //JvmTypeParameter: // name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?; public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() { return gaCommonGrammar.getJvmTypeParameterAccess(); } public ParserRule getJvmTypeParameterRule() { return getJvmTypeParameterAccess().getRule(); } //QualifiedNameWithWildcard: // QualifiedName "." "*"; public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() { return gaCommonGrammar.getQualifiedNameWithWildcardAccess(); } public ParserRule getQualifiedNameWithWildcardRule() { return getQualifiedNameWithWildcardAccess().getRule(); } //ValidID: // ID; public XtypeGrammarAccess.ValidIDElements getValidIDAccess() { return gaCommonGrammar.getValidIDAccess(); } public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); } //XImportSection: // importDeclarations+=XImportDeclaration+; public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() { return gaCommonGrammar.getXImportSectionAccess(); } public ParserRule getXImportSectionRule() { return getXImportSectionAccess().getRule(); } //XImportDeclaration: // "import" (static?="static" extension?="extension"? importedType=[JvmDeclaredType|QualifiedNameInStaticImport] // (wildcard?="*" | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] | // importedNamespace=QualifiedNameWithWildcard) ";"?; public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() { return gaCommonGrammar.getXImportDeclarationAccess(); } public ParserRule getXImportDeclarationRule() { return getXImportDeclarationAccess().getRule(); } //QualifiedNameInStaticImport: // (ValidID ".")+; public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() { return gaCommonGrammar.getQualifiedNameInStaticImportAccess(); } public ParserRule getQualifiedNameInStaticImportRule() { return getQualifiedNameInStaticImportAccess().getRule(); } //terminal ID returns ecore::EString: // "^"? ("a".."z" | "A".."Z" | "$" | "_") ("a".."z" | "A".."Z" | "$" | "_" | "0".."9")*; public TerminalRule getIDRule() { return gaCommonGrammar.getIDRule(); } //terminal STRING returns ecore::EString: // "\"" ("\\" . / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\""))* "\""? | "\'" ("\\" . // / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\'"))* "\'"?; public TerminalRule getSTRINGRule() { return gaCommonGrammar.getSTRINGRule(); } //terminal ML_COMMENT returns ecore::EString: // "/ *"->"* /"; public TerminalRule getML_COMMENTRule() { return gaCommonGrammar.getML_COMMENTRule(); } //terminal SL_COMMENT returns ecore::EString: // "//" !("\n" | "\r")* ("\r"? "\n")?; public TerminalRule getSL_COMMENTRule() { return gaCommonGrammar.getSL_COMMENTRule(); } //terminal WS returns ecore::EString: // (" " | "\t" | "\r" | "\n")+; public TerminalRule getWSRule() { return gaCommonGrammar.getWSRule(); } //terminal ANY_OTHER returns ecore::EString: // .; public TerminalRule getANY_OTHERRule() { return gaCommonGrammar.getANY_OTHERRule(); } }