EclipseLink 2.4.0, build 'v20120608-r11652' API Reference

org.eclipse.persistence.jpa.rs.metadata.model
Class Query

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.metadata.model.Query

public class Query
extends java.lang.Object


Field Summary
protected  java.lang.String jpql
           
protected  LinkTemplate linkTemplate
           
protected  java.lang.String queryName
           
protected  java.util.List<java.lang.String> returnTypes
           
 
Constructor Summary
Query()
           
Query(java.lang.String queryName, java.lang.String jpql, LinkTemplate linkTemplate)
           
 
Method Summary
 java.lang.String getJpql()
           
 LinkTemplate getLinkTemplate()
           
 java.lang.String getQueryName()
           
 java.util.List<java.lang.String> getReturnTypes()
           
 void setJpql(java.lang.String jpql)
           
 void setLinkTemplate(LinkTemplate linkTemplate)
           
 void setQueryName(java.lang.String queryName)
           
 void setReturnTypes(java.util.List<java.lang.String> returnTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryName

protected java.lang.String queryName

jpql

protected java.lang.String jpql

linkTemplate

protected LinkTemplate linkTemplate

returnTypes

protected java.util.List<java.lang.String> returnTypes
Constructor Detail

Query

public Query()

Query

public Query(java.lang.String queryName,
             java.lang.String jpql,
             LinkTemplate linkTemplate)
Method Detail

getQueryName

public java.lang.String getQueryName()

setQueryName

public void setQueryName(java.lang.String queryName)

getJpql

public java.lang.String getJpql()

setJpql

public void setJpql(java.lang.String jpql)

getLinkTemplate

public LinkTemplate getLinkTemplate()

setLinkTemplate

public void setLinkTemplate(LinkTemplate linkTemplate)

getReturnTypes

public java.util.List<java.lang.String> getReturnTypes()

setReturnTypes

public void setReturnTypes(java.util.List<java.lang.String> returnTypes)

EclipseLink 2.4.0, build 'v20120608-r11652' API Reference