Package org.robovm.apple.coredata
Class NSEntityDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coredata.NSEntityDescription
-
- All Implemented Interfaces:
NSCoding
,NSFastEnumeration
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSEntityDescription extends NSObject implements NSCoding, NSFastEnumeration
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSEntityDescription.NSEntityDescriptionPtr
-
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 NSEntityDescription()
NSEntityDescription(NSCoder decoder)
protected
NSEntityDescription(NSObject.Handle h, long handle)
protected
NSEntityDescription(NSObject.SkipInit skipInit)
-
Method Summary
-
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
-
NSEntityDescription
public NSEntityDescription()
-
NSEntityDescription
protected NSEntityDescription(NSObject.Handle h, long handle)
-
NSEntityDescription
protected NSEntityDescription(NSObject.SkipInit skipInit)
-
NSEntityDescription
public NSEntityDescription(NSCoder decoder)
-
-
Method Detail
-
getManagedObjectModel
public NSManagedObjectModel getManagedObjectModel()
-
getManagedObjectClassName
public java.lang.String getManagedObjectClassName()
-
setManagedObjectClassName
public void setManagedObjectClassName(java.lang.String v)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String v)
-
isAbstract
public boolean isAbstract()
-
setAbstract
public void setAbstract(boolean v)
-
getSubentitiesByName
public NSDictionary<NSString,NSEntityDescription> getSubentitiesByName()
-
getSubentities
public NSArray<NSEntityDescription> getSubentities()
-
setSubentities
public void setSubentities(NSArray<NSEntityDescription> v)
-
getSuperentity
public NSEntityDescription getSuperentity()
-
getPropertiesByName
public NSDictionary<NSString,NSPropertyDescription> getPropertiesByName()
-
getProperties
public NSArray<NSPropertyDescription> getProperties()
-
setProperties
public void setProperties(NSArray<NSPropertyDescription> v)
-
getUserInfo
public NSDictionary<?,?> getUserInfo()
-
setUserInfo
public void setUserInfo(NSDictionary<?,?> v)
-
getAttributesByName
public NSDictionary<NSString,NSAttributeDescription> getAttributesByName()
-
getRelationshipsByName
public NSDictionary<NSString,NSRelationshipDescription> getRelationshipsByName()
-
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.
-
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.
-
getIndexes
public NSArray<NSFetchIndexDescription> getIndexes()
- Since:
- Available in iOS 11.0 and later.
-
setIndexes
public void setIndexes(NSArray<NSFetchIndexDescription> v)
- Since:
- Available in iOS 11.0 and later.
-
getUniquenessConstraints
public NSArray<NSArray<?>> getUniquenessConstraints()
- Since:
- Available in iOS 9.0 and later.
-
setUniquenessConstraints
public void setUniquenessConstraints(NSArray<NSArray<?>> v)
- Since:
- Available in iOS 9.0 and later.
-
getCompoundIndexes
@Deprecated public NSArray<NSArray<?>> getCompoundIndexes()
Deprecated.Deprecated in iOS 11.0. Use NSEntityDescription.indexes instead- Since:
- Available in iOS 3.0 and later.
-
setCompoundIndexes
@Deprecated public void setCompoundIndexes(NSArray<NSArray<?>> v)
Deprecated.Deprecated in iOS 11.0. Use NSEntityDescription.indexes instead- Since:
- Available in iOS 3.0 and later.
-
getCoreSpotlightDisplayNameExpression
public NSExpression getCoreSpotlightDisplayNameExpression()
- Since:
- Available in iOS 11.0 and later.
-
setCoreSpotlightDisplayNameExpression
public void setCoreSpotlightDisplayNameExpression(NSExpression v)
- Since:
- Available in iOS 11.0 and later.
-
getRelationshipsWithDestination
public NSArray<NSRelationshipDescription> getRelationshipsWithDestination(NSEntityDescription entity)
-
isKindOfEntity
public boolean isKindOfEntity(NSEntityDescription entity)
- Since:
- Available in iOS 3.0 and later.
-
getEntityByNameInContext
public static NSEntityDescription getEntityByNameInContext(java.lang.String entityName, NSManagedObjectContext context)
-
insertNewEntityInContext
public static NSEntityDescription insertNewEntityInContext(java.lang.String entityName, NSManagedObjectContext context)
-
init
protected long init(NSCoder decoder)
-
-