org.datanucleus.store.rdbms.sql.operation
Class AbstractSQLOperation

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.operation.AbstractSQLOperation
All Implemented Interfaces:
SQLOperation
Direct Known Subclasses:
Concat2Operation, Concat3Operation, ConcatOperation, Mod2Operation, Mod3Operation, ModOperation, NumericToString2Operation, NumericToString3Operation, NumericToStringOperation

public abstract class AbstractSQLOperation
extends java.lang.Object
implements SQLOperation

Abstract representation for SQLOperations.


Field Summary
protected  SQLExpressionFactory exprFactory
           
 
Constructor Summary
AbstractSQLOperation()
           
 
Method Summary
protected  org.datanucleus.store.mapped.mapping.JavaTypeMapping getMappingForClass(java.lang.Class cls)
          Accessor for the mapping for a particular class.
 void setExpressionFactory(SQLExpressionFactory exprFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.datanucleus.store.rdbms.sql.operation.SQLOperation
getExpression
 

Field Detail

exprFactory

protected SQLExpressionFactory exprFactory
Constructor Detail

AbstractSQLOperation

public AbstractSQLOperation()
Method Detail

setExpressionFactory

public void setExpressionFactory(SQLExpressionFactory exprFactory)
Specified by:
setExpressionFactory in interface SQLOperation

getMappingForClass

protected org.datanucleus.store.mapped.mapping.JavaTypeMapping getMappingForClass(java.lang.Class cls)
Accessor for the mapping for a particular class. For use by subclasses to generate the mapping for use in the returned SQLExpression.

Parameters:
cls - The class we want a mapping to represent
Returns:
The mapping


Copyright © 2009. All Rights Reserved.