Class NSMergeConflict

  • All Implemented Interfaces:
    NSObject

    public class NSMergeConflict
    extends NSObject
    • Constructor Detail

      • NSMergeConflict

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

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

        public NSMergeConflict initWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot​(NSManagedObject srcObject,
                                                                                                 long newvers,
                                                                                                 long oldvers,
                                                                                                 NSDictionary<java.lang.String,​?> cachesnap,
                                                                                                 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

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

        public long oldVersionNumber()
      • persistedSnapshot

        public NSDictionary<java.lang.String,​?> persistedSnapshot()