Class NSPropertyDescription

    • Constructor Detail

      • NSPropertyDescription

        protected NSPropertyDescription​(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()
      • copyWithZone

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

        public boolean isIndexed()
        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.
      • setIndexed

        public void setIndexed​(boolean value)
        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.
      • isIndexedBySpotlight

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

        public void setIndexedBySpotlight​(boolean value)
        Returns a boolean value indicating if the property should be indexed by Spotlight.
      • 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

        public boolean isStoredInExternalRecord()
        Returns a boolean value indicating if the property data should be written out to the external record file.
      • setStoredInExternalRecord

        public void setStoredInExternalRecord​(boolean value)
        Returns a boolean value indicating if the property data should be written out to the external record file.
      • 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

        public java.lang.String name()
      • renamingIdentifier

        public java.lang.String renamingIdentifier()
      • setName

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

        public void setRenamingIdentifier​(java.lang.String value)
      • setUserInfo

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

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

        public void setVersionHashModifier​(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.)
      • validationPredicates

        public 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

        public NSArray<?> validationWarnings()
      • versionHash

        public 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.
      • versionHashModifier

        public 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.)