001// license-header java merge-point
002//
003// Attention: generated code (by Metafacade.vsl) - do not modify!
004//
005package org.andromda.metafacades.uml;
006
007/**
008 * Represents a persistent entity finder method.
009 *
010 * Metafacade interface to be used by AndroMDA cartridges.
011 */
012public interface EntityQueryOperation
013    extends OperationFacade
014{
015    /**
016     * Indicates the metafacade type (used for metafacade mappings).
017     *
018     * @return boolean always <code>true</code>
019     */
020    public boolean isEntityQueryOperationMetaType();
021
022    /**
023     * The query string for this EntityFinderMethod.  The query returned is based on the
024     * 'translation' passed in.  The translation must be one available to AndroMDA found with a
025     * translation-library.
026     * @param translation String
027     * @return String
028     */
029    public String getQuery(String translation);
030}