| 1 package com.daffodilwoods.daffodildb.client ; 2 3 4 import com.daffodilwoods.database.resource.DException; 5 public class DataOperation{ 6 public static final int DELETE = 0; 7 public final static int INSERT = 1; 8 public static final int UPDATE = 2; 9 public static final int REPOSITION = 3; 10 public static final int REVERSION = 4; 11 public static final int REPLACE = 5; 12 13 public _RecordSetBuffer recordSetBuffer; 14 public int operationType; 15 public Object lowerRcordIdentity; 16 public Object lowerkey; 17 public Object upperRecordIdentity; 18 public Object upperKey; 19 public Object recordIdentity; 20 public Object key; 21 public int[] columnIndexes; 22 public String [] columnNames; 23 public Object [] oldValue; 24 public Object [] newValue; 25 public Object oldKey; public Object oldIdentity; public _Record record ; 28 public Object replaceKey; 29 public Object replaceRecordIdentity; 30 public DataOperation() {} 31 32 public DataOperation(_RecordSetBuffer recordSetBuffer, int operationType,Object recordIdentity,Object key, int[] columnIndexes, Object [] oldValue, Object [] newValue) 33 { 34 this.recordSetBuffer = recordSetBuffer; 35 this.operationType = operationType; 36 this.recordIdentity = recordIdentity; 37 this.key = key; 38 this.columnIndexes = columnIndexes; 39 this.oldValue = oldValue; 40 this.newValue = newValue; 41 } 42 } 43 | Popular Tags |