Package org.robovm.apple.coredata
Class NSPropertyDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coredata.NSPropertyDescription
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
NSAttributeDescription
,NSExpressionDescription
,NSFetchedPropertyDescription
,NSRelationshipDescription
public class NSPropertyDescription extends NSObject implements NSCoding
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSPropertyDescription.NSPropertyDescriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSPropertyDescription()
NSPropertyDescription(NSCoder decoder)
protected
NSPropertyDescription(NSObject.Handle h, long handle)
protected
NSPropertyDescription(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
encode(NSCoder coder)
NSEntityDescription
getEntity()
java.lang.String
getName()
java.lang.String
getRenamingIdentifier()
NSDictionary<?,?>
getUserInfo()
NSArray<NSPredicate>
getValidationPredicates()
java.util.List<java.lang.String>
getValidationWarnings()
NSData
getVersionHash()
java.lang.String
getVersionHashModifier()
protected long
init(NSCoder decoder)
boolean
isIndexed()
Deprecated.Deprecated in iOS 11.0.boolean
isIndexedBySpotlight()
boolean
isOptional()
boolean
isStoredInExternalRecord()
Deprecated.Deprecated in iOS 11.0.boolean
isTransient()
void
setIndexed(boolean v)
Deprecated.Deprecated in iOS 11.0.void
setIndexedBySpotlight(boolean v)
void
setName(java.lang.String v)
void
setOptional(boolean v)
void
setRenamingIdentifier(java.lang.String v)
void
setStoredInExternalRecord(boolean v)
Deprecated.Deprecated in iOS 11.0.void
setTransient(boolean v)
void
setUserInfo(NSDictionary<?,?> v)
void
setValidationPredicatesAndWarnings(NSArray<NSPredicate> validationPredicates, java.util.List<java.lang.String> validationWarnings)
void
setVersionHashModifier(java.lang.String v)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSPropertyDescription
public NSPropertyDescription()
-
NSPropertyDescription
protected NSPropertyDescription(NSObject.Handle h, long handle)
-
NSPropertyDescription
protected NSPropertyDescription(NSObject.SkipInit skipInit)
-
NSPropertyDescription
public NSPropertyDescription(NSCoder decoder)
-
-
Method Detail
-
getEntity
public NSEntityDescription getEntity()
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.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 java.util.List<java.lang.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- Since:
- Available in iOS 3.0 and later.
-
setIndexed
@Deprecated public void setIndexed(boolean v)
Deprecated.Deprecated in iOS 11.0. Use NSEntityDescription.indexes instead- Since:
- Available in iOS 3.0 and later.
-
getVersionHash
public NSData getVersionHash()
- Since:
- Available in iOS 3.0 and later.
-
getVersionHashModifier
public java.lang.String getVersionHashModifier()
- Since:
- Available in iOS 3.0 and later.
-
setVersionHashModifier
public void setVersionHashModifier(java.lang.String v)
- Since:
- Available in iOS 3.0 and later.
-
isIndexedBySpotlight
public boolean isIndexedBySpotlight()
- Since:
- Available in iOS 3.0 and later.
-
setIndexedBySpotlight
public void setIndexedBySpotlight(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
isStoredInExternalRecord
@Deprecated public boolean isStoredInExternalRecord()
Deprecated.Deprecated in iOS 11.0. Spotlight integration is deprecated. Use CoreSpotlight integration instead.- Since:
- Available in iOS 3.0 and later.
-
setStoredInExternalRecord
@Deprecated public void setStoredInExternalRecord(boolean v)
Deprecated.Deprecated in iOS 11.0. Spotlight integration is deprecated. Use CoreSpotlight integration instead.- Since:
- Available in iOS 3.0 and later.
-
getRenamingIdentifier
public java.lang.String getRenamingIdentifier()
- Since:
- Available in iOS 3.0 and later.
-
setRenamingIdentifier
public void setRenamingIdentifier(java.lang.String v)
- Since:
- Available in iOS 3.0 and later.
-
setValidationPredicatesAndWarnings
public void setValidationPredicatesAndWarnings(NSArray<NSPredicate> validationPredicates, java.util.List<java.lang.String> validationWarnings)
-
init
protected long init(NSCoder decoder)
-
-