com.ail.core.persistence.jdo
Class Query

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.persistence.jdo.Query
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Query
extends Type

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Query()
           
 
Method Summary
 void bind(java.lang.Boolean param)
           
 java.lang.String getQuery()
          Getter returning the value of the query property.
 java.lang.String getQueryCDATA()
          Getter returning the value of the query property wrapped in CDATA tags.
 void setQuery(java.lang.String query)
          Setter to update the value of the query property.
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

getQuery

public java.lang.String getQuery()
Getter returning the value of the query property. The text of the query - OQL, SQL, etc

Returns:
Value of the query property

setQuery

public void setQuery(java.lang.String query)
Setter to update the value of the query property. The text of the query - OQL, SQL, etc

Parameters:
query - New value for the query property

getQueryCDATA

public java.lang.String getQueryCDATA()
Getter returning the value of the query property wrapped in CDATA tags. The text of the query - OQL, SQL, etc

Returns:
Value of the query property

bind

public void bind(java.lang.Boolean param)