Class NSAttributeDescription

    • Constructor Detail

      • NSAttributeDescription

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSAttributeDescription 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()
      • allowsExternalBinaryDataStorage

        public boolean allowsExternalBinaryDataStorage()
        API-Since: 5.0
      • attributeType

        public long attributeType()
        NSUndefinedAttributeType is valid for transient properties - Core Data will still track the property as an id value and register undo/redo actions, etc. NSUndefinedAttributeType is illegal for non-transient properties.
      • attributeValueClassName

        @Nullable
        public @Nullable java.lang.String attributeValueClassName()
      • defaultValue

        @Nullable
        public @Nullable java.lang.Object defaultValue()
        value is retained and not copied
      • setAllowsExternalBinaryDataStorage

        public void setAllowsExternalBinaryDataStorage​(boolean value)
        API-Since: 5.0
      • setAttributeType

        public void setAttributeType​(long value)
        NSUndefinedAttributeType is valid for transient properties - Core Data will still track the property as an id value and register undo/redo actions, etc. NSUndefinedAttributeType is illegal for non-transient properties.
      • setAttributeValueClassName

        public void setAttributeValueClassName​(@Nullable
                                               @Nullable java.lang.String value)
      • setDefaultValue

        public void setDefaultValue​(@Nullable
                                    @Nullable java.lang.Object value)
        value is retained and not copied
      • setValueTransformerName

        public void setValueTransformerName​(@Nullable
                                            @Nullable java.lang.String value)
        The name of the transformer used to convert a NSTransformedAttributeType. The transformer must output NSData from transformValue and allow reverse transformation. If this value is not set, or set to nil, Core Data will default to using a transformer which uses NSCoding to archive/unarchive the attribute value. API-Since: 3.0
      • valueTransformerName

        @Nullable
        public @Nullable java.lang.String valueTransformerName()
        The name of the transformer used to convert a NSTransformedAttributeType. The transformer must output NSData from transformValue and allow reverse transformation. If this value is not set, or set to nil, Core Data will default to using a transformer which uses NSCoding to archive/unarchive the attribute value. API-Since: 3.0
      • versionHash

        @NotNull
        public @NotNull NSData versionHash()
        Returns the version hash for the attribute. This value includes the versionHash information from the NSPropertyDescription superclass, and the attribute type. API-Since: 3.0
        Overrides:
        versionHash in class NSPropertyDescription
      • preservesValueInHistoryOnDeletion

        public boolean preservesValueInHistoryOnDeletion()
        Indicates if the value of the attribute should be captured on delete when Persistent History is enabled API-Since: 13.0
      • setPreservesValueInHistoryOnDeletion

        public void setPreservesValueInHistoryOnDeletion​(boolean value)
        Indicates if the value of the attribute should be captured on delete when Persistent History is enabled API-Since: 13.0
      • allowsCloudEncryption

        public boolean allowsCloudEncryption()
        This property can be set to enable encryption-at-rest on data stored in CloudKit servers. There are several restrictions on how clients can use this property: 1. Attributes to be encrypted must be new additions to the CloudKit schema. Attributes that already exist in the production schema cannot be changed to support encryption. 2. Attributes cannot (ever) change their encryption state in the CloudKit schema. Once something is encrypted (or not) it will forever be so. Note: This property does not affect the data in the persistent store. Local file encryption should continue to be managed by using NSFileProtection and other standard platform security mechanisms. API-Since: 15.0
      • setAllowsCloudEncryption

        public void setAllowsCloudEncryption​(boolean value)
        This property can be set to enable encryption-at-rest on data stored in CloudKit servers. There are several restrictions on how clients can use this property: 1. Attributes to be encrypted must be new additions to the CloudKit schema. Attributes that already exist in the production schema cannot be changed to support encryption. 2. Attributes cannot (ever) change their encryption state in the CloudKit schema. Once something is encrypted (or not) it will forever be so. Note: This property does not affect the data in the persistent store. Local file encryption should continue to be managed by using NSFileProtection and other standard platform security mechanisms. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.