org.jboss.metadata.ejb.spec
Class QueryMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions
          extended by org.jboss.metadata.ejb.spec.QueryMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData

public class QueryMetaData
extends IdMetaDataImplWithDescriptions

QueryMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock, Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
QueryMetaData()
          Create a new MethodPermissionMetaData.
 
Method Summary
 String getEjbQL()
          Get the ejbQL.
 QueryMethodMetaData getQueryMethod()
          Get the queryMethod.
 ResultTypeMapping getResultTypeMapping()
          Get the resultTypeMapping.
 void setEjbQL(String ejbQL)
          Set the ejbQL.
 void setQueryMethod(QueryMethodMetaData queryMethod)
          Set the queryMethod.
 void setResultTypeMapping(ResultTypeMapping resultTypeMapping)
          Set the resultTypeMapping.
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions
getDescriptions, merge, setDescriptions
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, equals, getId, hashCode, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryMetaData

public QueryMetaData()
Create a new MethodPermissionMetaData.

Method Detail

getEjbQL

public String getEjbQL()
Get the ejbQL.

Returns:
the ejbQL.

setEjbQL

public void setEjbQL(String ejbQL)
Set the ejbQL.

Parameters:
ejbQL - the ejbQL.
Throws:
IllegalArgumentException - for a null ejbQL

getQueryMethod

public QueryMethodMetaData getQueryMethod()
Get the queryMethod.

Returns:
the queryMethod.

setQueryMethod

public void setQueryMethod(QueryMethodMetaData queryMethod)
Set the queryMethod.

Parameters:
queryMethod - the queryMethod.
Throws:
IllegalArgumentException - for a null queryMethod

getResultTypeMapping

public ResultTypeMapping getResultTypeMapping()
Get the resultTypeMapping.

Returns:
the resultTypeMapping.

setResultTypeMapping

public void setResultTypeMapping(ResultTypeMapping resultTypeMapping)
Set the resultTypeMapping.

Parameters:
resultTypeMapping - the resultTypeMapping.
Throws:
IllegalArgumentException - for a null resultTypeMapping


Copyright © 2009 JBoss Inc.. All Rights Reserved.