com.triactive.jdo.store.request
Class DeleteWhereSuperEqualRequest

java.lang.Object
  extended bycom.triactive.jdo.store.request.Request
      extended bycom.triactive.jdo.store.request.RequestUsingFields
          extended bycom.triactive.jdo.store.request.DeleteWhereSuperEqualRequest

public class DeleteWhereSuperEqualRequest
extends com.triactive.jdo.store.request.RequestUsingFields

A request that deletes corresponding rows from a subtable based on matching rows from a supertable where a specified column equals a specified value. Used to remove subtable rows preceding a DeleteWhereEqualRequest on a supertable.

Author:
Mike Martin

Nested Class Summary
static class DeleteWhereSuperEqualRequest.Id
           
 
Nested classes inherited from class com.triactive.jdo.store.request.Request
Request.IdTbl, Request.IdTblFld, Request.IdTblFlds, Request.IdTblTblFld
 
Field Summary
protected  ColumnMapping[] colFieldMappings
          The ColumnMappings used by fields involved in this request, indexed by absolute field number.
protected  int[] colFields
          The fields involved in this request that use ColumnMappings.
protected  ComplexMapping[] cpxFieldMappings
          The ComplexMappings used by fields involved in this request, indexed by absolute field number.
protected  int[] cpxFields
          The fields involved in this request that use ComplexMappings.
 
Fields inherited from class com.triactive.jdo.store.request.Request
dba, idMapping, table
 
Method Summary
 void execute(java.util.Collection sms, java.lang.Object fieldValue)
          Executes the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colFields

protected final int[] colFields
The fields involved in this request that use ColumnMappings. Null if there are no such fields.


cpxFields

protected final int[] cpxFields
The fields involved in this request that use ComplexMappings. Null if there are no such fields.


colFieldMappings

protected final ColumnMapping[] colFieldMappings
The ColumnMappings used by fields involved in this request, indexed by absolute field number. Null if RequestUsingFields.colFields is null.


cpxFieldMappings

protected final ComplexMapping[] cpxFieldMappings
The ComplexMappings used by fields involved in this request, indexed by absolute field number. Null if RequestUsingFields.cpxFields is null.

Method Detail

execute

public void execute(java.util.Collection sms,
                    java.lang.Object fieldValue)
Executes the request.

Parameters:
sms - The StateManagers of all the objects being deleted.
fieldValue - The value to compare against the designated supertable field.


Copyright © 2001-2007 The TJDO Project All Rights Reserved.