/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public NSPersistentStoreOptions setShouldRebuildFromUbiquitousContent(boolean shouldRebuildFromUbiquitousContent) { set(Keys.RebuildFromUbiquitousContent(), NSNumber.valueOf(shouldRebuildFromUbiquitousContent)); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public boolean shouldRemoveUbiquitousMetadata() { if (has(Keys.RemoveUbiquitousMetadata())) { NSNumber val = (NSNumber) get(Keys.RemoveUbiquitousMetadata()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public boolean shouldRemoveUbiquitousMetadata() { if (has(Keys.RemoveUbiquitousMetadata())) { NSNumber val = (NSNumber) get(Keys.RemoveUbiquitousMetadata()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public NSPersistentStoreOptions setShouldRemoveUbiquitousMetadata(boolean shouldRemoveUbiquitousMetadata) { set(Keys.RemoveUbiquitousMetadata(), NSNumber.valueOf(shouldRemoveUbiquitousMetadata)); return this; } /**
/** * @since Available in iOS 3.0 and later. */ public boolean migratesPersistentStoresAutomatically() { if (has(Keys.MigratePersistentStoresAutomatically())) { NSNumber val = (NSNumber) get(Keys.MigratePersistentStoresAutomatically()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.0 and later. */ public NSPersistentStoreOptions setReadOnly(boolean readOnly) { set(Keys.ReadOnly(), NSNumber.valueOf(readOnly)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public NSPersistentStoreOptions setFileProtection(NSFileProtection fileProtection) { set(Keys.FileProtection(), fileProtection.value()); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public NSFileProtection getFileProtection() { if (has(Keys.FileProtection())) { NSString val = (NSString) get(Keys.FileProtection()); return NSFileProtection.valueOf(val); } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public boolean migratesPersistentStoresAutomatically() { if (has(Keys.MigratePersistentStoresAutomatically())) { NSNumber val = (NSNumber) get(Keys.MigratePersistentStoresAutomatically()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.0 and later. */ public boolean infersMappingModelAutomatically() { if (has(Keys.InferMappingModelAutomatically())) { NSNumber val = (NSNumber) get(Keys.InferMappingModelAutomatically()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.0 and later. */ public NSPersistentStoreOptions setIgnoresPersistentStoreVersioning(boolean ignoresPersistentStoreVersioning) { set(Keys.IgnorePersistentStoreVersioning(), NSNumber.valueOf(ignoresPersistentStoreVersioning)); return this; } /**
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public boolean shouldRebuildFromUbiquitousContent() { if (has(Keys.RebuildFromUbiquitousContent())) { NSNumber val = (NSNumber) get(Keys.RebuildFromUbiquitousContent()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.0 and later. */ public NSPersistentStoreOptions setMigratesPersistentStoresAutomatically(boolean migratesPersistentStoresAutomatically) { set(Keys.MigratePersistentStoresAutomatically(), NSNumber.valueOf(migratesPersistentStoresAutomatically)); return this; } /**
/** * @since Available in iOS 3.0 and later. */ public boolean isSQLiteAnalyzeEnabled() { if (has(Keys.SQLiteAnalyze())) { NSNumber val = (NSNumber) get(Keys.SQLiteAnalyze()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public boolean shouldRebuildFromUbiquitousContent() { if (has(Keys.RebuildFromUbiquitousContent())) { NSNumber val = (NSNumber) get(Keys.RebuildFromUbiquitousContent()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 6.0 and later. */ public NSPersistentStoreOptions setForceDestroy(boolean forceDestroy) { set(Keys.ForceDestroy(), NSNumber.valueOf(forceDestroy)); return this; } /**
/** * @since Available in iOS 3.0 and later. */ public NSPersistentStoreOptions setMigratesPersistentStoresAutomatically(boolean migratesPersistentStoresAutomatically) { set(Keys.MigratePersistentStoresAutomatically(), NSNumber.valueOf(migratesPersistentStoresAutomatically)); return this; } /**
/** * @since Available in iOS 3.0 and later. */ public NSPersistentStoreOptions setSQLiteAnalyzeEnabled(boolean sQLiteAnalyzeEnabled) { set(Keys.SQLiteAnalyze(), NSNumber.valueOf(sQLiteAnalyzeEnabled)); return this; } /**
/** * @since Available in iOS 3.0 and later. */ public boolean isSQLiteAnalyzeEnabled() { if (has(Keys.SQLiteAnalyze())) { NSNumber val = (NSNumber) get(Keys.SQLiteAnalyze()); return val.booleanValue(); } return false; } /**