Package org.robovm.apple.coredata
Class NSPersistentStoreOptions
- java.lang.Object
-
- org.robovm.apple.foundation.NSDictionaryWrapper
-
- org.robovm.apple.coredata.NSPersistentStoreOptions
-
public class NSPersistentStoreOptions extends NSDictionaryWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSPersistentStoreOptions.AsListMarshaler
static class
NSPersistentStoreOptions.Keys
static class
NSPersistentStoreOptions.Marshaler
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSDictionaryWrapper
data
-
-
Constructor Summary
Constructors Constructor Description NSPersistentStoreOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NSObject
get(NSString key)
NSFileProtection
getFileProtection()
java.util.Map<java.lang.String,NSObject>
getSQLitePragmas()
long
getTimeout()
java.lang.String
getUbiquitousContainerIdentifier()
Deprecated.Deprecated in iOS 10.0.java.lang.String
getUbiquitousContentName()
Deprecated.Deprecated in iOS 10.0.java.lang.String
getUbiquitousContentURL()
Deprecated.Deprecated in iOS 10.0.java.lang.String
getUbiquitousPeerToken()
Deprecated.Deprecated in iOS 10.0.boolean
has(NSString key)
boolean
ignoresPersistentStoreVersioning()
boolean
infersMappingModelAutomatically()
boolean
isForceDestroy()
boolean
isReadOnly()
boolean
isSQLiteAnalyzeEnabled()
boolean
isSQLiteManualVacuumEnabled()
boolean
migratesPersistentStoresAutomatically()
NSPersistentStoreOptions
set(NSString key, NSObject value)
NSPersistentStoreOptions
setFileProtection(NSFileProtection fileProtection)
NSPersistentStoreOptions
setForceDestroy(boolean forceDestroy)
NSPersistentStoreOptions
setIgnoresPersistentStoreVersioning(boolean ignoresPersistentStoreVersioning)
NSPersistentStoreOptions
setInfersMappingModelAutomatically(boolean infersMappingModelAutomatically)
NSPersistentStoreOptions
setMigratesPersistentStoresAutomatically(boolean migratesPersistentStoresAutomatically)
NSPersistentStoreOptions
setReadOnly(boolean readOnly)
NSPersistentStoreOptions
setShouldRebuildFromUbiquitousContent(boolean shouldRebuildFromUbiquitousContent)
Deprecated.Deprecated in iOS 10.0.NSPersistentStoreOptions
setShouldRemoveUbiquitousMetadata(boolean shouldRemoveUbiquitousMetadata)
Deprecated.Deprecated in iOS 10.0.NSPersistentStoreOptions
setSQLiteAnalyzeEnabled(boolean sQLiteAnalyzeEnabled)
NSPersistentStoreOptions
setSQLiteManualVacuumEnabled(boolean sQLiteManualVacuumEnabled)
NSPersistentStoreOptions
setSQLitePragmas(java.util.Map<java.lang.String,NSObject> sQLitePragmas)
NSPersistentStoreOptions
setTimeout(long timeout)
NSPersistentStoreOptions
setUbiquitousContainerIdentifier(java.lang.String ubiquitousContainerIdentifier)
Deprecated.Deprecated in iOS 10.0.NSPersistentStoreOptions
setUbiquitousContentName(java.lang.String ubiquitousContentName)
Deprecated.Deprecated in iOS 10.0.NSPersistentStoreOptions
setUbiquitousContentURL(java.lang.String ubiquitousContentURL)
Deprecated.Deprecated in iOS 10.0.NSPersistentStoreOptions
setUbiquitousPeerToken(java.lang.String ubiquitousPeerToken)
Deprecated.Deprecated in iOS 10.0.boolean
shouldRebuildFromUbiquitousContent()
Deprecated.Deprecated in iOS 10.0.boolean
shouldRemoveUbiquitousMetadata()
Deprecated.Deprecated in iOS 10.0.-
Methods inherited from class org.robovm.apple.foundation.NSDictionaryWrapper
getDictionary, toString
-
-
-
-
Method Detail
-
has
public boolean has(NSString key)
-
set
public NSPersistentStoreOptions set(NSString key, NSObject value)
-
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.
-
setTimeout
public NSPersistentStoreOptions setTimeout(long timeout)
- 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.
-
setFileProtection
public NSPersistentStoreOptions setFileProtection(NSFileProtection fileProtection)
- 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.
-
-