# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSPersistentStoreCoordinator < Cocoa::NSObject
    attach_method :URLForPersistentStore, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :addPersistentStoreWithType, :args=>5, :names=>[:configuration, :URL, :options, :error], :types=>["@", "@", "@", "@", "^@"], :retval=>"@"
    attach_singular_method :elementsDerivedFromExternalRecordURL, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :executeRequest, :args=>3, :names=>[:withContext, :error], :types=>["@", "@", "^@"], :retval=>"@"
    attach_method :importStoreWithIdentifier, :args=>6, :names=>[:fromExternalRecordsDirectory, :toURL, :options, :withType, :error], :types=>["@", "@", "@", "@", "@", "^@"], :retval=>"@"
    attach_method :initWithManagedObjectModel, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :lock, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :managedObjectIDForURIRepresentation, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :managedObjectModel, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :metadataForPersistentStore, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_singular_method :metadataForPersistentStoreOfType, :args=>3, :names=>[:URL, :error], :types=>["@", "@", "^@"], :retval=>"@"
    attach_singular_method :metadataForPersistentStoreWithURL, :args=>2, :names=>[:error], :types=>["@", "^@"], :retval=>"@"
    attach_method :migratePersistentStore, :args=>5, :names=>[:toURL, :options, :withType, :error], :types=>["@", "@", "@", "@", "^@"], :retval=>"@"
    attach_method :persistentStoreForURL, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :persistentStores, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :registerStoreClass, :args=>2, :names=>[:forStoreType], :types=>["#", "@"], :retval=>"v"
    attach_singular_method :registeredStoreTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :removePersistentStore, :args=>2, :names=>[:error], :types=>["@", "^@"], :retval=>"B"
    attach_method :setMetadata, :args=>2, :names=>[:forPersistentStore], :types=>["@", "@"], :retval=>"v"
    attach_singular_method :setMetadata, :args=>4, :names=>[:forPersistentStoreOfType, :URL, :error], :types=>["@", "@", "@", "^@"], :retval=>"B"
    attach_method :setURL, :args=>2, :names=>[:forPersistentStore], :types=>["@", "@"], :retval=>"B"
    attach_method :tryLock, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :unlock, :args=>0, :names=>[], :types=>[], :retval=>"v"
  end
end
