1 21 package com.db4o; 22 23 import com.db4o.types.*; 24 25 31 public abstract class P1Collection extends P1Object implements Db4oCollection{ 32 33 private transient int i_activationDepth; 37 38 transient boolean i_deleteRemoved; 39 40 public void activationDepth(int a_depth){ 41 i_activationDepth = a_depth + 1; 42 } 43 44 public void deleteRemoved(boolean a_flag){ 45 i_deleteRemoved = a_flag; 46 } 47 48 int elementActivationDepth(){ 49 return i_activationDepth - 1; 50 } 51 52 } 53 | Popular Tags |