org.oasis.ebxml.registry.bindings.query
Class AdhocQueryRequestChoice

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.query.AdhocQueryRequestChoice
All Implemented Interfaces:
java.io.Serializable

public class AdhocQueryRequestChoice
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AdhocQueryRequestChoice()
           
 
Method Summary
 FilterQuery getFilterQuery()
          Returns the value of field 'filterQuery'.
 java.lang.String getSQLQuery()
          Returns the value of field 'SQLQuery'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setFilterQuery(FilterQuery filterQuery)
          Sets the value of field 'filterQuery'.
 void setSQLQuery(java.lang.String SQLQuery)
          Sets the value of field 'SQLQuery'.
static AdhocQueryRequestChoice unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdhocQueryRequestChoice

public AdhocQueryRequestChoice()
Method Detail

getFilterQuery

public FilterQuery getFilterQuery()
Returns the value of field 'filterQuery'.

Returns:
the value of field 'filterQuery'.

getSQLQuery

public java.lang.String getSQLQuery()
Returns the value of field 'SQLQuery'.

Returns:
the value of field 'SQLQuery'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.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(org.xml.sax.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

setFilterQuery

public void setFilterQuery(FilterQuery filterQuery)
Sets the value of field 'filterQuery'.

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

setSQLQuery

public void setSQLQuery(java.lang.String SQLQuery)
Sets the value of field 'SQLQuery'.

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

unmarshal

public static AdhocQueryRequestChoice unmarshal(java.io.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