net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee
Class QueryMethodType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.QueryMethodType
All Implemented Interfaces:
Serializable, Cloneable

public class QueryMethodType
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  MethodNameType methodName
           
protected  MethodParamsType methodParams
           
 
Constructor Summary
QueryMethodType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.QueryMethodType instance.
QueryMethodType(QueryMethodType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.QueryMethodType instance by copying a given instance.
 
Method Summary
 QueryMethodType clone()
          Creates and returns a copy of this object.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodName

protected MethodNameType methodName

methodParams

protected MethodParamsType methodParams

id

protected String id
Constructor Detail

QueryMethodType

public QueryMethodType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.QueryMethodType instance.


QueryMethodType

public QueryMethodType(QueryMethodType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.QueryMethodType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getMethodName

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

Returns:
possible object is MethodNameType

setMethodName

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

Parameters:
value - allowed object is MethodNameType

getMethodParams

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

Returns:
possible object is MethodParamsType

setMethodParams

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

Parameters:
value - allowed object is MethodParamsType

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

clone

public QueryMethodType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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