Package org.robovm.apple.coredata
Class NSFetchRequest
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coredata.NSPersistentStoreRequest
-
- org.robovm.apple.coredata.NSFetchRequest
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSFetchRequest extends NSPersistentStoreRequest implements NSCoding
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSFetchRequest.NSFetchRequestPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.coredata.NSPersistentStoreRequest
NSPersistentStoreRequest.NSPersistentStoreRequestPtr
-
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 NSFetchRequest()
NSFetchRequest(java.lang.String entityName)
NSFetchRequest(NSCoder decoder)
protected
NSFetchRequest(NSObject.Handle h, long handle)
protected
NSFetchRequest(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.coredata.NSPersistentStoreRequest
getRequestType
-
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
-
NSFetchRequest
public NSFetchRequest()
-
NSFetchRequest
protected NSFetchRequest(NSObject.Handle h, long handle)
-
NSFetchRequest
protected NSFetchRequest(NSObject.SkipInit skipInit)
-
NSFetchRequest
public NSFetchRequest(java.lang.String entityName)
- Since:
- Available in iOS 4.0 and later.
-
NSFetchRequest
public NSFetchRequest(NSCoder decoder)
-
-
Method Detail
-
getEntity
public NSEntityDescription getEntity()
-
setEntity
public void setEntity(NSEntityDescription v)
-
getEntityName
public java.lang.String getEntityName()
- Since:
- Available in iOS 4.0 and later.
-
getPredicate
public NSPredicate getPredicate()
-
setPredicate
public void setPredicate(NSPredicate v)
-
getSortDescriptors
public NSArray<NSSortDescriptor> getSortDescriptors()
-
setSortDescriptors
public void setSortDescriptors(NSArray<NSSortDescriptor> v)
-
getFetchLimit
public long getFetchLimit()
-
setFetchLimit
public void setFetchLimit(long v)
-
getAffectedStores
public java.util.List<java.lang.String> getAffectedStores()
- Overrides:
getAffectedStores
in classNSPersistentStoreRequest
-
setAffectedStores
public void setAffectedStores(java.util.List<java.lang.String> v)
- Overrides:
setAffectedStores
in classNSPersistentStoreRequest
-
getResultType
public NSFetchRequestResultType getResultType()
- Since:
- Available in iOS 3.0 and later.
-
setResultType
public void setResultType(NSFetchRequestResultType v)
- Since:
- Available in iOS 3.0 and later.
-
includesSubentities
public boolean includesSubentities()
- Since:
- Available in iOS 3.0 and later.
-
setIncludesSubentities
public void setIncludesSubentities(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
includesPropertyValues
public boolean includesPropertyValues()
- Since:
- Available in iOS 3.0 and later.
-
setIncludesPropertyValues
public void setIncludesPropertyValues(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
returnsObjectsAsFaults
public boolean returnsObjectsAsFaults()
- Since:
- Available in iOS 3.0 and later.
-
setReturnsObjectsAsFaults
public void setReturnsObjectsAsFaults(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
getRelationshipKeyPathsForPrefetching
public java.util.List<java.lang.String> getRelationshipKeyPathsForPrefetching()
- Since:
- Available in iOS 3.0 and later.
-
setRelationshipKeyPathsForPrefetching
public void setRelationshipKeyPathsForPrefetching(java.util.List<java.lang.String> v)
- Since:
- Available in iOS 3.0 and later.
-
includesPendingChanges
public boolean includesPendingChanges()
- Since:
- Available in iOS 3.0 and later.
-
setIncludesPendingChanges
public void setIncludesPendingChanges(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
returnsDistinctResults
public boolean returnsDistinctResults()
- Since:
- Available in iOS 3.0 and later.
-
setReturnsDistinctResults
public void setReturnsDistinctResults(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
getPropertiesToFetch
public NSArray<NSPropertyDescription> getPropertiesToFetch()
- Since:
- Available in iOS 3.0 and later.
-
setPropertiesToFetch
public void setPropertiesToFetch(NSArray<NSPropertyDescription> v)
- Since:
- Available in iOS 3.0 and later.
-
getFetchOffset
public long getFetchOffset()
- Since:
- Available in iOS 3.0 and later.
-
setFetchOffset
public void setFetchOffset(long v)
- Since:
- Available in iOS 3.0 and later.
-
getFetchBatchSize
public long getFetchBatchSize()
- Since:
- Available in iOS 3.0 and later.
-
setFetchBatchSize
public void setFetchBatchSize(long v)
- Since:
- Available in iOS 3.0 and later.
-
shouldRefreshRefetchedObjects
public boolean shouldRefreshRefetchedObjects()
- Since:
- Available in iOS 5.0 and later.
-
setShouldRefreshRefetchedObjects
public void setShouldRefreshRefetchedObjects(boolean v)
- Since:
- Available in iOS 5.0 and later.
-
getPropertiesToGroupBy
public NSArray<NSPropertyDescription> getPropertiesToGroupBy()
- Since:
- Available in iOS 5.0 and later.
-
setPropertiesToGroupBy
public void setPropertiesToGroupBy(NSArray<NSPropertyDescription> v)
- Since:
- Available in iOS 5.0 and later.
-
getHavingPredicate
public NSPredicate getHavingPredicate()
- Since:
- Available in iOS 5.0 and later.
-
setHavingPredicate
public void setHavingPredicate(NSPredicate v)
- Since:
- Available in iOS 5.0 and later.
-
init
protected long init(java.lang.String entityName)
- Since:
- Available in iOS 4.0 and later.
-
execute
public NSArray<?> execute() throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(NSCoder decoder)
-
-