PATH Documentation > WebObjects

Table of Contents

EOArrayDataSource


Inherits from:
EODataSource
Implements:
Serializable
Package:
com.webobjects.eocontrol


Class Description


EOArrayDataSource is a concrete subclass of EODataSource that can be used to provide enterprise objects to a display group (EODisplayGroup from EOInterface or WODisplayGroup from WebObjects) without having to fetch them from the database. In an EOArrayDataSource, objects are maintained in an in-memory NSArray.

EOArrayDataSource can fetch, insert, and delete objects-operations it performs directly with its array. It can also provide a detail data source.




Constructors



EOArrayDataSource

public EOArrayDataSource( EOClassDescription classDescription, EOEditingContext editingContext)

Creates and returns an EOArrayDataSource object where classDescription contains information about the objects provided by the EOArrayDataSource and editingContext is the EOArrayDataSource's editing context. Either argument may be null.


Instance Methods



classDescriptionForObjects

public EOClassDescription classDescriptionForObjects()

Description forthcoming.

createObject

public Object createObject()

Description forthcoming.

dataSourceQualifiedByKey

public EODataSource dataSourceQualifiedByKey(String aString)

Description forthcoming.

deleteObject

public void deleteObject(Object anObject)

Description forthcoming.

editingContext

public EOEditingContext editingContext()

Description forthcoming.

fetchObjects

public NSArray fetchObjects()

Description forthcoming.

insertObject

public void insertObject(Object anObject)

Description forthcoming.

qualifyWithRelationshipKey

public void qualifyWithRelationshipKey( String aString, Object anObject)

Description forthcoming.

setArray

public void setArray(foundation.NSArray array)

Sets the receiver's array of objects to array.

© 2001 Apple Computer, Inc. (Last Published April 19, 2001)


Table of Contents