|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCDeclaredQueryMetaData
Imutable class contains information about a declated query.
Constructor Summary | |
JDBCDeclaredQueryMetaData(boolean isResultTypeMappingLocal,
org.w3c.dom.Element queryElement,
java.lang.reflect.Method method,
JDBCReadAheadMetaData (src) readAhead,
java.lang.Class compiler,
boolean lazyResultSetLoading)
Constructs a JDBCDeclaredQueryMetaData which is defined by the declared-sql xml element and is invoked by the specified method. |
|
JDBCDeclaredQueryMetaData(JDBCDeclaredQueryMetaData (src) defaults,
JDBCReadAheadMetaData (src) readAhead,
java.lang.Class compiler,
boolean lazyResultSetLoading)
Constructs a JDBCDeclaredQueryMetaData which is defined by the declared-sql xml element and is invoked by the specified method. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Compares this JDBCDeclaredQueryMetaData against the specified object. |
java.lang.String |
getAdditionalColumns()
Additional columns that should be added to the select clause. |
java.lang.String |
getAlias()
The alias that is used for the select table. |
java.lang.String |
getEJBName()
The name of the ejb from which the field will be selected. |
java.lang.String |
getFieldName()
The name of the cmp-field to be selected. |
java.lang.String |
getFrom()
Gets the sql FROM clause of this query. |
java.lang.reflect.Method |
getMethod()
Gets the method which invokes this query. |
java.lang.String |
getOrder()
Gets the sql ORDER BY clause of this query. |
java.lang.String |
getOther()
Gets other sql code which is appended to the end of the query. |
java.lang.Class |
getQLCompilerClass()
|
JDBCReadAheadMetaData (src) |
getReadAhead()
Gets the read ahead metadata for the query. |
java.lang.String |
getWhere()
Gets the sql WHERE clause of this query. |
int |
hashCode()
Returns a hashcode for this JDBCDeclaredQueryMetaData. |
boolean |
isLazyResultSetLoading()
|
boolean |
isResultTypeMappingLocal()
Is the result set of ejbSelect is mapped to local ejb objects or remote ejb objects. |
boolean |
isSelectDistinct()
Should the select be DISTINCT? |
java.lang.String |
toString()
Returns a string describing this JDBCDeclaredQueryMetaData. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JDBCDeclaredQueryMetaData(JDBCDeclaredQueryMetaData (src) defaults, JDBCReadAheadMetaData (src) readAhead, java.lang.Class compiler, boolean lazyResultSetLoading) throws DeploymentException (src)
defaults
- the default values to usereadAhead
- the read-ahead properties for this querypublic JDBCDeclaredQueryMetaData(boolean isResultTypeMappingLocal, org.w3c.dom.Element queryElement, java.lang.reflect.Method method, JDBCReadAheadMetaData (src) readAhead, java.lang.Class compiler, boolean lazyResultSetLoading) throws DeploymentException (src)
queryElement
- the xml Element which contains the metadata about
this querymethod
- the method which invokes this queryreadAhead
- the read-ahead properties for this queryMethod Detail |
public java.lang.reflect.Method getMethod()
JDBCQueryMetaData (src)
getMethod
in interface JDBCQueryMetaData (src)
public boolean isResultTypeMappingLocal()
JDBCQueryMetaData (src)
isResultTypeMappingLocal
in interface JDBCQueryMetaData (src)
public JDBCReadAheadMetaData (src) getReadAhead()
getReadAhead
in interface JDBCQueryMetaData (src)
public java.lang.Class getQLCompilerClass()
getQLCompilerClass
in interface JDBCQueryMetaData (src)
public java.lang.String getFrom()
public java.lang.String getWhere()
public java.lang.String getOrder()
public java.lang.String getOther()
public boolean isSelectDistinct()
public java.lang.String getEJBName()
public java.lang.String getFieldName()
public java.lang.String getAlias()
public java.lang.String getAdditionalColumns()
public boolean isLazyResultSetLoading()
isLazyResultSetLoading
in interface JDBCQueryMetaData (src)
public boolean equals(java.lang.Object o)
o
- the reference object with which to compare
public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |