|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Query
The query element is used to specify a finder or select query. It contains an optional description of the query; the specification of the finder or select method it is used by; a specification of the return type mapping, if any, if the query is for a select method; and the EJB QL query string that defines the query. Queries that are expressible in EJB QL must use the ejb-ql element to specify the query. If a query is not expressible in EJB QL, the description element should be used to describe the semantics of the query and the ejb-ql element should be empty.
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
|
org.eclipse.emf.common.util.EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
java.lang.String |
getEjbQL()
|
ContainerManagedEntity |
getEntity()
|
QueryMethod |
getQueryMethod()
|
ReturnTypeMapping |
getReturnTypeMapping()
|
boolean |
isLocalResultMapping()
Returns boolean value for ReturnTypeMapping, checks if it is of type ReturnTypeMapping.LOCAL |
boolean |
isRemoteResultMapping()
Returns boolean value for ReturnTypeMapping, checks if it is of type ReturnTypeMapping.REMOTE |
boolean |
isSetReturnTypeMapping()
Returns whether the value of the ' Return Type Mapping' attribute is set |
void |
setDescription(java.lang.String value)
|
void |
setEjbQL(java.lang.String value)
|
void |
setEntity(ContainerManagedEntity value)
Sets the value of the ' Entity' container reference |
void |
setQueryMethod(QueryMethod value)
|
void |
setReturnTypeMapping(ReturnTypeMapping value)
Sets the value of the ' Return Type Mapping' attribute |
void |
unsetReturnTypeMapping()
Unsets the value of the ' Return Type Mapping' attribute |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
boolean isLocalResultMapping()
boolean isRemoteResultMapping()
java.lang.String getDescription()
void setDescription(java.lang.String value)
value - The new value of the Description attributejava.lang.String getEjbQL()
void setEjbQL(java.lang.String value)
value - The new value of the EjbQL attributeReturnTypeMapping getReturnTypeMapping()
void setReturnTypeMapping(ReturnTypeMapping value)
Return Type Mapping' attribute.
value - the new value of the 'Return Type Mapping' attribute.ReturnTypeMapping,
isSetReturnTypeMapping(),
unsetReturnTypeMapping(),
getReturnTypeMapping()void unsetReturnTypeMapping()
Return Type Mapping' attribute.
isSetReturnTypeMapping(),
getReturnTypeMapping(),
setReturnTypeMapping(ReturnTypeMapping)boolean isSetReturnTypeMapping()
Return Type Mapping' attribute is set.
unsetReturnTypeMapping(),
getReturnTypeMapping(),
setReturnTypeMapping(ReturnTypeMapping)QueryMethod getQueryMethod()
void setQueryMethod(QueryMethod value)
value - The new value of the QueryMethod referenceContainerManagedEntity getEntity()
void setEntity(ContainerManagedEntity value)
Entity' container reference.
value - the new value of the 'Entity' container reference.getEntity()org.eclipse.emf.common.util.EList getDescriptions()
Description.
If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...
EjbPackage.getQuery_Descriptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||