diff options
author | 2019-10-29 16:40:23 +0100 | |
---|---|---|
committer | 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/CpsCost.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/CpsCost.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/CpsCost.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/CpsCost.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/CpsCost.java index fc90ef12..1cf09b0d 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/CpsCost.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/CpsCost.java | |||
@@ -91,9 +91,20 @@ public final class CpsCost extends BaseGeneratedEMFQuerySpecification<CpsCost.Ma | |||
91 | 91 | ||
92 | @Override | 92 | @Override |
93 | public Object get(final String parameterName) { | 93 | public Object get(final String parameterName) { |
94 | if ("Cps".equals(parameterName)) return this.fCps; | 94 | switch(parameterName) { |
95 | if ("Cost".equals(parameterName)) return this.fCost; | 95 | case "Cps": return this.fCps; |
96 | return null; | 96 | case "Cost": return this.fCost; |
97 | default: return null; | ||
98 | } | ||
99 | } | ||
100 | |||
101 | @Override | ||
102 | public Object get(final int index) { | ||
103 | switch(index) { | ||
104 | case 0: return this.fCps; | ||
105 | case 1: return this.fCost; | ||
106 | default: return null; | ||
107 | } | ||
97 | } | 108 | } |
98 | 109 | ||
99 | public CyberPhysicalSystem getCps() { | 110 | public CyberPhysicalSystem getCps() { |
@@ -625,9 +636,9 @@ public final class CpsCost extends BaseGeneratedEMFQuerySpecification<CpsCost.Ma | |||
625 | } | 636 | } |
626 | 637 | ||
627 | /** | 638 | /** |
628 | * Inner class allowing the singleton instance of {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.cps.queries.CpsCost (visibility: PUBLIC, simpleName: CpsCost, identifier: hu.bme.mit.inf.dslreasoner.domains.cps.queries.CpsCost, 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 | 639 | * Inner class allowing the singleton instance of {@link CpsCost} to be created |
629 | * <b>not</b> at the class load time of the outer class, | 640 | * <b>not</b> at the class load time of the outer class, |
630 | * but rather at the first call to {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.cps.queries.CpsCost (visibility: PUBLIC, simpleName: CpsCost, identifier: hu.bme.mit.inf.dslreasoner.domains.cps.queries.CpsCost, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.cps.queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 641 | * but rather at the first call to {@link CpsCost#instance()}. |
631 | * | 642 | * |
632 | * <p> This workaround is required e.g. to support recursion. | 643 | * <p> This workaround is required e.g. to support recursion. |
633 | * | 644 | * |