org.eclipse.jst.j2ee.ejb
Interface QueryMethod

All Superinterfaces:
J2EEEObject, MethodElement

public interface QueryMethod
extends MethodElement

Since:
1.0

Field Summary
static java.lang.String FIND_PREFIX
           
static java.lang.String SELECT_PREFIX
           
 
Fields inherited from interface org.eclipse.jst.j2ee.ejb.MethodElement
COMMA, LEFT_PAREN, RIGHT_PAREN
 
Method Summary
 JavaClass[] getClientTypeJavaClasses()
          Return an array of JavaClasses of all the interfaces or bean class that this method is presented to a client.
 Query getQuery()
           
 void setQuery(Query value)
           
 
Methods inherited from interface org.eclipse.jst.j2ee.ejb.MethodElement
addMethodParams, applyZeroParams, equalSignature, getDescription, getDescriptions, getEnterpriseBean, getMethodParams, getMethods, getMostSpecific, getName, getParms, getSignature, getType, getTypeJavaClass, hasMethodParams, initializeFromSignature, isDefault, isEquivalent, isHome, isLocal, isLocalHome, isRemote, isSetType, isUnspecified, isValid, nameAndParamsEquals, removeMethodParams, represents, setDescription, setEnterpriseBean, setIdToReadableString, setName, setParms, setType, uniquelyIdentifies, unsetType
 

Field Detail

SELECT_PREFIX

public static final java.lang.String SELECT_PREFIX
See Also:
Constant Field Values

FIND_PREFIX

public static final java.lang.String FIND_PREFIX
See Also:
Constant Field Values
Method Detail

getQuery

public Query getQuery()
Returns:
The Query reference

setQuery

public void setQuery(Query value)
Parameters:
value - The new value of the Query reference

getClientTypeJavaClasses

public JavaClass[] getClientTypeJavaClasses()
Return an array of JavaClasses of all the interfaces or bean class that this method is presented to a client. If it is an ejbSelect... on the bean class will be returned and if it if a find both home interfaces will be returned if they exist. May return null.

Returns:
array of JavaClass