|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.QueryType
public class QueryType
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".
Java class for queryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="queryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" minOccurs="0"/>
<element name="query-method" type="{http://java.sun.com/xml/ns/javaee}query-methodType"/>
<element name="result-type-mapping" type="{http://java.sun.com/xml/ns/javaee}result-type-mappingType" minOccurs="0"/>
<element name="ejb-ql" type="{http://java.sun.com/xml/ns/javaee}xsdStringType"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected DescriptionType |
description
|
protected XsdStringType |
ejbQl
|
protected String |
id
|
protected QueryMethodType |
queryMethod
|
protected ResultTypeMappingType |
resultTypeMapping
|
| Constructor Summary | |
|---|---|
QueryType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.QueryType instance. |
|
QueryType(QueryType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.QueryType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
QueryType |
clone()
Creates and returns a copy of this object. |
DescriptionType |
getDescription()
Gets the value of the description property. |
XsdStringType |
getEjbQl()
Gets the value of the ejbQl property. |
String |
getId()
Gets the value of the id property. |
QueryMethodType |
getQueryMethod()
Gets the value of the queryMethod property. |
ResultTypeMappingType |
getResultTypeMapping()
Gets the value of the resultTypeMapping property. |
void |
setDescription(DescriptionType value)
Sets the value of the description property. |
void |
setEjbQl(XsdStringType value)
Sets the value of the ejbQl property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setQueryMethod(QueryMethodType value)
Sets the value of the queryMethod property. |
void |
setResultTypeMapping(ResultTypeMappingType value)
Sets the value of the resultTypeMapping property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType description
protected QueryMethodType queryMethod
protected ResultTypeMappingType resultTypeMapping
protected XsdStringType ejbQl
protected String id
| Constructor Detail |
|---|
public QueryType()
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.QueryType instance.
public QueryType(QueryType o)
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.QueryType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType getDescription()
DescriptionTypepublic void setDescription(DescriptionType value)
value - allowed object is
DescriptionTypepublic QueryMethodType getQueryMethod()
QueryMethodTypepublic void setQueryMethod(QueryMethodType value)
value - allowed object is
QueryMethodTypepublic ResultTypeMappingType getResultTypeMapping()
ResultTypeMappingTypepublic void setResultTypeMapping(ResultTypeMappingType value)
value - allowed object is
ResultTypeMappingTypepublic XsdStringType getEjbQl()
XsdStringTypepublic void setEjbQl(XsdStringType value)
value - allowed object is
XsdStringTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic QueryType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||