diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java index 5410b693..bd02fa5b 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java | |||
@@ -81,9 +81,20 @@ public final class PatternContent extends BaseGeneratedEMFQuerySpecification<Pat | |||
81 | 81 | ||
82 | @Override | 82 | @Override |
83 | public Object get(final String parameterName) { | 83 | public Object get(final String parameterName) { |
84 | if ("o1".equals(parameterName)) return this.fO1; | 84 | switch(parameterName) { |
85 | if ("o2".equals(parameterName)) return this.fO2; | 85 | case "o1": return this.fO1; |
86 | return null; | 86 | case "o2": return this.fO2; |
87 | default: return null; | ||
88 | } | ||
89 | } | ||
90 | |||
91 | @Override | ||
92 | public Object get(final int index) { | ||
93 | switch(index) { | ||
94 | case 0: return this.fO1; | ||
95 | case 1: return this.fO2; | ||
96 | default: return null; | ||
97 | } | ||
87 | } | 98 | } |
88 | 99 | ||
89 | public Dir getO1() { | 100 | public Dir getO1() { |
@@ -613,9 +624,9 @@ public final class PatternContent extends BaseGeneratedEMFQuerySpecification<Pat | |||
613 | } | 624 | } |
614 | 625 | ||
615 | /** | 626 | /** |
616 | * Inner class allowing the singleton instance of {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.PatternContent (visibility: PUBLIC, simpleName: PatternContent, identifier: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.PatternContent, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.alloyexamples) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 627 | * Inner class allowing the singleton instance of {@link PatternContent} to be created |
617 | * <b>not</b> at the class load time of the outer class, | 628 | * <b>not</b> at the class load time of the outer class, |
618 | * but rather at the first call to {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.PatternContent (visibility: PUBLIC, simpleName: PatternContent, identifier: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.PatternContent, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.alloyexamples) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 629 | * but rather at the first call to {@link PatternContent#instance()}. |
619 | * | 630 | * |
620 | * <p> This workaround is required e.g. to support recursion. | 631 | * <p> This workaround is required e.g. to support recursion. |
621 | * | 632 | * |