org.openejb.config.ejb11
Class Query

java.lang.Object
  extended byorg.openejb.config.ejb11.Query
All Implemented Interfaces:
Serializable

public class Query
extends Object
implements Serializable

Version:
$Revision: 1.2 $ $Date: 2004/03/10 09:20:18 $
See Also:
Serialized Form

Constructor Summary
Query()
           
 
Method Summary
 String getDescription()
          Returns the value of field 'description'.
 String getObjectQl()
          Returns the value of field 'objectQl'.
 QueryMethod getQueryMethod()
          Returns the value of field 'queryMethod'.
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setDescription(String description)
          Sets the value of field 'description'.
 void setObjectQl(String objectQl)
          Sets the value of field 'objectQl'.
 void setQueryMethod(QueryMethod queryMethod)
          Sets the value of field 'queryMethod'.
static Query unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

getDescription

public String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getObjectQl

public String getObjectQl()
Returns the value of field 'objectQl'.

Returns:
the value of field 'objectQl'.

getQueryMethod

public QueryMethod getQueryMethod()
Returns the value of field 'queryMethod'.

Returns:
the value of field 'queryMethod'.

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setDescription

public void setDescription(String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setObjectQl

public void setObjectQl(String objectQl)
Sets the value of field 'objectQl'.

Parameters:
objectQl - the value of field 'objectQl'.

setQueryMethod

public void setQueryMethod(QueryMethod queryMethod)
Sets the value of field 'queryMethod'.

Parameters:
queryMethod - the value of field 'queryMethod'.

unmarshal

public static Query unmarshal(Reader reader)
                       throws org.exolab.castor.xml.MarshalException,
                              org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.