1 // license-header java merge-point
2 //
3 // Attention: generated code (by Metafacade.vsl) - do not modify!
4 //
5 package org.andromda.metafacades.uml;
6
7 /**
8 * Represents a persistent entity finder method.
9 *
10 * Metafacade interface to be used by AndroMDA cartridges.
11 */
12 public interface EntityQueryOperation
13 extends OperationFacade
14 {
15 /**
16 * Indicates the metafacade type (used for metafacade mappings).
17 *
18 * @return boolean always <code>true</code>
19 */
20 public boolean isEntityQueryOperationMetaType();
21
22 /**
23 * The query string for this EntityFinderMethod. The query returned is based on the
24 * 'translation' passed in. The translation must be one available to AndroMDA found with a
25 * translation-library.
26 * @param translation String
27 * @return String
28 */
29 public String getQuery(String translation);
30 }