diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SmallSat.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SmallSat.java | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SmallSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SmallSat.java index 4791740e..7bc497ab 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SmallSat.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SmallSat.java | |||
@@ -64,11 +64,11 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
64 | * | 64 | * |
65 | */ | 65 | */ |
66 | public static abstract class Match extends BasePatternMatch { | 66 | public static abstract class Match extends BasePatternMatch { |
67 | private satellite.SmallSat fSat; | 67 | private hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat fSat; |
68 | 68 | ||
69 | private static List<String> parameterNames = makeImmutableList("Sat"); | 69 | private static List<String> parameterNames = makeImmutableList("Sat"); |
70 | 70 | ||
71 | private Match(final satellite.SmallSat pSat) { | 71 | private Match(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
72 | this.fSat = pSat; | 72 | this.fSat = pSat; |
73 | } | 73 | } |
74 | 74 | ||
@@ -78,7 +78,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
78 | return null; | 78 | return null; |
79 | } | 79 | } |
80 | 80 | ||
81 | public satellite.SmallSat getSat() { | 81 | public hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat getSat() { |
82 | return this.fSat; | 82 | return this.fSat; |
83 | } | 83 | } |
84 | 84 | ||
@@ -86,13 +86,13 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
86 | public boolean set(final String parameterName, final Object newValue) { | 86 | public boolean set(final String parameterName, final Object newValue) { |
87 | if (!isMutable()) throw new java.lang.UnsupportedOperationException(); | 87 | if (!isMutable()) throw new java.lang.UnsupportedOperationException(); |
88 | if ("Sat".equals(parameterName) ) { | 88 | if ("Sat".equals(parameterName) ) { |
89 | this.fSat = (satellite.SmallSat) newValue; | 89 | this.fSat = (hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat) newValue; |
90 | return true; | 90 | return true; |
91 | } | 91 | } |
92 | return false; | 92 | return false; |
93 | } | 93 | } |
94 | 94 | ||
95 | public void setSat(final satellite.SmallSat pSat) { | 95 | public void setSat(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
96 | if (!isMutable()) throw new java.lang.UnsupportedOperationException(); | 96 | if (!isMutable()) throw new java.lang.UnsupportedOperationException(); |
97 | this.fSat = pSat; | 97 | this.fSat = pSat; |
98 | } | 98 | } |
@@ -173,7 +173,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
173 | * @return the new, mutable (partial) match object. | 173 | * @return the new, mutable (partial) match object. |
174 | * | 174 | * |
175 | */ | 175 | */ |
176 | public static SmallSat.Match newMutableMatch(final satellite.SmallSat pSat) { | 176 | public static SmallSat.Match newMutableMatch(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
177 | return new Mutable(pSat); | 177 | return new Mutable(pSat); |
178 | } | 178 | } |
179 | 179 | ||
@@ -185,12 +185,12 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
185 | * @return the (partial) match object. | 185 | * @return the (partial) match object. |
186 | * | 186 | * |
187 | */ | 187 | */ |
188 | public static SmallSat.Match newMatch(final satellite.SmallSat pSat) { | 188 | public static SmallSat.Match newMatch(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
189 | return new Immutable(pSat); | 189 | return new Immutable(pSat); |
190 | } | 190 | } |
191 | 191 | ||
192 | private static final class Mutable extends SmallSat.Match { | 192 | private static final class Mutable extends SmallSat.Match { |
193 | Mutable(final satellite.SmallSat pSat) { | 193 | Mutable(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
194 | super(pSat); | 194 | super(pSat); |
195 | } | 195 | } |
196 | 196 | ||
@@ -201,7 +201,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
201 | } | 201 | } |
202 | 202 | ||
203 | private static final class Immutable extends SmallSat.Match { | 203 | private static final class Immutable extends SmallSat.Match { |
204 | Immutable(final satellite.SmallSat pSat) { | 204 | Immutable(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
205 | super(pSat); | 205 | super(pSat); |
206 | } | 206 | } |
207 | 207 | ||
@@ -282,7 +282,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
282 | * @return matches represented as a Match object. | 282 | * @return matches represented as a Match object. |
283 | * | 283 | * |
284 | */ | 284 | */ |
285 | public Collection<SmallSat.Match> getAllMatches(final satellite.SmallSat pSat) { | 285 | public Collection<SmallSat.Match> getAllMatches(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
286 | return rawStreamAllMatches(new Object[]{pSat}).collect(Collectors.toSet()); | 286 | return rawStreamAllMatches(new Object[]{pSat}).collect(Collectors.toSet()); |
287 | } | 287 | } |
288 | 288 | ||
@@ -296,7 +296,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
296 | * @return a stream of matches represented as a Match object. | 296 | * @return a stream of matches represented as a Match object. |
297 | * | 297 | * |
298 | */ | 298 | */ |
299 | public Stream<SmallSat.Match> streamAllMatches(final satellite.SmallSat pSat) { | 299 | public Stream<SmallSat.Match> streamAllMatches(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
300 | return rawStreamAllMatches(new Object[]{pSat}); | 300 | return rawStreamAllMatches(new Object[]{pSat}); |
301 | } | 301 | } |
302 | 302 | ||
@@ -307,7 +307,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
307 | * @return a match represented as a Match object, or null if no match is found. | 307 | * @return a match represented as a Match object, or null if no match is found. |
308 | * | 308 | * |
309 | */ | 309 | */ |
310 | public Optional<SmallSat.Match> getOneArbitraryMatch(final satellite.SmallSat pSat) { | 310 | public Optional<SmallSat.Match> getOneArbitraryMatch(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
311 | return rawGetOneArbitraryMatch(new Object[]{pSat}); | 311 | return rawGetOneArbitraryMatch(new Object[]{pSat}); |
312 | } | 312 | } |
313 | 313 | ||
@@ -318,7 +318,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
318 | * @return true if the input is a valid (partial) match of the pattern. | 318 | * @return true if the input is a valid (partial) match of the pattern. |
319 | * | 319 | * |
320 | */ | 320 | */ |
321 | public boolean hasMatch(final satellite.SmallSat pSat) { | 321 | public boolean hasMatch(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
322 | return rawHasMatch(new Object[]{pSat}); | 322 | return rawHasMatch(new Object[]{pSat}); |
323 | } | 323 | } |
324 | 324 | ||
@@ -328,7 +328,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
328 | * @return the number of pattern matches found. | 328 | * @return the number of pattern matches found. |
329 | * | 329 | * |
330 | */ | 330 | */ |
331 | public int countMatches(final satellite.SmallSat pSat) { | 331 | public int countMatches(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
332 | return rawCountMatches(new Object[]{pSat}); | 332 | return rawCountMatches(new Object[]{pSat}); |
333 | } | 333 | } |
334 | 334 | ||
@@ -340,7 +340,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
340 | * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked | 340 | * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked |
341 | * | 341 | * |
342 | */ | 342 | */ |
343 | public boolean forOneArbitraryMatch(final satellite.SmallSat pSat, final Consumer<? super SmallSat.Match> processor) { | 343 | public boolean forOneArbitraryMatch(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat, final Consumer<? super SmallSat.Match> processor) { |
344 | return rawForOneArbitraryMatch(new Object[]{pSat}, processor); | 344 | return rawForOneArbitraryMatch(new Object[]{pSat}, processor); |
345 | } | 345 | } |
346 | 346 | ||
@@ -352,7 +352,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
352 | * @return the (partial) match object. | 352 | * @return the (partial) match object. |
353 | * | 353 | * |
354 | */ | 354 | */ |
355 | public SmallSat.Match newMatch(final satellite.SmallSat pSat) { | 355 | public SmallSat.Match newMatch(final hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat pSat) { |
356 | return SmallSat.Match.newMatch(pSat); | 356 | return SmallSat.Match.newMatch(pSat); |
357 | } | 357 | } |
358 | 358 | ||
@@ -361,8 +361,8 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
361 | * @return the Set of all values or empty set if there are no matches | 361 | * @return the Set of all values or empty set if there are no matches |
362 | * | 362 | * |
363 | */ | 363 | */ |
364 | protected Stream<satellite.SmallSat> rawStreamAllValuesOfSat(final Object[] parameters) { | 364 | protected Stream<hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat> rawStreamAllValuesOfSat(final Object[] parameters) { |
365 | return rawStreamAllValues(POSITION_SAT, parameters).map(satellite.SmallSat.class::cast); | 365 | return rawStreamAllValues(POSITION_SAT, parameters).map(hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat.class::cast); |
366 | } | 366 | } |
367 | 367 | ||
368 | /** | 368 | /** |
@@ -370,7 +370,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
370 | * @return the Set of all values or empty set if there are no matches | 370 | * @return the Set of all values or empty set if there are no matches |
371 | * | 371 | * |
372 | */ | 372 | */ |
373 | public Set<satellite.SmallSat> getAllValuesOfSat() { | 373 | public Set<hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat> getAllValuesOfSat() { |
374 | return rawStreamAllValuesOfSat(emptyArray()).collect(Collectors.toSet()); | 374 | return rawStreamAllValuesOfSat(emptyArray()).collect(Collectors.toSet()); |
375 | } | 375 | } |
376 | 376 | ||
@@ -379,14 +379,14 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
379 | * @return the Set of all values or empty set if there are no matches | 379 | * @return the Set of all values or empty set if there are no matches |
380 | * | 380 | * |
381 | */ | 381 | */ |
382 | public Stream<satellite.SmallSat> streamAllValuesOfSat() { | 382 | public Stream<hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat> streamAllValuesOfSat() { |
383 | return rawStreamAllValuesOfSat(emptyArray()); | 383 | return rawStreamAllValuesOfSat(emptyArray()); |
384 | } | 384 | } |
385 | 385 | ||
386 | @Override | 386 | @Override |
387 | protected SmallSat.Match tupleToMatch(final Tuple t) { | 387 | protected SmallSat.Match tupleToMatch(final Tuple t) { |
388 | try { | 388 | try { |
389 | return SmallSat.Match.newMatch((satellite.SmallSat) t.get(POSITION_SAT)); | 389 | return SmallSat.Match.newMatch((hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat) t.get(POSITION_SAT)); |
390 | } catch(ClassCastException e) { | 390 | } catch(ClassCastException e) { |
391 | LOGGER.error("Element(s) in tuple not properly typed!",e); | 391 | LOGGER.error("Element(s) in tuple not properly typed!",e); |
392 | return null; | 392 | return null; |
@@ -396,7 +396,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
396 | @Override | 396 | @Override |
397 | protected SmallSat.Match arrayToMatch(final Object[] match) { | 397 | protected SmallSat.Match arrayToMatch(final Object[] match) { |
398 | try { | 398 | try { |
399 | return SmallSat.Match.newMatch((satellite.SmallSat) match[POSITION_SAT]); | 399 | return SmallSat.Match.newMatch((hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat) match[POSITION_SAT]); |
400 | } catch(ClassCastException e) { | 400 | } catch(ClassCastException e) { |
401 | LOGGER.error("Element(s) in array not properly typed!",e); | 401 | LOGGER.error("Element(s) in array not properly typed!",e); |
402 | return null; | 402 | return null; |
@@ -406,7 +406,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
406 | @Override | 406 | @Override |
407 | protected SmallSat.Match arrayToMatchMutable(final Object[] match) { | 407 | protected SmallSat.Match arrayToMatchMutable(final Object[] match) { |
408 | try { | 408 | try { |
409 | return SmallSat.Match.newMutableMatch((satellite.SmallSat) match[POSITION_SAT]); | 409 | return SmallSat.Match.newMutableMatch((hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat) match[POSITION_SAT]); |
410 | } catch(ClassCastException e) { | 410 | } catch(ClassCastException e) { |
411 | LOGGER.error("Element(s) in array not properly typed!",e); | 411 | LOGGER.error("Element(s) in array not properly typed!",e); |
412 | return null; | 412 | return null; |
@@ -457,7 +457,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
457 | 457 | ||
458 | @Override | 458 | @Override |
459 | public SmallSat.Match newMatch(final Object... parameters) { | 459 | public SmallSat.Match newMatch(final Object... parameters) { |
460 | return SmallSat.Match.newMatch((satellite.SmallSat) parameters[0]); | 460 | return SmallSat.Match.newMatch((hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat) parameters[0]); |
461 | } | 461 | } |
462 | 462 | ||
463 | /** | 463 | /** |
@@ -489,7 +489,7 @@ public final class SmallSat extends BaseGeneratedEMFQuerySpecification<SmallSat. | |||
489 | private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { | 489 | private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { |
490 | private static final SmallSat.GeneratedPQuery INSTANCE = new GeneratedPQuery(); | 490 | private static final SmallSat.GeneratedPQuery INSTANCE = new GeneratedPQuery(); |
491 | 491 | ||
492 | private final PParameter parameter_Sat = new PParameter("Sat", "satellite.SmallSat", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/satellite", "SmallSat")), PParameterDirection.INOUT); | 492 | private final PParameter parameter_Sat = new PParameter("Sat", "hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/satellite", "SmallSat")), PParameterDirection.INOUT); |
493 | 493 | ||
494 | private final List<PParameter> parameters = Arrays.asList(parameter_Sat); | 494 | private final List<PParameter> parameters = Arrays.asList(parameter_Sat); |
495 | 495 | ||