diff options
author | Kristóf Marussy <kris7topher@gmail.com> | 2019-10-29 16:40:23 +0100 |
---|---|---|
committer | Kristóf Marussy <kris7topher@gmail.com> | 2019-10-29 16:40:23 +0100 |
commit | d46494bb753225652f48e42f47411297693a03ab (patch) | |
tree | f7a156caa871eb5c59b4960d0ce7fbbb4adefe72 /Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java | |
parent | Merge remote-tracking branch 'origin/master' into kris (diff) | |
download | VIATRA-Generator-d46494bb753225652f48e42f47411297693a03ab.tar.gz VIATRA-Generator-d46494bb753225652f48e42f47411297693a03ab.tar.zst VIATRA-Generator-d46494bb753225652f48e42f47411297693a03ab.zip |
Remove MDEOptimiser dependency
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java index 830dc8a0..1fc70124 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/Allocate.java | |||
@@ -105,9 +105,20 @@ public final class Allocate extends BaseGeneratedEMFQuerySpecification<Allocate. | |||
105 | 105 | ||
106 | @Override | 106 | @Override |
107 | public Object get(final String parameterName) { | 107 | public Object get(final String parameterName) { |
108 | if ("App".equals(parameterName)) return this.fApp; | 108 | switch(parameterName) { |
109 | if ("Host".equals(parameterName)) return this.fHost; | 109 | case "App": return this.fApp; |
110 | return null; | 110 | case "Host": return this.fHost; |
111 | default: return null; | ||
112 | } | ||
113 | } | ||
114 | |||
115 | @Override | ||
116 | public Object get(final int index) { | ||
117 | switch(index) { | ||
118 | case 0: return this.fApp; | ||
119 | case 1: return this.fHost; | ||
120 | default: return null; | ||
121 | } | ||
111 | } | 122 | } |
112 | 123 | ||
113 | public ApplicationInstance getApp() { | 124 | public ApplicationInstance getApp() { |
@@ -650,9 +661,9 @@ public final class Allocate extends BaseGeneratedEMFQuerySpecification<Allocate. | |||
650 | } | 661 | } |
651 | 662 | ||
652 | /** | 663 | /** |
653 | * Inner class allowing the singleton instance of {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.cps.queries.Allocate (visibility: PUBLIC, simpleName: Allocate, identifier: hu.bme.mit.inf.dslreasoner.domains.cps.queries.Allocate, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.cps.queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 664 | * Inner class allowing the singleton instance of {@link Allocate} to be created |
654 | * <b>not</b> at the class load time of the outer class, | 665 | * <b>not</b> at the class load time of the outer class, |
655 | * but rather at the first call to {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.cps.queries.Allocate (visibility: PUBLIC, simpleName: Allocate, identifier: hu.bme.mit.inf.dslreasoner.domains.cps.queries.Allocate, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.cps.queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 666 | * but rather at the first call to {@link Allocate#instance()}. |
656 | * | 667 | * |
657 | * <p> This workaround is required e.g. to support recursion. | 668 | * <p> This workaround is required e.g. to support recursion. |
658 | * | 669 | * |