net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee
Interface QueryMethodType

All Known Implementing Classes:
QueryMethodTypeImpl

public interface QueryMethodType

The query-method specifies the method for a finder or select query. The method-name element specifies the name of a finder or select method in the entity bean's implementation class. Each method-param must be defined for a query-method using the method-params element. It is used by the query-method element. Example: Method finds large orders findLargeOrders SELECT OBJECT(o) FROM Order o WHERE o.amount > 1000

Java class for query-methodType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="query-methodType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="method-name" type="{http://java.sun.com/xml/ns/javaee}method-nameType"/>
         <element name="method-params" type="{http://java.sun.com/xml/ns/javaee}method-paramsType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getId()
          Gets the value of the id property.
 MethodNameType getMethodName()
          Gets the value of the methodName property.
 MethodParamsType getMethodParams()
          Gets the value of the methodParams property.
 void setId(String value)
          Sets the value of the id property.
 void setMethodName(MethodNameType value)
          Sets the value of the methodName property.
 void setMethodParams(MethodParamsType value)
          Sets the value of the methodParams property.
 

Method Detail

getMethodName

MethodNameType getMethodName()
Gets the value of the methodName property.

Returns:
possible object is MethodNameType

setMethodName

void setMethodName(MethodNameType value)
Sets the value of the methodName property.

Parameters:
value - allowed object is MethodNameType

getMethodParams

MethodParamsType getMethodParams()
Gets the value of the methodParams property.

Returns:
possible object is MethodParamsType

setMethodParams

void setMethodParams(MethodParamsType value)
Sets the value of the methodParams property.

Parameters:
value - allowed object is MethodParamsType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.