Class NSPersistentStoreOptions

    • Constructor Detail

      • NSPersistentStoreOptions

        public NSPersistentStoreOptions()
    • Method Detail

      • has

        public boolean has​(NSString key)
      • isReadOnly

        public boolean isReadOnly()
        Since:
        Available in iOS 3.0 and later.
      • setReadOnly

        public NSPersistentStoreOptions setReadOnly​(boolean readOnly)
        Since:
        Available in iOS 3.0 and later.
      • getTimeout

        public long getTimeout()
        Since:
        Available in iOS 3.0 and later.
      • getSQLitePragmas

        public java.util.Map<java.lang.String,​NSObject> getSQLitePragmas()
        Since:
        Available in iOS 3.0 and later.
      • setSQLitePragmas

        public NSPersistentStoreOptions setSQLitePragmas​(java.util.Map<java.lang.String,​NSObject> sQLitePragmas)
        Since:
        Available in iOS 3.0 and later.
      • isSQLiteAnalyzeEnabled

        public boolean isSQLiteAnalyzeEnabled()
        Since:
        Available in iOS 3.0 and later.
      • setSQLiteAnalyzeEnabled

        public NSPersistentStoreOptions setSQLiteAnalyzeEnabled​(boolean sQLiteAnalyzeEnabled)
        Since:
        Available in iOS 3.0 and later.
      • isSQLiteManualVacuumEnabled

        public boolean isSQLiteManualVacuumEnabled()
        Since:
        Available in iOS 3.0 and later.
      • setSQLiteManualVacuumEnabled

        public NSPersistentStoreOptions setSQLiteManualVacuumEnabled​(boolean sQLiteManualVacuumEnabled)
        Since:
        Available in iOS 3.0 and later.
      • ignoresPersistentStoreVersioning

        public boolean ignoresPersistentStoreVersioning()
        Since:
        Available in iOS 3.0 and later.
      • setIgnoresPersistentStoreVersioning

        public NSPersistentStoreOptions setIgnoresPersistentStoreVersioning​(boolean ignoresPersistentStoreVersioning)
        Since:
        Available in iOS 3.0 and later.
      • migratesPersistentStoresAutomatically

        public boolean migratesPersistentStoresAutomatically()
        Since:
        Available in iOS 3.0 and later.
      • setMigratesPersistentStoresAutomatically

        public NSPersistentStoreOptions setMigratesPersistentStoresAutomatically​(boolean migratesPersistentStoresAutomatically)
        Since:
        Available in iOS 3.0 and later.
      • infersMappingModelAutomatically

        public boolean infersMappingModelAutomatically()
        Since:
        Available in iOS 3.0 and later.
      • setInfersMappingModelAutomatically

        public NSPersistentStoreOptions setInfersMappingModelAutomatically​(boolean infersMappingModelAutomatically)
        Since:
        Available in iOS 3.0 and later.
      • isForceDestroy

        public boolean isForceDestroy()
        Since:
        Available in iOS 6.0 and later.
      • setForceDestroy

        public NSPersistentStoreOptions setForceDestroy​(boolean forceDestroy)
        Since:
        Available in iOS 6.0 and later.
      • getFileProtection

        public NSFileProtection getFileProtection()
        Since:
        Available in iOS 5.0 and later.
      • getUbiquitousContentName

        @Deprecated
        public java.lang.String getUbiquitousContentName()
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 5.0 and later.
      • setUbiquitousContentName

        @Deprecated
        public NSPersistentStoreOptions setUbiquitousContentName​(java.lang.String ubiquitousContentName)
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 5.0 and later.
      • getUbiquitousContentURL

        @Deprecated
        public java.lang.String getUbiquitousContentURL()
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 5.0 and later.
      • setUbiquitousContentURL

        @Deprecated
        public NSPersistentStoreOptions setUbiquitousContentURL​(java.lang.String ubiquitousContentURL)
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 5.0 and later.
      • getUbiquitousPeerToken

        @Deprecated
        public java.lang.String getUbiquitousPeerToken()
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • setUbiquitousPeerToken

        @Deprecated
        public NSPersistentStoreOptions setUbiquitousPeerToken​(java.lang.String ubiquitousPeerToken)
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • shouldRemoveUbiquitousMetadata

        @Deprecated
        public boolean shouldRemoveUbiquitousMetadata()
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • setShouldRemoveUbiquitousMetadata

        @Deprecated
        public NSPersistentStoreOptions setShouldRemoveUbiquitousMetadata​(boolean shouldRemoveUbiquitousMetadata)
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • getUbiquitousContainerIdentifier

        @Deprecated
        public java.lang.String getUbiquitousContainerIdentifier()
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • setUbiquitousContainerIdentifier

        @Deprecated
        public NSPersistentStoreOptions setUbiquitousContainerIdentifier​(java.lang.String ubiquitousContainerIdentifier)
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • shouldRebuildFromUbiquitousContent

        @Deprecated
        public boolean shouldRebuildFromUbiquitousContent()
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.
      • setShouldRebuildFromUbiquitousContent

        @Deprecated
        public NSPersistentStoreOptions setShouldRebuildFromUbiquitousContent​(boolean shouldRebuildFromUbiquitousContent)
        Deprecated.
        Deprecated in iOS 10.0. Please see the release notes and Core Data documentation.
        Since:
        Available in iOS 7.0 and later.