Package org.robovm.apple.coredata
Class NSPersistentStoreDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coredata.NSPersistentStoreDescription
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSPersistentStoreDescription extends NSObject
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSPersistentStoreDescription.NSPersistentStoreDescriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSPersistentStoreDescription()
protected
NSPersistentStoreDescription(NSObject.Handle h, long handle)
protected
NSPersistentStoreDescription(NSObject.SkipInit skipInit)
NSPersistentStoreDescription(NSURL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfiguration()
NSDictionary<NSString,?>
getOptions()
NSDictionary<NSString,?>
getSqlitePragmas()
double
getTimeout()
java.lang.String
getType()
NSURL
getURL()
protected long
init(NSURL url)
boolean
isReadOnly()
void
setConfiguration(java.lang.String v)
void
setOption(NSObject option, java.lang.String key)
void
setReadOnly(boolean v)
void
setShouldAddStoreAsynchronously(boolean v)
void
setShouldInferMappingModelAutomatically(boolean v)
void
setShouldMigrateStoreAutomatically(boolean v)
void
setTimeout(double v)
void
setType(java.lang.String v)
void
setURL(NSURL v)
void
setValue(NSObject value, java.lang.String name)
boolean
shouldAddStoreAsynchronously()
boolean
shouldInferMappingModelAutomatically()
boolean
shouldMigrateStoreAutomatically()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSPersistentStoreDescription
public NSPersistentStoreDescription()
-
NSPersistentStoreDescription
protected NSPersistentStoreDescription(NSObject.Handle h, long handle)
-
NSPersistentStoreDescription
protected NSPersistentStoreDescription(NSObject.SkipInit skipInit)
-
NSPersistentStoreDescription
public NSPersistentStoreDescription(NSURL url)
-
-
Method Detail
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String v)
-
getConfiguration
public java.lang.String getConfiguration()
-
setConfiguration
public void setConfiguration(java.lang.String v)
-
getURL
public NSURL getURL()
-
setURL
public void setURL(NSURL v)
-
getOptions
public NSDictionary<NSString,?> getOptions()
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean v)
-
getTimeout
public double getTimeout()
-
setTimeout
public void setTimeout(double v)
-
getSqlitePragmas
public NSDictionary<NSString,?> getSqlitePragmas()
-
shouldAddStoreAsynchronously
public boolean shouldAddStoreAsynchronously()
-
setShouldAddStoreAsynchronously
public void setShouldAddStoreAsynchronously(boolean v)
-
shouldMigrateStoreAutomatically
public boolean shouldMigrateStoreAutomatically()
-
setShouldMigrateStoreAutomatically
public void setShouldMigrateStoreAutomatically(boolean v)
-
shouldInferMappingModelAutomatically
public boolean shouldInferMappingModelAutomatically()
-
setShouldInferMappingModelAutomatically
public void setShouldInferMappingModelAutomatically(boolean v)
-
setOption
public void setOption(NSObject option, java.lang.String key)
-
setValue
public void setValue(NSObject value, java.lang.String name)
-
init
protected long init(NSURL url)
-
-