NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSMigrationManager(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSMigrationManager |
alloc() |
static NSMigrationManager |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
void |
associateSourceInstanceWithDestinationInstanceForEntityMapping(NSManagedObject sourceInstance,
NSManagedObject destinationInstance,
NSEntityMapping entityMapping)
Associates the source instance with the specified destination instance for the given entity mapping.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
void |
cancelMigrationWithError(NSError error)
Cancels the migration with the specified error.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSEntityMapping |
currentEntityMapping()
Observable property that can be used to determine progress of the migration process.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
NSManagedObjectContext |
destinationContext() |
NSEntityDescription |
destinationEntityForEntityMapping(NSEntityMapping mEntity) |
NSArray<? extends NSManagedObject> |
destinationInstancesForEntityMappingNamedSourceInstances(java.lang.String mappingName,
NSArray<? extends NSManagedObject> sourceInstances)
Returns the managed object instances created in the destination store for the given entity mapping for the specified source instances.
|
NSManagedObjectModel |
destinationModel() |
static long |
hash_static() |
NSMigrationManager |
init() |
NSMigrationManager |
initWithSourceModelDestinationModel(NSManagedObjectModel sourceModel,
NSManagedObjectModel destinationModel)
Creates a migration manager instance with the corresponding source and destination models.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSMappingModel |
mappingModel()
Accessors for the mapping model, source model, and destination model
|
boolean |
migrateStoreFromURLTypeOptionsWithMappingModelToDestinationURLDestinationTypeDestinationOptionsError(NSURL sourceURL,
java.lang.String sStoreType,
NSDictionary<?,?> sOptions,
NSMappingModel mappings,
NSURL dURL,
java.lang.String dStoreType,
NSDictionary<?,?> dOptions,
org.moe.natj.general.ptr.Ptr<NSError> error)
Migrates of the store at the specified source URL to the store at the destination URL, performing all of the mappings in the mapping model.
|
float |
migrationProgress()
Observable property that can be used to determine progress of the migration process.
|
static NSMigrationManager |
new_objc() |
void |
reset()
Resets the association tables for the migration.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setUserInfo(NSDictionary<?,?> value)
Returns/sets the user info for the migration manager
|
void |
setUsesStoreSpecificMigrationManager(boolean value)
Tries to use a store specific migration manager to perform the store migration, note that a store specific migration manager class is not guaranteed to perform any of the migration manager delegate callbacks or update values for the observable properties.
|
static void |
setVersion_static(long aVersion) |
NSManagedObjectContext |
sourceContext()
Accessors for the managed object contexts used for reading the source and destination stores.
|
NSEntityDescription |
sourceEntityForEntityMapping(NSEntityMapping mEntity)
Returns the NSEntityDescription for the source and destination entities, respectively, of the entity mapping.
|
NSArray<? extends NSManagedObject> |
sourceInstancesForEntityMappingNamedDestinationInstances(java.lang.String mappingName,
NSArray<? extends NSManagedObject> destinationInstances)
Returns the managed object instances in the source store used to create the specified destination instances for the given entity mapping.
|
NSManagedObjectModel |
sourceModel() |
static org.moe.natj.objc.Class |
superclass_static() |
NSDictionary<?,?> |
userInfo()
Returns/sets the user info for the migration manager
|
boolean |
usesStoreSpecificMigrationManager()
Tries to use a store specific migration manager to perform the store migration, note that a store specific migration manager class is not guaranteed to perform any of the migration manager delegate callbacks or update values for the observable properties.
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected NSMigrationManager(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSMigrationManager alloc()
public static NSMigrationManager allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSMigrationManager new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void associateSourceInstanceWithDestinationInstanceForEntityMapping(NSManagedObject sourceInstance, NSManagedObject destinationInstance, NSEntityMapping entityMapping)
public void cancelMigrationWithError(NSError error)
public NSEntityMapping currentEntityMapping()
public NSManagedObjectContext destinationContext()
public NSEntityDescription destinationEntityForEntityMapping(NSEntityMapping mEntity)
public NSArray<? extends NSManagedObject> destinationInstancesForEntityMappingNamedSourceInstances(java.lang.String mappingName, NSArray<? extends NSManagedObject> sourceInstances)
public NSManagedObjectModel destinationModel()
public NSMigrationManager init()
public NSMigrationManager initWithSourceModelDestinationModel(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel)
public NSMappingModel mappingModel()
public boolean migrateStoreFromURLTypeOptionsWithMappingModelToDestinationURLDestinationTypeDestinationOptionsError(NSURL sourceURL, java.lang.String sStoreType, NSDictionary<?,?> sOptions, NSMappingModel mappings, NSURL dURL, java.lang.String dStoreType, NSDictionary<?,?> dOptions, org.moe.natj.general.ptr.Ptr<NSError> error)
public float migrationProgress()
public void reset()
public void setUserInfo(NSDictionary<?,?> value)
public void setUsesStoreSpecificMigrationManager(boolean value)
public NSManagedObjectContext sourceContext()
public NSEntityDescription sourceEntityForEntityMapping(NSEntityMapping mEntity)
public NSArray<? extends NSManagedObject> sourceInstancesForEntityMappingNamedDestinationInstances(java.lang.String mappingName, NSArray<? extends NSManagedObject> destinationInstances)
public NSManagedObjectModel sourceModel()
public NSDictionary<?,?> userInfo()
public boolean usesStoreSpecificMigrationManager()