Class NSPropertyDescription

    • Constructor Detail

      • NSPropertyDescription

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSPropertyDescription 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • isIndexed

        @Deprecated
        public boolean isIndexed()
        Deprecated.
        Returns a boolean value indicating if the property is important for searching. NSPersistentStores can optionally utilize this information upon store creation for operations like defining indexes. API-Since: 3.0 Deprecated-Since: 11.0 Deprecated-Message: Use NSEntityDescription.indexes instead
      • setIndexed

        @Deprecated
        public void setIndexed​(boolean value)
        Deprecated.
        Returns a boolean value indicating if the property is important for searching. NSPersistentStores can optionally utilize this information upon store creation for operations like defining indexes. API-Since: 3.0 Deprecated-Since: 11.0 Deprecated-Message: Use NSEntityDescription.indexes instead
      • isIndexedBySpotlight

        public boolean isIndexedBySpotlight()
        Returns a boolean value indicating if the property should be indexed by Spotlight. API-Since: 3.0
      • setIndexedBySpotlight

        public void setIndexedBySpotlight​(boolean value)
        Returns a boolean value indicating if the property should be indexed by Spotlight. API-Since: 3.0
      • isOptional

        public boolean isOptional()
        The optional flag specifies whether a property's value can be nil or not (before an object can be persisted).
      • setOptional

        public void setOptional​(boolean value)
        The optional flag specifies whether a property's value can be nil or not (before an object can be persisted).
      • isStoredInExternalRecord

        @Deprecated
        public boolean isStoredInExternalRecord()
        Deprecated.
        Returns a boolean value indicating if the property data should be written out to the external record file. API-Since: 3.0 Deprecated-Since: 11.0 Deprecated-Message: Spotlight integration is deprecated. Use CoreSpotlight integration instead.
      • setStoredInExternalRecord

        @Deprecated
        public void setStoredInExternalRecord​(boolean value)
        Deprecated.
        Returns a boolean value indicating if the property data should be written out to the external record file. API-Since: 3.0 Deprecated-Since: 11.0 Deprecated-Message: Spotlight integration is deprecated. Use CoreSpotlight integration instead.
      • isTransient

        public boolean isTransient()
        The transient flag specifies whether a property's value is persisted or ignored when an object is persisted - transient properties are still managed for undo/redo, validation, etc.
      • setTransient

        public void setTransient​(boolean value)
        The transient flag specifies whether a property's value is persisted or ignored when an object is persisted - transient properties are still managed for undo/redo, validation, etc.
      • name

        @NotNull
        public @NotNull java.lang.String name()
      • renamingIdentifier

        @Nullable
        public @Nullable java.lang.String renamingIdentifier()
        API-Since: 3.0
      • setName

        public void setName​(@NotNull
                            @NotNull java.lang.String value)
      • setRenamingIdentifier

        public void setRenamingIdentifier​(@Nullable
                                          @Nullable java.lang.String value)
        API-Since: 3.0
      • setUserInfo

        public void setUserInfo​(@Nullable
                                @Nullable NSDictionary<?,​?> value)
      • setValidationPredicatesWithValidationWarnings

        public void setValidationPredicatesWithValidationWarnings​(@Nullable
                                                                  @Nullable NSArray<? extends NSPredicate> validationPredicates,
                                                                  @Nullable
                                                                  @Nullable NSArray<java.lang.String> validationWarnings)
      • setVersionHashModifier

        public void setVersionHashModifier​(@Nullable
                                           @Nullable java.lang.String value)
        Returns/sets the version hash modifier for the property. This value is included in the version hash for the property, allowing developers to mark/denote a property as being a different "version" than another, even if all of the values which affects persistence are equal. (Such a difference is important in cases where the design of a property is unchanged, but the format or content of data has changed.) API-Since: 3.0
      • userInfo

        @Nullable
        public @Nullable NSDictionary<?,​?> userInfo()
      • validationPredicates

        @NotNull
        public @NotNull NSArray<? extends NSPredicate> validationPredicates()
        Instead of individual methods to set/get parameters like length, min and max values, formats, etc., there is a list of predicates evaluated against the managed objects and corresponding error messages (which can be localized).
      • validationWarnings

        @NotNull
        public @NotNull NSArray<?> validationWarnings()
      • versionHash

        @NotNull
        public @NotNull NSData versionHash()
        Returns the version hash for the property. The version hash is used to uniquely identify a property based on its configuration. The version hash uses only values which affect the persistence of data and the user-defined versionHashModifier value. (The values which affect persistence are the name of the property, the flags for isOptional, isTransient, and isReadOnly). This value is stored as part of the version information in the metadata for stores, as well as a definition of a property involved in an NSPropertyMapping. API-Since: 3.0
      • versionHashModifier

        @Nullable
        public @Nullable java.lang.String versionHashModifier()
        Returns/sets the version hash modifier for the property. This value is included in the version hash for the property, allowing developers to mark/denote a property as being a different "version" than another, even if all of the values which affects persistence are equal. (Such a difference is important in cases where the design of a property is unchanged, but the format or content of data has changed.) API-Since: 3.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.