Class NSAtomicStoreCacheNode

  • All Implemented Interfaces:
    NSObject

    public class NSAtomicStoreCacheNode
    extends NSObject
    API-Since: 3.0
    • Constructor Detail

      • NSAtomicStoreCacheNode

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSAtomicStoreCacheNode 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()
      • objectID

        @NotNull
        public @NotNull NSManagedObjectID objectID()
        Returns the managed object ID for the cache node.
      • propertyCache

        @Nullable
        public @Nullable NSMutableDictionary<java.lang.String,​java.lang.Object> propertyCache()
        Returns the property cache dictionary for the cache node. This dictionary is used by -valueForKey: and -setValue:forKey: for property values. The default implementation will return nil unless the companion -setPropertyCache: method is invoked, or -setValue:forKey: is invoked on the cache node with non-nil property values.
      • setPropertyCache

        public void setPropertyCache​(@Nullable
                                     @Nullable NSMutableDictionary<java.lang.String,​java.lang.Object> value)
        Returns the property cache dictionary for the cache node. This dictionary is used by -valueForKey: and -setValue:forKey: for property values. The default implementation will return nil unless the companion -setPropertyCache: method is invoked, or -setValue:forKey: is invoked on the cache node with non-nil property values.
      • setValueForKey

        public void setValueForKey​(@Nullable
                                   @Nullable java.lang.Object value,
                                   @NotNull
                                   @NotNull java.lang.String key)
        Sets the value for the specified key. The default implementation forwards the request to the -propertyCache dictionary if the key matches a property name of the entity for this cache node. If the key does not represent a property, the standard -setValue:forKey: implementation will be used.
        Overrides:
        setValueForKey in class NSObject
      • valueForKey

        @Nullable
        public @Nullable java.lang.Object valueForKey​(@NotNull
                                                      @NotNull java.lang.String key)
        Returns the value for the specified key. Subclasses must return the appropriate object value for all property keys (as specified by the names of the NSPropertyDescriptions for the entity of this cache node.) For attributes, these are instances of NSObject; for to-one relationships, the return value must be another cache node instance; for a to-many relationship, the return value must be an NSSet of the related cache nodes. The default implementation forwards the request to the -propertyCache dictionary if the key matches a property name of the entity for the cache node. If the key does not represent a property, the standard -valueForKey: implementation will be used.
        Overrides:
        valueForKey in class NSObject
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.