blob: 44802b497729ea022c50b4295a1d1ad498e67f63 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
* generated by Xtext 2.11.0
*
*/
package org.eclipse.osbp.xtext.datainterchange.services;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import java.util.List;
import org.eclipse.osbp.xtext.oxtype.services.OXtypeGrammarAccess;
import org.eclipse.xtext.Action;
import org.eclipse.xtext.Alternatives;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.CrossReference;
import org.eclipse.xtext.EnumLiteralDeclaration;
import org.eclipse.xtext.EnumRule;
import org.eclipse.xtext.Grammar;
import org.eclipse.xtext.GrammarUtil;
import org.eclipse.xtext.Group;
import org.eclipse.xtext.Keyword;
import org.eclipse.xtext.ParserRule;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.TerminalRule;
import org.eclipse.xtext.UnorderedGroup;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
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 DataDSLGrammarAccess extends AbstractGrammarElementFinder {
public class DataInterchangeModelElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeModel");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cImportSectionAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cImportSectionXImportSectionParserRuleCall_0_0 = (RuleCall)cImportSectionAssignment_0.eContents().get(0);
private final Assignment cPackagesAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cPackagesDataInterchangePackageParserRuleCall_1_0 = (RuleCall)cPackagesAssignment_1.eContents().get(0);
//DataInterchangeModel:
// importSection=XImportSection?
// packages+=DataInterchangePackage*;
@Override public ParserRule getRule() { return rule; }
//importSection=XImportSection? packages+=DataInterchangePackage*
public Group getGroup() { return cGroup; }
//importSection=XImportSection?
public Assignment getImportSectionAssignment_0() { return cImportSectionAssignment_0; }
//XImportSection
public RuleCall getImportSectionXImportSectionParserRuleCall_0_0() { return cImportSectionXImportSectionParserRuleCall_0_0; }
//packages+=DataInterchangePackage*
public Assignment getPackagesAssignment_1() { return cPackagesAssignment_1; }
//DataInterchangePackage
public RuleCall getPackagesDataInterchangePackageParserRuleCall_1_0() { return cPackagesDataInterchangePackageParserRuleCall_1_0; }
}
public class DataInterchangePackageElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangePackage");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangePackageAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPackageKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cGroupsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cGroupsDataInterchangeGroupParserRuleCall_3_1_0 = (RuleCall)cGroupsAssignment_3_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
//DataInterchangePackage:
// {DataInterchangePackage} 'package' name=QualifiedName ('{' groups+=DataInterchangeGroup* '}')?;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangePackage} 'package' name=QualifiedName ('{' groups+=DataInterchangeGroup* '}')?
public Group getGroup() { return cGroup; }
//{DataInterchangePackage}
public Action getDataInterchangePackageAction_0() { return cDataInterchangePackageAction_0; }
//'package'
public Keyword getPackageKeyword_1() { return cPackageKeyword_1; }
//name=QualifiedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; }
//('{' groups+=DataInterchangeGroup* '}')?
public Group getGroup_3() { return cGroup_3; }
//'{'
public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
//groups+=DataInterchangeGroup*
public Assignment getGroupsAssignment_3_1() { return cGroupsAssignment_3_1; }
//DataInterchangeGroup
public RuleCall getGroupsDataInterchangeGroupParserRuleCall_3_1_0() { return cGroupsDataInterchangeGroupParserRuleCall_3_1_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
}
public class DataInterchangeGroupElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeGroup");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeGroupAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cGroupKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cDatIntsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cDatIntsDataInterchangeParserRuleCall_3_1_0 = (RuleCall)cDatIntsAssignment_3_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
//DataInterchangeGroup:
// {DataInterchangeGroup} 'group' name=TRANSLATABLEID ('{' datInts+=DataInterchange* '}')?;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeGroup} 'group' name=TRANSLATABLEID ('{' datInts+=DataInterchange* '}')?
public Group getGroup() { return cGroup; }
//{DataInterchangeGroup}
public Action getDataInterchangeGroupAction_0() { return cDataInterchangeGroupAction_0; }
//'group'
public Keyword getGroupKeyword_1() { return cGroupKeyword_1; }
//name=TRANSLATABLEID
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//TRANSLATABLEID
public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0; }
//('{' datInts+=DataInterchange* '}')?
public Group getGroup_3() { return cGroup_3; }
//'{'
public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
//datInts+=DataInterchange*
public Assignment getDatIntsAssignment_3_1() { return cDatIntsAssignment_3_1; }
//DataInterchange
public RuleCall getDatIntsDataInterchangeParserRuleCall_3_1_0() { return cDatIntsDataInterchangeParserRuleCall_3_1_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
}
public class DataInterchangeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchange");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cInterchangeKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Assignment cDescriptionAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0);
private final Keyword cDescriptionDescribedByKeyword_3_0_0 = (Keyword)cDescriptionAssignment_3_0.eContents().get(0);
private final Assignment cDescriptionValueAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0 = (RuleCall)cDescriptionValueAssignment_3_1.eContents().get(0);
private final Assignment cModeAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final RuleCall cModeEntityManagerModeEnumRuleCall_4_0 = (RuleCall)cModeAssignment_4.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Assignment cHasVectorNameAssignment_5_0 = (Assignment)cGroup_5.eContents().get(0);
private final Keyword cHasVectorNameVectorNameKeyword_5_0_0 = (Keyword)cHasVectorNameAssignment_5_0.eContents().get(0);
private final Assignment cVectorNameAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cVectorNameSTRINGTerminalRuleCall_5_1_0 = (RuleCall)cVectorNameAssignment_5_1.eContents().get(0);
private final Assignment cCreateReportAssignment_6 = (Assignment)cGroup.eContents().get(6);
private final Keyword cCreateReportReportKeyword_6_0 = (Keyword)cCreateReportAssignment_6.eContents().get(0);
private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
private final Keyword cElementSizeKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
private final Assignment cElementSizeAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1);
private final RuleCall cElementSizeINTTerminalRuleCall_7_1_0 = (RuleCall)cElementSizeAssignment_7_1.eContents().get(0);
private final Assignment cDeleteFileAfterImportAssignment_8 = (Assignment)cGroup.eContents().get(8);
private final Keyword cDeleteFileAfterImportDeleteFileAfterImportKeyword_8_0 = (Keyword)cDeleteFileAfterImportAssignment_8.eContents().get(0);
private final Keyword cFileKeyword_9 = (Keyword)cGroup.eContents().get(9);
private final Assignment cFileEndpointAssignment_10 = (Assignment)cGroup.eContents().get(10);
private final RuleCall cFileEndpointDataInterchangeFileParserRuleCall_10_0 = (RuleCall)cFileEndpointAssignment_10.eContents().get(0);
private final Keyword cPathKeyword_11 = (Keyword)cGroup.eContents().get(11);
private final Keyword cLeftCurlyBracketKeyword_12 = (Keyword)cGroup.eContents().get(12);
private final Assignment cPathAssignment_13 = (Assignment)cGroup.eContents().get(13);
private final RuleCall cPathDataInterchangeBeanParserRuleCall_13_0 = (RuleCall)cPathAssignment_13.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_14 = (Keyword)cGroup.eContents().get(14);
//DataInterchange:
// {DataInterchange} 'interchange' name=TRANSLATABLEID (description?='describedBy' descriptionValue=TRANSLATABLESTRING)?
// mode=EntityManagerMode (hasVectorName?='vectorName' vectorName=STRING)?
// createReport?='report'? ('elementSize' elementSize=INT)?
// deleteFileAfterImport?='deleteFileAfterImport'?
// 'file' fileEndpoint=DataInterchangeFile 'path' '{' path+=DataInterchangeBean* '}';
@Override public ParserRule getRule() { return rule; }
//{DataInterchange} 'interchange' name=TRANSLATABLEID (description?='describedBy' descriptionValue=TRANSLATABLESTRING)?
//mode=EntityManagerMode (hasVectorName?='vectorName' vectorName=STRING)? createReport?='report'? ('elementSize'
//elementSize=INT)? deleteFileAfterImport?='deleteFileAfterImport'? 'file' fileEndpoint=DataInterchangeFile 'path' '{'
//path+=DataInterchangeBean* '}'
public Group getGroup() { return cGroup; }
//{DataInterchange}
public Action getDataInterchangeAction_0() { return cDataInterchangeAction_0; }
//'interchange'
public Keyword getInterchangeKeyword_1() { return cInterchangeKeyword_1; }
//name=TRANSLATABLEID
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//TRANSLATABLEID
public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0; }
//(description?='describedBy' descriptionValue=TRANSLATABLESTRING)?
public Group getGroup_3() { return cGroup_3; }
//description?='describedBy'
public Assignment getDescriptionAssignment_3_0() { return cDescriptionAssignment_3_0; }
//'describedBy'
public Keyword getDescriptionDescribedByKeyword_3_0_0() { return cDescriptionDescribedByKeyword_3_0_0; }
//descriptionValue=TRANSLATABLESTRING
public Assignment getDescriptionValueAssignment_3_1() { return cDescriptionValueAssignment_3_1; }
//TRANSLATABLESTRING
public RuleCall getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0() { return cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0; }
//mode=EntityManagerMode
public Assignment getModeAssignment_4() { return cModeAssignment_4; }
//EntityManagerMode
public RuleCall getModeEntityManagerModeEnumRuleCall_4_0() { return cModeEntityManagerModeEnumRuleCall_4_0; }
//(hasVectorName?='vectorName' vectorName=STRING)?
public Group getGroup_5() { return cGroup_5; }
//hasVectorName?='vectorName'
public Assignment getHasVectorNameAssignment_5_0() { return cHasVectorNameAssignment_5_0; }
//'vectorName'
public Keyword getHasVectorNameVectorNameKeyword_5_0_0() { return cHasVectorNameVectorNameKeyword_5_0_0; }
//vectorName=STRING
public Assignment getVectorNameAssignment_5_1() { return cVectorNameAssignment_5_1; }
//STRING
public RuleCall getVectorNameSTRINGTerminalRuleCall_5_1_0() { return cVectorNameSTRINGTerminalRuleCall_5_1_0; }
//createReport?='report'?
public Assignment getCreateReportAssignment_6() { return cCreateReportAssignment_6; }
//'report'
public Keyword getCreateReportReportKeyword_6_0() { return cCreateReportReportKeyword_6_0; }
//('elementSize' elementSize=INT)?
public Group getGroup_7() { return cGroup_7; }
//'elementSize'
public Keyword getElementSizeKeyword_7_0() { return cElementSizeKeyword_7_0; }
//elementSize=INT
public Assignment getElementSizeAssignment_7_1() { return cElementSizeAssignment_7_1; }
//INT
public RuleCall getElementSizeINTTerminalRuleCall_7_1_0() { return cElementSizeINTTerminalRuleCall_7_1_0; }
//deleteFileAfterImport?='deleteFileAfterImport'?
public Assignment getDeleteFileAfterImportAssignment_8() { return cDeleteFileAfterImportAssignment_8; }
//'deleteFileAfterImport'
public Keyword getDeleteFileAfterImportDeleteFileAfterImportKeyword_8_0() { return cDeleteFileAfterImportDeleteFileAfterImportKeyword_8_0; }
//'file'
public Keyword getFileKeyword_9() { return cFileKeyword_9; }
//fileEndpoint=DataInterchangeFile
public Assignment getFileEndpointAssignment_10() { return cFileEndpointAssignment_10; }
//DataInterchangeFile
public RuleCall getFileEndpointDataInterchangeFileParserRuleCall_10_0() { return cFileEndpointDataInterchangeFileParserRuleCall_10_0; }
//'path'
public Keyword getPathKeyword_11() { return cPathKeyword_11; }
//'{'
public Keyword getLeftCurlyBracketKeyword_12() { return cLeftCurlyBracketKeyword_12; }
//path+=DataInterchangeBean*
public Assignment getPathAssignment_13() { return cPathAssignment_13; }
//DataInterchangeBean
public RuleCall getPathDataInterchangeBeanParserRuleCall_13_0() { return cPathDataInterchangeBeanParserRuleCall_13_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_14() { return cRightCurlyBracketKeyword_14; }
}
public class DataInterchangeFileElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeFile");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cDataInterchangeFileXMLParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cDataInterchangeFileCSVParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cDataInterchangeFileEDIParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//DataInterchangeFile:
// DataInterchangeFileXML | DataInterchangeFileCSV | DataInterchangeFileEDI;
@Override public ParserRule getRule() { return rule; }
//DataInterchangeFileXML | DataInterchangeFileCSV | DataInterchangeFileEDI
public Alternatives getAlternatives() { return cAlternatives; }
//DataInterchangeFileXML
public RuleCall getDataInterchangeFileXMLParserRuleCall_0() { return cDataInterchangeFileXMLParserRuleCall_0; }
//DataInterchangeFileCSV
public RuleCall getDataInterchangeFileCSVParserRuleCall_1() { return cDataInterchangeFileCSVParserRuleCall_1; }
//DataInterchangeFileEDI
public RuleCall getDataInterchangeFileEDIParserRuleCall_2() { return cDataInterchangeFileEDIParserRuleCall_2; }
}
public class DataInterchangeFileXMLElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeFileXML");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeFileXMLAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cXMLKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cFileURLAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cFileURLSTRINGTerminalRuleCall_2_0 = (RuleCall)cFileURLAssignment_2.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
private final Assignment cByAttributeAssignment_3_0 = (Assignment)cUnorderedGroup_3.eContents().get(0);
private final Keyword cByAttributeMapByAttributeKeyword_3_0_0 = (Keyword)cByAttributeAssignment_3_0.eContents().get(0);
private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
private final Keyword cEncodingKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Assignment cEncodingAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
private final RuleCall cEncodingSTRINGTerminalRuleCall_3_1_1_0 = (RuleCall)cEncodingAssignment_3_1_1.eContents().get(0);
private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2);
private final Keyword cLocaleKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cLocaleAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cLocaleSTRINGTerminalRuleCall_3_2_1_0 = (RuleCall)cLocaleAssignment_3_2_1.eContents().get(0);
//DataInterchangeFileXML:
// {DataInterchangeFileXML} 'XML' fileURL=STRING (byAttribute?='mapByAttribute'? & ('encoding' encoding=STRING)? &
// ('locale' locale=STRING)?);
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeFileXML} 'XML' fileURL=STRING (byAttribute?='mapByAttribute'? & ('encoding' encoding=STRING)? &
//('locale' locale=STRING)?)
public Group getGroup() { return cGroup; }
//{DataInterchangeFileXML}
public Action getDataInterchangeFileXMLAction_0() { return cDataInterchangeFileXMLAction_0; }
//'XML'
public Keyword getXMLKeyword_1() { return cXMLKeyword_1; }
//fileURL=STRING
public Assignment getFileURLAssignment_2() { return cFileURLAssignment_2; }
//STRING
public RuleCall getFileURLSTRINGTerminalRuleCall_2_0() { return cFileURLSTRINGTerminalRuleCall_2_0; }
//byAttribute?='mapByAttribute'? & ('encoding' encoding=STRING)? & ('locale' locale=STRING)?
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//byAttribute?='mapByAttribute'?
public Assignment getByAttributeAssignment_3_0() { return cByAttributeAssignment_3_0; }
//'mapByAttribute'
public Keyword getByAttributeMapByAttributeKeyword_3_0_0() { return cByAttributeMapByAttributeKeyword_3_0_0; }
//('encoding' encoding=STRING)?
public Group getGroup_3_1() { return cGroup_3_1; }
//'encoding'
public Keyword getEncodingKeyword_3_1_0() { return cEncodingKeyword_3_1_0; }
//encoding=STRING
public Assignment getEncodingAssignment_3_1_1() { return cEncodingAssignment_3_1_1; }
//STRING
public RuleCall getEncodingSTRINGTerminalRuleCall_3_1_1_0() { return cEncodingSTRINGTerminalRuleCall_3_1_1_0; }
//('locale' locale=STRING)?
public Group getGroup_3_2() { return cGroup_3_2; }
//'locale'
public Keyword getLocaleKeyword_3_2_0() { return cLocaleKeyword_3_2_0; }
//locale=STRING
public Assignment getLocaleAssignment_3_2_1() { return cLocaleAssignment_3_2_1; }
//STRING
public RuleCall getLocaleSTRINGTerminalRuleCall_3_2_1_0() { return cLocaleSTRINGTerminalRuleCall_3_2_1_0; }
}
public class DataInterchangeFileCSVElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeFileCSV");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeFileCSVAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cCSVKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cFileURLAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cFileURLSTRINGTerminalRuleCall_2_0 = (RuleCall)cFileURLAssignment_2.eContents().get(0);
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 cDelimiterKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
private final Assignment cDelimiterAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final RuleCall cDelimiterSTRINGTerminalRuleCall_3_0_1_0 = (RuleCall)cDelimiterAssignment_3_0_1.eContents().get(0);
private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
private final Keyword cQuoteCharacterKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Assignment cQuoteCharacterAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
private final RuleCall cQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0 = (RuleCall)cQuoteCharacterAssignment_3_1_1.eContents().get(0);
private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2);
private final Keyword cSkipLinesKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cSkipLinesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cSkipLinesINTTerminalRuleCall_3_2_1_0 = (RuleCall)cSkipLinesAssignment_3_2_1.eContents().get(0);
private final Assignment cIndentAssignment_3_3 = (Assignment)cUnorderedGroup_3.eContents().get(3);
private final Keyword cIndentIndentKeyword_3_3_0 = (Keyword)cIndentAssignment_3_3.eContents().get(0);
private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4);
private final Keyword cEncodingKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0);
private final Assignment cEncodingAssignment_3_4_1 = (Assignment)cGroup_3_4.eContents().get(1);
private final RuleCall cEncodingSTRINGTerminalRuleCall_3_4_1_0 = (RuleCall)cEncodingAssignment_3_4_1.eContents().get(0);
private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5);
private final Keyword cLocaleKeyword_3_5_0 = (Keyword)cGroup_3_5.eContents().get(0);
private final Assignment cLocaleAssignment_3_5_1 = (Assignment)cGroup_3_5.eContents().get(1);
private final RuleCall cLocaleSTRINGTerminalRuleCall_3_5_1_0 = (RuleCall)cLocaleAssignment_3_5_1.eContents().get(0);
//DataInterchangeFileCSV:
// {DataInterchangeFileCSV} 'CSV' fileURL=STRING (('delimiter' delimiter=STRING)? & ('quoteCharacter'
// quoteCharacter=STRING)? & ('skipLines' skipLines=INT)? & indent?='indent'? & ('encoding' encoding=STRING)? & ('locale'
// locale=STRING)?);
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeFileCSV} 'CSV' fileURL=STRING (('delimiter' delimiter=STRING)? & ('quoteCharacter'
//quoteCharacter=STRING)? & ('skipLines' skipLines=INT)? & indent?='indent'? & ('encoding' encoding=STRING)? & ('locale'
//locale=STRING)?)
public Group getGroup() { return cGroup; }
//{DataInterchangeFileCSV}
public Action getDataInterchangeFileCSVAction_0() { return cDataInterchangeFileCSVAction_0; }
//'CSV'
public Keyword getCSVKeyword_1() { return cCSVKeyword_1; }
//fileURL=STRING
public Assignment getFileURLAssignment_2() { return cFileURLAssignment_2; }
//STRING
public RuleCall getFileURLSTRINGTerminalRuleCall_2_0() { return cFileURLSTRINGTerminalRuleCall_2_0; }
//('delimiter' delimiter=STRING)? & ('quoteCharacter' quoteCharacter=STRING)? & ('skipLines' skipLines=INT)? &
//indent?='indent'? & ('encoding' encoding=STRING)? & ('locale' locale=STRING)?
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//('delimiter' delimiter=STRING)?
public Group getGroup_3_0() { return cGroup_3_0; }
//'delimiter'
public Keyword getDelimiterKeyword_3_0_0() { return cDelimiterKeyword_3_0_0; }
//delimiter=STRING
public Assignment getDelimiterAssignment_3_0_1() { return cDelimiterAssignment_3_0_1; }
//STRING
public RuleCall getDelimiterSTRINGTerminalRuleCall_3_0_1_0() { return cDelimiterSTRINGTerminalRuleCall_3_0_1_0; }
//('quoteCharacter' quoteCharacter=STRING)?
public Group getGroup_3_1() { return cGroup_3_1; }
//'quoteCharacter'
public Keyword getQuoteCharacterKeyword_3_1_0() { return cQuoteCharacterKeyword_3_1_0; }
//quoteCharacter=STRING
public Assignment getQuoteCharacterAssignment_3_1_1() { return cQuoteCharacterAssignment_3_1_1; }
//STRING
public RuleCall getQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0() { return cQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0; }
//('skipLines' skipLines=INT)?
public Group getGroup_3_2() { return cGroup_3_2; }
//'skipLines'
public Keyword getSkipLinesKeyword_3_2_0() { return cSkipLinesKeyword_3_2_0; }
//skipLines=INT
public Assignment getSkipLinesAssignment_3_2_1() { return cSkipLinesAssignment_3_2_1; }
//INT
public RuleCall getSkipLinesINTTerminalRuleCall_3_2_1_0() { return cSkipLinesINTTerminalRuleCall_3_2_1_0; }
//indent?='indent'?
public Assignment getIndentAssignment_3_3() { return cIndentAssignment_3_3; }
//'indent'
public Keyword getIndentIndentKeyword_3_3_0() { return cIndentIndentKeyword_3_3_0; }
//('encoding' encoding=STRING)?
public Group getGroup_3_4() { return cGroup_3_4; }
//'encoding'
public Keyword getEncodingKeyword_3_4_0() { return cEncodingKeyword_3_4_0; }
//encoding=STRING
public Assignment getEncodingAssignment_3_4_1() { return cEncodingAssignment_3_4_1; }
//STRING
public RuleCall getEncodingSTRINGTerminalRuleCall_3_4_1_0() { return cEncodingSTRINGTerminalRuleCall_3_4_1_0; }
//('locale' locale=STRING)?
public Group getGroup_3_5() { return cGroup_3_5; }
//'locale'
public Keyword getLocaleKeyword_3_5_0() { return cLocaleKeyword_3_5_0; }
//locale=STRING
public Assignment getLocaleAssignment_3_5_1() { return cLocaleAssignment_3_5_1; }
//STRING
public RuleCall getLocaleSTRINGTerminalRuleCall_3_5_1_0() { return cLocaleSTRINGTerminalRuleCall_3_5_1_0; }
}
public class DataInterchangeFileEDIElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeFileEDI");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeFileEDIAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cEDIKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cFileURLAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cFileURLSTRINGTerminalRuleCall_2_0 = (RuleCall)cFileURLAssignment_2.eContents().get(0);
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 cEncodingKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
private final Assignment cEncodingAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final RuleCall cEncodingSTRINGTerminalRuleCall_3_0_1_0 = (RuleCall)cEncodingAssignment_3_0_1.eContents().get(0);
private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
private final Keyword cLocaleKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Assignment cLocaleAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
private final RuleCall cLocaleSTRINGTerminalRuleCall_3_1_1_0 = (RuleCall)cLocaleAssignment_3_1_1.eContents().get(0);
private final Keyword cMappingModelKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Assignment cMappingModelAssignment_5 = (Assignment)cGroup.eContents().get(5);
private final RuleCall cMappingModelSTRINGTerminalRuleCall_5_0 = (RuleCall)cMappingModelAssignment_5.eContents().get(0);
private final Assignment cValidateAssignment_6 = (Assignment)cGroup.eContents().get(6);
private final Keyword cValidateValidateKeyword_6_0 = (Keyword)cValidateAssignment_6.eContents().get(0);
//DataInterchangeFileEDI:
// {DataInterchangeFileEDI} 'EDI' fileURL=STRING (('encoding' encoding=STRING)? & ('locale' locale=STRING)?)
// 'mappingModel' mappingModel=STRING validate?='validate'?;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeFileEDI} 'EDI' fileURL=STRING (('encoding' encoding=STRING)? & ('locale' locale=STRING)?) 'mappingModel'
//mappingModel=STRING validate?='validate'?
public Group getGroup() { return cGroup; }
//{DataInterchangeFileEDI}
public Action getDataInterchangeFileEDIAction_0() { return cDataInterchangeFileEDIAction_0; }
//'EDI'
public Keyword getEDIKeyword_1() { return cEDIKeyword_1; }
//fileURL=STRING
public Assignment getFileURLAssignment_2() { return cFileURLAssignment_2; }
//STRING
public RuleCall getFileURLSTRINGTerminalRuleCall_2_0() { return cFileURLSTRINGTerminalRuleCall_2_0; }
//('encoding' encoding=STRING)? & ('locale' locale=STRING)?
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//('encoding' encoding=STRING)?
public Group getGroup_3_0() { return cGroup_3_0; }
//'encoding'
public Keyword getEncodingKeyword_3_0_0() { return cEncodingKeyword_3_0_0; }
//encoding=STRING
public Assignment getEncodingAssignment_3_0_1() { return cEncodingAssignment_3_0_1; }
//STRING
public RuleCall getEncodingSTRINGTerminalRuleCall_3_0_1_0() { return cEncodingSTRINGTerminalRuleCall_3_0_1_0; }
//('locale' locale=STRING)?
public Group getGroup_3_1() { return cGroup_3_1; }
//'locale'
public Keyword getLocaleKeyword_3_1_0() { return cLocaleKeyword_3_1_0; }
//locale=STRING
public Assignment getLocaleAssignment_3_1_1() { return cLocaleAssignment_3_1_1; }
//STRING
public RuleCall getLocaleSTRINGTerminalRuleCall_3_1_1_0() { return cLocaleSTRINGTerminalRuleCall_3_1_1_0; }
//'mappingModel'
public Keyword getMappingModelKeyword_4() { return cMappingModelKeyword_4; }
//mappingModel=STRING
public Assignment getMappingModelAssignment_5() { return cMappingModelAssignment_5; }
//STRING
public RuleCall getMappingModelSTRINGTerminalRuleCall_5_0() { return cMappingModelSTRINGTerminalRuleCall_5_0; }
//validate?='validate'?
public Assignment getValidateAssignment_6() { return cValidateAssignment_6; }
//'validate'
public Keyword getValidateValidateKeyword_6_0() { return cValidateValidateKeyword_6_0; }
}
public class DataInterchangeBeanElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeBean");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeBeanAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cEntityKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cEntityAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cEntityLEntityCrossReference_2_0 = (CrossReference)cEntityAssignment_2.eContents().get(0);
private final RuleCall cEntityLEntityLFQNParserRuleCall_2_0_1 = (RuleCall)cEntityLEntityCrossReference_2_0.eContents().get(1);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cNodeNameKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cNodeNameAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cNodeNameSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cNodeNameAssignment_3_1.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cCreateOnKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cElementMapAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cElementMapSTRINGTerminalRuleCall_4_1_0 = (RuleCall)cElementMapAssignment_4_1.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Assignment cMarkLatestImportAssignment_5_0 = (Assignment)cGroup_5.eContents().get(0);
private final Keyword cMarkLatestImportLatestImportKeyword_5_0_0 = (Keyword)cMarkLatestImportAssignment_5_0.eContents().get(0);
private final Assignment cLatestPropertyAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final CrossReference cLatestPropertyLEntityAttributeCrossReference_5_1_0 = (CrossReference)cLatestPropertyAssignment_5_1.eContents().get(0);
private final RuleCall cLatestPropertyLEntityAttributeIDTerminalRuleCall_5_1_0_1 = (RuleCall)cLatestPropertyLEntityAttributeCrossReference_5_1_0.eContents().get(1);
private final Group cGroup_6 = (Group)cGroup.eContents().get(6);
private final Assignment cMarkLatestExportAssignment_6_0 = (Assignment)cGroup_6.eContents().get(0);
private final Keyword cMarkLatestExportLatestExportKeyword_6_0_0 = (Keyword)cMarkLatestExportAssignment_6_0.eContents().get(0);
private final Assignment cLatestExpPropertyAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1);
private final CrossReference cLatestExpPropertyLEntityAttributeCrossReference_6_1_0 = (CrossReference)cLatestExpPropertyAssignment_6_1.eContents().get(0);
private final RuleCall cLatestExpPropertyLEntityAttributeIDTerminalRuleCall_6_1_0_1 = (RuleCall)cLatestExpPropertyLEntityAttributeCrossReference_6_1_0.eContents().get(1);
private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
private final Keyword cExpressionKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_7_1 = (Keyword)cGroup_7.eContents().get(1);
private final Assignment cExpressionAssignment_7_2 = (Assignment)cGroup_7.eContents().get(2);
private final RuleCall cExpressionDataInterchangeExpressionParserRuleCall_7_2_0 = (RuleCall)cExpressionAssignment_7_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_7_3 = (Keyword)cGroup_7.eContents().get(3);
private final Group cGroup_8 = (Group)cGroup.eContents().get(8);
private final Keyword cLookupKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_8_1 = (Keyword)cGroup_8.eContents().get(1);
private final Assignment cLookupAssignment_8_2 = (Assignment)cGroup_8.eContents().get(2);
private final RuleCall cLookupDataInterchangeLookupParserRuleCall_8_2_0 = (RuleCall)cLookupAssignment_8_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_8_3 = (Keyword)cGroup_8.eContents().get(3);
private final Group cGroup_9 = (Group)cGroup.eContents().get(9);
private final Keyword cFormatKeyword_9_0 = (Keyword)cGroup_9.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_9_1 = (Keyword)cGroup_9.eContents().get(1);
private final Assignment cFormatAssignment_9_2 = (Assignment)cGroup_9.eContents().get(2);
private final RuleCall cFormatDataInterchangeFormatParserRuleCall_9_2_0 = (RuleCall)cFormatAssignment_9_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_9_3 = (Keyword)cGroup_9.eContents().get(3);
private final Group cGroup_10 = (Group)cGroup.eContents().get(10);
private final Keyword cExposeKeyword_10_0 = (Keyword)cGroup_10.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_10_1 = (Keyword)cGroup_10.eContents().get(1);
private final Assignment cExportExposesAssignment_10_2 = (Assignment)cGroup_10.eContents().get(2);
private final RuleCall cExportExposesDataInterchangeExposeParserRuleCall_10_2_0 = (RuleCall)cExportExposesAssignment_10_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_10_3 = (Keyword)cGroup_10.eContents().get(3);
private final Group cGroup_11 = (Group)cGroup.eContents().get(11);
private final Keyword cMappingKeyword_11_0 = (Keyword)cGroup_11.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_11_1 = (Keyword)cGroup_11.eContents().get(1);
private final Assignment cMappingsAssignment_11_2 = (Assignment)cGroup_11.eContents().get(2);
private final RuleCall cMappingsDataInterchangeMappingParserRuleCall_11_2_0 = (RuleCall)cMappingsAssignment_11_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_11_3 = (Keyword)cGroup_11.eContents().get(3);
private final Group cGroup_12 = (Group)cGroup.eContents().get(12);
private final Keyword cKeysKeyword_12_0 = (Keyword)cGroup_12.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_12_1 = (Keyword)cGroup_12.eContents().get(1);
private final Assignment cLookupKeysAssignment_12_2 = (Assignment)cGroup_12.eContents().get(2);
private final RuleCall cLookupKeysDataInterchangeKeyParserRuleCall_12_2_0 = (RuleCall)cLookupKeysAssignment_12_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_12_3 = (Keyword)cGroup_12.eContents().get(3);
private final Group cGroup_13 = (Group)cGroup.eContents().get(13);
private final Keyword cExportFilterKeyword_13_0 = (Keyword)cGroup_13.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_13_1 = (Keyword)cGroup_13.eContents().get(1);
private final Assignment cExportFilterAssignment_13_2 = (Assignment)cGroup_13.eContents().get(2);
private final RuleCall cExportFilterDataInterchangeExportFilterParserRuleCall_13_2_0 = (RuleCall)cExportFilterAssignment_13_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_13_3 = (Keyword)cGroup_13.eContents().get(3);
//DataInterchangeBean:
// {DataInterchangeBean}
// 'entity' entity=[entity::LEntity|LFQN] ('nodeName' nodeName=STRING)? ('createOn' elementMap=STRING)?
// (markLatestImport?='latestImport' latestProperty=[entity::LEntityAttribute])? (markLatestExport?='latestExport'
// latestExpProperty=[entity::LEntityAttribute])? ('expression' '{' expression+=DataInterchangeExpression* '}')?
// ('lookup' '{' lookup+=DataInterchangeLookup* '}')? ('format' '{' format+=DataInterchangeFormat* '}')? ('expose' '{'
// exportExposes+=DataInterchangeExpose* '}')? ('mapping' '{' mappings+=DataInterchangeMapping* '}')? ('keys' '{'
// lookupKeys+=DataInterchangeKey* '}')? ('exportFilter' '{' exportFilter=DataInterchangeExportFilter '}')?;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeBean} 'entity' entity=[entity::LEntity|LFQN] ('nodeName' nodeName=STRING)? ('createOn'
//elementMap=STRING)? (markLatestImport?='latestImport' latestProperty=[entity::LEntityAttribute])?
//(markLatestExport?='latestExport' latestExpProperty=[entity::LEntityAttribute])? ('expression' '{'
//expression+=DataInterchangeExpression* '}')? ('lookup' '{' lookup+=DataInterchangeLookup* '}')? ('format' '{'
//format+=DataInterchangeFormat* '}')? ('expose' '{' exportExposes+=DataInterchangeExpose* '}')? ('mapping' '{'
//mappings+=DataInterchangeMapping* '}')? ('keys' '{' lookupKeys+=DataInterchangeKey* '}')? ('exportFilter' '{'
//exportFilter=DataInterchangeExportFilter '}')?
public Group getGroup() { return cGroup; }
//{DataInterchangeBean}
public Action getDataInterchangeBeanAction_0() { return cDataInterchangeBeanAction_0; }
//'entity'
public Keyword getEntityKeyword_1() { return cEntityKeyword_1; }
//entity=[entity::LEntity|LFQN]
public Assignment getEntityAssignment_2() { return cEntityAssignment_2; }
//[entity::LEntity|LFQN]
public CrossReference getEntityLEntityCrossReference_2_0() { return cEntityLEntityCrossReference_2_0; }
//LFQN
public RuleCall getEntityLEntityLFQNParserRuleCall_2_0_1() { return cEntityLEntityLFQNParserRuleCall_2_0_1; }
//('nodeName' nodeName=STRING)?
public Group getGroup_3() { return cGroup_3; }
//'nodeName'
public Keyword getNodeNameKeyword_3_0() { return cNodeNameKeyword_3_0; }
//nodeName=STRING
public Assignment getNodeNameAssignment_3_1() { return cNodeNameAssignment_3_1; }
//STRING
public RuleCall getNodeNameSTRINGTerminalRuleCall_3_1_0() { return cNodeNameSTRINGTerminalRuleCall_3_1_0; }
//('createOn' elementMap=STRING)?
public Group getGroup_4() { return cGroup_4; }
//'createOn'
public Keyword getCreateOnKeyword_4_0() { return cCreateOnKeyword_4_0; }
//elementMap=STRING
public Assignment getElementMapAssignment_4_1() { return cElementMapAssignment_4_1; }
//STRING
public RuleCall getElementMapSTRINGTerminalRuleCall_4_1_0() { return cElementMapSTRINGTerminalRuleCall_4_1_0; }
//(markLatestImport?='latestImport' latestProperty=[entity::LEntityAttribute])?
public Group getGroup_5() { return cGroup_5; }
//markLatestImport?='latestImport'
public Assignment getMarkLatestImportAssignment_5_0() { return cMarkLatestImportAssignment_5_0; }
//'latestImport'
public Keyword getMarkLatestImportLatestImportKeyword_5_0_0() { return cMarkLatestImportLatestImportKeyword_5_0_0; }
//latestProperty=[entity::LEntityAttribute]
public Assignment getLatestPropertyAssignment_5_1() { return cLatestPropertyAssignment_5_1; }
//[entity::LEntityAttribute]
public CrossReference getLatestPropertyLEntityAttributeCrossReference_5_1_0() { return cLatestPropertyLEntityAttributeCrossReference_5_1_0; }
//ID
public RuleCall getLatestPropertyLEntityAttributeIDTerminalRuleCall_5_1_0_1() { return cLatestPropertyLEntityAttributeIDTerminalRuleCall_5_1_0_1; }
//(markLatestExport?='latestExport' latestExpProperty=[entity::LEntityAttribute])?
public Group getGroup_6() { return cGroup_6; }
//markLatestExport?='latestExport'
public Assignment getMarkLatestExportAssignment_6_0() { return cMarkLatestExportAssignment_6_0; }
//'latestExport'
public Keyword getMarkLatestExportLatestExportKeyword_6_0_0() { return cMarkLatestExportLatestExportKeyword_6_0_0; }
//latestExpProperty=[entity::LEntityAttribute]
public Assignment getLatestExpPropertyAssignment_6_1() { return cLatestExpPropertyAssignment_6_1; }
//[entity::LEntityAttribute]
public CrossReference getLatestExpPropertyLEntityAttributeCrossReference_6_1_0() { return cLatestExpPropertyLEntityAttributeCrossReference_6_1_0; }
//ID
public RuleCall getLatestExpPropertyLEntityAttributeIDTerminalRuleCall_6_1_0_1() { return cLatestExpPropertyLEntityAttributeIDTerminalRuleCall_6_1_0_1; }
//('expression' '{' expression+=DataInterchangeExpression* '}')?
public Group getGroup_7() { return cGroup_7; }
//'expression'
public Keyword getExpressionKeyword_7_0() { return cExpressionKeyword_7_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_7_1() { return cLeftCurlyBracketKeyword_7_1; }
//expression+=DataInterchangeExpression*
public Assignment getExpressionAssignment_7_2() { return cExpressionAssignment_7_2; }
//DataInterchangeExpression
public RuleCall getExpressionDataInterchangeExpressionParserRuleCall_7_2_0() { return cExpressionDataInterchangeExpressionParserRuleCall_7_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_7_3() { return cRightCurlyBracketKeyword_7_3; }
//('lookup' '{' lookup+=DataInterchangeLookup* '}')?
public Group getGroup_8() { return cGroup_8; }
//'lookup'
public Keyword getLookupKeyword_8_0() { return cLookupKeyword_8_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_8_1() { return cLeftCurlyBracketKeyword_8_1; }
//lookup+=DataInterchangeLookup*
public Assignment getLookupAssignment_8_2() { return cLookupAssignment_8_2; }
//DataInterchangeLookup
public RuleCall getLookupDataInterchangeLookupParserRuleCall_8_2_0() { return cLookupDataInterchangeLookupParserRuleCall_8_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_8_3() { return cRightCurlyBracketKeyword_8_3; }
//('format' '{' format+=DataInterchangeFormat* '}')?
public Group getGroup_9() { return cGroup_9; }
//'format'
public Keyword getFormatKeyword_9_0() { return cFormatKeyword_9_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_9_1() { return cLeftCurlyBracketKeyword_9_1; }
//format+=DataInterchangeFormat*
public Assignment getFormatAssignment_9_2() { return cFormatAssignment_9_2; }
//DataInterchangeFormat
public RuleCall getFormatDataInterchangeFormatParserRuleCall_9_2_0() { return cFormatDataInterchangeFormatParserRuleCall_9_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_9_3() { return cRightCurlyBracketKeyword_9_3; }
//('expose' '{' exportExposes+=DataInterchangeExpose* '}')?
public Group getGroup_10() { return cGroup_10; }
//'expose'
public Keyword getExposeKeyword_10_0() { return cExposeKeyword_10_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_10_1() { return cLeftCurlyBracketKeyword_10_1; }
//exportExposes+=DataInterchangeExpose*
public Assignment getExportExposesAssignment_10_2() { return cExportExposesAssignment_10_2; }
//DataInterchangeExpose
public RuleCall getExportExposesDataInterchangeExposeParserRuleCall_10_2_0() { return cExportExposesDataInterchangeExposeParserRuleCall_10_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_10_3() { return cRightCurlyBracketKeyword_10_3; }
//('mapping' '{' mappings+=DataInterchangeMapping* '}')?
public Group getGroup_11() { return cGroup_11; }
//'mapping'
public Keyword getMappingKeyword_11_0() { return cMappingKeyword_11_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_11_1() { return cLeftCurlyBracketKeyword_11_1; }
//mappings+=DataInterchangeMapping*
public Assignment getMappingsAssignment_11_2() { return cMappingsAssignment_11_2; }
//DataInterchangeMapping
public RuleCall getMappingsDataInterchangeMappingParserRuleCall_11_2_0() { return cMappingsDataInterchangeMappingParserRuleCall_11_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_11_3() { return cRightCurlyBracketKeyword_11_3; }
//('keys' '{' lookupKeys+=DataInterchangeKey* '}')?
public Group getGroup_12() { return cGroup_12; }
//'keys'
public Keyword getKeysKeyword_12_0() { return cKeysKeyword_12_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_12_1() { return cLeftCurlyBracketKeyword_12_1; }
//lookupKeys+=DataInterchangeKey*
public Assignment getLookupKeysAssignment_12_2() { return cLookupKeysAssignment_12_2; }
//DataInterchangeKey
public RuleCall getLookupKeysDataInterchangeKeyParserRuleCall_12_2_0() { return cLookupKeysDataInterchangeKeyParserRuleCall_12_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_12_3() { return cRightCurlyBracketKeyword_12_3; }
//('exportFilter' '{' exportFilter=DataInterchangeExportFilter '}')?
public Group getGroup_13() { return cGroup_13; }
//'exportFilter'
public Keyword getExportFilterKeyword_13_0() { return cExportFilterKeyword_13_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_13_1() { return cLeftCurlyBracketKeyword_13_1; }
//exportFilter=DataInterchangeExportFilter
public Assignment getExportFilterAssignment_13_2() { return cExportFilterAssignment_13_2; }
//DataInterchangeExportFilter
public RuleCall getExportFilterDataInterchangeExportFilterParserRuleCall_13_2_0() { return cExportFilterDataInterchangeExportFilterParserRuleCall_13_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_13_3() { return cRightCurlyBracketKeyword_13_3; }
}
public class DataInterchangeKeyElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeKey");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeKeyAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cKeyKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cPropertyAssignment_2.eContents().get(0);
private final RuleCall cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cPropertyLEntityAttributeCrossReference_2_0.eContents().get(1);
//DataInterchangeKey:
// {DataInterchangeKey} 'key' property=[entity::LEntityAttribute];
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeKey} 'key' property=[entity::LEntityAttribute]
public Group getGroup() { return cGroup; }
//{DataInterchangeKey}
public Action getDataInterchangeKeyAction_0() { return cDataInterchangeKeyAction_0; }
//'key'
public Keyword getKeyKeyword_1() { return cKeyKeyword_1; }
//property=[entity::LEntityAttribute]
public Assignment getPropertyAssignment_2() { return cPropertyAssignment_2; }
//[entity::LEntityAttribute]
public CrossReference getPropertyLEntityAttributeCrossReference_2_0() { return cPropertyLEntityAttributeCrossReference_2_0; }
//ID
public RuleCall getPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; }
}
public class DataInterchangeLookupElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeLookup");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeLookupAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cForKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cTargetPropertyLEntityReferenceCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0);
private final RuleCall cTargetPropertyLEntityReferenceIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityReferenceCrossReference_2_0.eContents().get(1);
private final Keyword cOnKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final Assignment cEntityAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final CrossReference cEntityLEntityCrossReference_4_0 = (CrossReference)cEntityAssignment_4.eContents().get(0);
private final RuleCall cEntityLEntityIDTerminalRuleCall_4_0_1 = (RuleCall)cEntityLEntityCrossReference_4_0.eContents().get(1);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cCreateOnKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Assignment cElementMapAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cElementMapSTRINGTerminalRuleCall_5_1_0 = (RuleCall)cElementMapAssignment_5_1.eContents().get(0);
private final Keyword cWithKeyword_6 = (Keyword)cGroup.eContents().get(6);
private final Assignment cQueryPropertyAssignment_7 = (Assignment)cGroup.eContents().get(7);
private final CrossReference cQueryPropertyLEntityAttributeCrossReference_7_0 = (CrossReference)cQueryPropertyAssignment_7.eContents().get(0);
private final RuleCall cQueryPropertyLEntityAttributeIDTerminalRuleCall_7_0_1 = (RuleCall)cQueryPropertyLEntityAttributeCrossReference_7_0.eContents().get(1);
private final Group cGroup_8 = (Group)cGroup.eContents().get(8);
private final Assignment cCachedAssignment_8_0 = (Assignment)cGroup_8.eContents().get(0);
private final Keyword cCachedCacheSizeKeyword_8_0_0 = (Keyword)cCachedAssignment_8_0.eContents().get(0);
private final Assignment cCacheSizeAssignment_8_1 = (Assignment)cGroup_8.eContents().get(1);
private final RuleCall cCacheSizeINTTerminalRuleCall_8_1_0 = (RuleCall)cCacheSizeAssignment_8_1.eContents().get(0);
private final Group cGroup_9 = (Group)cGroup.eContents().get(9);
private final Keyword cMapToKeyword_9_0 = (Keyword)cGroup_9.eContents().get(0);
private final Assignment cDataMapAssignment_9_1 = (Assignment)cGroup_9.eContents().get(1);
private final RuleCall cDataMapSTRINGTerminalRuleCall_9_1_0 = (RuleCall)cDataMapAssignment_9_1.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_10 = (UnorderedGroup)cGroup.eContents().get(10);
private final Assignment cAllowNoResultAssignment_10_0 = (Assignment)cUnorderedGroup_10.eContents().get(0);
private final Keyword cAllowNoResultAllowNoResultKeyword_10_0_0 = (Keyword)cAllowNoResultAssignment_10_0.eContents().get(0);
private final Assignment cAllowNonuniqueResultAssignment_10_1 = (Assignment)cUnorderedGroup_10.eContents().get(1);
private final Keyword cAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0 = (Keyword)cAllowNonuniqueResultAssignment_10_1.eContents().get(0);
private final Assignment cMarkerPathAssignment_10_2 = (Assignment)cUnorderedGroup_10.eContents().get(2);
private final RuleCall cMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0 = (RuleCall)cMarkerPathAssignment_10_2.eContents().get(0);
//DataInterchangeLookup:
// {DataInterchangeLookup}
// 'for' targetProperty=[entity::LEntityReference]
// 'on' entity=[entity::LEntity] ('createOn' elementMap=STRING)?
// 'with' queryProperty=[entity::LEntityAttribute] (cached?='cacheSize' cacheSize=INT)? ('mapTo' dataMap=STRING)?
// (allowNoResult?='allowNoResult'? & allowNonuniqueResult?='allowNonuniqueResult'? &
// markerPath=DataInterchangeMarkerPath?);
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeLookup} 'for' targetProperty=[entity::LEntityReference] 'on' entity=[entity::LEntity] ('createOn'
//elementMap=STRING)? 'with' queryProperty=[entity::LEntityAttribute] (cached?='cacheSize' cacheSize=INT)? ('mapTo'
//dataMap=STRING)? (allowNoResult?='allowNoResult'? & allowNonuniqueResult?='allowNonuniqueResult'? &
//markerPath=DataInterchangeMarkerPath?)
public Group getGroup() { return cGroup; }
//{DataInterchangeLookup}
public Action getDataInterchangeLookupAction_0() { return cDataInterchangeLookupAction_0; }
//'for'
public Keyword getForKeyword_1() { return cForKeyword_1; }
//targetProperty=[entity::LEntityReference]
public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; }
//[entity::LEntityReference]
public CrossReference getTargetPropertyLEntityReferenceCrossReference_2_0() { return cTargetPropertyLEntityReferenceCrossReference_2_0; }
//ID
public RuleCall getTargetPropertyLEntityReferenceIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityReferenceIDTerminalRuleCall_2_0_1; }
//'on'
public Keyword getOnKeyword_3() { return cOnKeyword_3; }
//entity=[entity::LEntity]
public Assignment getEntityAssignment_4() { return cEntityAssignment_4; }
//[entity::LEntity]
public CrossReference getEntityLEntityCrossReference_4_0() { return cEntityLEntityCrossReference_4_0; }
//ID
public RuleCall getEntityLEntityIDTerminalRuleCall_4_0_1() { return cEntityLEntityIDTerminalRuleCall_4_0_1; }
//('createOn' elementMap=STRING)?
public Group getGroup_5() { return cGroup_5; }
//'createOn'
public Keyword getCreateOnKeyword_5_0() { return cCreateOnKeyword_5_0; }
//elementMap=STRING
public Assignment getElementMapAssignment_5_1() { return cElementMapAssignment_5_1; }
//STRING
public RuleCall getElementMapSTRINGTerminalRuleCall_5_1_0() { return cElementMapSTRINGTerminalRuleCall_5_1_0; }
//'with'
public Keyword getWithKeyword_6() { return cWithKeyword_6; }
//queryProperty=[entity::LEntityAttribute]
public Assignment getQueryPropertyAssignment_7() { return cQueryPropertyAssignment_7; }
//[entity::LEntityAttribute]
public CrossReference getQueryPropertyLEntityAttributeCrossReference_7_0() { return cQueryPropertyLEntityAttributeCrossReference_7_0; }
//ID
public RuleCall getQueryPropertyLEntityAttributeIDTerminalRuleCall_7_0_1() { return cQueryPropertyLEntityAttributeIDTerminalRuleCall_7_0_1; }
//(cached?='cacheSize' cacheSize=INT)?
public Group getGroup_8() { return cGroup_8; }
//cached?='cacheSize'
public Assignment getCachedAssignment_8_0() { return cCachedAssignment_8_0; }
//'cacheSize'
public Keyword getCachedCacheSizeKeyword_8_0_0() { return cCachedCacheSizeKeyword_8_0_0; }
//cacheSize=INT
public Assignment getCacheSizeAssignment_8_1() { return cCacheSizeAssignment_8_1; }
//INT
public RuleCall getCacheSizeINTTerminalRuleCall_8_1_0() { return cCacheSizeINTTerminalRuleCall_8_1_0; }
//('mapTo' dataMap=STRING)?
public Group getGroup_9() { return cGroup_9; }
//'mapTo'
public Keyword getMapToKeyword_9_0() { return cMapToKeyword_9_0; }
//dataMap=STRING
public Assignment getDataMapAssignment_9_1() { return cDataMapAssignment_9_1; }
//STRING
public RuleCall getDataMapSTRINGTerminalRuleCall_9_1_0() { return cDataMapSTRINGTerminalRuleCall_9_1_0; }
//allowNoResult?='allowNoResult'? & allowNonuniqueResult?='allowNonuniqueResult'? & markerPath=DataInterchangeMarkerPath?
public UnorderedGroup getUnorderedGroup_10() { return cUnorderedGroup_10; }
//allowNoResult?='allowNoResult'?
public Assignment getAllowNoResultAssignment_10_0() { return cAllowNoResultAssignment_10_0; }
//'allowNoResult'
public Keyword getAllowNoResultAllowNoResultKeyword_10_0_0() { return cAllowNoResultAllowNoResultKeyword_10_0_0; }
//allowNonuniqueResult?='allowNonuniqueResult'?
public Assignment getAllowNonuniqueResultAssignment_10_1() { return cAllowNonuniqueResultAssignment_10_1; }
//'allowNonuniqueResult'
public Keyword getAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0() { return cAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0; }
//markerPath=DataInterchangeMarkerPath?
public Assignment getMarkerPathAssignment_10_2() { return cMarkerPathAssignment_10_2; }
//DataInterchangeMarkerPath
public RuleCall getMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0() { return cMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0; }
}
public class DataInterchangeMarkerPathElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeMarkerPath");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeMarkerPathAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cMarkerPathKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cPathAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cPathDataInterchangeMarkerEntityParserRuleCall_3_0 = (RuleCall)cPathAssignment_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
//DataInterchangeMarkerPath:
// {DataInterchangeMarkerPath}
// 'markerPath' '{' path+=DataInterchangeMarkerEntity* '}';
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeMarkerPath} 'markerPath' '{' path+=DataInterchangeMarkerEntity* '}'
public Group getGroup() { return cGroup; }
//{DataInterchangeMarkerPath}
public Action getDataInterchangeMarkerPathAction_0() { return cDataInterchangeMarkerPathAction_0; }
//'markerPath'
public Keyword getMarkerPathKeyword_1() { return cMarkerPathKeyword_1; }
//'{'
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
//path+=DataInterchangeMarkerEntity*
public Assignment getPathAssignment_3() { return cPathAssignment_3; }
//DataInterchangeMarkerEntity
public RuleCall getPathDataInterchangeMarkerEntityParserRuleCall_3_0() { return cPathDataInterchangeMarkerEntityParserRuleCall_3_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
}
public class DataInterchangeMarkerEntityElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeMarkerEntity");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeMarkerEntityAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cMarkerEntityKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cMarkerEntityAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cMarkerEntityLEntityCrossReference_2_0 = (CrossReference)cMarkerEntityAssignment_2.eContents().get(0);
private final RuleCall cMarkerEntityLEntityLFQNParserRuleCall_2_0_1 = (RuleCall)cMarkerEntityLEntityCrossReference_2_0.eContents().get(1);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Assignment cMarkLatestAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0);
private final Keyword cMarkLatestMarkedByKeyword_3_0_0 = (Keyword)cMarkLatestAssignment_3_0.eContents().get(0);
private final Assignment cMarkerPropertyAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final CrossReference cMarkerPropertyLEntityAttributeCrossReference_3_1_0 = (CrossReference)cMarkerPropertyAssignment_3_1.eContents().get(0);
private final RuleCall cMarkerPropertyLEntityAttributeIDTerminalRuleCall_3_1_0_1 = (RuleCall)cMarkerPropertyLEntityAttributeCrossReference_3_1_0.eContents().get(1);
//DataInterchangeMarkerEntity:
// {DataInterchangeMarkerEntity}
// 'markerEntity' markerEntity=[entity::LEntity|LFQN] (markLatest?='markedBy'
// markerProperty=[entity::LEntityAttribute])?;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeMarkerEntity} 'markerEntity' markerEntity=[entity::LEntity|LFQN] (markLatest?='markedBy'
//markerProperty=[entity::LEntityAttribute])?
public Group getGroup() { return cGroup; }
//{DataInterchangeMarkerEntity}
public Action getDataInterchangeMarkerEntityAction_0() { return cDataInterchangeMarkerEntityAction_0; }
//'markerEntity'
public Keyword getMarkerEntityKeyword_1() { return cMarkerEntityKeyword_1; }
//markerEntity=[entity::LEntity|LFQN]
public Assignment getMarkerEntityAssignment_2() { return cMarkerEntityAssignment_2; }
//[entity::LEntity|LFQN]
public CrossReference getMarkerEntityLEntityCrossReference_2_0() { return cMarkerEntityLEntityCrossReference_2_0; }
//LFQN
public RuleCall getMarkerEntityLEntityLFQNParserRuleCall_2_0_1() { return cMarkerEntityLEntityLFQNParserRuleCall_2_0_1; }
//(markLatest?='markedBy' markerProperty=[entity::LEntityAttribute])?
public Group getGroup_3() { return cGroup_3; }
//markLatest?='markedBy'
public Assignment getMarkLatestAssignment_3_0() { return cMarkLatestAssignment_3_0; }
//'markedBy'
public Keyword getMarkLatestMarkedByKeyword_3_0_0() { return cMarkLatestMarkedByKeyword_3_0_0; }
//markerProperty=[entity::LEntityAttribute]
public Assignment getMarkerPropertyAssignment_3_1() { return cMarkerPropertyAssignment_3_1; }
//[entity::LEntityAttribute]
public CrossReference getMarkerPropertyLEntityAttributeCrossReference_3_1_0() { return cMarkerPropertyLEntityAttributeCrossReference_3_1_0; }
//ID
public RuleCall getMarkerPropertyLEntityAttributeIDTerminalRuleCall_3_1_0_1() { return cMarkerPropertyLEntityAttributeIDTerminalRuleCall_3_1_0_1; }
}
public class DataInterchangeFormatElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeFormat");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeFormatAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cForKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cTargetPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0);
private final RuleCall cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityAttributeCrossReference_2_0.eContents().get(1);
private final Keyword cCodingKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final Assignment cFormatAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final RuleCall cFormatSTRINGTerminalRuleCall_4_0 = (RuleCall)cFormatAssignment_4.eContents().get(0);
//DataInterchangeFormat:
// {DataInterchangeFormat} 'for' targetProperty=[entity::LEntityAttribute] 'coding' format=STRING;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeFormat} 'for' targetProperty=[entity::LEntityAttribute] 'coding' format=STRING
public Group getGroup() { return cGroup; }
//{DataInterchangeFormat}
public Action getDataInterchangeFormatAction_0() { return cDataInterchangeFormatAction_0; }
//'for'
public Keyword getForKeyword_1() { return cForKeyword_1; }
//targetProperty=[entity::LEntityAttribute]
public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; }
//[entity::LEntityAttribute]
public CrossReference getTargetPropertyLEntityAttributeCrossReference_2_0() { return cTargetPropertyLEntityAttributeCrossReference_2_0; }
//ID
public RuleCall getTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; }
//'coding'
public Keyword getCodingKeyword_3() { return cCodingKeyword_3; }
//format=STRING
public Assignment getFormatAssignment_4() { return cFormatAssignment_4; }
//STRING
public RuleCall getFormatSTRINGTerminalRuleCall_4_0() { return cFormatSTRINGTerminalRuleCall_4_0; }
}
public class DataInterchangeExpressionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeExpression");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cDataInterchangeEntityExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cDataInterchangePredefinedExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//DataInterchangeExpression:
// DataInterchangeEntityExpression | DataInterchangePredefinedExpression;
@Override public ParserRule getRule() { return rule; }
//DataInterchangeEntityExpression | DataInterchangePredefinedExpression
public Alternatives getAlternatives() { return cAlternatives; }
//DataInterchangeEntityExpression
public RuleCall getDataInterchangeEntityExpressionParserRuleCall_0() { return cDataInterchangeEntityExpressionParserRuleCall_0; }
//DataInterchangePredefinedExpression
public RuleCall getDataInterchangePredefinedExpressionParserRuleCall_1() { return cDataInterchangePredefinedExpressionParserRuleCall_1; }
}
public class DataInterchangeEntityExpressionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeEntityExpression");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeEntityExpressionAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cCopyKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cTargetPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0);
private final RuleCall cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityAttributeCrossReference_2_0.eContents().get(1);
private final Keyword cFromKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final Assignment cEntityAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final CrossReference cEntityLEntityCrossReference_4_0 = (CrossReference)cEntityAssignment_4.eContents().get(0);
private final RuleCall cEntityLEntityLFQNParserRuleCall_4_0_1 = (RuleCall)cEntityLEntityCrossReference_4_0.eContents().get(1);
private final Keyword cPropertyKeyword_5 = (Keyword)cGroup.eContents().get(5);
private final Assignment cPropertyAssignment_6 = (Assignment)cGroup.eContents().get(6);
private final CrossReference cPropertyLEntityAttributeCrossReference_6_0 = (CrossReference)cPropertyAssignment_6.eContents().get(0);
private final RuleCall cPropertyLEntityAttributeIDTerminalRuleCall_6_0_1 = (RuleCall)cPropertyLEntityAttributeCrossReference_6_0.eContents().get(1);
//DataInterchangeEntityExpression:
// {DataInterchangeEntityExpression} 'copy' targetProperty=[entity::LEntityAttribute] 'from'
// entity=[entity::LEntity|LFQN] 'property' property=[entity::LEntityAttribute];
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeEntityExpression} 'copy' targetProperty=[entity::LEntityAttribute] 'from' entity=[entity::LEntity|LFQN]
//'property' property=[entity::LEntityAttribute]
public Group getGroup() { return cGroup; }
//{DataInterchangeEntityExpression}
public Action getDataInterchangeEntityExpressionAction_0() { return cDataInterchangeEntityExpressionAction_0; }
//'copy'
public Keyword getCopyKeyword_1() { return cCopyKeyword_1; }
//targetProperty=[entity::LEntityAttribute]
public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; }
//[entity::LEntityAttribute]
public CrossReference getTargetPropertyLEntityAttributeCrossReference_2_0() { return cTargetPropertyLEntityAttributeCrossReference_2_0; }
//ID
public RuleCall getTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; }
//'from'
public Keyword getFromKeyword_3() { return cFromKeyword_3; }
//entity=[entity::LEntity|LFQN]
public Assignment getEntityAssignment_4() { return cEntityAssignment_4; }
//[entity::LEntity|LFQN]
public CrossReference getEntityLEntityCrossReference_4_0() { return cEntityLEntityCrossReference_4_0; }
//LFQN
public RuleCall getEntityLEntityLFQNParserRuleCall_4_0_1() { return cEntityLEntityLFQNParserRuleCall_4_0_1; }
//'property'
public Keyword getPropertyKeyword_5() { return cPropertyKeyword_5; }
//property=[entity::LEntityAttribute]
public Assignment getPropertyAssignment_6() { return cPropertyAssignment_6; }
//[entity::LEntityAttribute]
public CrossReference getPropertyLEntityAttributeCrossReference_6_0() { return cPropertyLEntityAttributeCrossReference_6_0; }
//ID
public RuleCall getPropertyLEntityAttributeIDTerminalRuleCall_6_0_1() { return cPropertyLEntityAttributeIDTerminalRuleCall_6_0_1; }
}
public class DataInterchangeExposeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeExpose");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeExposeAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cRefKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefEntityAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefEntityLEntityReferenceCrossReference_2_0 = (CrossReference)cRefEntityAssignment_2.eContents().get(0);
private final RuleCall cRefEntityLEntityReferenceIDTerminalRuleCall_2_0_1 = (RuleCall)cRefEntityLEntityReferenceCrossReference_2_0.eContents().get(1);
private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0);
private final Keyword cOnKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
private final Assignment cRefPropertyAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final CrossReference cRefPropertyLEntityAttributeCrossReference_3_0_1_0 = (CrossReference)cRefPropertyAssignment_3_0_1.eContents().get(0);
private final RuleCall cRefPropertyLEntityAttributeIDTerminalRuleCall_3_0_1_0_1 = (RuleCall)cRefPropertyLEntityAttributeCrossReference_3_0_1_0.eContents().get(1);
private final Group cGroup_3_1 = (Group)cAlternatives_3.eContents().get(1);
private final Keyword cExposeKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1);
private final Assignment cSubExposeAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2);
private final RuleCall cSubExposeDataInterchangeExposeParserRuleCall_3_1_2_0 = (RuleCall)cSubExposeAssignment_3_1_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_1_3 = (Keyword)cGroup_3_1.eContents().get(3);
//DataInterchangeExpose:
// {DataInterchangeExpose}
// 'ref' refEntity=[entity::LEntityReference] ('on' refProperty=[entity::LEntityAttribute] | 'expose' '{'
// subExpose=DataInterchangeExpose '}');
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeExpose} 'ref' refEntity=[entity::LEntityReference] ('on' refProperty=[entity::LEntityAttribute] |
//'expose' '{' subExpose=DataInterchangeExpose '}')
public Group getGroup() { return cGroup; }
//{DataInterchangeExpose}
public Action getDataInterchangeExposeAction_0() { return cDataInterchangeExposeAction_0; }
//'ref'
public Keyword getRefKeyword_1() { return cRefKeyword_1; }
//refEntity=[entity::LEntityReference]
public Assignment getRefEntityAssignment_2() { return cRefEntityAssignment_2; }
//[entity::LEntityReference]
public CrossReference getRefEntityLEntityReferenceCrossReference_2_0() { return cRefEntityLEntityReferenceCrossReference_2_0; }
//ID
public RuleCall getRefEntityLEntityReferenceIDTerminalRuleCall_2_0_1() { return cRefEntityLEntityReferenceIDTerminalRuleCall_2_0_1; }
//'on' refProperty=[entity::LEntityAttribute] | 'expose' '{' subExpose=DataInterchangeExpose '}'
public Alternatives getAlternatives_3() { return cAlternatives_3; }
//'on' refProperty=[entity::LEntityAttribute]
public Group getGroup_3_0() { return cGroup_3_0; }
//'on'
public Keyword getOnKeyword_3_0_0() { return cOnKeyword_3_0_0; }
//refProperty=[entity::LEntityAttribute]
public Assignment getRefPropertyAssignment_3_0_1() { return cRefPropertyAssignment_3_0_1; }
//[entity::LEntityAttribute]
public CrossReference getRefPropertyLEntityAttributeCrossReference_3_0_1_0() { return cRefPropertyLEntityAttributeCrossReference_3_0_1_0; }
//ID
public RuleCall getRefPropertyLEntityAttributeIDTerminalRuleCall_3_0_1_0_1() { return cRefPropertyLEntityAttributeIDTerminalRuleCall_3_0_1_0_1; }
//'expose' '{' subExpose=DataInterchangeExpose '}'
public Group getGroup_3_1() { return cGroup_3_1; }
//'expose'
public Keyword getExposeKeyword_3_1_0() { return cExposeKeyword_3_1_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_3_1_1() { return cLeftCurlyBracketKeyword_3_1_1; }
//subExpose=DataInterchangeExpose
public Assignment getSubExposeAssignment_3_1_2() { return cSubExposeAssignment_3_1_2; }
//DataInterchangeExpose
public RuleCall getSubExposeDataInterchangeExposeParserRuleCall_3_1_2_0() { return cSubExposeDataInterchangeExposeParserRuleCall_3_1_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_3_1_3() { return cRightCurlyBracketKeyword_3_1_3; }
}
public class DataInterchangeExportFilterElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeExportFilter");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeExportFilterAction_0 = (Action)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cWhereKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
private final Assignment cConditionAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
private final RuleCall cConditionDataInterchangeFilterConditionParserRuleCall_1_2_0 = (RuleCall)cConditionAssignment_1_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_1_3 = (Keyword)cGroup_1.eContents().get(3);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cHideKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cHiddenpropertiesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cHiddenpropertiesDataInterchangeExportHideParserRuleCall_2_1_0 = (RuleCall)cHiddenpropertiesAssignment_2_1.eContents().get(0);
//DataInterchangeExportFilter:
// {DataInterchangeExportFilter} ('where' '{' condition=DataInterchangeFilterCondition '}')? ('hide'
// hiddenproperties+=DataInterchangeExportHide*)?;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeExportFilter} ('where' '{' condition=DataInterchangeFilterCondition '}')? ('hide'
//hiddenproperties+=DataInterchangeExportHide*)?
public Group getGroup() { return cGroup; }
//{DataInterchangeExportFilter}
public Action getDataInterchangeExportFilterAction_0() { return cDataInterchangeExportFilterAction_0; }
//('where' '{' condition=DataInterchangeFilterCondition '}')?
public Group getGroup_1() { return cGroup_1; }
//'where'
public Keyword getWhereKeyword_1_0() { return cWhereKeyword_1_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_1_1() { return cLeftCurlyBracketKeyword_1_1; }
//condition=DataInterchangeFilterCondition
public Assignment getConditionAssignment_1_2() { return cConditionAssignment_1_2; }
//DataInterchangeFilterCondition
public RuleCall getConditionDataInterchangeFilterConditionParserRuleCall_1_2_0() { return cConditionDataInterchangeFilterConditionParserRuleCall_1_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_1_3() { return cRightCurlyBracketKeyword_1_3; }
//('hide' hiddenproperties+=DataInterchangeExportHide*)?
public Group getGroup_2() { return cGroup_2; }
//'hide'
public Keyword getHideKeyword_2_0() { return cHideKeyword_2_0; }
//hiddenproperties+=DataInterchangeExportHide*
public Assignment getHiddenpropertiesAssignment_2_1() { return cHiddenpropertiesAssignment_2_1; }
//DataInterchangeExportHide
public RuleCall getHiddenpropertiesDataInterchangeExportHideParserRuleCall_2_1_0() { return cHiddenpropertiesDataInterchangeExportHideParserRuleCall_2_1_0; }
}
public class DataInterchangeFilterConditionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeFilterCondition");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cRefPropertyAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final CrossReference cRefPropertyLEntityFeatureCrossReference_0_0 = (CrossReference)cRefPropertyAssignment_0.eContents().get(0);
private final RuleCall cRefPropertyLEntityFeatureIDTerminalRuleCall_0_0_1 = (RuleCall)cRefPropertyLEntityFeatureCrossReference_0_0.eContents().get(1);
private final Assignment cOperatorAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cOperatorConditionAndOperator1EnumRuleCall_1_0 = (RuleCall)cOperatorAssignment_1.eContents().get(0);
private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Assignment cOperator2Assignment_3_0 = (Assignment)cGroup_3.eContents().get(0);
private final RuleCall cOperator2ConditionAndOperator2EnumRuleCall_3_0_0 = (RuleCall)cOperator2Assignment_3_0.eContents().get(0);
private final Assignment cSubconditionAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cSubconditionDataInterchangeFilterConditionParserRuleCall_3_1_0 = (RuleCall)cSubconditionAssignment_3_1.eContents().get(0);
//DataInterchangeFilterCondition:
// refProperty=[entity::LEntityFeature] operator=ConditionAndOperator1
// value=STRING? (operator2=ConditionAndOperator2 subcondition=DataInterchangeFilterCondition)?;
@Override public ParserRule getRule() { return rule; }
//refProperty=[entity::LEntityFeature] operator=ConditionAndOperator1 value=STRING? (operator2=ConditionAndOperator2
//subcondition=DataInterchangeFilterCondition)?
public Group getGroup() { return cGroup; }
//refProperty=[entity::LEntityFeature]
public Assignment getRefPropertyAssignment_0() { return cRefPropertyAssignment_0; }
//[entity::LEntityFeature]
public CrossReference getRefPropertyLEntityFeatureCrossReference_0_0() { return cRefPropertyLEntityFeatureCrossReference_0_0; }
//ID
public RuleCall getRefPropertyLEntityFeatureIDTerminalRuleCall_0_0_1() { return cRefPropertyLEntityFeatureIDTerminalRuleCall_0_0_1; }
//operator=ConditionAndOperator1
public Assignment getOperatorAssignment_1() { return cOperatorAssignment_1; }
//ConditionAndOperator1
public RuleCall getOperatorConditionAndOperator1EnumRuleCall_1_0() { return cOperatorConditionAndOperator1EnumRuleCall_1_0; }
//value=STRING?
public Assignment getValueAssignment_2() { return cValueAssignment_2; }
//STRING
public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; }
//(operator2=ConditionAndOperator2 subcondition=DataInterchangeFilterCondition)?
public Group getGroup_3() { return cGroup_3; }
//operator2=ConditionAndOperator2
public Assignment getOperator2Assignment_3_0() { return cOperator2Assignment_3_0; }
//ConditionAndOperator2
public RuleCall getOperator2ConditionAndOperator2EnumRuleCall_3_0_0() { return cOperator2ConditionAndOperator2EnumRuleCall_3_0_0; }
//subcondition=DataInterchangeFilterCondition
public Assignment getSubconditionAssignment_3_1() { return cSubconditionAssignment_3_1; }
//DataInterchangeFilterCondition
public RuleCall getSubconditionDataInterchangeFilterConditionParserRuleCall_3_1_0() { return cSubconditionDataInterchangeFilterConditionParserRuleCall_3_1_0; }
}
public class DataInterchangeExportHideElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeExportHide");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeExportHideAction_0 = (Action)cGroup.eContents().get(0);
private final Assignment cPropertyAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final CrossReference cPropertyLEntityFeatureCrossReference_1_0 = (CrossReference)cPropertyAssignment_1.eContents().get(0);
private final RuleCall cPropertyLEntityFeatureIDTerminalRuleCall_1_0_1 = (RuleCall)cPropertyLEntityFeatureCrossReference_1_0.eContents().get(1);
//DataInterchangeExportHide:
// {DataInterchangeExportHide} property=[entity::LEntityFeature];
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeExportHide} property=[entity::LEntityFeature]
public Group getGroup() { return cGroup; }
//{DataInterchangeExportHide}
public Action getDataInterchangeExportHideAction_0() { return cDataInterchangeExportHideAction_0; }
//property=[entity::LEntityFeature]
public Assignment getPropertyAssignment_1() { return cPropertyAssignment_1; }
//[entity::LEntityFeature]
public CrossReference getPropertyLEntityFeatureCrossReference_1_0() { return cPropertyLEntityFeatureCrossReference_1_0; }
//ID
public RuleCall getPropertyLEntityFeatureIDTerminalRuleCall_1_0_1() { return cPropertyLEntityFeatureIDTerminalRuleCall_1_0_1; }
}
public class DataInterchangePredefinedExpressionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangePredefinedExpression");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangePredefinedExpressionAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cAssignKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cTargetPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0);
private final RuleCall cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityAttributeCrossReference_2_0.eContents().get(1);
private final Keyword cWithKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final Assignment cBeanAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final RuleCall cBeanPredefinedBeanEnumEnumRuleCall_4_0 = (RuleCall)cBeanAssignment_4.eContents().get(0);
private final Keyword cAsKeyword_5 = (Keyword)cGroup.eContents().get(5);
private final Assignment cBeanTypeAssignment_6 = (Assignment)cGroup.eContents().get(6);
private final RuleCall cBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0 = (RuleCall)cBeanTypeAssignment_6.eContents().get(0);
//DataInterchangePredefinedExpression:
// {DataInterchangePredefinedExpression} 'assign' targetProperty=[entity::LEntityAttribute] 'with'
// bean=PredefinedBeanEnum 'as' beanType=PredefinedBeanTypeEnum;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangePredefinedExpression} 'assign' targetProperty=[entity::LEntityAttribute] 'with' bean=PredefinedBeanEnum
//'as' beanType=PredefinedBeanTypeEnum
public Group getGroup() { return cGroup; }
//{DataInterchangePredefinedExpression}
public Action getDataInterchangePredefinedExpressionAction_0() { return cDataInterchangePredefinedExpressionAction_0; }
//'assign'
public Keyword getAssignKeyword_1() { return cAssignKeyword_1; }
//targetProperty=[entity::LEntityAttribute]
public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; }
//[entity::LEntityAttribute]
public CrossReference getTargetPropertyLEntityAttributeCrossReference_2_0() { return cTargetPropertyLEntityAttributeCrossReference_2_0; }
//ID
public RuleCall getTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; }
//'with'
public Keyword getWithKeyword_3() { return cWithKeyword_3; }
//bean=PredefinedBeanEnum
public Assignment getBeanAssignment_4() { return cBeanAssignment_4; }
//PredefinedBeanEnum
public RuleCall getBeanPredefinedBeanEnumEnumRuleCall_4_0() { return cBeanPredefinedBeanEnumEnumRuleCall_4_0; }
//'as'
public Keyword getAsKeyword_5() { return cAsKeyword_5; }
//beanType=PredefinedBeanTypeEnum
public Assignment getBeanTypeAssignment_6() { return cBeanTypeAssignment_6; }
//PredefinedBeanTypeEnum
public RuleCall getBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0() { return cBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0; }
}
public class DataInterchangeMappingElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeMapping");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cDataInterchangeValueMappingParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cDataInterchangeBlobMappingParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//DataInterchangeMapping:
// DataInterchangeValueMapping | DataInterchangeBlobMapping;
@Override public ParserRule getRule() { return rule; }
//DataInterchangeValueMapping | DataInterchangeBlobMapping
public Alternatives getAlternatives() { return cAlternatives; }
//DataInterchangeValueMapping
public RuleCall getDataInterchangeValueMappingParserRuleCall_0() { return cDataInterchangeValueMappingParserRuleCall_0; }
//DataInterchangeBlobMapping
public RuleCall getDataInterchangeBlobMappingParserRuleCall_1() { return cDataInterchangeBlobMappingParserRuleCall_1; }
}
public class DataInterchangeValueMappingElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeValueMapping");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeValueMappingAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cMapKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cPropertyAssignment_2.eContents().get(0);
private final RuleCall cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cPropertyLEntityAttributeCrossReference_2_0.eContents().get(1);
private final Keyword cToKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final Assignment cDataAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final RuleCall cDataSTRINGTerminalRuleCall_4_0 = (RuleCall)cDataAssignment_4.eContents().get(0);
//DataInterchangeValueMapping:
// {DataInterchangeValueMapping} 'map' property=[entity::LEntityAttribute] 'to' data=STRING;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeValueMapping} 'map' property=[entity::LEntityAttribute] 'to' data=STRING
public Group getGroup() { return cGroup; }
//{DataInterchangeValueMapping}
public Action getDataInterchangeValueMappingAction_0() { return cDataInterchangeValueMappingAction_0; }
//'map'
public Keyword getMapKeyword_1() { return cMapKeyword_1; }
//property=[entity::LEntityAttribute]
public Assignment getPropertyAssignment_2() { return cPropertyAssignment_2; }
//[entity::LEntityAttribute]
public CrossReference getPropertyLEntityAttributeCrossReference_2_0() { return cPropertyLEntityAttributeCrossReference_2_0; }
//ID
public RuleCall getPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; }
//'to'
public Keyword getToKeyword_3() { return cToKeyword_3; }
//data=STRING
public Assignment getDataAssignment_4() { return cDataAssignment_4; }
//STRING
public RuleCall getDataSTRINGTerminalRuleCall_4_0() { return cDataSTRINGTerminalRuleCall_4_0; }
}
public class DataInterchangeBlobMappingElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.DataInterchangeBlobMapping");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cDataInterchangeBlobMappingAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cMapBlobKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cPropertyAssignment_2.eContents().get(0);
private final RuleCall cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cPropertyLEntityAttributeCrossReference_2_0.eContents().get(1);
private final Keyword cToKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final Assignment cDataAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final RuleCall cDataSTRINGTerminalRuleCall_4_0 = (RuleCall)cDataAssignment_4.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cExtensionKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Assignment cBlobFileExtensionAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cBlobFileExtensionSTRINGTerminalRuleCall_5_1_0 = (RuleCall)cBlobFileExtensionAssignment_5_1.eContents().get(0);
private final Group cGroup_6 = (Group)cGroup.eContents().get(6);
private final Keyword cPathKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0);
private final Assignment cBlobPathAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1);
private final RuleCall cBlobPathSTRINGTerminalRuleCall_6_1_0 = (RuleCall)cBlobPathAssignment_6_1.eContents().get(0);
private final Keyword cMimeTypeKeyword_7 = (Keyword)cGroup.eContents().get(7);
private final Assignment cMimeTypeAssignment_8 = (Assignment)cGroup.eContents().get(8);
private final RuleCall cMimeTypePredefinedBlobMimeTypeEnumEnumRuleCall_8_0 = (RuleCall)cMimeTypeAssignment_8.eContents().get(0);
//DataInterchangeBlobMapping:
// {DataInterchangeBlobMapping} 'mapBlob' property=[entity::LEntityAttribute]
// 'to' data=STRING ('extension' blobFileExtension=STRING)? ('path' blobPath=STRING)?
// 'mimeType' mimeType=PredefinedBlobMimeTypeEnum;
@Override public ParserRule getRule() { return rule; }
//{DataInterchangeBlobMapping} 'mapBlob' property=[entity::LEntityAttribute] 'to' data=STRING ('extension'
//blobFileExtension=STRING)? ('path' blobPath=STRING)? 'mimeType' mimeType=PredefinedBlobMimeTypeEnum
public Group getGroup() { return cGroup; }
//{DataInterchangeBlobMapping}
public Action getDataInterchangeBlobMappingAction_0() { return cDataInterchangeBlobMappingAction_0; }
//'mapBlob'
public Keyword getMapBlobKeyword_1() { return cMapBlobKeyword_1; }
//property=[entity::LEntityAttribute]
public Assignment getPropertyAssignment_2() { return cPropertyAssignment_2; }
//[entity::LEntityAttribute]
public CrossReference getPropertyLEntityAttributeCrossReference_2_0() { return cPropertyLEntityAttributeCrossReference_2_0; }
//ID
public RuleCall getPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; }
//'to'
public Keyword getToKeyword_3() { return cToKeyword_3; }
//data=STRING
public Assignment getDataAssignment_4() { return cDataAssignment_4; }
//STRING
public RuleCall getDataSTRINGTerminalRuleCall_4_0() { return cDataSTRINGTerminalRuleCall_4_0; }
//('extension' blobFileExtension=STRING)?
public Group getGroup_5() { return cGroup_5; }
//'extension'
public Keyword getExtensionKeyword_5_0() { return cExtensionKeyword_5_0; }
//blobFileExtension=STRING
public Assignment getBlobFileExtensionAssignment_5_1() { return cBlobFileExtensionAssignment_5_1; }
//STRING
public RuleCall getBlobFileExtensionSTRINGTerminalRuleCall_5_1_0() { return cBlobFileExtensionSTRINGTerminalRuleCall_5_1_0; }
//('path' blobPath=STRING)?
public Group getGroup_6() { return cGroup_6; }
//'path'
public Keyword getPathKeyword_6_0() { return cPathKeyword_6_0; }
//blobPath=STRING
public Assignment getBlobPathAssignment_6_1() { return cBlobPathAssignment_6_1; }
//STRING
public RuleCall getBlobPathSTRINGTerminalRuleCall_6_1_0() { return cBlobPathSTRINGTerminalRuleCall_6_1_0; }
//'mimeType'
public Keyword getMimeTypeKeyword_7() { return cMimeTypeKeyword_7; }
//mimeType=PredefinedBlobMimeTypeEnum
public Assignment getMimeTypeAssignment_8() { return cMimeTypeAssignment_8; }
//PredefinedBlobMimeTypeEnum
public RuleCall getMimeTypePredefinedBlobMimeTypeEnumEnumRuleCall_8_0() { return cMimeTypePredefinedBlobMimeTypeEnumEnumRuleCall_8_0; }
}
public class LFQNElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.LFQN");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
//// it would be better if the mime type can be optional and deduced from extension
//LFQN:
// ID ('.' ID)*;
@Override public ParserRule getRule() { return rule; }
//ID ('.' ID)*
public Group getGroup() { return cGroup; }
//ID
public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; }
//('.' ID)*
public Group getGroup_1() { return cGroup_1; }
//'.'
public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
//ID
public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
}
public class TRANSLATABLESTRINGElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.TRANSLATABLESTRING");
private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//TRANSLATABLESTRING:
// STRING;
@Override public ParserRule getRule() { return rule; }
//STRING
public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }
}
public class TRANSLATABLEIDElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.TRANSLATABLEID");
private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//TRANSLATABLEID:
// ID;
@Override public ParserRule getRule() { return rule; }
//ID
public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; }
}
public class PredefinedBlobMimeTypeEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.PredefinedBlobMimeTypeEnum");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cPlainEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cPlainPlainKeyword_0_0 = (Keyword)cPlainEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cJpgEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cJpgJpgKeyword_1_0 = (Keyword)cJpgEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cPngEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cPngPngKeyword_2_0 = (Keyword)cPngEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cMpegEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cMpegMpegKeyword_3_0 = (Keyword)cMpegEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cOctetstreamEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cOctetstreamOctetStreamKeyword_4_0 = (Keyword)cOctetstreamEnumLiteralDeclaration_4.eContents().get(0);
private final EnumLiteralDeclaration cPdfEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5);
private final Keyword cPdfPdfKeyword_5_0 = (Keyword)cPdfEnumLiteralDeclaration_5.eContents().get(0);
//enum PredefinedBlobMimeTypeEnum:
// plain |
// jpg |
// png |
// mpeg |
// octetstream="octet-stream" |
// pdf;
public EnumRule getRule() { return rule; }
//plain | jpg | png | mpeg | octetstream="octet-stream" | pdf
public Alternatives getAlternatives() { return cAlternatives; }
//plain
public EnumLiteralDeclaration getPlainEnumLiteralDeclaration_0() { return cPlainEnumLiteralDeclaration_0; }
//"plain"
public Keyword getPlainPlainKeyword_0_0() { return cPlainPlainKeyword_0_0; }
//jpg
public EnumLiteralDeclaration getJpgEnumLiteralDeclaration_1() { return cJpgEnumLiteralDeclaration_1; }
//"jpg"
public Keyword getJpgJpgKeyword_1_0() { return cJpgJpgKeyword_1_0; }
//png
public EnumLiteralDeclaration getPngEnumLiteralDeclaration_2() { return cPngEnumLiteralDeclaration_2; }
//"png"
public Keyword getPngPngKeyword_2_0() { return cPngPngKeyword_2_0; }
//mpeg
public EnumLiteralDeclaration getMpegEnumLiteralDeclaration_3() { return cMpegEnumLiteralDeclaration_3; }
//"mpeg"
public Keyword getMpegMpegKeyword_3_0() { return cMpegMpegKeyword_3_0; }
//octetstream="octet-stream"
public EnumLiteralDeclaration getOctetstreamEnumLiteralDeclaration_4() { return cOctetstreamEnumLiteralDeclaration_4; }
//"octet-stream"
public Keyword getOctetstreamOctetStreamKeyword_4_0() { return cOctetstreamOctetStreamKeyword_4_0; }
//pdf
public EnumLiteralDeclaration getPdfEnumLiteralDeclaration_5() { return cPdfEnumLiteralDeclaration_5; }
//"pdf"
public Keyword getPdfPdfKeyword_5_0() { return cPdfPdfKeyword_5_0; }
}
public class PredefinedBeanEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.PredefinedBeanEnum");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cNowEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cNowNowDateKeyword_0_0 = (Keyword)cNowEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cStartEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cStartStartDateKeyword_1_0 = (Keyword)cStartEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cUUIDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cUUIDUniversallyUniqueIdentifierKeyword_2_0 = (Keyword)cUUIDEnumLiteralDeclaration_2.eContents().get(0);
//enum PredefinedBeanEnum:
// now='NowDate' |
// start='StartDate' |
// UUID='UniversallyUniqueIdentifier';
public EnumRule getRule() { return rule; }
//now='NowDate' | start='StartDate' | UUID='UniversallyUniqueIdentifier'
public Alternatives getAlternatives() { return cAlternatives; }
//now='NowDate'
public EnumLiteralDeclaration getNowEnumLiteralDeclaration_0() { return cNowEnumLiteralDeclaration_0; }
//'NowDate'
public Keyword getNowNowDateKeyword_0_0() { return cNowNowDateKeyword_0_0; }
//start='StartDate'
public EnumLiteralDeclaration getStartEnumLiteralDeclaration_1() { return cStartEnumLiteralDeclaration_1; }
//'StartDate'
public Keyword getStartStartDateKeyword_1_0() { return cStartStartDateKeyword_1_0; }
//UUID='UniversallyUniqueIdentifier'
public EnumLiteralDeclaration getUUIDEnumLiteralDeclaration_2() { return cUUIDEnumLiteralDeclaration_2; }
//'UniversallyUniqueIdentifier'
public Keyword getUUIDUniversallyUniqueIdentifierKeyword_2_0() { return cUUIDUniversallyUniqueIdentifierKeyword_2_0; }
}
public class PredefinedBeanTypeEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.PredefinedBeanTypeEnum");
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 cMillisEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cMillisMillisecondsKeyword_1_0 = (Keyword)cMillisEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cNanosEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cNanosNanosecondsKeyword_2_0 = (Keyword)cNanosEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cRandomEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cRandomRandomKeyword_3_0 = (Keyword)cRandomEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cExecContextEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cExecContextExecuteContextKeyword_4_0 = (Keyword)cExecContextEnumLiteralDeclaration_4.eContents().get(0);
//enum PredefinedBeanTypeEnum:
// Date |
// Millis='Milliseconds' |
// Nanos='Nanoseconds' |
// random='Random' |
// execContext='ExecuteContext';
public EnumRule getRule() { return rule; }
//Date | Millis='Milliseconds' | Nanos='Nanoseconds' | random='Random' | execContext='ExecuteContext'
public Alternatives getAlternatives() { return cAlternatives; }
//Date
public EnumLiteralDeclaration getDateEnumLiteralDeclaration_0() { return cDateEnumLiteralDeclaration_0; }
//'Date'
public Keyword getDateDateKeyword_0_0() { return cDateDateKeyword_0_0; }
//Millis='Milliseconds'
public EnumLiteralDeclaration getMillisEnumLiteralDeclaration_1() { return cMillisEnumLiteralDeclaration_1; }
//'Milliseconds'
public Keyword getMillisMillisecondsKeyword_1_0() { return cMillisMillisecondsKeyword_1_0; }
//Nanos='Nanoseconds'
public EnumLiteralDeclaration getNanosEnumLiteralDeclaration_2() { return cNanosEnumLiteralDeclaration_2; }
//'Nanoseconds'
public Keyword getNanosNanosecondsKeyword_2_0() { return cNanosNanosecondsKeyword_2_0; }
//random='Random'
public EnumLiteralDeclaration getRandomEnumLiteralDeclaration_3() { return cRandomEnumLiteralDeclaration_3; }
//'Random'
public Keyword getRandomRandomKeyword_3_0() { return cRandomRandomKeyword_3_0; }
//execContext='ExecuteContext'
public EnumLiteralDeclaration getExecContextEnumLiteralDeclaration_4() { return cExecContextEnumLiteralDeclaration_4; }
//'ExecuteContext'
public Keyword getExecContextExecuteContextKeyword_4_0() { return cExecContextExecuteContextKeyword_4_0; }
}
public class EntityManagerModeElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.EntityManagerMode");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cPersistEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cPersistPersistKeyword_0_0 = (Keyword)cPersistEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cMergeEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cMergeMergeKeyword_1_0 = (Keyword)cMergeEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cRemoveEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cRemoveRemoveKeyword_2_0 = (Keyword)cRemoveEnumLiteralDeclaration_2.eContents().get(0);
//enum EntityManagerMode:
// persist |
// merge |
// remove;
public EnumRule getRule() { return rule; }
//persist | merge | remove
public Alternatives getAlternatives() { return cAlternatives; }
//persist
public EnumLiteralDeclaration getPersistEnumLiteralDeclaration_0() { return cPersistEnumLiteralDeclaration_0; }
//'persist'
public Keyword getPersistPersistKeyword_0_0() { return cPersistPersistKeyword_0_0; }
//merge
public EnumLiteralDeclaration getMergeEnumLiteralDeclaration_1() { return cMergeEnumLiteralDeclaration_1; }
//'merge'
public Keyword getMergeMergeKeyword_1_0() { return cMergeMergeKeyword_1_0; }
//remove
public EnumLiteralDeclaration getRemoveEnumLiteralDeclaration_2() { return cRemoveEnumLiteralDeclaration_2; }
//'remove'
public Keyword getRemoveRemoveKeyword_2_0() { return cRemoveRemoveKeyword_2_0; }
}
public class ConditionAndOperator1Elements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.ConditionAndOperator1");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cEqualsEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cEqualsEqualsSignKeyword_0_0 = (Keyword)cEqualsEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cNotequalsEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cNotequalsExclamationMarkEqualsSignKeyword_1_0 = (Keyword)cNotequalsEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cGreaterthenEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cGreaterthenGreaterThanSignKeyword_2_0 = (Keyword)cGreaterthenEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cGreaterthenorequaltoEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cGreaterthenorequaltoGreaterThanSignEqualsSignKeyword_3_0 = (Keyword)cGreaterthenorequaltoEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cLessthenEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cLessthenLessThanSignKeyword_4_0 = (Keyword)cLessthenEnumLiteralDeclaration_4.eContents().get(0);
private final EnumLiteralDeclaration cLessthenorequaltoEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5);
private final Keyword cLessthenorequaltoLessThanSignEqualsSignKeyword_5_0 = (Keyword)cLessthenorequaltoEnumLiteralDeclaration_5.eContents().get(0);
private final EnumLiteralDeclaration cIsnullEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6);
private final Keyword cIsnullIsnullKeyword_6_0 = (Keyword)cIsnullEnumLiteralDeclaration_6.eContents().get(0);
private final EnumLiteralDeclaration cIsnotnullEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7);
private final Keyword cIsnotnullIsnotnullKeyword_7_0 = (Keyword)cIsnotnullEnumLiteralDeclaration_7.eContents().get(0);
//enum ConditionAndOperator1:
// equals='=' |
// notequals='!=' |
// greaterthen='>' |
// greaterthenorequalto='>=' |
// lessthen='<' |
// lessthenorequalto='<=' |
// isnull |
// isnotnull;
public EnumRule getRule() { return rule; }
//equals='=' | notequals='!=' | greaterthen='>' | greaterthenorequalto='>=' | lessthen='<' | lessthenorequalto='<=' |
//isnull | isnotnull
public Alternatives getAlternatives() { return cAlternatives; }
//equals='='
public EnumLiteralDeclaration getEqualsEnumLiteralDeclaration_0() { return cEqualsEnumLiteralDeclaration_0; }
//'='
public Keyword getEqualsEqualsSignKeyword_0_0() { return cEqualsEqualsSignKeyword_0_0; }
//notequals='!='
public EnumLiteralDeclaration getNotequalsEnumLiteralDeclaration_1() { return cNotequalsEnumLiteralDeclaration_1; }
//'!='
public Keyword getNotequalsExclamationMarkEqualsSignKeyword_1_0() { return cNotequalsExclamationMarkEqualsSignKeyword_1_0; }
//greaterthen='>'
public EnumLiteralDeclaration getGreaterthenEnumLiteralDeclaration_2() { return cGreaterthenEnumLiteralDeclaration_2; }
//'>'
public Keyword getGreaterthenGreaterThanSignKeyword_2_0() { return cGreaterthenGreaterThanSignKeyword_2_0; }
//greaterthenorequalto='>='
public EnumLiteralDeclaration getGreaterthenorequaltoEnumLiteralDeclaration_3() { return cGreaterthenorequaltoEnumLiteralDeclaration_3; }
//'>='
public Keyword getGreaterthenorequaltoGreaterThanSignEqualsSignKeyword_3_0() { return cGreaterthenorequaltoGreaterThanSignEqualsSignKeyword_3_0; }
//lessthen='<'
public EnumLiteralDeclaration getLessthenEnumLiteralDeclaration_4() { return cLessthenEnumLiteralDeclaration_4; }
//'<'
public Keyword getLessthenLessThanSignKeyword_4_0() { return cLessthenLessThanSignKeyword_4_0; }
//lessthenorequalto='<='
public EnumLiteralDeclaration getLessthenorequaltoEnumLiteralDeclaration_5() { return cLessthenorequaltoEnumLiteralDeclaration_5; }
//'<='
public Keyword getLessthenorequaltoLessThanSignEqualsSignKeyword_5_0() { return cLessthenorequaltoLessThanSignEqualsSignKeyword_5_0; }
//isnull
public EnumLiteralDeclaration getIsnullEnumLiteralDeclaration_6() { return cIsnullEnumLiteralDeclaration_6; }
//'isnull'
public Keyword getIsnullIsnullKeyword_6_0() { return cIsnullIsnullKeyword_6_0; }
//isnotnull
public EnumLiteralDeclaration getIsnotnullEnumLiteralDeclaration_7() { return cIsnotnullEnumLiteralDeclaration_7; }
//'isnotnull'
public Keyword getIsnotnullIsnotnullKeyword_7_0() { return cIsnotnullIsnotnullKeyword_7_0; }
}
public class ConditionAndOperator2Elements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.datainterchange.DataDSL.ConditionAndOperator2");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cAndEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cAndAndKeyword_0_0 = (Keyword)cAndEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cOrEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cOrOrKeyword_1_0 = (Keyword)cOrEnumLiteralDeclaration_1.eContents().get(0);
//enum ConditionAndOperator2:
// and |
// or;
public EnumRule getRule() { return rule; }
//and | or
public Alternatives getAlternatives() { return cAlternatives; }
//and
public EnumLiteralDeclaration getAndEnumLiteralDeclaration_0() { return cAndEnumLiteralDeclaration_0; }
//'and'
public Keyword getAndAndKeyword_0_0() { return cAndAndKeyword_0_0; }
//or
public EnumLiteralDeclaration getOrEnumLiteralDeclaration_1() { return cOrEnumLiteralDeclaration_1; }
//'or'
public Keyword getOrOrKeyword_1_0() { return cOrOrKeyword_1_0; }
}
private final DataInterchangeModelElements pDataInterchangeModel;
private final DataInterchangePackageElements pDataInterchangePackage;
private final DataInterchangeGroupElements pDataInterchangeGroup;
private final DataInterchangeElements pDataInterchange;
private final DataInterchangeFileElements pDataInterchangeFile;
private final DataInterchangeFileXMLElements pDataInterchangeFileXML;
private final DataInterchangeFileCSVElements pDataInterchangeFileCSV;
private final DataInterchangeFileEDIElements pDataInterchangeFileEDI;
private final DataInterchangeBeanElements pDataInterchangeBean;
private final DataInterchangeKeyElements pDataInterchangeKey;
private final DataInterchangeLookupElements pDataInterchangeLookup;
private final DataInterchangeMarkerPathElements pDataInterchangeMarkerPath;
private final DataInterchangeMarkerEntityElements pDataInterchangeMarkerEntity;
private final DataInterchangeFormatElements pDataInterchangeFormat;
private final DataInterchangeExpressionElements pDataInterchangeExpression;
private final DataInterchangeEntityExpressionElements pDataInterchangeEntityExpression;
private final DataInterchangeExposeElements pDataInterchangeExpose;
private final DataInterchangeExportFilterElements pDataInterchangeExportFilter;
private final DataInterchangeFilterConditionElements pDataInterchangeFilterCondition;
private final DataInterchangeExportHideElements pDataInterchangeExportHide;
private final DataInterchangePredefinedExpressionElements pDataInterchangePredefinedExpression;
private final DataInterchangeMappingElements pDataInterchangeMapping;
private final DataInterchangeValueMappingElements pDataInterchangeValueMapping;
private final DataInterchangeBlobMappingElements pDataInterchangeBlobMapping;
private final LFQNElements pLFQN;
private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING;
private final TRANSLATABLEIDElements pTRANSLATABLEID;
private final PredefinedBlobMimeTypeEnumElements ePredefinedBlobMimeTypeEnum;
private final PredefinedBeanEnumElements ePredefinedBeanEnum;
private final PredefinedBeanTypeEnumElements ePredefinedBeanTypeEnum;
private final EntityManagerModeElements eEntityManagerMode;
private final ConditionAndOperator1Elements eConditionAndOperator1;
private final ConditionAndOperator2Elements eConditionAndOperator2;
private final Grammar grammar;
private final OXtypeGrammarAccess gaOXtype;
private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations;
private final XbaseGrammarAccess gaXbase;
private final XtypeGrammarAccess gaXtype;
@Inject
public DataDSLGrammarAccess(GrammarProvider grammarProvider,
OXtypeGrammarAccess gaOXtype,
XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations,
XbaseGrammarAccess gaXbase,
XtypeGrammarAccess gaXtype) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaOXtype = gaOXtype;
this.gaXbaseWithAnnotations = gaXbaseWithAnnotations;
this.gaXbase = gaXbase;
this.gaXtype = gaXtype;
this.pDataInterchangeModel = new DataInterchangeModelElements();
this.pDataInterchangePackage = new DataInterchangePackageElements();
this.pDataInterchangeGroup = new DataInterchangeGroupElements();
this.pDataInterchange = new DataInterchangeElements();
this.pDataInterchangeFile = new DataInterchangeFileElements();
this.pDataInterchangeFileXML = new DataInterchangeFileXMLElements();
this.pDataInterchangeFileCSV = new DataInterchangeFileCSVElements();
this.pDataInterchangeFileEDI = new DataInterchangeFileEDIElements();
this.pDataInterchangeBean = new DataInterchangeBeanElements();
this.pDataInterchangeKey = new DataInterchangeKeyElements();
this.pDataInterchangeLookup = new DataInterchangeLookupElements();
this.pDataInterchangeMarkerPath = new DataInterchangeMarkerPathElements();
this.pDataInterchangeMarkerEntity = new DataInterchangeMarkerEntityElements();
this.pDataInterchangeFormat = new DataInterchangeFormatElements();
this.pDataInterchangeExpression = new DataInterchangeExpressionElements();
this.pDataInterchangeEntityExpression = new DataInterchangeEntityExpressionElements();
this.pDataInterchangeExpose = new DataInterchangeExposeElements();
this.pDataInterchangeExportFilter = new DataInterchangeExportFilterElements();
this.pDataInterchangeFilterCondition = new DataInterchangeFilterConditionElements();
this.pDataInterchangeExportHide = new DataInterchangeExportHideElements();
this.pDataInterchangePredefinedExpression = new DataInterchangePredefinedExpressionElements();
this.pDataInterchangeMapping = new DataInterchangeMappingElements();
this.pDataInterchangeValueMapping = new DataInterchangeValueMappingElements();
this.pDataInterchangeBlobMapping = new DataInterchangeBlobMappingElements();
this.pLFQN = new LFQNElements();
this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements();
this.pTRANSLATABLEID = new TRANSLATABLEIDElements();
this.ePredefinedBlobMimeTypeEnum = new PredefinedBlobMimeTypeEnumElements();
this.ePredefinedBeanEnum = new PredefinedBeanEnumElements();
this.ePredefinedBeanTypeEnum = new PredefinedBeanTypeEnumElements();
this.eEntityManagerMode = new EntityManagerModeElements();
this.eConditionAndOperator1 = new ConditionAndOperator1Elements();
this.eConditionAndOperator2 = new ConditionAndOperator2Elements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
if ("org.eclipse.osbp.xtext.datainterchange.DataDSL".equals(grammar.getName())) {
return grammar;
}
List<Grammar> grammars = grammar.getUsedGrammars();
if (!grammars.isEmpty()) {
grammar = grammars.iterator().next();
} else {
return null;
}
}
return grammar;
}
@Override
public Grammar getGrammar() {
return grammar;
}
public OXtypeGrammarAccess getOXtypeGrammarAccess() {
return gaOXtype;
}
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() {
return gaXbaseWithAnnotations;
}
public XbaseGrammarAccess getXbaseGrammarAccess() {
return gaXbase;
}
public XtypeGrammarAccess getXtypeGrammarAccess() {
return gaXtype;
}
//DataInterchangeModel:
// importSection=XImportSection?
// packages+=DataInterchangePackage*;
public DataInterchangeModelElements getDataInterchangeModelAccess() {
return pDataInterchangeModel;
}
public ParserRule getDataInterchangeModelRule() {
return getDataInterchangeModelAccess().getRule();
}
//DataInterchangePackage:
// {DataInterchangePackage} 'package' name=QualifiedName ('{' groups+=DataInterchangeGroup* '}')?;
public DataInterchangePackageElements getDataInterchangePackageAccess() {
return pDataInterchangePackage;
}
public ParserRule getDataInterchangePackageRule() {
return getDataInterchangePackageAccess().getRule();
}
//DataInterchangeGroup:
// {DataInterchangeGroup} 'group' name=TRANSLATABLEID ('{' datInts+=DataInterchange* '}')?;
public DataInterchangeGroupElements getDataInterchangeGroupAccess() {
return pDataInterchangeGroup;
}
public ParserRule getDataInterchangeGroupRule() {
return getDataInterchangeGroupAccess().getRule();
}
//DataInterchange:
// {DataInterchange} 'interchange' name=TRANSLATABLEID (description?='describedBy' descriptionValue=TRANSLATABLESTRING)?
// mode=EntityManagerMode (hasVectorName?='vectorName' vectorName=STRING)?
// createReport?='report'? ('elementSize' elementSize=INT)?
// deleteFileAfterImport?='deleteFileAfterImport'?
// 'file' fileEndpoint=DataInterchangeFile 'path' '{' path+=DataInterchangeBean* '}';
public DataInterchangeElements getDataInterchangeAccess() {
return pDataInterchange;
}
public ParserRule getDataInterchangeRule() {
return getDataInterchangeAccess().getRule();
}
//DataInterchangeFile:
// DataInterchangeFileXML | DataInterchangeFileCSV | DataInterchangeFileEDI;
public DataInterchangeFileElements getDataInterchangeFileAccess() {
return pDataInterchangeFile;
}
public ParserRule getDataInterchangeFileRule() {
return getDataInterchangeFileAccess().getRule();
}
//DataInterchangeFileXML:
// {DataInterchangeFileXML} 'XML' fileURL=STRING (byAttribute?='mapByAttribute'? & ('encoding' encoding=STRING)? &
// ('locale' locale=STRING)?);
public DataInterchangeFileXMLElements getDataInterchangeFileXMLAccess() {
return pDataInterchangeFileXML;
}
public ParserRule getDataInterchangeFileXMLRule() {
return getDataInterchangeFileXMLAccess().getRule();
}
//DataInterchangeFileCSV:
// {DataInterchangeFileCSV} 'CSV' fileURL=STRING (('delimiter' delimiter=STRING)? & ('quoteCharacter'
// quoteCharacter=STRING)? & ('skipLines' skipLines=INT)? & indent?='indent'? & ('encoding' encoding=STRING)? & ('locale'
// locale=STRING)?);
public DataInterchangeFileCSVElements getDataInterchangeFileCSVAccess() {
return pDataInterchangeFileCSV;
}
public ParserRule getDataInterchangeFileCSVRule() {
return getDataInterchangeFileCSVAccess().getRule();
}
//DataInterchangeFileEDI:
// {DataInterchangeFileEDI} 'EDI' fileURL=STRING (('encoding' encoding=STRING)? & ('locale' locale=STRING)?)
// 'mappingModel' mappingModel=STRING validate?='validate'?;
public DataInterchangeFileEDIElements getDataInterchangeFileEDIAccess() {
return pDataInterchangeFileEDI;
}
public ParserRule getDataInterchangeFileEDIRule() {
return getDataInterchangeFileEDIAccess().getRule();
}
//DataInterchangeBean:
// {DataInterchangeBean}
// 'entity' entity=[entity::LEntity|LFQN] ('nodeName' nodeName=STRING)? ('createOn' elementMap=STRING)?
// (markLatestImport?='latestImport' latestProperty=[entity::LEntityAttribute])? (markLatestExport?='latestExport'
// latestExpProperty=[entity::LEntityAttribute])? ('expression' '{' expression+=DataInterchangeExpression* '}')?
// ('lookup' '{' lookup+=DataInterchangeLookup* '}')? ('format' '{' format+=DataInterchangeFormat* '}')? ('expose' '{'
// exportExposes+=DataInterchangeExpose* '}')? ('mapping' '{' mappings+=DataInterchangeMapping* '}')? ('keys' '{'
// lookupKeys+=DataInterchangeKey* '}')? ('exportFilter' '{' exportFilter=DataInterchangeExportFilter '}')?;
public DataInterchangeBeanElements getDataInterchangeBeanAccess() {
return pDataInterchangeBean;
}
public ParserRule getDataInterchangeBeanRule() {
return getDataInterchangeBeanAccess().getRule();
}
//DataInterchangeKey:
// {DataInterchangeKey} 'key' property=[entity::LEntityAttribute];
public DataInterchangeKeyElements getDataInterchangeKeyAccess() {
return pDataInterchangeKey;
}
public ParserRule getDataInterchangeKeyRule() {
return getDataInterchangeKeyAccess().getRule();
}
//DataInterchangeLookup:
// {DataInterchangeLookup}
// 'for' targetProperty=[entity::LEntityReference]
// 'on' entity=[entity::LEntity] ('createOn' elementMap=STRING)?
// 'with' queryProperty=[entity::LEntityAttribute] (cached?='cacheSize' cacheSize=INT)? ('mapTo' dataMap=STRING)?
// (allowNoResult?='allowNoResult'? & allowNonuniqueResult?='allowNonuniqueResult'? &
// markerPath=DataInterchangeMarkerPath?);
public DataInterchangeLookupElements getDataInterchangeLookupAccess() {
return pDataInterchangeLookup;
}
public ParserRule getDataInterchangeLookupRule() {
return getDataInterchangeLookupAccess().getRule();
}
//DataInterchangeMarkerPath:
// {DataInterchangeMarkerPath}
// 'markerPath' '{' path+=DataInterchangeMarkerEntity* '}';
public DataInterchangeMarkerPathElements getDataInterchangeMarkerPathAccess() {
return pDataInterchangeMarkerPath;
}
public ParserRule getDataInterchangeMarkerPathRule() {
return getDataInterchangeMarkerPathAccess().getRule();
}
//DataInterchangeMarkerEntity:
// {DataInterchangeMarkerEntity}
// 'markerEntity' markerEntity=[entity::LEntity|LFQN] (markLatest?='markedBy'
// markerProperty=[entity::LEntityAttribute])?;
public DataInterchangeMarkerEntityElements getDataInterchangeMarkerEntityAccess() {
return pDataInterchangeMarkerEntity;
}
public ParserRule getDataInterchangeMarkerEntityRule() {
return getDataInterchangeMarkerEntityAccess().getRule();
}
//DataInterchangeFormat:
// {DataInterchangeFormat} 'for' targetProperty=[entity::LEntityAttribute] 'coding' format=STRING;
public DataInterchangeFormatElements getDataInterchangeFormatAccess() {
return pDataInterchangeFormat;
}
public ParserRule getDataInterchangeFormatRule() {
return getDataInterchangeFormatAccess().getRule();
}
//DataInterchangeExpression:
// DataInterchangeEntityExpression | DataInterchangePredefinedExpression;
public DataInterchangeExpressionElements getDataInterchangeExpressionAccess() {
return pDataInterchangeExpression;
}
public ParserRule getDataInterchangeExpressionRule() {
return getDataInterchangeExpressionAccess().getRule();
}
//DataInterchangeEntityExpression:
// {DataInterchangeEntityExpression} 'copy' targetProperty=[entity::LEntityAttribute] 'from'
// entity=[entity::LEntity|LFQN] 'property' property=[entity::LEntityAttribute];
public DataInterchangeEntityExpressionElements getDataInterchangeEntityExpressionAccess() {
return pDataInterchangeEntityExpression;
}
public ParserRule getDataInterchangeEntityExpressionRule() {
return getDataInterchangeEntityExpressionAccess().getRule();
}
//DataInterchangeExpose:
// {DataInterchangeExpose}
// 'ref' refEntity=[entity::LEntityReference] ('on' refProperty=[entity::LEntityAttribute] | 'expose' '{'
// subExpose=DataInterchangeExpose '}');
public DataInterchangeExposeElements getDataInterchangeExposeAccess() {
return pDataInterchangeExpose;
}
public ParserRule getDataInterchangeExposeRule() {
return getDataInterchangeExposeAccess().getRule();
}
//DataInterchangeExportFilter:
// {DataInterchangeExportFilter} ('where' '{' condition=DataInterchangeFilterCondition '}')? ('hide'
// hiddenproperties+=DataInterchangeExportHide*)?;
public DataInterchangeExportFilterElements getDataInterchangeExportFilterAccess() {
return pDataInterchangeExportFilter;
}
public ParserRule getDataInterchangeExportFilterRule() {
return getDataInterchangeExportFilterAccess().getRule();
}
//DataInterchangeFilterCondition:
// refProperty=[entity::LEntityFeature] operator=ConditionAndOperator1
// value=STRING? (operator2=ConditionAndOperator2 subcondition=DataInterchangeFilterCondition)?;
public DataInterchangeFilterConditionElements getDataInterchangeFilterConditionAccess() {
return pDataInterchangeFilterCondition;
}
public ParserRule getDataInterchangeFilterConditionRule() {
return getDataInterchangeFilterConditionAccess().getRule();
}
//DataInterchangeExportHide:
// {DataInterchangeExportHide} property=[entity::LEntityFeature];
public DataInterchangeExportHideElements getDataInterchangeExportHideAccess() {
return pDataInterchangeExportHide;
}
public ParserRule getDataInterchangeExportHideRule() {
return getDataInterchangeExportHideAccess().getRule();
}
//DataInterchangePredefinedExpression:
// {DataInterchangePredefinedExpression} 'assign' targetProperty=[entity::LEntityAttribute] 'with'
// bean=PredefinedBeanEnum 'as' beanType=PredefinedBeanTypeEnum;
public DataInterchangePredefinedExpressionElements getDataInterchangePredefinedExpressionAccess() {
return pDataInterchangePredefinedExpression;
}
public ParserRule getDataInterchangePredefinedExpressionRule() {
return getDataInterchangePredefinedExpressionAccess().getRule();
}
//DataInterchangeMapping:
// DataInterchangeValueMapping | DataInterchangeBlobMapping;
public DataInterchangeMappingElements getDataInterchangeMappingAccess() {
return pDataInterchangeMapping;
}
public ParserRule getDataInterchangeMappingRule() {
return getDataInterchangeMappingAccess().getRule();
}
//DataInterchangeValueMapping:
// {DataInterchangeValueMapping} 'map' property=[entity::LEntityAttribute] 'to' data=STRING;
public DataInterchangeValueMappingElements getDataInterchangeValueMappingAccess() {
return pDataInterchangeValueMapping;
}
public ParserRule getDataInterchangeValueMappingRule() {
return getDataInterchangeValueMappingAccess().getRule();
}
//DataInterchangeBlobMapping:
// {DataInterchangeBlobMapping} 'mapBlob' property=[entity::LEntityAttribute]
// 'to' data=STRING ('extension' blobFileExtension=STRING)? ('path' blobPath=STRING)?
// 'mimeType' mimeType=PredefinedBlobMimeTypeEnum;
public DataInterchangeBlobMappingElements getDataInterchangeBlobMappingAccess() {
return pDataInterchangeBlobMapping;
}
public ParserRule getDataInterchangeBlobMappingRule() {
return getDataInterchangeBlobMappingAccess().getRule();
}
//// it would be better if the mime type can be optional and deduced from extension
//LFQN:
// ID ('.' ID)*;
public LFQNElements getLFQNAccess() {
return pLFQN;
}
public ParserRule getLFQNRule() {
return getLFQNAccess().getRule();
}
//TRANSLATABLESTRING:
// STRING;
public TRANSLATABLESTRINGElements getTRANSLATABLESTRINGAccess() {
return pTRANSLATABLESTRING;
}
public ParserRule getTRANSLATABLESTRINGRule() {
return getTRANSLATABLESTRINGAccess().getRule();
}
//TRANSLATABLEID:
// ID;
public TRANSLATABLEIDElements getTRANSLATABLEIDAccess() {
return pTRANSLATABLEID;
}
public ParserRule getTRANSLATABLEIDRule() {
return getTRANSLATABLEIDAccess().getRule();
}
//enum PredefinedBlobMimeTypeEnum:
// plain |
// jpg |
// png |
// mpeg |
// octetstream="octet-stream" |
// pdf;
public PredefinedBlobMimeTypeEnumElements getPredefinedBlobMimeTypeEnumAccess() {
return ePredefinedBlobMimeTypeEnum;
}
public EnumRule getPredefinedBlobMimeTypeEnumRule() {
return getPredefinedBlobMimeTypeEnumAccess().getRule();
}
//enum PredefinedBeanEnum:
// now='NowDate' |
// start='StartDate' |
// UUID='UniversallyUniqueIdentifier';
public PredefinedBeanEnumElements getPredefinedBeanEnumAccess() {
return ePredefinedBeanEnum;
}
public EnumRule getPredefinedBeanEnumRule() {
return getPredefinedBeanEnumAccess().getRule();
}
//enum PredefinedBeanTypeEnum:
// Date |
// Millis='Milliseconds' |
// Nanos='Nanoseconds' |
// random='Random' |
// execContext='ExecuteContext';
public PredefinedBeanTypeEnumElements getPredefinedBeanTypeEnumAccess() {
return ePredefinedBeanTypeEnum;
}
public EnumRule getPredefinedBeanTypeEnumRule() {
return getPredefinedBeanTypeEnumAccess().getRule();
}
//enum EntityManagerMode:
// persist |
// merge |
// remove;
public EntityManagerModeElements getEntityManagerModeAccess() {
return eEntityManagerMode;
}
public EnumRule getEntityManagerModeRule() {
return getEntityManagerModeAccess().getRule();
}
//enum ConditionAndOperator1:
// equals='=' |
// notequals='!=' |
// greaterthen='>' |
// greaterthenorequalto='>=' |
// lessthen='<' |
// lessthenorequalto='<=' |
// isnull |
// isnotnull;
public ConditionAndOperator1Elements getConditionAndOperator1Access() {
return eConditionAndOperator1;
}
public EnumRule getConditionAndOperator1Rule() {
return getConditionAndOperator1Access().getRule();
}
//enum ConditionAndOperator2:
// and |
// or;
public ConditionAndOperator2Elements getConditionAndOperator2Access() {
return eConditionAndOperator2;
}
public EnumRule getConditionAndOperator2Rule() {
return getConditionAndOperator2Access().getRule();
}
//@ Override XImportDeclaration OXImportDeclaration:
// {OXImportDeclaration}
// 'import' (static?='static' extension?='extension'? importedType=[JvmDeclaredType|QualifiedNameInStaticImport]
// (wildcard?='*' | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] |
// importedNamespace=QualifiedNameWithWildcard
// | fqnImport?='ns' importedFullyQualifiedName=QualifiedName) ';'?;
public OXtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() {
return gaOXtype.getXImportDeclarationAccess();
}
public ParserRule getXImportDeclarationRule() {
return getXImportDeclarationAccess().getRule();
}
//XAnnotation:
// {XAnnotation}
// '@' annotationType=[types::JvmAnnotationType|QualifiedName] (=> '(' (elementValuePairs+=XAnnotationElementValuePair
// (',' elementValuePairs+=XAnnotationElementValuePair)*
// | value=XAnnotationElementValueOrCommaList)?
// ')')?;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() {
return gaXbaseWithAnnotations.getXAnnotationAccess();
}
public ParserRule getXAnnotationRule() {
return getXAnnotationAccess().getRule();
}
//XAnnotationElementValuePair:
// => (element=[types::JvmOperation|ValidID] '=') value=XAnnotationElementValue;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess();
}
public ParserRule getXAnnotationElementValuePairRule() {
return getXAnnotationElementValuePairAccess().getRule();
}
//XAnnotationElementValueOrCommaList xbase::XExpression:
// => ({xbase::XListLiteral} '#' '[') (elements+=XAnnotationOrExpression (',' elements+=XAnnotationOrExpression)*)? ']'
// | XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} (',' elements+=XAnnotationOrExpression)+)?;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess();
}
public ParserRule getXAnnotationElementValueOrCommaListRule() {
return getXAnnotationElementValueOrCommaListAccess().getRule();
}
//XAnnotationElementValue xbase::XExpression:
// => ({xbase::XListLiteral} '#' '[') (elements+=XAnnotationOrExpression (',' elements+=XAnnotationOrExpression)*)? ']'
// | XAnnotationOrExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueAccess();
}
public ParserRule getXAnnotationElementValueRule() {
return getXAnnotationElementValueAccess().getRule();
}
//XAnnotationOrExpression xbase::XExpression:
// XAnnotation | XExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() {
return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess();
}
public ParserRule getXAnnotationOrExpressionRule() {
return getXAnnotationOrExpressionAccess().getRule();
}
//XExpression:
// XAssignment;
public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() {
return gaXbase.getXExpressionAccess();
}
public ParserRule getXExpressionRule() {
return getXExpressionAccess().getRule();
}
//XAssignment XExpression:
// {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression
// (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign])
// rightOperand=XAssignment)?;
public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() {
return gaXbase.getXAssignmentAccess();
}
public ParserRule getXAssignmentRule() {
return getXAssignmentAccess().getRule();
}
//OpSingleAssign:
// '=';
public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() {
return gaXbase.getOpSingleAssignAccess();
}
public ParserRule getOpSingleAssignRule() {
return getOpSingleAssignAccess().getRule();
}
//OpMultiAssign:
// '+=' | '-=' | '*=' | '/=' | '%=' |
// '<' '<' '=' |
// '>' '>'? '>=';
public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() {
return gaXbase.getOpMultiAssignAccess();
}
public ParserRule getOpMultiAssignRule() {
return getOpMultiAssignAccess().getRule();
}
//XOrExpression XExpression:
// XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr])
// rightOperand=XAndExpression)*;
public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() {
return gaXbase.getXOrExpressionAccess();
}
public ParserRule getXOrExpressionRule() {
return getXOrExpressionAccess().getRule();
}
//OpOr:
// '||';
public XbaseGrammarAccess.OpOrElements getOpOrAccess() {
return gaXbase.getOpOrAccess();
}
public ParserRule getOpOrRule() {
return getOpOrAccess().getRule();
}
//XAndExpression XExpression:
// XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd])
// rightOperand=XEqualityExpression)*;
public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() {
return gaXbase.getXAndExpressionAccess();
}
public ParserRule getXAndExpressionRule() {
return getXAndExpressionAccess().getRule();
}
//OpAnd:
// '&&';
public XbaseGrammarAccess.OpAndElements getOpAndAccess() {
return gaXbase.getOpAndAccess();
}
public ParserRule getOpAndRule() {
return getOpAndAccess().getRule();
}
//XEqualityExpression XExpression:
// XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality])
// rightOperand=XRelationalExpression)*;
public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() {
return gaXbase.getXEqualityExpressionAccess();
}
public ParserRule getXEqualityExpressionRule() {
return getXEqualityExpressionAccess().getRule();
}
//OpEquality:
// '==' | '!=' | '===' | '!==';
public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() {
return gaXbase.getOpEqualityAccess();
}
public ParserRule getOpEqualityRule() {
return getOpEqualityAccess().getRule();
}
//XRelationalExpression XExpression:
// XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} 'instanceof') type=JvmTypeReference |
// => ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare])
// rightOperand=XOtherOperatorExpression)*;
public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() {
return gaXbase.getXRelationalExpressionAccess();
}
public ParserRule getXRelationalExpressionRule() {
return getXRelationalExpressionAccess().getRule();
}
//OpCompare:
// '>=' | '<' '=' | '>' | '<';
public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() {
return gaXbase.getOpCompareAccess();
}
public ParserRule getOpCompareRule() {
return getOpCompareAccess().getRule();
}
//XOtherOperatorExpression XExpression:
// XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther])
// rightOperand=XAdditiveExpression)*;
public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() {
return gaXbase.getXOtherOperatorExpressionAccess();
}
public ParserRule getXOtherOperatorExpressionRule() {
return getXOtherOperatorExpressionAccess().getRule();
}
//OpOther:
// '->'
// | '..<'
// | '>' '..'
// | '..'
// | '=>'
// | '>' (=> ('>' '>') | '>') | '<' (=> ('<' '<') | '<' | '=>') | '<>'
// | '?:';
public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() {
return gaXbase.getOpOtherAccess();
}
public ParserRule getOpOtherRule() {
return getOpOtherAccess().getRule();
}
//XAdditiveExpression XExpression:
// XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd])
// rightOperand=XMultiplicativeExpression)*;
public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() {
return gaXbase.getXAdditiveExpressionAccess();
}
public ParserRule getXAdditiveExpressionRule() {
return getXAdditiveExpressionAccess().getRule();
}
//OpAdd:
// '+' | '-';
public XbaseGrammarAccess.OpAddElements getOpAddAccess() {
return gaXbase.getOpAddAccess();
}
public ParserRule getOpAddRule() {
return getOpAddAccess().getRule();
}
//XMultiplicativeExpression XExpression:
// XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti])
// rightOperand=XUnaryOperation)*;
public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() {
return gaXbase.getXMultiplicativeExpressionAccess();
}
public ParserRule getXMultiplicativeExpressionRule() {
return getXMultiplicativeExpressionAccess().getRule();
}
//OpMulti:
// '*' | '**' | '/' | '%';
public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() {
return gaXbase.getOpMultiAccess();
}
public ParserRule getOpMultiRule() {
return getOpMultiAccess().getRule();
}
//XUnaryOperation XExpression:
// {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation
// | XCastedExpression;
public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() {
return gaXbase.getXUnaryOperationAccess();
}
public ParserRule getXUnaryOperationRule() {
return getXUnaryOperationAccess().getRule();
}
//OpUnary:
// "!" | "-" | "+";
public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() {
return gaXbase.getOpUnaryAccess();
}
public ParserRule getOpUnaryRule() {
return getOpUnaryAccess().getRule();
}
//XCastedExpression XExpression:
// XPostfixOperation (=> ({XCastedExpression.target=current} 'as') type=JvmTypeReference)*;
public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() {
return gaXbase.getXCastedExpressionAccess();
}
public ParserRule getXCastedExpressionRule() {
return getXCastedExpressionAccess().getRule();
}
//XPostfixOperation XExpression:
// XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?;
public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() {
return gaXbase.getXPostfixOperationAccess();
}
public ParserRule getXPostfixOperationRule() {
return getXPostfixOperationAccess().getRule();
}
//OpPostfix:
// "++" | "--";
public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() {
return gaXbase.getOpPostfixAccess();
}
public ParserRule getOpPostfixRule() {
return getOpPostfixAccess().getRule();
}
//XMemberFeatureCall 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 gaXbase.getXMemberFeatureCallAccess();
}
public ParserRule getXMemberFeatureCallRule() {
return getXMemberFeatureCallAccess().getRule();
}
//XPrimaryExpression XExpression:
// XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral |
// XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression |
// XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression;
public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() {
return gaXbase.getXPrimaryExpressionAccess();
}
public ParserRule getXPrimaryExpressionRule() {
return getXPrimaryExpressionAccess().getRule();
}
//XLiteral XExpression:
// XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral;
public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() {
return gaXbase.getXLiteralAccess();
}
public ParserRule getXLiteralRule() {
return getXLiteralAccess().getRule();
}
//XCollectionLiteral:
// XSetLiteral | XListLiteral;
public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() {
return gaXbase.getXCollectionLiteralAccess();
}
public ParserRule getXCollectionLiteralRule() {
return getXCollectionLiteralAccess().getRule();
}
//XSetLiteral:
// {XSetLiteral} '#' '{' (elements+=XExpression (',' elements+=XExpression)*)? '}';
public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() {
return gaXbase.getXSetLiteralAccess();
}
public ParserRule getXSetLiteralRule() {
return getXSetLiteralAccess().getRule();
}
//XListLiteral:
// {XListLiteral} '#' '[' (elements+=XExpression (',' elements+=XExpression)*)? ']';
public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() {
return gaXbase.getXListLiteralAccess();
}
public ParserRule getXListLiteralRule() {
return getXListLiteralAccess().getRule();
}
//XClosure XExpression:
// => ({XClosure}
// '[')
// => ((declaredFormalParameters+=JvmFormalParameter (',' declaredFormalParameters+=JvmFormalParameter)*)?
// explicitSyntax?='|')?
// expression=XExpressionInClosure
// ']';
public XbaseGrammarAccess.XClosureElements getXClosureAccess() {
return gaXbase.getXClosureAccess();
}
public ParserRule getXClosureRule() {
return getXClosureAccess().getRule();
}
//XExpressionInClosure XExpression:
// {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ';'?)*;
public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() {
return gaXbase.getXExpressionInClosureAccess();
}
public ParserRule getXExpressionInClosureRule() {
return getXExpressionInClosureAccess().getRule();
}
//XShortClosure XExpression:
// => ({XClosure} (declaredFormalParameters+=JvmFormalParameter (',' declaredFormalParameters+=JvmFormalParameter)*)?
// explicitSyntax?='|') expression=XExpression;
public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() {
return gaXbase.getXShortClosureAccess();
}
public ParserRule getXShortClosureRule() {
return getXShortClosureAccess().getRule();
}
//XParenthesizedExpression XExpression:
// '(' XExpression ')';
public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() {
return gaXbase.getXParenthesizedExpressionAccess();
}
public ParserRule getXParenthesizedExpressionRule() {
return getXParenthesizedExpressionAccess().getRule();
}
//XIfExpression XExpression:
// {XIfExpression}
// 'if' '(' if=XExpression ')'
// then=XExpression (=> 'else' else=XExpression)?;
public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() {
return gaXbase.getXIfExpressionAccess();
}
public ParserRule getXIfExpressionRule() {
return getXIfExpressionAccess().getRule();
}
//XSwitchExpression XExpression:
// {XSwitchExpression}
// 'switch' (=> ('(' declaredParam=JvmFormalParameter ':') switch=XExpression ')'
// | => (declaredParam=JvmFormalParameter ':')? switch=XExpression) '{'
// cases+=XCasePart* ('default' ':' default=XExpression)?
// '}';
public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() {
return gaXbase.getXSwitchExpressionAccess();
}
public ParserRule getXSwitchExpressionRule() {
return getXSwitchExpressionAccess().getRule();
}
//XCasePart:
// {XCasePart} typeGuard=JvmTypeReference? ('case' case=XExpression)? (':' then=XExpression | fallThrough?=',');
public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() {
return gaXbase.getXCasePartAccess();
}
public ParserRule getXCasePartRule() {
return getXCasePartAccess().getRule();
}
//XForLoopExpression XExpression:
// => ({XForLoopExpression}
// 'for' '(' declaredParam=JvmFormalParameter ':') forExpression=XExpression ')'
// eachExpression=XExpression;
public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() {
return gaXbase.getXForLoopExpressionAccess();
}
public ParserRule getXForLoopExpressionRule() {
return getXForLoopExpressionAccess().getRule();
}
//XBasicForLoopExpression XExpression:
// {XBasicForLoopExpression}
// 'for' '(' (initExpressions+=XExpressionOrVarDeclaration (',' initExpressions+=XExpressionOrVarDeclaration)*)? ';'
// expression=XExpression? ';' (updateExpressions+=XExpression (',' updateExpressions+=XExpression)*)? ')'
// eachExpression=XExpression;
public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() {
return gaXbase.getXBasicForLoopExpressionAccess();
}
public ParserRule getXBasicForLoopExpressionRule() {
return getXBasicForLoopExpressionAccess().getRule();
}
//XWhileExpression XExpression:
// {XWhileExpression}
// 'while' '(' predicate=XExpression ')'
// body=XExpression;
public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() {
return gaXbase.getXWhileExpressionAccess();
}
public ParserRule getXWhileExpressionRule() {
return getXWhileExpressionAccess().getRule();
}
//XDoWhileExpression XExpression:
// {XDoWhileExpression}
// 'do'
// body=XExpression
// 'while' '(' predicate=XExpression ')';
public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() {
return gaXbase.getXDoWhileExpressionAccess();
}
public ParserRule getXDoWhileExpressionRule() {
return getXDoWhileExpressionAccess().getRule();
}
//XBlockExpression XExpression:
// {XBlockExpression}
// '{' (expressions+=XExpressionOrVarDeclaration ';'?)*
// '}';
public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() {
return gaXbase.getXBlockExpressionAccess();
}
public ParserRule getXBlockExpressionRule() {
return getXBlockExpressionAccess().getRule();
}
//XExpressionOrVarDeclaration XExpression:
// XVariableDeclaration | XExpression;
public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() {
return gaXbase.getXExpressionOrVarDeclarationAccess();
}
public ParserRule getXExpressionOrVarDeclarationRule() {
return getXExpressionOrVarDeclarationAccess().getRule();
}
//XVariableDeclaration XExpression:
// {XVariableDeclaration} (writeable?='var' | 'val') (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ('='
// right=XExpression)?;
public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() {
return gaXbase.getXVariableDeclarationAccess();
}
public ParserRule getXVariableDeclarationRule() {
return getXVariableDeclarationAccess().getRule();
}
//JvmFormalParameter types::JvmFormalParameter:
// parameterType=JvmTypeReference? name=ValidID;
public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() {
return gaXbase.getJvmFormalParameterAccess();
}
public ParserRule getJvmFormalParameterRule() {
return getJvmFormalParameterAccess().getRule();
}
//FullJvmFormalParameter types::JvmFormalParameter:
// parameterType=JvmTypeReference name=ValidID;
public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() {
return gaXbase.getFullJvmFormalParameterAccess();
}
public ParserRule getFullJvmFormalParameterRule() {
return getFullJvmFormalParameterAccess().getRule();
}
//XFeatureCall XExpression:
// {XFeatureCall} ('<' typeArguments+=JvmArgumentTypeReference (',' typeArguments+=JvmArgumentTypeReference)* '>')?
// feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?='(' (featureCallArguments+=XShortClosure
// | featureCallArguments+=XExpression (',' featureCallArguments+=XExpression)*)?
// ')')?
// featureCallArguments+=XClosure?;
public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() {
return gaXbase.getXFeatureCallAccess();
}
public ParserRule getXFeatureCallRule() {
return getXFeatureCallAccess().getRule();
}
//FeatureCallID:
// ValidID | 'extends' | 'static' | 'import' | 'extension';
public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() {
return gaXbase.getFeatureCallIDAccess();
}
public ParserRule getFeatureCallIDRule() {
return getFeatureCallIDAccess().getRule();
}
//IdOrSuper:
// FeatureCallID | 'super';
public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {
return gaXbase.getIdOrSuperAccess();
}
public ParserRule getIdOrSuperRule() {
return getIdOrSuperAccess().getRule();
}
//XConstructorCall 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 gaXbase.getXConstructorCallAccess();
}
public ParserRule getXConstructorCallRule() {
return getXConstructorCallAccess().getRule();
}
//XBooleanLiteral XExpression:
// {XBooleanLiteral} ('false' | isTrue?='true');
public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() {
return gaXbase.getXBooleanLiteralAccess();
}
public ParserRule getXBooleanLiteralRule() {
return getXBooleanLiteralAccess().getRule();
}
//XNullLiteral XExpression:
// {XNullLiteral} 'null';
public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() {
return gaXbase.getXNullLiteralAccess();
}
public ParserRule getXNullLiteralRule() {
return getXNullLiteralAccess().getRule();
}
//XNumberLiteral XExpression:
// {XNumberLiteral} value=Number;
public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() {
return gaXbase.getXNumberLiteralAccess();
}
public ParserRule getXNumberLiteralRule() {
return getXNumberLiteralAccess().getRule();
}
//XStringLiteral XExpression:
// {XStringLiteral} value=STRING;
public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() {
return gaXbase.getXStringLiteralAccess();
}
public ParserRule getXStringLiteralRule() {
return getXStringLiteralAccess().getRule();
}
//XTypeLiteral XExpression:
// {XTypeLiteral} 'typeof' '(' type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ')';
public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() {
return gaXbase.getXTypeLiteralAccess();
}
public ParserRule getXTypeLiteralRule() {
return getXTypeLiteralAccess().getRule();
}
//XThrowExpression XExpression:
// {XThrowExpression} 'throw' expression=XExpression;
public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() {
return gaXbase.getXThrowExpressionAccess();
}
public ParserRule getXThrowExpressionRule() {
return getXThrowExpressionAccess().getRule();
}
//XReturnExpression XExpression:
// {XReturnExpression} 'return' -> expression=XExpression?;
public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() {
return gaXbase.getXReturnExpressionAccess();
}
public ParserRule getXReturnExpressionRule() {
return getXReturnExpressionAccess().getRule();
}
//XTryCatchFinallyExpression XExpression:
// {XTryCatchFinallyExpression}
// 'try'
// expression=XExpression (catchClauses+=XCatchClause+ (=> 'finally' finallyExpression=XExpression)?
// | 'finally' finallyExpression=XExpression);
public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() {
return gaXbase.getXTryCatchFinallyExpressionAccess();
}
public ParserRule getXTryCatchFinallyExpressionRule() {
return getXTryCatchFinallyExpressionAccess().getRule();
}
//XSynchronizedExpression XExpression:
// => ({XSynchronizedExpression}
// 'synchronized' '(') param=XExpression ')' expression=XExpression;
public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() {
return gaXbase.getXSynchronizedExpressionAccess();
}
public ParserRule getXSynchronizedExpressionRule() {
return getXSynchronizedExpressionAccess().getRule();
}
//XCatchClause:
// => 'catch' '(' declaredParam=FullJvmFormalParameter ')' expression=XExpression;
public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() {
return gaXbase.getXCatchClauseAccess();
}
public ParserRule getXCatchClauseRule() {
return getXCatchClauseAccess().getRule();
}
//QualifiedName:
// ValidID (=> '.' ValidID)*;
public XbaseGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
return gaXbase.getQualifiedNameAccess();
}
public ParserRule getQualifiedNameRule() {
return getQualifiedNameAccess().getRule();
}
//Number hidden():
// HEX | (INT | DECIMAL) ('.' (INT | DECIMAL))?;
public XbaseGrammarAccess.NumberElements getNumberAccess() {
return gaXbase.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 gaXbase.getStaticQualifierAccess();
}
public ParserRule getStaticQualifierRule() {
return getStaticQualifierAccess().getRule();
}
//terminal HEX:
// ('0x' | '0X') ('0'..'9' | 'a'..'f' | 'A'..'F' | '_')+ ('#' (('b' | 'B') ('i' | 'I') | ('l' | 'L')))?;
public TerminalRule getHEXRule() {
return gaXbase.getHEXRule();
}
//terminal INT returns ecore::EInt:
// '0'..'9' ('0'..'9' | '_')*;
public TerminalRule getINTRule() {
return gaXbase.getINTRule();
}
//terminal DECIMAL:
// INT (('e' | 'E') ('+' | '-')? INT)? (('b' | 'B') ('i' | 'I' | 'd' | 'D') | ('l' | 'L' | 'd' | 'D' | 'f' | 'F'))?;
public TerminalRule getDECIMALRule() {
return gaXbase.getDECIMALRule();
}
//JvmTypeReference:
// JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)*
// | XFunctionTypeRef;
public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() {
return gaXtype.getJvmTypeReferenceAccess();
}
public ParserRule getJvmTypeReferenceRule() {
return getJvmTypeReferenceAccess().getRule();
}
//ArrayBrackets:
// '[' ']';
public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() {
return gaXtype.getArrayBracketsAccess();
}
public ParserRule getArrayBracketsRule() {
return getArrayBracketsAccess().getRule();
}
//XFunctionTypeRef:
// ('(' (paramTypes+=JvmTypeReference (',' paramTypes+=JvmTypeReference)*)? ')')? '=>' returnType=JvmTypeReference;
public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() {
return gaXtype.getXFunctionTypeRefAccess();
}
public ParserRule getXFunctionTypeRefRule() {
return getXFunctionTypeRefAccess().getRule();
}
//JvmParameterizedTypeReference:
// type=[JvmType|super::QualifiedName] (=> '<' arguments+=JvmArgumentTypeReference (','
// arguments+=JvmArgumentTypeReference)* '>' (=> ({JvmInnerTypeReference.outer=current} '.') type=[JvmType|ValidID] (=>
// '<' arguments+=JvmArgumentTypeReference (',' arguments+=JvmArgumentTypeReference)* '>')?)*)?;
public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() {
return gaXtype.getJvmParameterizedTypeReferenceAccess();
}
public ParserRule getJvmParameterizedTypeReferenceRule() {
return getJvmParameterizedTypeReferenceAccess().getRule();
}
//JvmArgumentTypeReference JvmTypeReference:
// JvmTypeReference | JvmWildcardTypeReference;
public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {
return gaXtype.getJvmArgumentTypeReferenceAccess();
}
public ParserRule getJvmArgumentTypeReferenceRule() {
return getJvmArgumentTypeReferenceAccess().getRule();
}
//JvmWildcardTypeReference:
// {JvmWildcardTypeReference} '?' (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*
// | constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?;
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
return gaXtype.getJvmWildcardTypeReferenceAccess();
}
public ParserRule getJvmWildcardTypeReferenceRule() {
return getJvmWildcardTypeReferenceAccess().getRule();
}
//JvmUpperBound:
// 'extends' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
return gaXtype.getJvmUpperBoundAccess();
}
public ParserRule getJvmUpperBoundRule() {
return getJvmUpperBoundAccess().getRule();
}
//JvmUpperBoundAnded JvmUpperBound:
// '&' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() {
return gaXtype.getJvmUpperBoundAndedAccess();
}
public ParserRule getJvmUpperBoundAndedRule() {
return getJvmUpperBoundAndedAccess().getRule();
}
//JvmLowerBound:
// 'super' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() {
return gaXtype.getJvmLowerBoundAccess();
}
public ParserRule getJvmLowerBoundRule() {
return getJvmLowerBoundAccess().getRule();
}
//JvmLowerBoundAnded JvmLowerBound:
// '&' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {
return gaXtype.getJvmLowerBoundAndedAccess();
}
public ParserRule getJvmLowerBoundAndedRule() {
return getJvmLowerBoundAndedAccess().getRule();
}
//JvmTypeParameter:
// name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?;
public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() {
return gaXtype.getJvmTypeParameterAccess();
}
public ParserRule getJvmTypeParameterRule() {
return getJvmTypeParameterAccess().getRule();
}
//QualifiedNameWithWildcard:
// super::QualifiedName '.' '*';
public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {
return gaXtype.getQualifiedNameWithWildcardAccess();
}
public ParserRule getQualifiedNameWithWildcardRule() {
return getQualifiedNameWithWildcardAccess().getRule();
}
//ValidID:
// ID;
public XtypeGrammarAccess.ValidIDElements getValidIDAccess() {
return gaXtype.getValidIDAccess();
}
public ParserRule getValidIDRule() {
return getValidIDAccess().getRule();
}
//XImportSection:
// importDeclarations+=super::XImportDeclaration+;
public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() {
return gaXtype.getXImportSectionAccess();
}
public ParserRule getXImportSectionRule() {
return getXImportSectionAccess().getRule();
}
//QualifiedNameInStaticImport:
// (ValidID '.')+;
public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() {
return gaXtype.getQualifiedNameInStaticImportAccess();
}
public ParserRule getQualifiedNameInStaticImportRule() {
return getQualifiedNameInStaticImportAccess().getRule();
}
//terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | '$' | '_') ('a'..'z' | 'A'..'Z' | '$' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
return gaXtype.getIDRule();
}
//terminal STRING:
// '"' ('\\' . | !('\\' | '"'))* '"'? |
// "'" ('\\' . | !('\\' | "'"))* "'"?;
public TerminalRule getSTRINGRule() {
return gaXtype.getSTRINGRule();
}
//terminal ML_COMMENT:
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaXtype.getML_COMMENTRule();
}
//terminal SL_COMMENT:
// '//' !('\n' | '\r')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
return gaXtype.getSL_COMMENTRule();
}
//terminal WS:
// ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
return gaXtype.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
return gaXtype.getANY_OTHERRule();
}
}