Class NSIncrementalStoreNode

  • All Implemented Interfaces:
    NSObject

    public class NSIncrementalStoreNode
    extends NSObject
    Provides the basic unit of external data that the Core Data stack interacts with.
    • Constructor Detail

      • NSIncrementalStoreNode

        protected NSIncrementalStoreNode​(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()
      • initWithObjectIDWithValuesVersion

        public NSIncrementalStoreNode initWithObjectIDWithValuesVersion​(NSManagedObjectID objectID,
                                                                        NSDictionary<java.lang.String,​?> values,
                                                                        long version)
        Returns an object initialized with the following values objectID -> The NSManagedObjectID corresponding to the object whose values are cached values -> A dictionary containing the values persisted in an external store with keys corresponding to the names of the NSPropertyDescriptions in the NSEntityDescription described by the NSManagedObjectID. Unknown or unmodeled keys will be stripped out. For attributes: an immutable value (NSNumber, NSString, NSData etc). Missing attribute keys will assume a nil value. For to-one relationships: the NSManagedObjectID of the related object or NSNull for nil relationship values. A missing key will be resolved lazily through calling -newValueForRelationship:forObjectWithID:withContext:error: on the NSPersistentStore. Lazy resolution for to-ones is discouraged. For to-many relationships: an NSArray or NSSet containing the NSManagedObjectIDs of the related objects. Empty to-many relationships must be represented by an empty non-nil collection. A missing key will be resolved lazily through calling. Lazy resolution for to-manys is encouraged. -newValueForRelationship:forObjectWithID:withContext:error: on the NSPersistentStore version -> The revision number of this state; used for conflict detection and merging
      • objectID

        public NSManagedObjectID objectID()
        Return the object ID that identifies the data stored by this node
      • updateWithValuesVersion

        public void updateWithValuesVersion​(NSDictionary<java.lang.String,​?> values,
                                            long version)
        Update the values and version to reflect new data being saved to or loaded from the external store. The values dictionary is in the same format as the initializer
      • valueForPropertyDescription

        public java.lang.Object valueForPropertyDescription​(NSPropertyDescription prop)
        May return NSNull for to-one relationships. If a relationship is nil, clients should invoke -newValueForRelationship:forObjectWithID:withContext:error: on the NSPersistentStore
      • version

        public long version()
        Return the version of data in this node.