diff options
Diffstat (limited to 'Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java')
-rw-r--r-- | Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java index cecbe2d8..c98014f5 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java | |||
@@ -85,9 +85,20 @@ public final class NonSymmetricOpposite extends BaseGeneratedEMFQuerySpecificati | |||
85 | 85 | ||
86 | @Override | 86 | @Override |
87 | public Object get(final String parameterName) { | 87 | public Object get(final String parameterName) { |
88 | if ("a".equals(parameterName)) return this.fA; | 88 | switch(parameterName) { |
89 | if ("b".equals(parameterName)) return this.fB; | 89 | case "a": return this.fA; |
90 | return null; | 90 | case "b": return this.fB; |
91 | default: return null; | ||
92 | } | ||
93 | } | ||
94 | |||
95 | @Override | ||
96 | public Object get(final int index) { | ||
97 | switch(index) { | ||
98 | case 0: return this.fA; | ||
99 | case 1: return this.fB; | ||
100 | default: return null; | ||
101 | } | ||
91 | } | 102 | } |
92 | 103 | ||
93 | public EReference getA() { | 104 | public EReference getA() { |
@@ -619,9 +630,9 @@ public final class NonSymmetricOpposite extends BaseGeneratedEMFQuerySpecificati | |||
619 | } | 630 | } |
620 | 631 | ||
621 | /** | 632 | /** |
622 | * Inner class allowing the singleton instance of {@link JvmGenericType: queries.NonSymmetricOpposite (visibility: PUBLIC, simpleName: NonSymmetricOpposite, identifier: queries.NonSymmetricOpposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 633 | * Inner class allowing the singleton instance of {@link NonSymmetricOpposite} to be created |
623 | * <b>not</b> at the class load time of the outer class, | 634 | * <b>not</b> at the class load time of the outer class, |
624 | * but rather at the first call to {@link JvmGenericType: queries.NonSymmetricOpposite (visibility: PUBLIC, simpleName: NonSymmetricOpposite, identifier: queries.NonSymmetricOpposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 635 | * but rather at the first call to {@link NonSymmetricOpposite#instance()}. |
625 | * | 636 | * |
626 | * <p> This workaround is required e.g. to support recursion. | 637 | * <p> This workaround is required e.g. to support recursion. |
627 | * | 638 | * |