12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610 |
- /**
- */
- package ua.ansymo.hintco.impl;
- import org.eclipse.emf.ecore.EAttribute;
- import org.eclipse.emf.ecore.EClass;
- import org.eclipse.emf.ecore.EDataType;
- import org.eclipse.emf.ecore.EOperation;
- import org.eclipse.emf.ecore.EPackage;
- import org.eclipse.emf.ecore.EReference;
- import org.eclipse.emf.ecore.EcorePackage;
- import org.eclipse.emf.ecore.impl.EPackageImpl;
- import ua.ansymo.hintco.Adaptation;
- import ua.ansymo.hintco.Alternative;
- import ua.ansymo.hintco.ApproximationAdaptation;
- import ua.ansymo.hintco.CosimUnitDeclaration;
- import ua.ansymo.hintco.CosimUnitInstance;
- import ua.ansymo.hintco.DecompositionPortAdaptation;
- import ua.ansymo.hintco.DecompositionUnitAdaptation;
- import ua.ansymo.hintco.ExtrapolationAdaptation;
- import ua.ansymo.hintco.HierarchicalCosimUnit;
- import ua.ansymo.hintco.HierarchicalUnitPort;
- import ua.ansymo.hintco.HintConfiguration;
- import ua.ansymo.hintco.HintcoFactory;
- import ua.ansymo.hintco.HintcoPackage;
- import ua.ansymo.hintco.IDed;
- import ua.ansymo.hintco.InputPortInstance;
- import ua.ansymo.hintco.InterpolationAdaptation;
- import ua.ansymo.hintco.MultiRateAdaptation;
- import ua.ansymo.hintco.OutputPortInstance;
- import ua.ansymo.hintco.PortAdaptation;
- import ua.ansymo.hintco.PortInstance;
- import ua.ansymo.hintco.PowerBondAdaptation;
- import ua.ansymo.hintco.PrecendenceNode;
- import ua.ansymo.hintco.RollbackInterpolationAdaptation;
- import ua.ansymo.hintco.RootCandidateScenario;
- import ua.ansymo.hintco.Scenario;
- import ua.ansymo.hintco.UnitAdaptation;
- import ua.ansymo.hintco.UnitInstance;
- import ua.ansymo.hintco.VariantDiagram;
- import ua.ansymo.hintco.XorPortAdaptation;
- import ua.ansymo.hintco.XorUnitAdaptation;
- /**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
- public class HintcoPackageImpl extends EPackageImpl implements HintcoPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iDedEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass hintConfigurationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass variantDiagramEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass precendenceNodeEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass rootCandidateScenarioEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass scenarioEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass hierarchicalCosimUnitEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass cosimUnitDeclarationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unitInstanceEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass cosimUnitInstanceEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass portInstanceEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass hierarchicalUnitPortEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass inputPortInstanceEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass outputPortInstanceEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass alternativeEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass adaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass portAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass decompositionPortAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unitAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass decompositionUnitAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xorUnitAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xorPortAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass approximationAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass multiRateAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass powerBondAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass extrapolationAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass rollbackInterpolationAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass interpolationAdaptationEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType intEDataType = null;
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see ua.ansymo.hintco.HintcoPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private HintcoPackageImpl() {
- super(eNS_URI, HintcoFactory.eINSTANCE);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link HintcoPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static HintcoPackage init() {
- if (isInited) return (HintcoPackage)EPackage.Registry.INSTANCE.getEPackage(HintcoPackage.eNS_URI);
- // Obtain or create and register package
- Object registeredHintcoPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
- HintcoPackageImpl theHintcoPackage = registeredHintcoPackage instanceof HintcoPackageImpl ? (HintcoPackageImpl)registeredHintcoPackage : new HintcoPackageImpl();
- isInited = true;
- // Initialize simple dependencies
- EcorePackage.eINSTANCE.eClass();
- // Create package meta-data objects
- theHintcoPackage.createPackageContents();
- // Initialize created meta-data
- theHintcoPackage.initializePackageContents();
- // Mark meta-data to indicate it can't be changed
- theHintcoPackage.freeze();
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(HintcoPackage.eNS_URI, theHintcoPackage);
- return theHintcoPackage;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIDed() {
- return iDedEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getIDed_Identifier() {
- return (EAttribute)iDedEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHintConfiguration() {
- return hintConfigurationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getHintConfiguration_Candidates() {
- return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getHintConfiguration_CsuDeclarations() {
- return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getHintConfiguration_Root() {
- return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getHintConfiguration_Nodes() {
- return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(3);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getVariantDiagram() {
- return variantDiagramEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getVariantDiagram_Children() {
- return (EReference)variantDiagramEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getVariantDiagram_Alternative() {
- return (EReference)variantDiagramEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getVariantDiagram_Name() {
- return (EAttribute)variantDiagramEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPrecendenceNode() {
- return precendenceNodeEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPrecendenceNode_Precedes() {
- return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPrecendenceNode_Succeeds() {
- return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPrecendenceNode_Before() {
- return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPrecendenceNode_After() {
- return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(3);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRootCandidateScenario() {
- return rootCandidateScenarioEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRootCandidateScenario_Name() {
- return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRootCandidateScenario_StopTime() {
- return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRootCandidateScenario_StepSize() {
- return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRootCandidateScenario_OutputStepSize() {
- return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(3);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRootCandidateScenario_MaxInitIterations() {
- return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(4);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getScenario() {
- return scenarioEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getScenario_Cosimunits() {
- return (EReference)scenarioEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHierarchicalCosimUnit() {
- return hierarchicalCosimUnitEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getHierarchicalCosimUnit__Valid() {
- return hierarchicalCosimUnitEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCosimUnitDeclaration() {
- return cosimUnitDeclarationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCosimUnitDeclaration_Path() {
- return (EAttribute)cosimUnitDeclarationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCosimUnitDeclaration_Guid() {
- return (EAttribute)cosimUnitDeclarationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUnitInstance() {
- return unitInstanceEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnitInstance_Scenario() {
- return (EReference)unitInstanceEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnitInstance_Adaptation() {
- return (EReference)unitInstanceEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnitInstance_Ports() {
- return (EReference)unitInstanceEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getUnitInstance__SelectedAdaptations() {
- return unitInstanceEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getUnitInstance__GetOutputPorts() {
- return unitInstanceEClass.getEOperations().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getUnitInstance__GetInputPorts() {
- return unitInstanceEClass.getEOperations().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getUnitInstance__ToString() {
- return unitInstanceEClass.getEOperations().get(3);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCosimUnitInstance() {
- return cosimUnitInstanceEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCosimUnitInstance_Declaration() {
- return (EReference)cosimUnitInstanceEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPortInstance() {
- return portInstanceEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPortInstance_Unit() {
- return (EReference)portInstanceEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPortInstance_Adaptation() {
- return (EReference)portInstanceEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getPortInstance__SelectedAdaptations() {
- return portInstanceEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getPortInstance__IsInput() {
- return portInstanceEClass.getEOperations().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getPortInstance__GetsValueFrom__PortInstance() {
- return portInstanceEClass.getEOperations().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getPortInstance__ToString() {
- return portInstanceEClass.getEOperations().get(3);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHierarchicalUnitPort() {
- return hierarchicalUnitPortEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getHierarchicalUnitPort__IsInput() {
- return hierarchicalUnitPortEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getHierarchicalUnitPort__AltIsInput() {
- return hierarchicalUnitPortEClass.getEOperations().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInputPortInstance() {
- return inputPortInstanceEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getInputPortInstance_ExtrapolationCost() {
- return (EAttribute)inputPortInstanceEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInputPortInstance_InternalValueTo() {
- return (EReference)inputPortInstanceEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInputPortInstance_ValueFrom() {
- return (EReference)inputPortInstanceEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getInputPortInstance__GetRealValueFrom() {
- return inputPortInstanceEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getInputPortInstance__GetsValueFrom__PortInstance() {
- return inputPortInstanceEClass.getEOperations().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getInputPortInstance__IsInput() {
- return inputPortInstanceEClass.getEOperations().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOutputPortInstance() {
- return outputPortInstanceEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOutputPortInstance_ValueTo() {
- return (EReference)outputPortInstanceEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOutputPortInstance_InternalValueFrom() {
- return (EReference)outputPortInstanceEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getOutputPortInstance__IsInput() {
- return outputPortInstanceEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAlternative() {
- return alternativeEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAlternative_Weight() {
- return (EAttribute)alternativeEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAlternative_Selected() {
- return (EAttribute)alternativeEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAlternative_Implies() {
- return (EReference)alternativeEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAdaptation() {
- return adaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPortAdaptation() {
- return portAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPortAdaptation_Port() {
- return (EReference)portAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPortAdaptation_Parent() {
- return (EReference)portAdaptationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getPortAdaptation__Adapted() {
- return portAdaptationEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDecompositionPortAdaptation() {
- return decompositionPortAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDecompositionPortAdaptation_Children() {
- return (EReference)decompositionPortAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDecompositionPortAdaptation_Name() {
- return (EAttribute)decompositionPortAdaptationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getDecompositionPortAdaptation__SelectedAdaptations() {
- return decompositionPortAdaptationEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUnitAdaptation() {
- return unitAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnitAdaptation_Unit() {
- return (EReference)unitAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnitAdaptation_Parent() {
- return (EReference)unitAdaptationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getUnitAdaptation__Adapted() {
- return unitAdaptationEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDecompositionUnitAdaptation() {
- return decompositionUnitAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDecompositionUnitAdaptation_Children() {
- return (EReference)decompositionUnitAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDecompositionUnitAdaptation_Name() {
- return (EAttribute)decompositionUnitAdaptationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getDecompositionUnitAdaptation__SelectedAdaptations() {
- return decompositionUnitAdaptationEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXorUnitAdaptation() {
- return xorUnitAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXorPortAdaptation() {
- return xorPortAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getApproximationAdaptation() {
- return approximationAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getApproximationAdaptation_Order() {
- return (EAttribute)approximationAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMultiRateAdaptation() {
- return multiRateAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiRateAdaptation_Rate() {
- return (EAttribute)multiRateAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiRateAdaptation_Name() {
- return (EAttribute)multiRateAdaptationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPowerBondAdaptation() {
- return powerBondAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPowerBondAdaptation_Effort() {
- return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPowerBondAdaptation_Flow() {
- return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(1);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPowerBondAdaptation_POut() {
- return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(2);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPowerBondAdaptation_PIn() {
- return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(3);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPowerBondAdaptation_Name() {
- return (EAttribute)powerBondAdaptationEClass.getEStructuralFeatures().get(4);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getPowerBondAdaptation__GetDual() {
- return powerBondAdaptationEClass.getEOperations().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getExtrapolationAdaptation() {
- return extrapolationAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getExtrapolationAdaptation_Name() {
- return (EAttribute)extrapolationAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRollbackInterpolationAdaptation() {
- return rollbackInterpolationAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInterpolationAdaptation() {
- return interpolationAdaptationEClass;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getInterpolationAdaptation_Name() {
- return (EAttribute)interpolationAdaptationEClass.getEStructuralFeatures().get(0);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getInt() {
- return intEDataType;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HintcoFactory getHintcoFactory() {
- return (HintcoFactory)getEFactoryInstance();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
- // Create classes and their features
- iDedEClass = createEClass(IDED);
- createEAttribute(iDedEClass, IDED__IDENTIFIER);
- hintConfigurationEClass = createEClass(HINT_CONFIGURATION);
- createEReference(hintConfigurationEClass, HINT_CONFIGURATION__CANDIDATES);
- createEReference(hintConfigurationEClass, HINT_CONFIGURATION__CSU_DECLARATIONS);
- createEReference(hintConfigurationEClass, HINT_CONFIGURATION__ROOT);
- createEReference(hintConfigurationEClass, HINT_CONFIGURATION__NODES);
- variantDiagramEClass = createEClass(VARIANT_DIAGRAM);
- createEReference(variantDiagramEClass, VARIANT_DIAGRAM__CHILDREN);
- createEReference(variantDiagramEClass, VARIANT_DIAGRAM__ALTERNATIVE);
- createEAttribute(variantDiagramEClass, VARIANT_DIAGRAM__NAME);
- precendenceNodeEClass = createEClass(PRECENDENCE_NODE);
- createEReference(precendenceNodeEClass, PRECENDENCE_NODE__PRECEDES);
- createEReference(precendenceNodeEClass, PRECENDENCE_NODE__SUCCEEDS);
- createEReference(precendenceNodeEClass, PRECENDENCE_NODE__BEFORE);
- createEReference(precendenceNodeEClass, PRECENDENCE_NODE__AFTER);
- rootCandidateScenarioEClass = createEClass(ROOT_CANDIDATE_SCENARIO);
- createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__NAME);
- createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__STOP_TIME);
- createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__STEP_SIZE);
- createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__OUTPUT_STEP_SIZE);
- createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__MAX_INIT_ITERATIONS);
- scenarioEClass = createEClass(SCENARIO);
- createEReference(scenarioEClass, SCENARIO__COSIMUNITS);
- hierarchicalCosimUnitEClass = createEClass(HIERARCHICAL_COSIM_UNIT);
- createEOperation(hierarchicalCosimUnitEClass, HIERARCHICAL_COSIM_UNIT___VALID);
- cosimUnitDeclarationEClass = createEClass(COSIM_UNIT_DECLARATION);
- createEAttribute(cosimUnitDeclarationEClass, COSIM_UNIT_DECLARATION__PATH);
- createEAttribute(cosimUnitDeclarationEClass, COSIM_UNIT_DECLARATION__GUID);
- unitInstanceEClass = createEClass(UNIT_INSTANCE);
- createEReference(unitInstanceEClass, UNIT_INSTANCE__SCENARIO);
- createEReference(unitInstanceEClass, UNIT_INSTANCE__ADAPTATION);
- createEReference(unitInstanceEClass, UNIT_INSTANCE__PORTS);
- createEOperation(unitInstanceEClass, UNIT_INSTANCE___SELECTED_ADAPTATIONS);
- createEOperation(unitInstanceEClass, UNIT_INSTANCE___GET_OUTPUT_PORTS);
- createEOperation(unitInstanceEClass, UNIT_INSTANCE___GET_INPUT_PORTS);
- createEOperation(unitInstanceEClass, UNIT_INSTANCE___TO_STRING);
- cosimUnitInstanceEClass = createEClass(COSIM_UNIT_INSTANCE);
- createEReference(cosimUnitInstanceEClass, COSIM_UNIT_INSTANCE__DECLARATION);
- portInstanceEClass = createEClass(PORT_INSTANCE);
- createEReference(portInstanceEClass, PORT_INSTANCE__UNIT);
- createEReference(portInstanceEClass, PORT_INSTANCE__ADAPTATION);
- createEOperation(portInstanceEClass, PORT_INSTANCE___SELECTED_ADAPTATIONS);
- createEOperation(portInstanceEClass, PORT_INSTANCE___IS_INPUT);
- createEOperation(portInstanceEClass, PORT_INSTANCE___GETS_VALUE_FROM__PORTINSTANCE);
- createEOperation(portInstanceEClass, PORT_INSTANCE___TO_STRING);
- hierarchicalUnitPortEClass = createEClass(HIERARCHICAL_UNIT_PORT);
- createEOperation(hierarchicalUnitPortEClass, HIERARCHICAL_UNIT_PORT___IS_INPUT);
- createEOperation(hierarchicalUnitPortEClass, HIERARCHICAL_UNIT_PORT___ALT_IS_INPUT);
- inputPortInstanceEClass = createEClass(INPUT_PORT_INSTANCE);
- createEAttribute(inputPortInstanceEClass, INPUT_PORT_INSTANCE__EXTRAPOLATION_COST);
- createEReference(inputPortInstanceEClass, INPUT_PORT_INSTANCE__INTERNAL_VALUE_TO);
- createEReference(inputPortInstanceEClass, INPUT_PORT_INSTANCE__VALUE_FROM);
- createEOperation(inputPortInstanceEClass, INPUT_PORT_INSTANCE___GET_REAL_VALUE_FROM);
- createEOperation(inputPortInstanceEClass, INPUT_PORT_INSTANCE___GETS_VALUE_FROM__PORTINSTANCE);
- createEOperation(inputPortInstanceEClass, INPUT_PORT_INSTANCE___IS_INPUT);
- outputPortInstanceEClass = createEClass(OUTPUT_PORT_INSTANCE);
- createEReference(outputPortInstanceEClass, OUTPUT_PORT_INSTANCE__VALUE_TO);
- createEReference(outputPortInstanceEClass, OUTPUT_PORT_INSTANCE__INTERNAL_VALUE_FROM);
- createEOperation(outputPortInstanceEClass, OUTPUT_PORT_INSTANCE___IS_INPUT);
- alternativeEClass = createEClass(ALTERNATIVE);
- createEAttribute(alternativeEClass, ALTERNATIVE__WEIGHT);
- createEAttribute(alternativeEClass, ALTERNATIVE__SELECTED);
- createEReference(alternativeEClass, ALTERNATIVE__IMPLIES);
- adaptationEClass = createEClass(ADAPTATION);
- portAdaptationEClass = createEClass(PORT_ADAPTATION);
- createEReference(portAdaptationEClass, PORT_ADAPTATION__PORT);
- createEReference(portAdaptationEClass, PORT_ADAPTATION__PARENT);
- createEOperation(portAdaptationEClass, PORT_ADAPTATION___ADAPTED);
- decompositionPortAdaptationEClass = createEClass(DECOMPOSITION_PORT_ADAPTATION);
- createEReference(decompositionPortAdaptationEClass, DECOMPOSITION_PORT_ADAPTATION__CHILDREN);
- createEAttribute(decompositionPortAdaptationEClass, DECOMPOSITION_PORT_ADAPTATION__NAME);
- createEOperation(decompositionPortAdaptationEClass, DECOMPOSITION_PORT_ADAPTATION___SELECTED_ADAPTATIONS);
- unitAdaptationEClass = createEClass(UNIT_ADAPTATION);
- createEReference(unitAdaptationEClass, UNIT_ADAPTATION__UNIT);
- createEReference(unitAdaptationEClass, UNIT_ADAPTATION__PARENT);
- createEOperation(unitAdaptationEClass, UNIT_ADAPTATION___ADAPTED);
- decompositionUnitAdaptationEClass = createEClass(DECOMPOSITION_UNIT_ADAPTATION);
- createEReference(decompositionUnitAdaptationEClass, DECOMPOSITION_UNIT_ADAPTATION__CHILDREN);
- createEAttribute(decompositionUnitAdaptationEClass, DECOMPOSITION_UNIT_ADAPTATION__NAME);
- createEOperation(decompositionUnitAdaptationEClass, DECOMPOSITION_UNIT_ADAPTATION___SELECTED_ADAPTATIONS);
- xorUnitAdaptationEClass = createEClass(XOR_UNIT_ADAPTATION);
- xorPortAdaptationEClass = createEClass(XOR_PORT_ADAPTATION);
- approximationAdaptationEClass = createEClass(APPROXIMATION_ADAPTATION);
- createEAttribute(approximationAdaptationEClass, APPROXIMATION_ADAPTATION__ORDER);
- multiRateAdaptationEClass = createEClass(MULTI_RATE_ADAPTATION);
- createEAttribute(multiRateAdaptationEClass, MULTI_RATE_ADAPTATION__RATE);
- createEAttribute(multiRateAdaptationEClass, MULTI_RATE_ADAPTATION__NAME);
- powerBondAdaptationEClass = createEClass(POWER_BOND_ADAPTATION);
- createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__EFFORT);
- createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__FLOW);
- createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__POUT);
- createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__PIN);
- createEAttribute(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__NAME);
- createEOperation(powerBondAdaptationEClass, POWER_BOND_ADAPTATION___GET_DUAL);
- extrapolationAdaptationEClass = createEClass(EXTRAPOLATION_ADAPTATION);
- createEAttribute(extrapolationAdaptationEClass, EXTRAPOLATION_ADAPTATION__NAME);
- rollbackInterpolationAdaptationEClass = createEClass(ROLLBACK_INTERPOLATION_ADAPTATION);
- interpolationAdaptationEClass = createEClass(INTERPOLATION_ADAPTATION);
- createEAttribute(interpolationAdaptationEClass, INTERPOLATION_ADAPTATION__NAME);
- // Create data types
- intEDataType = createEDataType(INT);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
- // Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- // Create type parameters
- // Set bounds for type parameters
- // Add supertypes to classes
- variantDiagramEClass.getESuperTypes().add(this.getIDed());
- rootCandidateScenarioEClass.getESuperTypes().add(this.getIDed());
- rootCandidateScenarioEClass.getESuperTypes().add(this.getAlternative());
- rootCandidateScenarioEClass.getESuperTypes().add(this.getScenario());
- scenarioEClass.getESuperTypes().add(this.getIDed());
- hierarchicalCosimUnitEClass.getESuperTypes().add(this.getScenario());
- hierarchicalCosimUnitEClass.getESuperTypes().add(this.getUnitInstance());
- cosimUnitDeclarationEClass.getESuperTypes().add(this.getIDed());
- unitInstanceEClass.getESuperTypes().add(this.getIDed());
- unitInstanceEClass.getESuperTypes().add(this.getPrecendenceNode());
- cosimUnitInstanceEClass.getESuperTypes().add(this.getUnitInstance());
- portInstanceEClass.getESuperTypes().add(this.getPrecendenceNode());
- portInstanceEClass.getESuperTypes().add(this.getIDed());
- hierarchicalUnitPortEClass.getESuperTypes().add(this.getInputPortInstance());
- hierarchicalUnitPortEClass.getESuperTypes().add(this.getOutputPortInstance());
- inputPortInstanceEClass.getESuperTypes().add(this.getPortInstance());
- outputPortInstanceEClass.getESuperTypes().add(this.getPortInstance());
- adaptationEClass.getESuperTypes().add(this.getAlternative());
- portAdaptationEClass.getESuperTypes().add(this.getAdaptation());
- decompositionPortAdaptationEClass.getESuperTypes().add(this.getPortAdaptation());
- unitAdaptationEClass.getESuperTypes().add(this.getAdaptation());
- decompositionUnitAdaptationEClass.getESuperTypes().add(this.getUnitAdaptation());
- xorUnitAdaptationEClass.getESuperTypes().add(this.getDecompositionUnitAdaptation());
- xorPortAdaptationEClass.getESuperTypes().add(this.getDecompositionPortAdaptation());
- approximationAdaptationEClass.getESuperTypes().add(this.getPortAdaptation());
- multiRateAdaptationEClass.getESuperTypes().add(this.getUnitAdaptation());
- powerBondAdaptationEClass.getESuperTypes().add(this.getUnitAdaptation());
- extrapolationAdaptationEClass.getESuperTypes().add(this.getApproximationAdaptation());
- rollbackInterpolationAdaptationEClass.getESuperTypes().add(this.getExtrapolationAdaptation());
- interpolationAdaptationEClass.getESuperTypes().add(this.getApproximationAdaptation());
- // Initialize classes, features, and operations; add parameters
- initEClass(iDedEClass, IDed.class, "IDed", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getIDed_Identifier(), theEcorePackage.getEString(), "identifier", null, 0, 1, IDed.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(hintConfigurationEClass, HintConfiguration.class, "HintConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHintConfiguration_Candidates(), this.getRootCandidateScenario(), null, "candidates", null, 0, -1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getHintConfiguration_CsuDeclarations(), this.getCosimUnitDeclaration(), null, "csuDeclarations", null, 0, -1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getHintConfiguration_Root(), this.getVariantDiagram(), null, "root", null, 0, 1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getHintConfiguration_Nodes(), this.getVariantDiagram(), null, "nodes", null, 0, -1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(variantDiagramEClass, VariantDiagram.class, "VariantDiagram", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getVariantDiagram_Children(), this.getVariantDiagram(), null, "children", null, 0, -1, VariantDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getVariantDiagram_Alternative(), this.getAlternative(), null, "alternative", null, 0, 1, VariantDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getVariantDiagram_Name(), theEcorePackage.getEString(), "name", null, 0, 1, VariantDiagram.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEClass(precendenceNodeEClass, PrecendenceNode.class, "PrecendenceNode", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPrecendenceNode_Precedes(), this.getPrecendenceNode(), this.getPrecendenceNode_Succeeds(), "precedes", null, 0, -1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPrecendenceNode_Succeeds(), this.getPrecendenceNode(), this.getPrecendenceNode_Precedes(), "succeeds", null, 0, -1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPrecendenceNode_Before(), this.getPrecendenceNode(), this.getPrecendenceNode_After(), "before", null, 0, 1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPrecendenceNode_After(), this.getPrecendenceNode(), this.getPrecendenceNode_Before(), "after", null, 0, 1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(rootCandidateScenarioEClass, RootCandidateScenario.class, "RootCandidateScenario", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRootCandidateScenario_Name(), theEcorePackage.getEString(), "name", null, 0, 1, RootCandidateScenario.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEAttribute(getRootCandidateScenario_StopTime(), theEcorePackage.getEDouble(), "stopTime", null, 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRootCandidateScenario_StepSize(), theEcorePackage.getEDouble(), "stepSize", null, 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRootCandidateScenario_OutputStepSize(), theEcorePackage.getEDouble(), "outputStepSize", null, 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRootCandidateScenario_MaxInitIterations(), theEcorePackage.getEInt(), "maxInitIterations", "10", 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(scenarioEClass, Scenario.class, "Scenario", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getScenario_Cosimunits(), this.getUnitInstance(), this.getUnitInstance_Scenario(), "cosimunits", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(hierarchicalCosimUnitEClass, HierarchicalCosimUnit.class, "HierarchicalCosimUnit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEOperation(getHierarchicalCosimUnit__Valid(), theEcorePackage.getEBoolean(), "valid", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(cosimUnitDeclarationEClass, CosimUnitDeclaration.class, "CosimUnitDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCosimUnitDeclaration_Path(), theEcorePackage.getEString(), "path", null, 0, 1, CosimUnitDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCosimUnitDeclaration_Guid(), theEcorePackage.getEString(), "guid", null, 0, 1, CosimUnitDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(unitInstanceEClass, UnitInstance.class, "UnitInstance", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getUnitInstance_Scenario(), this.getScenario(), this.getScenario_Cosimunits(), "scenario", null, 0, 1, UnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUnitInstance_Adaptation(), this.getUnitAdaptation(), this.getUnitAdaptation_Unit(), "adaptation", null, 0, 1, UnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUnitInstance_Ports(), this.getPortInstance(), this.getPortInstance_Unit(), "ports", null, 0, -1, UnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEOperation(getUnitInstance__SelectedAdaptations(), this.getUnitAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getUnitInstance__GetOutputPorts(), this.getOutputPortInstance(), "getOutputPorts", 0, -1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getUnitInstance__GetInputPorts(), this.getInputPortInstance(), "getInputPorts", 0, -1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getUnitInstance__ToString(), theEcorePackage.getEString(), "toString", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(cosimUnitInstanceEClass, CosimUnitInstance.class, "CosimUnitInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCosimUnitInstance_Declaration(), this.getCosimUnitDeclaration(), null, "declaration", null, 1, 1, CosimUnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(portInstanceEClass, PortInstance.class, "PortInstance", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPortInstance_Unit(), this.getUnitInstance(), this.getUnitInstance_Ports(), "unit", null, 0, 1, PortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPortInstance_Adaptation(), this.getPortAdaptation(), this.getPortAdaptation_Port(), "adaptation", null, 0, 1, PortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEOperation(getPortInstance__SelectedAdaptations(), this.getPortAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getPortInstance__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
- EOperation op = initEOperation(getPortInstance__GetsValueFrom__PortInstance(), theEcorePackage.getEBoolean(), "getsValueFrom", 0, 1, !IS_UNIQUE, IS_ORDERED);
- addEParameter(op, this.getPortInstance(), "p", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getPortInstance__ToString(), theEcorePackage.getEString(), "toString", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(hierarchicalUnitPortEClass, HierarchicalUnitPort.class, "HierarchicalUnitPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEOperation(getHierarchicalUnitPort__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getHierarchicalUnitPort__AltIsInput(), theEcorePackage.getEBoolean(), "altIsInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(inputPortInstanceEClass, InputPortInstance.class, "InputPortInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInputPortInstance_ExtrapolationCost(), theEcorePackage.getEFloat(), "extrapolationCost", "1.0", 0, 1, InputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInputPortInstance_InternalValueTo(), this.getOutputPortInstance(), this.getOutputPortInstance_InternalValueFrom(), "internalValueTo", null, 0, -1, InputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInputPortInstance_ValueFrom(), this.getOutputPortInstance(), this.getOutputPortInstance_ValueTo(), "valueFrom", null, 0, 1, InputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEOperation(getInputPortInstance__GetRealValueFrom(), this.getOutputPortInstance(), "getRealValueFrom", 0, 1, !IS_UNIQUE, IS_ORDERED);
- op = initEOperation(getInputPortInstance__GetsValueFrom__PortInstance(), theEcorePackage.getEBoolean(), "getsValueFrom", 0, 1, !IS_UNIQUE, IS_ORDERED);
- addEParameter(op, this.getPortInstance(), "p", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEOperation(getInputPortInstance__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(outputPortInstanceEClass, OutputPortInstance.class, "OutputPortInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOutputPortInstance_ValueTo(), this.getInputPortInstance(), this.getInputPortInstance_ValueFrom(), "valueTo", null, 0, -1, OutputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOutputPortInstance_InternalValueFrom(), this.getInputPortInstance(), this.getInputPortInstance_InternalValueTo(), "internalValueFrom", null, 0, -1, OutputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEOperation(getOutputPortInstance__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(alternativeEClass, Alternative.class, "Alternative", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAlternative_Weight(), theEcorePackage.getEInt(), "weight", null, 0, 1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAlternative_Selected(), theEcorePackage.getEBoolean(), "selected", null, 0, 1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternative_Implies(), this.getAlternative(), null, "implies", null, 0, -1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(adaptationEClass, Adaptation.class, "Adaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(portAdaptationEClass, PortAdaptation.class, "PortAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPortAdaptation_Port(), this.getPortInstance(), this.getPortInstance_Adaptation(), "port", null, 0, 1, PortAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPortAdaptation_Parent(), this.getDecompositionPortAdaptation(), this.getDecompositionPortAdaptation_Children(), "parent", null, 0, 1, PortAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEOperation(getPortAdaptation__Adapted(), this.getPortInstance(), "adapted", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(decompositionPortAdaptationEClass, DecompositionPortAdaptation.class, "DecompositionPortAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDecompositionPortAdaptation_Children(), this.getPortAdaptation(), this.getPortAdaptation_Parent(), "children", null, 0, -1, DecompositionPortAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDecompositionPortAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DecompositionPortAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEOperation(getDecompositionPortAdaptation__SelectedAdaptations(), this.getPortAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
- initEClass(unitAdaptationEClass, UnitAdaptation.class, "UnitAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getUnitAdaptation_Unit(), this.getUnitInstance(), this.getUnitInstance_Adaptation(), "unit", null, 0, 1, UnitAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUnitAdaptation_Parent(), this.getDecompositionUnitAdaptation(), this.getDecompositionUnitAdaptation_Children(), "parent", null, 0, 1, UnitAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEOperation(getUnitAdaptation__Adapted(), this.getUnitInstance(), "adapted", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(decompositionUnitAdaptationEClass, DecompositionUnitAdaptation.class, "DecompositionUnitAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDecompositionUnitAdaptation_Children(), this.getUnitAdaptation(), this.getUnitAdaptation_Parent(), "children", null, 0, -1, DecompositionUnitAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDecompositionUnitAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DecompositionUnitAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEOperation(getDecompositionUnitAdaptation__SelectedAdaptations(), this.getUnitAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
- initEClass(xorUnitAdaptationEClass, XorUnitAdaptation.class, "XorUnitAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(xorPortAdaptationEClass, XorPortAdaptation.class, "XorPortAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(approximationAdaptationEClass, ApproximationAdaptation.class, "ApproximationAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getApproximationAdaptation_Order(), theEcorePackage.getEInt(), "order", null, 0, 1, ApproximationAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(multiRateAdaptationEClass, MultiRateAdaptation.class, "MultiRateAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMultiRateAdaptation_Rate(), theEcorePackage.getEInt(), "rate", null, 0, 1, MultiRateAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiRateAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MultiRateAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEClass(powerBondAdaptationEClass, PowerBondAdaptation.class, "PowerBondAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPowerBondAdaptation_Effort(), this.getPortInstance(), null, "effort", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPowerBondAdaptation_Flow(), this.getPortInstance(), null, "flow", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPowerBondAdaptation_POut(), this.getOutputPortInstance(), null, "pOut", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPowerBondAdaptation_PIn(), this.getInputPortInstance(), null, "pIn", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPowerBondAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, PowerBondAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEOperation(getPowerBondAdaptation__GetDual(), this.getPowerBondAdaptation(), "getDual", 0, 1, !IS_UNIQUE, IS_ORDERED);
- initEClass(extrapolationAdaptationEClass, ExtrapolationAdaptation.class, "ExtrapolationAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getExtrapolationAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ExtrapolationAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEClass(rollbackInterpolationAdaptationEClass, RollbackInterpolationAdaptation.class, "RollbackInterpolationAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(interpolationAdaptationEClass, InterpolationAdaptation.class, "InterpolationAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInterpolationAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, InterpolationAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- // Initialize data types
- initEDataType(intEDataType, int.class, "Int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- // Create resource
- createResource(eNS_URI);
- }
- } //HintcoPackageImpl
|