         sampleData.uid = 0
         self.writeData(sampleData.data)
     }
+    
+    //---------------------------------------------------------------------------------------------------------
+    //MARK: ObjectStore
+    //---------------------------------------------------------------------------------------------------------
+    
     
     public func registerObject(aObj: O) -> UID? {
         

public class ObjectStore<O: Coding> : DataStore<ObjectStoreHeader,O.DataType> {
    
    let cache = NSCache() //SOTypedCache<O>()
    
    public override init(url: NSURL) {
        super.init(url: url)

        }
    }
    
    //---------------------------------------------------------------------------------------------------------
    //MARK: Cache Controll
    //---------------------------------------------------------------------------------------------------------
    
    public func removeAllObjectsForCache() {
        cache.removeAllObjects()
    }
    
    
}