org.jboss.metadata
Class QueryMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<QueryMetaData>
          extended by org.jboss.metadata.QueryMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class QueryMetaData
extends OldMetaData<QueryMetaData>

Contains information about ejb-ql queries.

Version:
$Revision: 37459 $
Author:
Dain Sundstrom, Adrian Brock

Field Summary
static String LOCAL
          Deprecated. Local
static String REMOTE
          Deprecated. Remote
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
protected QueryMetaData(org.jboss.metadata.spi.MetaData metaData)
          Deprecated. Create a new QueryMetaData.
  QueryMetaData(QueryMetaData delegate)
          Deprecated. Create a new QueryMetaData.
 
Method Summary
static QueryMetaData create(QueryMetaData delegate)
          Deprecated. Create a new QueryMetaData.
 String getDescription()
          Deprecated. Gets the user description of the query.
 String getEjbQl()
          Deprecated. Gets the ejb-ql for this query.
 String getMethodName()
          Deprecated. Gets the name of the query for which this metadata applies.
 Iterator<String> getMethodParams()
          Deprecated. Gets an iterator over the parameters of the query method.
 String getResultTypeMapping()
          Deprecated. Gets the interface type of returned ejb objects.
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REMOTE

public static final String REMOTE
Deprecated. 
Remote

See Also:
Constant Field Values

LOCAL

public static final String LOCAL
Deprecated. 
Local

See Also:
Constant Field Values
Constructor Detail

QueryMetaData

public QueryMetaData(QueryMetaData delegate)
Deprecated. 
Create a new QueryMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate

QueryMetaData

protected QueryMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. 
Create a new QueryMetaData.

Parameters:
metaData - the delegate metadata
Throws:
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an QueryMetaData
Method Detail

create

public static QueryMetaData create(QueryMetaData delegate)
Deprecated. 
Create a new QueryMetaData.

Parameters:
delegate - the delegate
Returns:
the metadata
Throws:
IllegalArgumentException - for a null delegate or an unknown delegate

getDescription

public String getDescription()
Deprecated. 
Gets the user description of the query.

Returns:
the users description of the query

getMethodName

public String getMethodName()
Deprecated. 
Gets the name of the query for which this metadata applies.

Returns:
the name of the query method

getMethodParams

public Iterator<String> getMethodParams()
Deprecated. 
Gets an iterator over the parameters of the query method.

Returns:
an iterator over the parameters of the query method.

getResultTypeMapping

public String getResultTypeMapping()
Deprecated. 
Gets the interface type of returned ejb objects. This will be Local or Remote, and the default is Local.

Returns:
the type the the interface returned for ejb objects

getEjbQl

public String getEjbQl()
Deprecated. 
Gets the ejb-ql for this query.

Returns:
the ejb-ql for this query


Copyright © 2009 JBoss Inc.. All Rights Reserved.