Class NSPropertyDescription

All Implemented Interfaces:
NSCoding, NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
NSAttributeDescription, NSExpressionDescription, NSFetchedPropertyDescription, NSRelationshipDescription

public class NSPropertyDescription
extends NSObject
implements NSCoding
  • Constructor Details

    • NSPropertyDescription

      public NSPropertyDescription()
    • NSPropertyDescription

      protected NSPropertyDescription​(NSObject.Handle h, long handle)
    • NSPropertyDescription

      protected NSPropertyDescription​(NSObject.SkipInit skipInit)
    • NSPropertyDescription

      public NSPropertyDescription​(NSCoder coder)
  • Method Details

    • getEntity

      public NSEntityDescription getEntity()
    • getName

      public String getName()
    • setName

      public void setName​(String v)
    • isOptional

      public boolean isOptional()
    • setOptional

      public void setOptional​(boolean v)
    • isTransient

      public boolean isTransient()
    • setTransient

      public void setTransient​(boolean v)
    • getValidationPredicates

      public NSArray<NSPredicate> getValidationPredicates()
    • getValidationWarnings

      public List<String> getValidationWarnings()
    • getUserInfo

      public NSDictionary<?,​?> getUserInfo()
    • setUserInfo

      public void setUserInfo​(NSDictionary<?,​?> v)
    • isIndexed

      @Deprecated public boolean isIndexed()
      Deprecated.
      Deprecated in iOS 11.0. Use NSEntityDescription.indexes instead
    • setIndexed

      @Deprecated public void setIndexed​(boolean v)
      Deprecated.
      Deprecated in iOS 11.0. Use NSEntityDescription.indexes instead
    • getVersionHash

      public NSData getVersionHash()
    • getVersionHashModifier

      public String getVersionHashModifier()
    • setVersionHashModifier

      public void setVersionHashModifier​(String v)
    • isIndexedBySpotlight

      public boolean isIndexedBySpotlight()
    • setIndexedBySpotlight

      public void setIndexedBySpotlight​(boolean v)
    • isStoredInExternalRecord

      @Deprecated public boolean isStoredInExternalRecord()
      Deprecated.
      Deprecated in iOS 11.0. Spotlight integration is deprecated. Use CoreSpotlight integration instead.
    • setStoredInExternalRecord

      @Deprecated public void setStoredInExternalRecord​(boolean v)
      Deprecated.
      Deprecated in iOS 11.0. Spotlight integration is deprecated. Use CoreSpotlight integration instead.
    • getRenamingIdentifier

      public String getRenamingIdentifier()
    • setRenamingIdentifier

      public void setRenamingIdentifier​(String v)
    • setValidationPredicatesAndWarnings

      public void setValidationPredicatesAndWarnings​(NSArray<NSPredicate> validationPredicates, List<String> validationWarnings)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)