oracle.toplink.queryframework
Class ObjectLevelModifyQuery
java.lang.Object
|
+--oracle.toplink.queryframework.DatabaseQuery
|
+--oracle.toplink.queryframework.ModifyQuery
|
+--oracle.toplink.queryframework.ObjectLevelModifyQuery
- All Implemented Interfaces:
- java.lang.Cloneable, oracle.toplink.internal.helper.FalseUndefinedTrue, java.io.Serializable
- Direct Known Subclasses:
- DeleteObjectQuery, WriteObjectQuery
- public abstract class ObjectLevelModifyQuery
- extends ModifyQuery
Purpose:
Abstract class for all object modify queries.
Responsibilities:
- Stores & retrieves the object to modify.
- Stores & retrieves the primary key of the objects.
- Since:
- TOPLink/Java 1.0
- See Also:
- Serialized Form
Fields inherited from interface oracle.toplink.internal.helper.FalseUndefinedTrue |
False, True, Undefined |
Type | Method |
java.lang.Object |
getObject()
PUBLIC:
Return the object required for modification. |
java.lang.Class |
getReferenceClass()
Return the domain class associated with this query. |
boolean |
isObjectLevelModifyQuery()
PUBLIC:
Return if this is an object level modify query. |
void |
setObject(java.lang.Object object)
PUBLIC (REQUIRED):
Set the object required for modification. |
java.lang.String |
toString()
|
Methods inherited from class oracle.toplink.queryframework.DatabaseQuery |
addArgument, addArgument,
addArgument, addArgumentValue,
addArgumentValues, addCall, addStatement,
bindAllParameters, cacheStatement, cascadeAllParts,
cascadePrivateParts, dontBindAllParameters, dontCacheStatement,
dontCascadeParts, dontMaintainCache, getCall,
getEJBQLString, getName, getQueryTimeout,
getRedirector, getSelectionCriteria, getSessionName,
getSQLStatement, getSQLString, getTranslatedSQLString, hasSessionName, ignoreBindAllParameters,
ignoreCacheStatement, isCallQuery, isDataModifyQuery,
isDataReadQuery, isDeleteObjectQuery, isExpressionQuery,
isObjectLevelReadQuery, isReadAllQuery, isReadObjectQuery,
isReadQuery, isReportQuery, isSQLCallQuery,
isWriteObjectQuery, maintainCache, prepareCall, setCall, setEJBQLString,
setName, setQueryTimeout, setRedirector,
setSelectionCriteria, setSessionName,
setShouldBindAllParameters, setShouldCacheStatement,
setShouldMaintainCache, setShouldPrepare, setShouldUseWrapperPolicy,
setSQLStatement, setSQLString,
shouldBindAllParameters, shouldCacheStatement, shouldCascadeAllParts,
shouldCascadeParts, shouldCascadePrivateParts, shouldIgnoreBindAllParameters,
shouldIgnoreCacheStatement, shouldMaintainCache, shouldPrepare,
shouldUseWrapperPolicy |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectLevelModifyQuery
public ObjectLevelModifyQuery()
- PUBLIC:
Initialize the state of the query.
getObject
public java.lang.Object getObject()
- PUBLIC:
Return the object required for modification.
getReferenceClass
public java.lang.Class getReferenceClass()
- Return the domain class associated with this query.
- Overrides:
getReferenceClass
in class DatabaseQuery
isObjectLevelModifyQuery
public boolean isObjectLevelModifyQuery()
- PUBLIC:
Return if this is an object level modify query.
- Overrides:
isObjectLevelModifyQuery
in class DatabaseQuery
setObject
public void setObject(java.lang.Object object)
- PUBLIC (REQUIRED):
Set the object required for modification.
toString
public java.lang.String toString()
- Overrides:
toString
in class DatabaseQuery