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/ResourceRequirement.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/ResourceRequirement.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/ResourceRequirement.java | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/ResourceRequirement.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/ResourceRequirement.java index db7710f5..23b578ea 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/ResourceRequirement.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src-gen/hu/bme/mit/inf/dslreasoner/domains/cps/queries/ResourceRequirement.java | |||
@@ -87,10 +87,22 @@ public final class ResourceRequirement extends BaseGeneratedEMFQuerySpecificatio | |||
87 | 87 | ||
88 | @Override | 88 | @Override |
89 | public Object get(final String parameterName) { | 89 | public Object get(final String parameterName) { |
90 | if ("Host".equals(parameterName)) return this.fHost; | 90 | switch(parameterName) { |
91 | if ("App".equals(parameterName)) return this.fApp; | 91 | case "Host": return this.fHost; |
92 | if ("Req".equals(parameterName)) return this.fReq; | 92 | case "App": return this.fApp; |
93 | return null; | 93 | case "Req": return this.fReq; |
94 | default: return null; | ||
95 | } | ||
96 | } | ||
97 | |||
98 | @Override | ||
99 | public Object get(final int index) { | ||
100 | switch(index) { | ||
101 | case 0: return this.fHost; | ||
102 | case 1: return this.fApp; | ||
103 | case 2: return this.fReq; | ||
104 | default: return null; | ||
105 | } | ||
94 | } | 106 | } |
95 | 107 | ||
96 | public HostInstance getHost() { | 108 | public HostInstance getHost() { |
@@ -721,9 +733,9 @@ public final class ResourceRequirement extends BaseGeneratedEMFQuerySpecificatio | |||
721 | } | 733 | } |
722 | 734 | ||
723 | /** | 735 | /** |
724 | * Inner class allowing the singleton instance of {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.cps.queries.ResourceRequirement (visibility: PUBLIC, simpleName: ResourceRequirement, identifier: hu.bme.mit.inf.dslreasoner.domains.cps.queries.ResourceRequirement, 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 | 736 | * Inner class allowing the singleton instance of {@link ResourceRequirement} to be created |
725 | * <b>not</b> at the class load time of the outer class, | 737 | * <b>not</b> at the class load time of the outer class, |
726 | * but rather at the first call to {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.cps.queries.ResourceRequirement (visibility: PUBLIC, simpleName: ResourceRequirement, identifier: hu.bme.mit.inf.dslreasoner.domains.cps.queries.ResourceRequirement, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.cps.queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 738 | * but rather at the first call to {@link ResourceRequirement#instance()}. |
727 | * | 739 | * |
728 | * <p> This workaround is required e.g. to support recursion. | 740 | * <p> This workaround is required e.g. to support recursion. |
729 | * | 741 | * |