001// license-header java merge-point
002//
003// Attention: generated code (by Metafacade.vsl) - do not modify!
004//
005package org.andromda.cartridges.ejb3.metafacades;
006
007import org.andromda.metafacades.uml.ParameterFacade;
008
009/**
010 * Represents an argument in a EJB3 finder method.
011 *
012 * Metafacade interface to be used by AndroMDA cartridges.
013 */
014public interface EJB3FinderMethodArgumentFacade
015    extends ParameterFacade
016{
017    /**
018     * Indicates the metafacade type (used for metafacade mappings).
019     *
020     * @return boolean always <code>true</code>
021     */
022    public boolean isEJB3FinderMethodArgumentFacadeMetaType();
023
024    /**
025     * Returns the temporal type value set via tagged value on finder method parameters if one
026     * exists.  Expect one of DATE, TIME, TIMESTAMP or NONE.  This is used in the Query.setParameter
027     * method.
028     * @return String
029     */
030    public String getTemporalType();
031
032    /**
033     * Returns true if this parameter is of type enum and has ordinal values.
034     * @return boolean
035     */
036    public boolean isEnumerationTypeOrdinal();
037
038    /**
039     * Returns true if this parameter is of type enum and has string values.
040     * @return boolean
041     */
042    public boolean isEnumerationTypeString();
043
044    /**
045     * Returns true if FirstResult stereotype is applied to this finder method parameter.
046     * @return boolean
047     */
048    public boolean isFirstResult();
049
050    /**
051     * Returns true if MaxResults stereotype is applied to this finder method parameter.
052     * @return boolean
053     */
054    public boolean isMaxResults();
055}