|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
|
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 |
Method Detail |
public boolean isLocalResultMapping()
public boolean isRemoteResultMapping()
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- The new value of the Description attributepublic java.lang.String getEjbQL()
public void setEjbQL(java.lang.String value)
value
- The new value of the EjbQL attributepublic ReturnTypeMapping getReturnTypeMapping()
public void setReturnTypeMapping(ReturnTypeMapping value)
Return Type Mapping
' attribute.
value
- the new value of the 'Return Type Mapping' attribute.ReturnTypeMapping
,
isSetReturnTypeMapping()
,
unsetReturnTypeMapping()
,
getReturnTypeMapping()
public void unsetReturnTypeMapping()
Return Type Mapping
' attribute.
isSetReturnTypeMapping()
,
getReturnTypeMapping()
,
setReturnTypeMapping(ReturnTypeMapping)
public boolean isSetReturnTypeMapping()
Return Type Mapping
' attribute is set.
unsetReturnTypeMapping()
,
getReturnTypeMapping()
,
setReturnTypeMapping(ReturnTypeMapping)
public QueryMethod getQueryMethod()
public void setQueryMethod(QueryMethod value)
value
- The new value of the QueryMethod referencepublic ContainerManagedEntity getEntity()
public void setEntity(ContainerManagedEntity value)
Entity
' container reference.
value
- the new value of the 'Entity' container reference.getEntity()
public 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 |