test_class.file: code/src/test/java/com/googlecode/cqengine/persistence/wrapping/WrappingPersistenceTest.java
test_class.identifier: WrappingPersistenceTest
test_case.body: @Test
      public void testCreateObjectStore() throws Exception {
          HashSet<Car> backingCollection = new HashSet<Car>();
  
          WrappingPersistence<Car, Integer> wrappingPersistence =
                  WrappingPersistence.aroundCollectionOnPrimaryKey(backingCollection, Car.CAR_ID);
  
          ObjectStore<Car> objectStore = wrappingPersistence.createObjectStore();
  
          assertTrue(objectStore instanceof CollectionWrappingObjectStore);
          assertEquals(backingCollection, ((CollectionWrappingObjectStore)objectStore).getBackingCollection());
      }
test_case.class_method_signature: WrappingPersistenceTest.testCreateObjectStore()
test_case.full_signature: @Test public void testCreateObjectStore()
test_case.identifier: testCreateObjectStore
test_case.invocations: aroundCollectionOnPrimaryKey createObjectStore assertTrue assertEquals getBackingCollection
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateObjectStore()
focal_class.declarator: backingCollection
focal_class.modifier: final
focal_class.original_string: final Collection<O> backingCollection;
focal_class.type: Collection<O>
focal_class.var_name: backingCollection
focal_class.declarator: primaryKeyAttribute
focal_class.modifier: final
focal_class.original_string: final SimpleAttribute<O, A> primaryKeyAttribute;
focal_class.type: SimpleAttribute<O, A>
focal_class.var_name: primaryKeyAttribute
focal_class.file: code/src/main/java/com/googlecode/cqengine/persistence/wrapping/WrappingPersistence.java
focal_class.identifier: WrappingPersistence
focal_class.interfaces: implements Persistence<O, A>
focal_class.class_method_signature: WrappingPersistence.WrappingPersistence(Collection<O> backingCollection)
focal_class.full_signature: public  WrappingPersistence(Collection<O> backingCollection)
focal_class.identifier: WrappingPersistence
focal_class.modifiers: public
focal_class.parameters: (Collection<O> backingCollection)
focal_class.signature:  WrappingPersistence(Collection<O> backingCollection)
focal_class.class_method_signature: WrappingPersistence.WrappingPersistence(Collection<O> backingCollection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.full_signature: public  WrappingPersistence(Collection<O> backingCollection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.identifier: WrappingPersistence
focal_class.modifiers: public
focal_class.parameters: (Collection<O> backingCollection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.signature:  WrappingPersistence(Collection<O> backingCollection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.class_method_signature: WrappingPersistence.supportsIndex(Index<O> index)
focal_class.full_signature: @Override public boolean supportsIndex(Index<O> index)
focal_class.identifier: supportsIndex
focal_class.modifiers: @Override public
focal_class.parameters: (Index<O> index)
focal_class.return: boolean
focal_class.signature: boolean supportsIndex(Index<O> index)
focal_class.class_method_signature: WrappingPersistence.createObjectStore()
focal_class.full_signature: @Override public ObjectStore<O> createObjectStore()
focal_class.identifier: createObjectStore
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ObjectStore<O>
focal_class.signature: ObjectStore<O> createObjectStore()
focal_class.class_method_signature: WrappingPersistence.openRequestScopeResources(QueryOptions queryOptions)
focal_class.full_signature: @Override public void openRequestScopeResources(QueryOptions queryOptions)
focal_class.identifier: openRequestScopeResources
focal_class.modifiers: @Override public
focal_class.parameters: (QueryOptions queryOptions)
focal_class.return: void
focal_class.signature: void openRequestScopeResources(QueryOptions queryOptions)
focal_class.class_method_signature: WrappingPersistence.closeRequestScopeResources(QueryOptions queryOptions)
focal_class.full_signature: @Override public void closeRequestScopeResources(QueryOptions queryOptions)
focal_class.identifier: closeRequestScopeResources
focal_class.modifiers: @Override public
focal_class.parameters: (QueryOptions queryOptions)
focal_class.return: void
focal_class.signature: void closeRequestScopeResources(QueryOptions queryOptions)
focal_class.class_method_signature: WrappingPersistence.getPrimaryKeyAttribute()
focal_class.full_signature: @Override public SimpleAttribute<O, A> getPrimaryKeyAttribute()
focal_class.identifier: getPrimaryKeyAttribute
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: SimpleAttribute<O, A>
focal_class.signature: SimpleAttribute<O, A> getPrimaryKeyAttribute()
focal_class.class_method_signature: WrappingPersistence.aroundCollectionOnPrimaryKey(Collection<O> collection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.full_signature: public static WrappingPersistence<O, A> aroundCollectionOnPrimaryKey(Collection<O> collection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.identifier: aroundCollectionOnPrimaryKey
focal_class.modifiers: public static
focal_class.parameters: (Collection<O> collection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.return: WrappingPersistence<O, A>
focal_class.signature: WrappingPersistence<O, A> aroundCollectionOnPrimaryKey(Collection<O> collection, SimpleAttribute<O, A> primaryKeyAttribute)
focal_class.class_method_signature: WrappingPersistence.aroundCollection(Collection<O> collection)
focal_class.full_signature: @SuppressWarnings("unchecked") public static WrappingPersistence<O, ? extends Comparable> aroundCollection(Collection<O> collection)
focal_class.identifier: aroundCollection
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Collection<O> collection)
focal_class.return: WrappingPersistence<O, ? extends Comparable>
focal_class.signature: WrappingPersistence<O, ? extends Comparable> aroundCollection(Collection<O> collection)
focal_class.class_method_signature: WrappingPersistence.withoutPrimaryKey_Internal(Collection<O> collection)
focal_class.full_signature: static WrappingPersistence<O, A> withoutPrimaryKey_Internal(Collection<O> collection)
focal_class.identifier: withoutPrimaryKey_Internal
focal_class.modifiers: static
focal_class.parameters: (Collection<O> collection)
focal_class.return: WrappingPersistence<O, A>
focal_class.signature: WrappingPersistence<O, A> withoutPrimaryKey_Internal(Collection<O> collection)
focal_method.body: @Override
      public ObjectStore<O> createObjectStore() {
          return new CollectionWrappingObjectStore<O>(backingCollection);
      }
focal_method.class_method_signature: WrappingPersistence.createObjectStore()
focal_method.full_signature: @Override public ObjectStore<O> createObjectStore()
focal_method.identifier: createObjectStore
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: ObjectStore<O>
focal_method.signature: ObjectStore<O> createObjectStore()