- Inherits from:
- EODataSource : Object
- Package:
- com.apple.client.eocontrol
EOEditingContextDataSource is a concrete subclass of EODataSource that uses an EOEditingContext as its source of objects.
Note: This class doesn't exist in the com.apple.yellow.eocontrol package. |
EOEditingContextDataSource implements all the functionality defined by EODataSource: In addition to fetching objects, it can insert and delete them (provided the entity isn't read-only). See the EODataSource class specification for more information on these topics.
EOEditingContextDataSource provides several methods in addition to those defined by EODataSource. The additional methods- fetchEnabled and setFetchEnabled, fetchSpecification and setFetchSpecification, and setQualifier-are added to support enabling and disabling fetching and to support fetching with an EOFetchSpecification.
- Constructors
- EOEditingContextDataSource
- Fetching objects
- fetchObjects
- setFetchSpecification
- fetchSpecification
- setQualifier
- Enabling fetching
- setFetchEnabled
- fetchEnabled
- setEditingContext
public
EOEditingContextDataSource
(String entityName)
public
EOEditingContextDataSource
(
EOEditingContext anEditingContext,
String entityName)
See Also: setFetchEnabled
public boolean
fetchEnabled
()
true
if fetching
is enabled, false
if not.See Also: EOEditingContextDataSource constructor, setFetchEnabled, setEditingContext
public NSArray
fetchObjects
()
null
otherwise.public EOFetchSpecification
fetchSpecification
()
public void
setEditingContext
(EOEditingContext anEditingContext)
null
,
fetching is enabled.See Also: setFetchEnabled
public void
setFetchEnabled
(boolean flag)
See Also: EOEditingContextDataSource constructor, setEditingContext
public void
setFetchSpecification
(EOFetchSpecification fetchSpec)
See Also: fetchSpecification
public void
setQualifier
(EOQualifier aQualifier)