|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryType
A representation of the model object 'Query Type'. The queryType defines 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 - an optional specification of the result type mapping, if the query is for a select method and entity objects are returned. - 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. The result-type-mapping is an optional element. It can only be present if the query-method specifies a select method that returns entity objects. The default value for the result-type-mapping element is "Local".
The following features are supported:
EjbJar21Package.getQueryType()
Method Summary | |
---|---|
DescriptionType |
getDescription()
Returns the value of the 'Description' containment reference. |
XsdStringType |
getEjbQl()
Returns the value of the 'Ejb Ql' containment reference. |
java.lang.String |
getId()
Returns the value of the 'Id' attribute. |
QueryMethodType |
getQueryMethod()
Returns the value of the 'Query Method' containment reference. |
ResultTypeMappingType |
getResultTypeMapping()
Returns the value of the 'Result Type Mapping' containment reference. |
void |
setDescription(DescriptionType value)
Sets the value of the ' Description ' containment reference. |
void |
setEjbQl(XsdStringType value)
Sets the value of the ' Ejb Ql ' containment reference. |
void |
setId(java.lang.String value)
Sets the value of the ' Id ' attribute. |
void |
setQueryMethod(QueryMethodType value)
Sets the value of the ' Query Method ' containment reference. |
void |
setResultTypeMapping(ResultTypeMappingType value)
Sets the value of the ' Result Type Mapping ' containment reference. |
Method Detail |
---|
DescriptionType getDescription()
If the meaning of the 'Description' containment reference isn't clear, there really should be more of a description here...
setDescription(DescriptionType)
,
EjbJar21Package.getQueryType_Description()
void setDescription(DescriptionType value)
Description
' containment reference.
value
- the new value of the 'Description' containment reference.getDescription()
QueryMethodType getQueryMethod()
If the meaning of the 'Query Method' containment reference isn't clear, there really should be more of a description here...
setQueryMethod(QueryMethodType)
,
EjbJar21Package.getQueryType_QueryMethod()
void setQueryMethod(QueryMethodType value)
Query Method
' containment reference.
value
- the new value of the 'Query Method' containment reference.getQueryMethod()
ResultTypeMappingType getResultTypeMapping()
If the meaning of the 'Result Type Mapping' containment reference isn't clear, there really should be more of a description here...
setResultTypeMapping(ResultTypeMappingType)
,
EjbJar21Package.getQueryType_ResultTypeMapping()
void setResultTypeMapping(ResultTypeMappingType value)
Result Type Mapping
' containment reference.
value
- the new value of the 'Result Type Mapping' containment reference.getResultTypeMapping()
XsdStringType getEjbQl()
If the meaning of the 'Ejb Ql' containment reference isn't clear, there really should be more of a description here...
setEjbQl(XsdStringType)
,
EjbJar21Package.getQueryType_EjbQl()
void setEjbQl(XsdStringType value)
Ejb Ql
' containment reference.
value
- the new value of the 'Ejb Ql' containment reference.getEjbQl()
java.lang.String getId()
If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...
setId(String)
,
EjbJar21Package.getQueryType_Id()
void setId(java.lang.String value)
Id
' attribute.
value
- the new value of the 'Id' attribute.getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |