| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg) |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Florian Pirchner - Initial implementation |
| */ |
| package org.eclipse.osbp.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.eclipse.osbp.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 cSuperTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_0_8 = (Group)cGroup_2_0.eContents().get(8); |
| private final Keyword cPersistenceUnitKeyword_2_0_8_0 = (Keyword)cGroup_2_0_8.eContents().get(0); |
| private final Assignment cPersistenceUnitAssignment_2_0_8_1 = (Assignment)cGroup_2_0_8.eContents().get(1); |
| private final RuleCall cPersistenceUnitSTRINGTerminalRuleCall_2_0_8_1_0 = (RuleCall)cPersistenceUnitAssignment_2_0_8_1.eContents().get(0); |
| private final Keyword cSemicolonKeyword_2_0_8_2 = (Keyword)cGroup_2_0_8.eContents().get(2); |
| private final Assignment cFeaturesAssignment_2_0_9 = (Assignment)cGroup_2_0.eContents().get(9); |
| private final RuleCall cFeaturesEntityFeatureParserRuleCall_2_0_9_0 = (RuleCall)cFeaturesAssignment_2_0_9.eContents().get(0); |
| private final Assignment cIndexesAssignment_2_0_10 = (Assignment)cGroup_2_0.eContents().get(10); |
| private final RuleCall cIndexesIndexParserRuleCall_2_0_10_0 = (RuleCall)cIndexesAssignment_2_0_10.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_2_0_11 = (Keyword)cGroup_2_0.eContents().get(11); |
| 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 cSuperTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_1_5 = (Group)cGroup_2_1.eContents().get(5); |
| private final Keyword cPersistenceUnitKeyword_2_1_5_0 = (Keyword)cGroup_2_1_5.eContents().get(0); |
| private final Assignment cPersistenceUnitAssignment_2_1_5_1 = (Assignment)cGroup_2_1_5.eContents().get(1); |
| private final RuleCall cPersistenceUnitSTRINGTerminalRuleCall_2_1_5_1_0 = (RuleCall)cPersistenceUnitAssignment_2_1_5_1.eContents().get(0); |
| private final Keyword cSemicolonKeyword_2_1_5_2 = (Keyword)cGroup_2_1_5.eContents().get(2); |
| private final Assignment cFeaturesAssignment_2_1_6 = (Assignment)cGroup_2_1.eContents().get(6); |
| private final RuleCall cFeaturesEntityFeatureParserRuleCall_2_1_6_0 = (RuleCall)cFeaturesAssignment_2_1_6.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_2_1_7 = (Keyword)cGroup_2_1.eContents().get(7); |
| 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 cSuperTypeLBeanTYPE_CROSS_REFERENCEParserRuleCall_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|TYPE_CROSS_REFERENCE])? |
| // "{" persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? ("persistenceUnit" |
| // persistenceUnit=STRING ";"?)? features+=EntityFeature* indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} |
| // mappedSuperclass?="mapped superclass" ("extends" superType=[entity::LEntity|TYPE_CROSS_REFERENCE])? |
| // name=ValidIDWithKeywords "{" ("persistenceUnit" persistenceUnit=STRING ";"?)? features+=EntityFeature* "}" | |
| // {entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" |
| // superType=[entity::LBean|TYPE_CROSS_REFERENCE])? "{" 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|TYPE_CROSS_REFERENCE])? "{" |
| //persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? ("persistenceUnit" |
| //persistenceUnit=STRING ";"?)? features+=EntityFeature* indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} |
| //mappedSuperclass?="mapped superclass" ("extends" superType=[entity::LEntity|TYPE_CROSS_REFERENCE])? |
| //name=ValidIDWithKeywords "{" ("persistenceUnit" persistenceUnit=STRING ";"?)? features+=EntityFeature* "}" | |
| //{entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" |
| //superType=[entity::LBean|TYPE_CROSS_REFERENCE])? "{" 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|TYPE_CROSS_REFERENCE])? "{" |
| //persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? ("persistenceUnit" |
| //persistenceUnit=STRING ";"?)? features+=EntityFeature* indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} |
| //mappedSuperclass?="mapped superclass" ("extends" superType=[entity::LEntity|TYPE_CROSS_REFERENCE])? |
| //name=ValidIDWithKeywords "{" ("persistenceUnit" persistenceUnit=STRING ";"?)? features+=EntityFeature* "}" | |
| //{entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" |
| //superType=[entity::LBean|TYPE_CROSS_REFERENCE])? "{" 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|TYPE_CROSS_REFERENCE])? "{" |
| //persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? ("persistenceUnit" |
| //persistenceUnit=STRING ";"?)? 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|TYPE_CROSS_REFERENCE])? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getSuperTypeAssignment_2_0_4_1() { return cSuperTypeAssignment_2_0_4_1; } |
| |
| //[entity::LEntity|TYPE_CROSS_REFERENCE] |
| public CrossReference getSuperTypeLEntityCrossReference_2_0_4_1_0() { return cSuperTypeLEntityCrossReference_2_0_4_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getSuperTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_2_0_4_1_0_1() { return cSuperTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("persistenceUnit" persistenceUnit=STRING ";"?)? |
| public Group getGroup_2_0_8() { return cGroup_2_0_8; } |
| |
| //"persistenceUnit" |
| public Keyword getPersistenceUnitKeyword_2_0_8_0() { return cPersistenceUnitKeyword_2_0_8_0; } |
| |
| //persistenceUnit=STRING |
| public Assignment getPersistenceUnitAssignment_2_0_8_1() { return cPersistenceUnitAssignment_2_0_8_1; } |
| |
| //STRING |
| public RuleCall getPersistenceUnitSTRINGTerminalRuleCall_2_0_8_1_0() { return cPersistenceUnitSTRINGTerminalRuleCall_2_0_8_1_0; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_0_8_2() { return cSemicolonKeyword_2_0_8_2; } |
| |
| //features+=EntityFeature* |
| public Assignment getFeaturesAssignment_2_0_9() { return cFeaturesAssignment_2_0_9; } |
| |
| //EntityFeature |
| public RuleCall getFeaturesEntityFeatureParserRuleCall_2_0_9_0() { return cFeaturesEntityFeatureParserRuleCall_2_0_9_0; } |
| |
| //indexes+=Index* |
| public Assignment getIndexesAssignment_2_0_10() { return cIndexesAssignment_2_0_10; } |
| |
| //Index |
| public RuleCall getIndexesIndexParserRuleCall_2_0_10_0() { return cIndexesIndexParserRuleCall_2_0_10_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_2_0_11() { return cRightCurlyBracketKeyword_2_0_11; } |
| |
| //{entity::LEntity.annotationInfo=current} mappedSuperclass?="mapped superclass" ("extends" |
| //superType=[entity::LEntity|TYPE_CROSS_REFERENCE])? name=ValidIDWithKeywords "{" ("persistenceUnit" |
| //persistenceUnit=STRING ";"?)? 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|TYPE_CROSS_REFERENCE])? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getSuperTypeAssignment_2_1_2_1() { return cSuperTypeAssignment_2_1_2_1; } |
| |
| //[entity::LEntity|TYPE_CROSS_REFERENCE] |
| public CrossReference getSuperTypeLEntityCrossReference_2_1_2_1_0() { return cSuperTypeLEntityCrossReference_2_1_2_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getSuperTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_2_1_2_1_0_1() { return cSuperTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("persistenceUnit" persistenceUnit=STRING ";"?)? |
| public Group getGroup_2_1_5() { return cGroup_2_1_5; } |
| |
| //"persistenceUnit" |
| public Keyword getPersistenceUnitKeyword_2_1_5_0() { return cPersistenceUnitKeyword_2_1_5_0; } |
| |
| //persistenceUnit=STRING |
| public Assignment getPersistenceUnitAssignment_2_1_5_1() { return cPersistenceUnitAssignment_2_1_5_1; } |
| |
| //STRING |
| public RuleCall getPersistenceUnitSTRINGTerminalRuleCall_2_1_5_1_0() { return cPersistenceUnitSTRINGTerminalRuleCall_2_1_5_1_0; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_1_5_2() { return cSemicolonKeyword_2_1_5_2; } |
| |
| //features+=EntityFeature* |
| public Assignment getFeaturesAssignment_2_1_6() { return cFeaturesAssignment_2_1_6; } |
| |
| //EntityFeature |
| public RuleCall getFeaturesEntityFeatureParserRuleCall_2_1_6_0() { return cFeaturesEntityFeatureParserRuleCall_2_1_6_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_2_1_7() { return cRightCurlyBracketKeyword_2_1_7; } |
| |
| //{entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" |
| //superType=[entity::LBean|TYPE_CROSS_REFERENCE])? "{" 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|TYPE_CROSS_REFERENCE])? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getSuperTypeAssignment_2_2_3_1() { return cSuperTypeAssignment_2_2_3_1; } |
| |
| //[entity::LBean|TYPE_CROSS_REFERENCE] |
| public CrossReference getSuperTypeLBeanCrossReference_2_2_3_1_0() { return cSuperTypeLBeanCrossReference_2_2_3_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getSuperTypeLBeanTYPE_CROSS_REFERENCEParserRuleCall_2_2_3_1_0_1() { return cSuperTypeLBeanTYPE_CROSS_REFERENCEParserRuleCall_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 cTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_0_1_4 = (Group)cGroup_2_0_1.eContents().get(4); |
| private final Keyword cLeftSquareBracketKeyword_2_0_1_4_0 = (Keyword)cGroup_2_0_1_4.eContents().get(0); |
| private final Assignment cConstraintsAssignment_2_0_1_4_1 = (Assignment)cGroup_2_0_1_4.eContents().get(1); |
| private final RuleCall cConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0 = (RuleCall)cConstraintsAssignment_2_0_1_4_1.eContents().get(0); |
| private final Keyword cRightSquareBracketKeyword_2_0_1_4_2 = (Keyword)cGroup_2_0_1_4.eContents().get(2); |
| private final Assignment cNameAssignment_2_0_1_5 = (Assignment)cGroup_2_0_1.eContents().get(5); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0 = (RuleCall)cNameAssignment_2_0_1_5.eContents().get(0); |
| private final Assignment cPersistenceInfoAssignment_2_0_1_6 = (Assignment)cGroup_2_0_1.eContents().get(6); |
| private final RuleCall cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_6_0 = (RuleCall)cPersistenceInfoAssignment_2_0_1_6.eContents().get(0); |
| private final Group cGroup_2_0_1_7 = (Group)cGroup_2_0_1.eContents().get(7); |
| private final Keyword cOppositeKeyword_2_0_1_7_0 = (Keyword)cGroup_2_0_1_7.eContents().get(0); |
| private final Assignment cOppositeAssignment_2_0_1_7_1 = (Assignment)cGroup_2_0_1_7.eContents().get(1); |
| private final CrossReference cOppositeLEntityReferenceCrossReference_2_0_1_7_1_0 = (CrossReference)cOppositeAssignment_2_0_1_7_1.eContents().get(0); |
| private final RuleCall cOppositeLEntityReferenceLFQNParserRuleCall_2_0_1_7_1_0_1 = (RuleCall)cOppositeLEntityReferenceCrossReference_2_0_1_7_1_0.eContents().get(1); |
| private final Group cGroup_2_0_1_8 = (Group)cGroup_2_0_1.eContents().get(8); |
| private final Keyword cPropertiesKeyword_2_0_1_8_0 = (Keyword)cGroup_2_0_1_8.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_0_1_8_1 = (Keyword)cGroup_2_0_1_8.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_0_1_8_2 = (Assignment)cGroup_2_0_1_8.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_0_1_8_2_0 = (RuleCall)cPropertiesAssignment_2_0_1_8_2.eContents().get(0); |
| private final Group cGroup_2_0_1_8_3 = (Group)cGroup_2_0_1_8.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_0_1_8_3_0 = (Keyword)cGroup_2_0_1_8_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_0_1_8_3_1 = (Assignment)cGroup_2_0_1_8_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_0_1_8_3_1_0 = (RuleCall)cPropertiesAssignment_2_0_1_8_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_0_1_8_4 = (Keyword)cGroup_2_0_1_8.eContents().get(4); |
| private final Alternatives cAlternatives_2_0_1_9 = (Alternatives)cGroup_2_0_1.eContents().get(9); |
| private final Assignment cResultFiltersAssignment_2_0_1_9_0 = (Assignment)cAlternatives_2_0_1_9.eContents().get(0); |
| private final RuleCall cResultFiltersResultFiltersParserRuleCall_2_0_1_9_0_0 = (RuleCall)cResultFiltersAssignment_2_0_1_9_0.eContents().get(0); |
| private final Keyword cSemicolonKeyword_2_0_1_9_1 = (Keyword)cAlternatives_2_0_1_9.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 cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_0_1_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_0_1_0.eContents().get(1); |
| private final Group cGroup_2_1_1_0_2 = (Group)cGroup_2_1_1_0.eContents().get(2); |
| private final Keyword cLeftSquareBracketKeyword_2_1_1_0_2_0 = (Keyword)cGroup_2_1_1_0_2.eContents().get(0); |
| private final Assignment cConstraintsAssignment_2_1_1_0_2_1 = (Assignment)cGroup_2_1_1_0_2.eContents().get(1); |
| private final RuleCall cConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0 = (RuleCall)cConstraintsAssignment_2_1_1_0_2_1.eContents().get(0); |
| private final Keyword cRightSquareBracketKeyword_2_1_1_0_2_2 = (Keyword)cGroup_2_1_1_0_2.eContents().get(2); |
| private final Assignment cNameAssignment_2_1_1_0_3 = (Assignment)cGroup_2_1_1_0.eContents().get(3); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0 = (RuleCall)cNameAssignment_2_1_1_0_3.eContents().get(0); |
| private final Group cGroup_2_1_1_0_4 = (Group)cGroup_2_1_1_0.eContents().get(4); |
| private final Keyword cPropertiesKeyword_2_1_1_0_4_0 = (Keyword)cGroup_2_1_1_0_4.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_1_1_0_4_1 = (Keyword)cGroup_2_1_1_0_4.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_1_1_0_4_2 = (Assignment)cGroup_2_1_1_0_4.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0 = (RuleCall)cPropertiesAssignment_2_1_1_0_4_2.eContents().get(0); |
| private final Group cGroup_2_1_1_0_4_3 = (Group)cGroup_2_1_1_0_4.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_1_1_0_4_3_0 = (Keyword)cGroup_2_1_1_0_4_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_1_1_0_4_3_1 = (Assignment)cGroup_2_1_1_0_4_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0 = (RuleCall)cPropertiesAssignment_2_1_1_0_4_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_1_1_0_4_4 = (Keyword)cGroup_2_1_1_0_4.eContents().get(4); |
| private final Keyword cSemicolonKeyword_2_1_1_0_5 = (Keyword)cGroup_2_1_1_0.eContents().get(5); |
| 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 cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_1_1_1_4 = (Group)cGroup_2_1_1_1.eContents().get(4); |
| private final Keyword cPropertiesKeyword_2_1_1_1_4_0 = (Keyword)cGroup_2_1_1_1_4.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_1_1_1_4_1 = (Keyword)cGroup_2_1_1_1_4.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_1_1_1_4_2 = (Assignment)cGroup_2_1_1_1_4.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_2_0 = (RuleCall)cPropertiesAssignment_2_1_1_1_4_2.eContents().get(0); |
| private final Group cGroup_2_1_1_1_4_3 = (Group)cGroup_2_1_1_1_4.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_1_1_1_4_3_0 = (Keyword)cGroup_2_1_1_1_4_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_1_1_1_4_3_1 = (Assignment)cGroup_2_1_1_1_4_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_3_1_0 = (RuleCall)cPropertiesAssignment_2_1_1_1_4_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_1_1_1_4_4 = (Keyword)cGroup_2_1_1_1_4.eContents().get(4); |
| private final Assignment cDerivedGetterExpressionAssignment_2_1_1_1_5 = (Assignment)cGroup_2_1_1_1.eContents().get(5); |
| private final RuleCall cDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_5_0 = (RuleCall)cDerivedGetterExpressionAssignment_2_1_1_1_5.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 cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_1_1_2_3 = (Group)cGroup_2_1_1_2.eContents().get(3); |
| private final Keyword cLeftSquareBracketKeyword_2_1_1_2_3_0 = (Keyword)cGroup_2_1_1_2_3.eContents().get(0); |
| private final Assignment cConstraintsAssignment_2_1_1_2_3_1 = (Assignment)cGroup_2_1_1_2_3.eContents().get(1); |
| private final RuleCall cConstraintsAllConstraintsParserRuleCall_2_1_1_2_3_1_0 = (RuleCall)cConstraintsAssignment_2_1_1_2_3_1.eContents().get(0); |
| private final Keyword cRightSquareBracketKeyword_2_1_1_2_3_2 = (Keyword)cGroup_2_1_1_2_3.eContents().get(2); |
| private final Assignment cNameAssignment_2_1_1_2_4 = (Assignment)cGroup_2_1_1_2.eContents().get(4); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_2_4_0 = (RuleCall)cNameAssignment_2_1_1_2_4.eContents().get(0); |
| private final Assignment cPersistenceInfoAssignment_2_1_1_2_5 = (Assignment)cGroup_2_1_1_2.eContents().get(5); |
| private final RuleCall cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_5_0 = (RuleCall)cPersistenceInfoAssignment_2_1_1_2_5.eContents().get(0); |
| private final Group cGroup_2_1_1_2_6 = (Group)cGroup_2_1_1_2.eContents().get(6); |
| private final Keyword cOppositeKeyword_2_1_1_2_6_0 = (Keyword)cGroup_2_1_1_2_6.eContents().get(0); |
| private final Assignment cOppositeAssignment_2_1_1_2_6_1 = (Assignment)cGroup_2_1_1_2_6.eContents().get(1); |
| private final CrossReference cOppositeLBeanReferenceCrossReference_2_1_1_2_6_1_0 = (CrossReference)cOppositeAssignment_2_1_1_2_6_1.eContents().get(0); |
| private final RuleCall cOppositeLBeanReferenceLFQNParserRuleCall_2_1_1_2_6_1_0_1 = (RuleCall)cOppositeLBeanReferenceCrossReference_2_1_1_2_6_1_0.eContents().get(1); |
| private final Group cGroup_2_1_1_2_7 = (Group)cGroup_2_1_1_2.eContents().get(7); |
| private final Keyword cPropertiesKeyword_2_1_1_2_7_0 = (Keyword)cGroup_2_1_1_2_7.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_1_1_2_7_1 = (Keyword)cGroup_2_1_1_2_7.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_1_1_2_7_2 = (Assignment)cGroup_2_1_1_2_7.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_2_0 = (RuleCall)cPropertiesAssignment_2_1_1_2_7_2.eContents().get(0); |
| private final Group cGroup_2_1_1_2_7_3 = (Group)cGroup_2_1_1_2_7.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_1_1_2_7_3_0 = (Keyword)cGroup_2_1_1_2_7_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_1_1_2_7_3_1 = (Assignment)cGroup_2_1_1_2_7_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_3_1_0 = (RuleCall)cPropertiesAssignment_2_1_1_2_7_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_1_1_2_7_4 = (Keyword)cGroup_2_1_1_2_7.eContents().get(4); |
| private final Keyword cSemicolonKeyword_2_1_1_2_8 = (Keyword)cGroup_2_1_1_2.eContents().get(8); |
| 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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| // constraints+=AllConstraints* "]")? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" |
| // opposite=[entity::LEntityReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* |
| // ")")? (resultFilters=ResultFilters | ";"?)) | {entity::LEntityAttribute.annotationInfo=current} |
| // (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| // name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? | |
| // derived?="derived" domainDescription?="domainDescription"? type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID |
| // ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| // derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | |
| // domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType|TYPE_CROSS_REFERENCE] |
| // multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID |
| // persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ("properties" "(" |
| // properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | {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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" |
| //opposite=[entity::LEntityReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* |
| //")")? (resultFilters=ResultFilters | ";"?)) | {entity::LEntityAttribute.annotationInfo=current} (transient?="transient" |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" |
| //properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? | derived?="derived" |
| //domainDescription?="domainDescription"? type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID ("properties" "(" |
| //properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? derivedGetterExpression=XBlockExpression | ("var" | |
| //id?="id" | uuid?="uuid" | version?="version" | domainDescription?="domainDescription" | domainKey?="domainKey") |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | |
| //{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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LEntityReference|LFQN])? |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? (resultFilters=ResultFilters | ";"?)) | |
| //{entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? ";"? | derived?="derived" domainDescription?="domainDescription"? |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | |
| //version?="version" | domainDescription?="domainDescription" | domainKey?="domainKey") |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | |
| //{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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LEntityReference|LFQN])? |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? (resultFilters=ResultFilters | ";"?)) |
| 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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" |
| //opposite=[entity::LEntityReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* |
| //")")? (resultFilters=ResultFilters | ";"?) |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_0_1_2() { return cTypeAssignment_2_0_1_2; } |
| |
| //[entity::LEntity|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLEntityCrossReference_2_0_1_2_0() { return cTypeLEntityCrossReference_2_0_1_2_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_2_0_1_2_0_1() { return cTypeLEntityTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("[" constraints+=AllConstraints* "]")? |
| public Group getGroup_2_0_1_4() { return cGroup_2_0_1_4; } |
| |
| //"[" |
| public Keyword getLeftSquareBracketKeyword_2_0_1_4_0() { return cLeftSquareBracketKeyword_2_0_1_4_0; } |
| |
| //constraints+=AllConstraints* |
| public Assignment getConstraintsAssignment_2_0_1_4_1() { return cConstraintsAssignment_2_0_1_4_1; } |
| |
| //AllConstraints |
| public RuleCall getConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0() { return cConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0; } |
| |
| //"]" |
| public Keyword getRightSquareBracketKeyword_2_0_1_4_2() { return cRightSquareBracketKeyword_2_0_1_4_2; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2_0_1_5() { return cNameAssignment_2_0_1_5; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0; } |
| |
| //persistenceInfo=ColumnPersistenceInfo? |
| public Assignment getPersistenceInfoAssignment_2_0_1_6() { return cPersistenceInfoAssignment_2_0_1_6; } |
| |
| //ColumnPersistenceInfo |
| public RuleCall getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_6_0() { return cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_6_0; } |
| |
| //("opposite" opposite=[entity::LEntityReference|LFQN])? |
| public Group getGroup_2_0_1_7() { return cGroup_2_0_1_7; } |
| |
| //"opposite" |
| public Keyword getOppositeKeyword_2_0_1_7_0() { return cOppositeKeyword_2_0_1_7_0; } |
| |
| //opposite=[entity::LEntityReference|LFQN] |
| public Assignment getOppositeAssignment_2_0_1_7_1() { return cOppositeAssignment_2_0_1_7_1; } |
| |
| //[entity::LEntityReference|LFQN] |
| public CrossReference getOppositeLEntityReferenceCrossReference_2_0_1_7_1_0() { return cOppositeLEntityReferenceCrossReference_2_0_1_7_1_0; } |
| |
| //LFQN |
| public RuleCall getOppositeLEntityReferenceLFQNParserRuleCall_2_0_1_7_1_0_1() { return cOppositeLEntityReferenceLFQNParserRuleCall_2_0_1_7_1_0_1; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_0_1_8() { return cGroup_2_0_1_8; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_0_1_8_0() { return cPropertiesKeyword_2_0_1_8_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_0_1_8_1() { return cLeftParenthesisKeyword_2_0_1_8_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_0_1_8_2() { return cPropertiesAssignment_2_0_1_8_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_0_1_8_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_0_1_8_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_0_1_8_3() { return cGroup_2_0_1_8_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_0_1_8_3_0() { return cCommaSpaceKeyword_2_0_1_8_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_0_1_8_3_1() { return cPropertiesAssignment_2_0_1_8_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_0_1_8_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_0_1_8_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_0_1_8_4() { return cRightParenthesisKeyword_2_0_1_8_4; } |
| |
| //resultFilters=ResultFilters | ";"? |
| public Alternatives getAlternatives_2_0_1_9() { return cAlternatives_2_0_1_9; } |
| |
| //resultFilters=ResultFilters |
| public Assignment getResultFiltersAssignment_2_0_1_9_0() { return cResultFiltersAssignment_2_0_1_9_0; } |
| |
| //ResultFilters |
| public RuleCall getResultFiltersResultFiltersParserRuleCall_2_0_1_9_0_0() { return cResultFiltersResultFiltersParserRuleCall_2_0_1_9_0_0; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_0_1_9_1() { return cSemicolonKeyword_2_0_1_9_1; } |
| |
| //{entity::LEntityAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? ";"? | derived?="derived" domainDescription?="domainDescription"? |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | |
| //version?="version" | domainDescription?="domainDescription" | domainKey?="domainKey") |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) |
| 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|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? | |
| //derived?="derived" domainDescription?="domainDescription"? type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| //derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | |
| //domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType|TYPE_CROSS_REFERENCE] |
| //multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID |
| //persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ("properties" "(" |
| //properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? |
| public Alternatives getAlternatives_2_1_1() { return cAlternatives_2_1_1; } |
| |
| //transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_1_1_0_1() { return cTypeAssignment_2_1_1_0_1; } |
| |
| //[LScalarType|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLScalarTypeCrossReference_2_1_1_0_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_0_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_0_1_0_1() { return cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_0_1_0_1; } |
| |
| //("[" constraints+=AllConstraints* "]")? |
| public Group getGroup_2_1_1_0_2() { return cGroup_2_1_1_0_2; } |
| |
| //"[" |
| public Keyword getLeftSquareBracketKeyword_2_1_1_0_2_0() { return cLeftSquareBracketKeyword_2_1_1_0_2_0; } |
| |
| //constraints+=AllConstraints* |
| public Assignment getConstraintsAssignment_2_1_1_0_2_1() { return cConstraintsAssignment_2_1_1_0_2_1; } |
| |
| //AllConstraints |
| public RuleCall getConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0() { return cConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0; } |
| |
| //"]" |
| public Keyword getRightSquareBracketKeyword_2_1_1_0_2_2() { return cRightSquareBracketKeyword_2_1_1_0_2_2; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2_1_1_0_3() { return cNameAssignment_2_1_1_0_3; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_1_1_0_4() { return cGroup_2_1_1_0_4; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_1_1_0_4_0() { return cPropertiesKeyword_2_1_1_0_4_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_1_1_0_4_1() { return cLeftParenthesisKeyword_2_1_1_0_4_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_0_4_2() { return cPropertiesAssignment_2_1_1_0_4_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_1_1_0_4_3() { return cGroup_2_1_1_0_4_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_1_1_0_4_3_0() { return cCommaSpaceKeyword_2_1_1_0_4_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_0_4_3_1() { return cPropertiesAssignment_2_1_1_0_4_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_1_1_0_4_4() { return cRightParenthesisKeyword_2_1_1_0_4_4; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_1_1_0_5() { return cSemicolonKeyword_2_1_1_0_5; } |
| |
| //derived?="derived" domainDescription?="domainDescription"? type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| //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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_1_1_1_2() { return cTypeAssignment_2_1_1_1_2; } |
| |
| //[LScalarType|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLScalarTypeCrossReference_2_1_1_1_2_0() { return cTypeLScalarTypeCrossReference_2_1_1_1_2_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_1_2_0_1() { return cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_1_1_1_4() { return cGroup_2_1_1_1_4; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_1_1_1_4_0() { return cPropertiesKeyword_2_1_1_1_4_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_1_1_1_4_1() { return cLeftParenthesisKeyword_2_1_1_1_4_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_1_4_2() { return cPropertiesAssignment_2_1_1_1_4_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_1_1_1_4_3() { return cGroup_2_1_1_1_4_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_1_1_1_4_3_0() { return cCommaSpaceKeyword_2_1_1_1_4_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_1_4_3_1() { return cPropertiesAssignment_2_1_1_1_4_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_1_4_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_1_1_1_4_4() { return cRightParenthesisKeyword_2_1_1_1_4_4; } |
| |
| //derivedGetterExpression=XBlockExpression |
| public Assignment getDerivedGetterExpressionAssignment_2_1_1_1_5() { return cDerivedGetterExpressionAssignment_2_1_1_1_5; } |
| |
| //XBlockExpression |
| public RuleCall getDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_5_0() { return cDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_5_0; } |
| |
| //("var" | id?="id" | uuid?="uuid" | version?="version" | domainDescription?="domainDescription" | domainKey?="domainKey") |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_1_1_2_1() { return cTypeAssignment_2_1_1_2_1; } |
| |
| //[LScalarType|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLScalarTypeCrossReference_2_1_1_2_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_2_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_2_1_0_1() { return cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("[" constraints+=AllConstraints* "]")? |
| public Group getGroup_2_1_1_2_3() { return cGroup_2_1_1_2_3; } |
| |
| //"[" |
| public Keyword getLeftSquareBracketKeyword_2_1_1_2_3_0() { return cLeftSquareBracketKeyword_2_1_1_2_3_0; } |
| |
| //constraints+=AllConstraints* |
| public Assignment getConstraintsAssignment_2_1_1_2_3_1() { return cConstraintsAssignment_2_1_1_2_3_1; } |
| |
| //AllConstraints |
| public RuleCall getConstraintsAllConstraintsParserRuleCall_2_1_1_2_3_1_0() { return cConstraintsAllConstraintsParserRuleCall_2_1_1_2_3_1_0; } |
| |
| //"]" |
| public Keyword getRightSquareBracketKeyword_2_1_1_2_3_2() { return cRightSquareBracketKeyword_2_1_1_2_3_2; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2_1_1_2_4() { return cNameAssignment_2_1_1_2_4; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_2_4_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_2_4_0; } |
| |
| //persistenceInfo=ColumnPersistenceInfo? |
| public Assignment getPersistenceInfoAssignment_2_1_1_2_5() { return cPersistenceInfoAssignment_2_1_1_2_5; } |
| |
| //ColumnPersistenceInfo |
| public RuleCall getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_5_0() { return cPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_5_0; } |
| |
| //("opposite" opposite=[entity::LBeanReference|LFQN])? |
| public Group getGroup_2_1_1_2_6() { return cGroup_2_1_1_2_6; } |
| |
| //"opposite" |
| public Keyword getOppositeKeyword_2_1_1_2_6_0() { return cOppositeKeyword_2_1_1_2_6_0; } |
| |
| //opposite=[entity::LBeanReference|LFQN] |
| public Assignment getOppositeAssignment_2_1_1_2_6_1() { return cOppositeAssignment_2_1_1_2_6_1; } |
| |
| //[entity::LBeanReference|LFQN] |
| public CrossReference getOppositeLBeanReferenceCrossReference_2_1_1_2_6_1_0() { return cOppositeLBeanReferenceCrossReference_2_1_1_2_6_1_0; } |
| |
| //LFQN |
| public RuleCall getOppositeLBeanReferenceLFQNParserRuleCall_2_1_1_2_6_1_0_1() { return cOppositeLBeanReferenceLFQNParserRuleCall_2_1_1_2_6_1_0_1; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_1_1_2_7() { return cGroup_2_1_1_2_7; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_1_1_2_7_0() { return cPropertiesKeyword_2_1_1_2_7_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_1_1_2_7_1() { return cLeftParenthesisKeyword_2_1_1_2_7_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_2_7_2() { return cPropertiesAssignment_2_1_1_2_7_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_1_1_2_7_3() { return cGroup_2_1_1_2_7_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_1_1_2_7_3_0() { return cCommaSpaceKeyword_2_1_1_2_7_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_2_7_3_1() { return cPropertiesAssignment_2_1_1_2_7_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_2_7_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_1_1_2_7_4() { return cRightParenthesisKeyword_2_1_1_2_7_4; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_1_1_2_8() { return cSemicolonKeyword_2_1_1_2_8; } |
| |
| //{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 cTypeLTypeTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_0_1_4 = (Group)cGroup_2_0_1.eContents().get(4); |
| private final Keyword cLeftSquareBracketKeyword_2_0_1_4_0 = (Keyword)cGroup_2_0_1_4.eContents().get(0); |
| private final Assignment cConstraintsAssignment_2_0_1_4_1 = (Assignment)cGroup_2_0_1_4.eContents().get(1); |
| private final RuleCall cConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0 = (RuleCall)cConstraintsAssignment_2_0_1_4_1.eContents().get(0); |
| private final Keyword cRightSquareBracketKeyword_2_0_1_4_2 = (Keyword)cGroup_2_0_1_4.eContents().get(2); |
| private final Assignment cNameAssignment_2_0_1_5 = (Assignment)cGroup_2_0_1.eContents().get(5); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0 = (RuleCall)cNameAssignment_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 cOppositeLReferenceCrossReference_2_0_1_6_1_0 = (CrossReference)cOppositeAssignment_2_0_1_6_1.eContents().get(0); |
| private final RuleCall cOppositeLReferenceLFQNParserRuleCall_2_0_1_6_1_0_1 = (RuleCall)cOppositeLReferenceCrossReference_2_0_1_6_1_0.eContents().get(1); |
| private final Group cGroup_2_0_1_7 = (Group)cGroup_2_0_1.eContents().get(7); |
| private final Keyword cPropertiesKeyword_2_0_1_7_0 = (Keyword)cGroup_2_0_1_7.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_0_1_7_1 = (Keyword)cGroup_2_0_1_7.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_0_1_7_2 = (Assignment)cGroup_2_0_1_7.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_0_1_7_2_0 = (RuleCall)cPropertiesAssignment_2_0_1_7_2.eContents().get(0); |
| private final Group cGroup_2_0_1_7_3 = (Group)cGroup_2_0_1_7.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_0_1_7_3_0 = (Keyword)cGroup_2_0_1_7_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_0_1_7_3_1 = (Assignment)cGroup_2_0_1_7_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_0_1_7_3_1_0 = (RuleCall)cPropertiesAssignment_2_0_1_7_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_0_1_7_4 = (Keyword)cGroup_2_0_1_7.eContents().get(4); |
| private final Alternatives cAlternatives_2_0_1_8 = (Alternatives)cGroup_2_0_1.eContents().get(8); |
| private final Assignment cResultFiltersAssignment_2_0_1_8_0 = (Assignment)cAlternatives_2_0_1_8.eContents().get(0); |
| private final RuleCall cResultFiltersResultFiltersParserRuleCall_2_0_1_8_0_0 = (RuleCall)cResultFiltersAssignment_2_0_1_8_0.eContents().get(0); |
| private final Keyword cSemicolonKeyword_2_0_1_8_1 = (Keyword)cAlternatives_2_0_1_8.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 cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_0_1_0_1 = (RuleCall)cTypeLScalarTypeCrossReference_2_1_1_0_1_0.eContents().get(1); |
| private final Group cGroup_2_1_1_0_2 = (Group)cGroup_2_1_1_0.eContents().get(2); |
| private final Keyword cLeftSquareBracketKeyword_2_1_1_0_2_0 = (Keyword)cGroup_2_1_1_0_2.eContents().get(0); |
| private final Assignment cConstraintsAssignment_2_1_1_0_2_1 = (Assignment)cGroup_2_1_1_0_2.eContents().get(1); |
| private final RuleCall cConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0 = (RuleCall)cConstraintsAssignment_2_1_1_0_2_1.eContents().get(0); |
| private final Keyword cRightSquareBracketKeyword_2_1_1_0_2_2 = (Keyword)cGroup_2_1_1_0_2.eContents().get(2); |
| private final Assignment cNameAssignment_2_1_1_0_3 = (Assignment)cGroup_2_1_1_0.eContents().get(3); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0 = (RuleCall)cNameAssignment_2_1_1_0_3.eContents().get(0); |
| private final Group cGroup_2_1_1_0_4 = (Group)cGroup_2_1_1_0.eContents().get(4); |
| private final Keyword cPropertiesKeyword_2_1_1_0_4_0 = (Keyword)cGroup_2_1_1_0_4.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_1_1_0_4_1 = (Keyword)cGroup_2_1_1_0_4.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_1_1_0_4_2 = (Assignment)cGroup_2_1_1_0_4.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0 = (RuleCall)cPropertiesAssignment_2_1_1_0_4_2.eContents().get(0); |
| private final Group cGroup_2_1_1_0_4_3 = (Group)cGroup_2_1_1_0_4.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_1_1_0_4_3_0 = (Keyword)cGroup_2_1_1_0_4_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_1_1_0_4_3_1 = (Assignment)cGroup_2_1_1_0_4_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0 = (RuleCall)cPropertiesAssignment_2_1_1_0_4_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_1_1_0_4_4 = (Keyword)cGroup_2_1_1_0_4.eContents().get(4); |
| 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 cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_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 Group cGroup_2_1_1_1_3 = (Group)cGroup_2_1_1_1.eContents().get(3); |
| private final Keyword cLeftSquareBracketKeyword_2_1_1_1_3_0 = (Keyword)cGroup_2_1_1_1_3.eContents().get(0); |
| private final Assignment cConstraintsAssignment_2_1_1_1_3_1 = (Assignment)cGroup_2_1_1_1_3.eContents().get(1); |
| private final RuleCall cConstraintsAllConstraintsParserRuleCall_2_1_1_1_3_1_0 = (RuleCall)cConstraintsAssignment_2_1_1_1_3_1.eContents().get(0); |
| private final Keyword cRightSquareBracketKeyword_2_1_1_1_3_2 = (Keyword)cGroup_2_1_1_1_3.eContents().get(2); |
| private final Assignment cNameAssignment_2_1_1_1_4 = (Assignment)cGroup_2_1_1_1.eContents().get(4); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_1_1_1_4_0 = (RuleCall)cNameAssignment_2_1_1_1_4.eContents().get(0); |
| private final Group cGroup_2_1_1_1_5 = (Group)cGroup_2_1_1_1.eContents().get(5); |
| private final Keyword cPropertiesKeyword_2_1_1_1_5_0 = (Keyword)cGroup_2_1_1_1_5.eContents().get(0); |
| private final Keyword cLeftParenthesisKeyword_2_1_1_1_5_1 = (Keyword)cGroup_2_1_1_1_5.eContents().get(1); |
| private final Assignment cPropertiesAssignment_2_1_1_1_5_2 = (Assignment)cGroup_2_1_1_1_5.eContents().get(2); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_2_0 = (RuleCall)cPropertiesAssignment_2_1_1_1_5_2.eContents().get(0); |
| private final Group cGroup_2_1_1_1_5_3 = (Group)cGroup_2_1_1_1_5.eContents().get(3); |
| private final Keyword cCommaSpaceKeyword_2_1_1_1_5_3_0 = (Keyword)cGroup_2_1_1_1_5_3.eContents().get(0); |
| private final Assignment cPropertiesAssignment_2_1_1_1_5_3_1 = (Assignment)cGroup_2_1_1_1_5_3.eContents().get(1); |
| private final RuleCall cPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_3_1_0 = (RuleCall)cPropertiesAssignment_2_1_1_1_5_3_1.eContents().get(0); |
| private final Keyword cRightParenthesisKeyword_2_1_1_1_5_4 = (Keyword)cGroup_2_1_1_1_5.eContents().get(4); |
| private final Keyword cSemicolonKeyword_2_1_1_1_6 = (Keyword)cGroup_2_1_1_1.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 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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* |
| // "]")? name=TRANSLATABLEID ("opposite" opposite=[LReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " |
| // properties+=KeyAndValue)* ")")? (resultFilters=ResultFilters | ";"?)) | |
| // {entity::LBeanAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" |
| // constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| // properties+=KeyAndValue)* ")")? | ("var" | id?="id" | version?="version") type=[LScalarType|TYPE_CROSS_REFERENCE] |
| // multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" |
| // properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | {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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* |
| //"]")? name=TRANSLATABLEID ("opposite" opposite=[LReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? (resultFilters=ResultFilters | ";"?)) | {entity::LBeanAttribute.annotationInfo=current} |
| //(transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? | ("var" | id?="id" |
| //| version?="version") type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? ";"?) | {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|TYPE_CROSS_REFERENCE] |
| //multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("opposite" |
| //opposite=[LReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| //(resultFilters=ResultFilters | ";"?)) | {entity::LBeanAttribute.annotationInfo=current} (transient?="transient" |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" |
| //properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? | ("var" | id?="id" | version?="version") |
| //type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | |
| //{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|TYPE_CROSS_REFERENCE] |
| //multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("opposite" |
| //opposite=[LReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| //(resultFilters=ResultFilters | ";"?)) |
| 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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("opposite" opposite=[LReference|LFQN])? ("properties" "(" |
| //properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? (resultFilters=ResultFilters | ";"?) |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_0_1_2() { return cTypeAssignment_2_0_1_2; } |
| |
| //[LType|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLTypeCrossReference_2_0_1_2_0() { return cTypeLTypeCrossReference_2_0_1_2_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLTypeTYPE_CROSS_REFERENCEParserRuleCall_2_0_1_2_0_1() { return cTypeLTypeTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("[" constraints+=AllConstraints* "]")? |
| public Group getGroup_2_0_1_4() { return cGroup_2_0_1_4; } |
| |
| //"[" |
| public Keyword getLeftSquareBracketKeyword_2_0_1_4_0() { return cLeftSquareBracketKeyword_2_0_1_4_0; } |
| |
| //constraints+=AllConstraints* |
| public Assignment getConstraintsAssignment_2_0_1_4_1() { return cConstraintsAssignment_2_0_1_4_1; } |
| |
| //AllConstraints |
| public RuleCall getConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0() { return cConstraintsAllConstraintsParserRuleCall_2_0_1_4_1_0; } |
| |
| //"]" |
| public Keyword getRightSquareBracketKeyword_2_0_1_4_2() { return cRightSquareBracketKeyword_2_0_1_4_2; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2_0_1_5() { return cNameAssignment_2_0_1_5; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0_1_5_0; } |
| |
| //("opposite" opposite=[LReference|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=[LReference|LFQN] |
| public Assignment getOppositeAssignment_2_0_1_6_1() { return cOppositeAssignment_2_0_1_6_1; } |
| |
| //[LReference|LFQN] |
| public CrossReference getOppositeLReferenceCrossReference_2_0_1_6_1_0() { return cOppositeLReferenceCrossReference_2_0_1_6_1_0; } |
| |
| //LFQN |
| public RuleCall getOppositeLReferenceLFQNParserRuleCall_2_0_1_6_1_0_1() { return cOppositeLReferenceLFQNParserRuleCall_2_0_1_6_1_0_1; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_0_1_7() { return cGroup_2_0_1_7; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_0_1_7_0() { return cPropertiesKeyword_2_0_1_7_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_0_1_7_1() { return cLeftParenthesisKeyword_2_0_1_7_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_0_1_7_2() { return cPropertiesAssignment_2_0_1_7_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_0_1_7_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_0_1_7_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_0_1_7_3() { return cGroup_2_0_1_7_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_0_1_7_3_0() { return cCommaSpaceKeyword_2_0_1_7_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_0_1_7_3_1() { return cPropertiesAssignment_2_0_1_7_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_0_1_7_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_0_1_7_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_0_1_7_4() { return cRightParenthesisKeyword_2_0_1_7_4; } |
| |
| //resultFilters=ResultFilters | ";"? |
| public Alternatives getAlternatives_2_0_1_8() { return cAlternatives_2_0_1_8; } |
| |
| //resultFilters=ResultFilters |
| public Assignment getResultFiltersAssignment_2_0_1_8_0() { return cResultFiltersAssignment_2_0_1_8_0; } |
| |
| //ResultFilters |
| public RuleCall getResultFiltersResultFiltersParserRuleCall_2_0_1_8_0_0() { return cResultFiltersResultFiltersParserRuleCall_2_0_1_8_0_0; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_0_1_8_1() { return cSemicolonKeyword_2_0_1_8_1; } |
| |
| //{entity::LBeanAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? | ("var" | id?="id" | version?="version") type=[LScalarType|TYPE_CROSS_REFERENCE] |
| //multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" |
| //properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) |
| 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|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? | ("var" | id?="id" |
| //| version?="version") type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? ";"? |
| public Alternatives getAlternatives_2_1_1() { return cAlternatives_2_1_1; } |
| |
| //transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| //name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_1_1_0_1() { return cTypeAssignment_2_1_1_0_1; } |
| |
| //[LScalarType|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLScalarTypeCrossReference_2_1_1_0_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_0_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_0_1_0_1() { return cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_0_1_0_1; } |
| |
| //("[" constraints+=AllConstraints* "]")? |
| public Group getGroup_2_1_1_0_2() { return cGroup_2_1_1_0_2; } |
| |
| //"[" |
| public Keyword getLeftSquareBracketKeyword_2_1_1_0_2_0() { return cLeftSquareBracketKeyword_2_1_1_0_2_0; } |
| |
| //constraints+=AllConstraints* |
| public Assignment getConstraintsAssignment_2_1_1_0_2_1() { return cConstraintsAssignment_2_1_1_0_2_1; } |
| |
| //AllConstraints |
| public RuleCall getConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0() { return cConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0; } |
| |
| //"]" |
| public Keyword getRightSquareBracketKeyword_2_1_1_0_2_2() { return cRightSquareBracketKeyword_2_1_1_0_2_2; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2_1_1_0_3() { return cNameAssignment_2_1_1_0_3; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_1_1_0_4() { return cGroup_2_1_1_0_4; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_1_1_0_4_0() { return cPropertiesKeyword_2_1_1_0_4_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_1_1_0_4_1() { return cLeftParenthesisKeyword_2_1_1_0_4_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_0_4_2() { return cPropertiesAssignment_2_1_1_0_4_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_1_1_0_4_3() { return cGroup_2_1_1_0_4_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_1_1_0_4_3_0() { return cCommaSpaceKeyword_2_1_1_0_4_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_0_4_3_1() { return cPropertiesAssignment_2_1_1_0_4_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_0_4_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_1_1_0_4_4() { return cRightParenthesisKeyword_2_1_1_0_4_4; } |
| |
| //("var" | id?="id" | version?="version") type=[LScalarType|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| //constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| //properties+=KeyAndValue)* ")")? ";"? |
| 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|TYPE_CROSS_REFERENCE] |
| public Assignment getTypeAssignment_2_1_1_1_1() { return cTypeAssignment_2_1_1_1_1; } |
| |
| //[LScalarType|TYPE_CROSS_REFERENCE] |
| public CrossReference getTypeLScalarTypeCrossReference_2_1_1_1_1_0() { return cTypeLScalarTypeCrossReference_2_1_1_1_1_0; } |
| |
| //TYPE_CROSS_REFERENCE |
| public RuleCall getTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_2_1_1_1_1_0_1() { return cTypeLScalarTypeTYPE_CROSS_REFERENCEParserRuleCall_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; } |
| |
| //("[" constraints+=AllConstraints* "]")? |
| public Group getGroup_2_1_1_1_3() { return cGroup_2_1_1_1_3; } |
| |
| //"[" |
| public Keyword getLeftSquareBracketKeyword_2_1_1_1_3_0() { return cLeftSquareBracketKeyword_2_1_1_1_3_0; } |
| |
| //constraints+=AllConstraints* |
| public Assignment getConstraintsAssignment_2_1_1_1_3_1() { return cConstraintsAssignment_2_1_1_1_3_1; } |
| |
| //AllConstraints |
| public RuleCall getConstraintsAllConstraintsParserRuleCall_2_1_1_1_3_1_0() { return cConstraintsAllConstraintsParserRuleCall_2_1_1_1_3_1_0; } |
| |
| //"]" |
| public Keyword getRightSquareBracketKeyword_2_1_1_1_3_2() { return cRightSquareBracketKeyword_2_1_1_1_3_2; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2_1_1_1_4() { return cNameAssignment_2_1_1_1_4; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_4_0() { return cNameTRANSLATABLEIDParserRuleCall_2_1_1_1_4_0; } |
| |
| //("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| public Group getGroup_2_1_1_1_5() { return cGroup_2_1_1_1_5; } |
| |
| //"properties" |
| public Keyword getPropertiesKeyword_2_1_1_1_5_0() { return cPropertiesKeyword_2_1_1_1_5_0; } |
| |
| //"(" |
| public Keyword getLeftParenthesisKeyword_2_1_1_1_5_1() { return cLeftParenthesisKeyword_2_1_1_1_5_1; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_1_5_2() { return cPropertiesAssignment_2_1_1_1_5_2; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_2_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_2_0; } |
| |
| //(", " properties+=KeyAndValue)* |
| public Group getGroup_2_1_1_1_5_3() { return cGroup_2_1_1_1_5_3; } |
| |
| //", " |
| public Keyword getCommaSpaceKeyword_2_1_1_1_5_3_0() { return cCommaSpaceKeyword_2_1_1_1_5_3_0; } |
| |
| //properties+=KeyAndValue |
| public Assignment getPropertiesAssignment_2_1_1_1_5_3_1() { return cPropertiesAssignment_2_1_1_1_5_3_1; } |
| |
| //KeyAndValue |
| public RuleCall getPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_3_1_0() { return cPropertiesKeyAndValueParserRuleCall_2_1_1_1_5_3_1_0; } |
| |
| //")" |
| public Keyword getRightParenthesisKeyword_2_1_1_1_5_4() { return cRightParenthesisKeyword_2_1_1_1_5_4; } |
| |
| //";"? |
| public Keyword getSemicolonKeyword_2_1_1_1_6() { return cSemicolonKeyword_2_1_1_1_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 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.eclipse.osbp.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|TYPE_CROSS_REFERENCE])? |
| // "{" persistenceInfo=EntityPersistenceInfo inheritanceStrategy=EntityInheritanceStrategy? ("persistenceUnit" |
| // persistenceUnit=STRING ";"?)? features+=EntityFeature* indexes+=Index* "}" | {entity::LEntity.annotationInfo=current} |
| // mappedSuperclass?="mapped superclass" ("extends" superType=[entity::LEntity|TYPE_CROSS_REFERENCE])? |
| // name=ValidIDWithKeywords "{" ("persistenceUnit" persistenceUnit=STRING ";"?)? features+=EntityFeature* "}" | |
| // {entity::LBean.annotationInfo=current} "bean" name=TRANSLATABLEID ("extends" |
| // superType=[entity::LBean|TYPE_CROSS_REFERENCE])? "{" 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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" |
| // constraints+=AllConstraints* "]")? name=TRANSLATABLEID persistenceInfo=ColumnPersistenceInfo? ("opposite" |
| // opposite=[entity::LEntityReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* |
| // ")")? (resultFilters=ResultFilters | ";"?)) | {entity::LEntityAttribute.annotationInfo=current} |
| // (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" constraints+=AllConstraints* "]")? |
| // name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"? | |
| // derived?="derived" domainDescription?="domainDescription"? type=[LScalarType|TYPE_CROSS_REFERENCE] name=TRANSLATABLEID |
| // ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? |
| // derivedGetterExpression=XBlockExpression | ("var" | id?="id" | uuid?="uuid" | version?="version" | |
| // domainDescription?="domainDescription" | domainKey?="domainKey") type=[LScalarType|TYPE_CROSS_REFERENCE] |
| // multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID |
| // persistenceInfo=ColumnPersistenceInfo? ("opposite" opposite=[entity::LBeanReference|LFQN])? ("properties" "(" |
| // properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | {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|TYPE_CROSS_REFERENCE] multiplicity=Multiplicity? ("[" constraints+=AllConstraints* |
| // "]")? name=TRANSLATABLEID ("opposite" opposite=[LReference|LFQN])? ("properties" "(" properties+=KeyAndValue (", " |
| // properties+=KeyAndValue)* ")")? (resultFilters=ResultFilters | ";"?)) | |
| // {entity::LBeanAttribute.annotationInfo=current} (transient?="transient" type=[LScalarType|TYPE_CROSS_REFERENCE] ("[" |
| // constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" properties+=KeyAndValue (", " |
| // properties+=KeyAndValue)* ")")? | ("var" | id?="id" | version?="version") type=[LScalarType|TYPE_CROSS_REFERENCE] |
| // multiplicity=Multiplicity? ("[" constraints+=AllConstraints* "]")? name=TRANSLATABLEID ("properties" "(" |
| // properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? ";"?) | {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"? |
| // constraints+=DataTypeConstraint* ("properties" "(" properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")? | |
| // date?="dateType" dateType=DateType constraints+=DateConstraint* ("properties" "(" properties+=KeyAndValue (", " |
| // properties+=KeyAndValue)* ")")? | asBlob?="as blob" constraints+=BlobTypeConstraint* ("properties" "(" |
| // properties+=KeyAndValue (", " properties+=KeyAndValue)* ")")?) ";"?; |
| public CommonGrammarGrammarAccess.DataTypeElements getDataTypeAccess() { |
| return gaCommonGrammar.getDataTypeAccess(); |
| } |
| |
| public ParserRule getDataTypeRule() { |
| return getDataTypeAccess().getRule(); |
| } |
| |
| //AllConstraints returns types::LDatatypeConstraint: |
| // DtCAssertFalse | DtCAssertTrue | DtCDecimalMax | DtCDecimalMin | DtCDigits | DtCNumericMax | DtCNumericMin | |
| // DtCNotNull | DtCNull | DtCRegEx | DtCSize | DtCFuture | DtCPast; |
| public CommonGrammarGrammarAccess.AllConstraintsElements getAllConstraintsAccess() { |
| return gaCommonGrammar.getAllConstraintsAccess(); |
| } |
| |
| public ParserRule getAllConstraintsRule() { |
| return getAllConstraintsAccess().getRule(); |
| } |
| |
| //DataTypeConstraint returns types::LDatatypeConstraint: |
| // DtCAssertFalse | DtCAssertTrue | DtCDecimalMax | DtCDecimalMin | DtCDigits | DtCNumericMax | DtCNumericMin | |
| // DtCNotNull | DtCNull | DtCRegEx | DtCSize; |
| public CommonGrammarGrammarAccess.DataTypeConstraintElements getDataTypeConstraintAccess() { |
| return gaCommonGrammar.getDataTypeConstraintAccess(); |
| } |
| |
| public ParserRule getDataTypeConstraintRule() { |
| return getDataTypeConstraintAccess().getRule(); |
| } |
| |
| //DateConstraint returns types::LDatatypeConstraint: |
| // DtCFuture | DtCPast | DtCNotNull | DtCNull; |
| public CommonGrammarGrammarAccess.DateConstraintElements getDateConstraintAccess() { |
| return gaCommonGrammar.getDateConstraintAccess(); |
| } |
| |
| public ParserRule getDateConstraintRule() { |
| return getDateConstraintAccess().getRule(); |
| } |
| |
| //BlobTypeConstraint returns types::LDatatypeConstraint: |
| // DtCNotNull | DtCNull; |
| public CommonGrammarGrammarAccess.BlobTypeConstraintElements getBlobTypeConstraintAccess() { |
| return gaCommonGrammar.getBlobTypeConstraintAccess(); |
| } |
| |
| public ParserRule getBlobTypeConstraintRule() { |
| return getBlobTypeConstraintAccess().getRule(); |
| } |
| |
| //enum ConstraintSeverity returns types::LConstraintSeverity: |
| // INFO="info" | WARNING="warn" | ERROR="error"; |
| public CommonGrammarGrammarAccess.ConstraintSeverityElements getConstraintSeverityAccess() { |
| return gaCommonGrammar.getConstraintSeverityAccess(); |
| } |
| |
| public EnumRule getConstraintSeverityRule() { |
| return getConstraintSeverityAccess().getRule(); |
| } |
| |
| //DtCAssertFalse returns types::LDtCAssertFalse: |
| // {types::LDtCAssertFalse} "isFalse" ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")?; |
| public CommonGrammarGrammarAccess.DtCAssertFalseElements getDtCAssertFalseAccess() { |
| return gaCommonGrammar.getDtCAssertFalseAccess(); |
| } |
| |
| public ParserRule getDtCAssertFalseRule() { |
| return getDtCAssertFalseAccess().getRule(); |
| } |
| |
| //DtCAssertTrue returns types::LDtCAssertTrue: |
| // {types::LDtCAssertTrue} "isTrue" ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")?; |
| public CommonGrammarGrammarAccess.DtCAssertTrueElements getDtCAssertTrueAccess() { |
| return gaCommonGrammar.getDtCAssertTrueAccess(); |
| } |
| |
| public ParserRule getDtCAssertTrueRule() { |
| return getDtCAssertTrueAccess().getRule(); |
| } |
| |
| //DtCDecimalMax returns types::LDtCDecimalMax: |
| // {types::LDtCDecimalMax} "maxDecimal" "(" max=LDecimal ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCDecimalMaxElements getDtCDecimalMaxAccess() { |
| return gaCommonGrammar.getDtCDecimalMaxAccess(); |
| } |
| |
| public ParserRule getDtCDecimalMaxRule() { |
| return getDtCDecimalMaxAccess().getRule(); |
| } |
| |
| //DtCDecimalMin returns types::LDtCDecimalMin: |
| // {types::LDtCDecimalMin} "minDecimal" "(" min=LDecimal ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCDecimalMinElements getDtCDecimalMinAccess() { |
| return gaCommonGrammar.getDtCDecimalMinAccess(); |
| } |
| |
| public ParserRule getDtCDecimalMinRule() { |
| return getDtCDecimalMinAccess().getRule(); |
| } |
| |
| //DtCDigits returns types::LDtCDigits: |
| // {types::LDtCDigits} "digits" "(" intDigits=INT ", " fractionDigits=INT ("[" ("msgCode" "=" msgCode=QualifiedName)? & |
| // ("msgI18nKey" "=" msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCDigitsElements getDtCDigitsAccess() { |
| return gaCommonGrammar.getDtCDigitsAccess(); |
| } |
| |
| public ParserRule getDtCDigitsRule() { |
| return getDtCDigitsAccess().getRule(); |
| } |
| |
| //DtCFuture returns types::LDtCFuture: |
| // {types::LDtCFuture} "isFuture" ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")?; |
| public CommonGrammarGrammarAccess.DtCFutureElements getDtCFutureAccess() { |
| return gaCommonGrammar.getDtCFutureAccess(); |
| } |
| |
| public ParserRule getDtCFutureRule() { |
| return getDtCFutureAccess().getRule(); |
| } |
| |
| //DtCPast returns types::LDtCPast: |
| // {types::LDtCPast} "isPast" ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" msgI18nKey=QualifiedName)? |
| // & ("severity" "=" severity=ConstraintSeverity)? "]")?; |
| public CommonGrammarGrammarAccess.DtCPastElements getDtCPastAccess() { |
| return gaCommonGrammar.getDtCPastAccess(); |
| } |
| |
| public ParserRule getDtCPastRule() { |
| return getDtCPastAccess().getRule(); |
| } |
| |
| //DtCNumericMax returns types::LDtCNumericMax: |
| // {types::LDtCNumericMax} "maxNumber" "(" max=LInt ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCNumericMaxElements getDtCNumericMaxAccess() { |
| return gaCommonGrammar.getDtCNumericMaxAccess(); |
| } |
| |
| public ParserRule getDtCNumericMaxRule() { |
| return getDtCNumericMaxAccess().getRule(); |
| } |
| |
| //DtCNumericMin returns types::LDtCNumericMin: |
| // {types::LDtCNumericMin} "minNumber" "(" min=LInt ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCNumericMinElements getDtCNumericMinAccess() { |
| return gaCommonGrammar.getDtCNumericMinAccess(); |
| } |
| |
| public ParserRule getDtCNumericMinRule() { |
| return getDtCNumericMinAccess().getRule(); |
| } |
| |
| //DtCNotNull returns types::LDtCNotNull: |
| // {types::LDtCNotNull} "isNotNull" ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")?; |
| public CommonGrammarGrammarAccess.DtCNotNullElements getDtCNotNullAccess() { |
| return gaCommonGrammar.getDtCNotNullAccess(); |
| } |
| |
| public ParserRule getDtCNotNullRule() { |
| return getDtCNotNullAccess().getRule(); |
| } |
| |
| //DtCNull returns types::LDtCNull: |
| // {types::LDtCNull} "isNull" ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" msgI18nKey=QualifiedName)? |
| // & ("severity" "=" severity=ConstraintSeverity)? "]")?; |
| public CommonGrammarGrammarAccess.DtCNullElements getDtCNullAccess() { |
| return gaCommonGrammar.getDtCNullAccess(); |
| } |
| |
| public ParserRule getDtCNullRule() { |
| return getDtCNullAccess().getRule(); |
| } |
| |
| //DtCRegEx returns types::LDtCRegEx: |
| // {types::LDtCRegEx} "regex" "(" pattern=STRING ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" "=" |
| // msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCRegExElements getDtCRegExAccess() { |
| return gaCommonGrammar.getDtCRegExAccess(); |
| } |
| |
| public ParserRule getDtCRegExRule() { |
| return getDtCRegExAccess().getRule(); |
| } |
| |
| //DtCSize returns types::LDtCSize: |
| // {types::LDtCSize} "minMaxSize" "(" min=INT ", " max=INT ("[" ("msgCode" "=" msgCode=QualifiedName)? & ("msgI18nKey" |
| // "=" msgI18nKey=QualifiedName)? & ("severity" "=" severity=ConstraintSeverity)? "]")? ")"; |
| public CommonGrammarGrammarAccess.DtCSizeElements getDtCSizeAccess() { |
| return gaCommonGrammar.getDtCSizeAccess(); |
| } |
| |
| public ParserRule getDtCSizeRule() { |
| return getDtCSizeAccess().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 ("(" default?="asDefault"? & null?="forNull"? ")" ("=" value=INT)?)?; |
| 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(); |
| } |
| |
| //ResultFilters returns types::LResultFilters: |
| // {types::LResultFilters} "constraints" "{" resultFilters+=ResultFilter* "}"; |
| public CommonGrammarGrammarAccess.ResultFiltersElements getResultFiltersAccess() { |
| return gaCommonGrammar.getResultFiltersAccess(); |
| } |
| |
| public ParserRule getResultFiltersRule() { |
| return getResultFiltersAccess().getRule(); |
| } |
| |
| //ResultFilter returns types::LResultFilter: |
| // AttributeMatchingConstraint; |
| public CommonGrammarGrammarAccess.ResultFilterElements getResultFilterAccess() { |
| return gaCommonGrammar.getResultFilterAccess(); |
| } |
| |
| public ParserRule getResultFilterRule() { |
| return getResultFilterAccess().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(); |
| } |
| |
| //KeyAndValue returns types::LKeyAndValue: |
| // "key" "=" key=STRING "value" "=" value=STRING; |
| public CommonGrammarGrammarAccess.KeyAndValueElements getKeyAndValueAccess() { |
| return gaCommonGrammar.getKeyAndValueAccess(); |
| } |
| |
| public ParserRule getKeyAndValueRule() { |
| return getKeyAndValueAccess().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(); |
| } |
| |
| //TYPE_CROSS_REFERENCE: |
| // ID; |
| public CommonGrammarGrammarAccess.TYPE_CROSS_REFERENCEElements getTYPE_CROSS_REFERENCEAccess() { |
| return gaCommonGrammar.getTYPE_CROSS_REFERENCEAccess(); |
| } |
| |
| public ParserRule getTYPE_CROSS_REFERENCERule() { |
| return getTYPE_CROSS_REFERENCEAccess().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(); |
| } |
| |
| //LDecimal returns ecore::EFloat: |
| // LInt ("." INT)?; |
| public CommonGrammarGrammarAccess.LDecimalElements getLDecimalAccess() { |
| return gaCommonGrammar.getLDecimalAccess(); |
| } |
| |
| public ParserRule getLDecimalRule() { |
| return getLDecimalAccess().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(); |
| } |
| } |