class WrappingPersistence implements Persistence<O, A> {

    @Override
    public boolean supportsIndex(Index<O> index) {
        return index instanceof OnHeapTypeIndex;
    }

    public  WrappingPersistence(Collection<O> backingCollection);
    public  WrappingPersistence(Collection<O> backingCollection, SimpleAttribute<O, A> primaryKeyAttribute);

}