|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wotonomy.control.EODataSource net.wotonomy.test.TestDataSource
public class TestDataSource
A custom DataSource that works with the datastore package for persistence.
Constructor Summary | |
---|---|
TestDataSource()
|
|
TestDataSource(net.wotonomy.control.EOEditingContext aContext)
|
Method Summary | |
---|---|
net.wotonomy.control.EOClassDescription |
classDescriptionForObjects()
Returns the description of the class of the objects that is vended by this data source, or null if this cannot be determined. |
net.wotonomy.control.EODataSource |
dataSourceQualifiedByKey(java.lang.String aKey)
Returns a data source that is capable of manipulating objects of the type returned by applying the specified key to objects vended by this data source. |
void |
deleteObject(java.lang.Object anObject)
Deletes the specified object from this data source. |
net.wotonomy.control.EOEditingContext |
editingContext()
|
net.wotonomy.foundation.NSArray |
fetchObjects()
Returns a List containing the objects in this data source. |
void |
insertObject(java.lang.Object anObject)
This implementation does nothing. |
void |
qualifyWithRelationshipKey(java.lang.String aKey,
java.lang.Object anObject)
Restricts this data source to vend those objects that are associated with the specified key on the specified object. |
Methods inherited from class net.wotonomy.control.EODataSource |
---|
createObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestDataSource()
public TestDataSource(net.wotonomy.control.EOEditingContext aContext)
Method Detail |
---|
public net.wotonomy.control.EOEditingContext editingContext()
editingContext
in class net.wotonomy.control.EODataSource
public void insertObject(java.lang.Object anObject)
insertObject
in class net.wotonomy.control.EODataSource
public void deleteObject(java.lang.Object anObject)
deleteObject
in class net.wotonomy.control.EODataSource
public net.wotonomy.foundation.NSArray fetchObjects()
fetchObjects
in class net.wotonomy.control.EODataSource
public net.wotonomy.control.EODataSource dataSourceQualifiedByKey(java.lang.String aKey)
dataSourceQualifiedByKey
in class net.wotonomy.control.EODataSource
qualifyWithRelationshipKey(java.lang.String, java.lang.Object)
public void qualifyWithRelationshipKey(java.lang.String aKey, java.lang.Object anObject)
qualifyWithRelationshipKey
in class net.wotonomy.control.EODataSource
public net.wotonomy.control.EOClassDescription classDescriptionForObjects()
classDescriptionForObjects
in class net.wotonomy.control.EODataSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |