FileDocCategorySizeDatePackage
SQLModifyStatement.javaAPI DocGlassfish v2 API3641Tue May 22 16:54:32 BST 2007oracle.toplink.essentials.internal.expressions

SQLModifyStatement

public abstract class SQLModifyStatement extends SQLStatement

Purpose: Mirror SQL behavior.

Responsibilities:

  • Mirror SQL behavior.
  • Print as SQL string.
author
Dorin Sandu
since
TOPLink/Java 1.0

Fields Summary
protected DatabaseTable
table
protected AbstractRecord
modifyRow
protected Vector
returnFields
Constructors Summary
Methods Summary
public oracle.toplink.essentials.internal.databaseaccess.DatabaseCallbuildCall(oracle.toplink.essentials.internal.sessions.AbstractSession session)

        SQLCall sqlCall = buildCallWithoutReturning(session);
        if ((getReturnFields() == null) || getReturnFields().isEmpty()) {
            return sqlCall;
        } else {
            return session.getPlatform().buildCallWithReturning(sqlCall, getReturnFields());
        }
    
protected oracle.toplink.essentials.queryframework.SQLCallbuildCallWithoutReturning(oracle.toplink.essentials.internal.sessions.AbstractSession session)

        return null;
    
public oracle.toplink.essentials.internal.sessions.AbstractRecordgetModifyRow()

        return modifyRow;
    
public java.util.VectorgetReturnFields()

        return returnFields;
    
public oracle.toplink.essentials.internal.helper.DatabaseTablegetTable()

        return table;
    
public voidsetModifyRow(oracle.toplink.essentials.internal.sessions.AbstractRecord row)

        modifyRow = row;
    
public voidsetReturnFields(java.util.Vector fields)

        returnFields = fields;
    
public voidsetTable(oracle.toplink.essentials.internal.helper.DatabaseTable table)

        this.table = table;