Class NSMergeConflict

  • All Implemented Interfaces:
    NSObject

    public class NSMergeConflict
    extends NSObject
    API-Since: 5.0
    • Constructor Detail

      • NSMergeConflict

        protected NSMergeConflict​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSMergeConflict allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • cachedSnapshot

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> cachedSnapshot()
      • initWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot

        public NSMergeConflict initWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot​(@NotNull
                                                                                                 @NotNull NSManagedObject srcObject,
                                                                                                 long newvers,
                                                                                                 long oldvers,
                                                                                                 @Nullable
                                                                                                 @Nullable NSDictionary<java.lang.String,​?> cachesnap,
                                                                                                 @Nullable
                                                                                                 @Nullable NSDictionary<java.lang.String,​?> persnap)
        There are two situations in which a conflict may occur: 1. Between the NSManagedObjectContext and its in-memory cached state at the NSPersistentStoreCoordinator layer. In this case, the merge conflict has a source object and a cached snapshot but no persisted snapshot (persnap is nil). 2. Between the cached state at the NSPersistentStoreCoordinator and the external store (file, database, etc.). In this case, the merge conflict has a cached snapshot and a persisted snapshot. The source object is also provided as a convenience, but it is not directly involved in the conflict. Snapshot dictionaries include values for all attributes and to-one relationships, but not to-many relationships. Relationship values are NSManagedObjectID references. to-many relationships must be pulled from the persistent store as needed. A newVersion number of 0 means the object was deleted and the corresponding snapshot is nil.
      • newVersionNumber

        public long newVersionNumber()
      • objectSnapshot

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> objectSnapshot()
      • oldVersionNumber

        public long oldVersionNumber()
      • persistedSnapshot

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> persistedSnapshot()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.