public class ERXDetailDataSource
extends com.webobjects.eocontrol.EODetailDataSource
EODatabaseDataSource,
Serialized Formcom.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support| Modifier and Type | Field and Description |
|---|---|
protected com.webobjects.eocontrol.EOQualifier |
_auxiliaryQualifier |
| Constructor and Description |
|---|
ERXDetailDataSource(com.webobjects.eocontrol.EOClassDescription masterClassDescription,
String key)
Creates and returns a new ERXDetailDataSource object.
|
ERXDetailDataSource(com.webobjects.eocontrol.EODataSource masterDataSource,
String key)
Creates and returns a new ERXDetailDataSource object.
|
ERXDetailDataSource(String masterEntityName,
String key)
Creates and returns a new ERXDetailDataSource object.
|
| Modifier and Type | Method and Description |
|---|---|
com.webobjects.eocontrol.EOQualifier |
auxiliaryQualifier()
Returns the auxiliary EOQualifier used to filter the detail objects of
the master object.
|
static Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver unarchiver)
Provides conformance to EOKeyValueArchiving.
|
void |
encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver archiver) |
NSArray |
fetchObjects() |
void |
setAuxiliaryQualifier(com.webobjects.eocontrol.EOQualifier newQualifier)
Sets the auxiliary qualifier to
newQualifier. |
classDescriptionForObjects, dataSourceQualifiedByKey, deleteObject, detailKey, editingContext, insertObject, masterClassDescription, masterDataSource, masterObject, qualifyWithRelationshipKey, setDetailKey, setMasterClassDescriptionpublic ERXDetailDataSource(String masterEntityName, String key)
masterObject is associated with the class
description of the given masterEntityName, and
key is assigned to the new data source's
detailKey. The constructor invokes
qualifyWithRelationshipKey specifying key as the
relationship key and null as the object.masterEntityName - the entity name of the master objectkey - keypath defining relationship on the master objectpublic ERXDetailDataSource(com.webobjects.eocontrol.EOClassDescription masterClassDescription,
String key)
masterObject is associated with
masterClassDescription, and key is assigned to
the new data source's detailKey. The constructor invokes
qualifyWithRelationshipKey specifying key as the
relationship key and null as the object.masterClassDescription - class description for the master objectkey - keypath defining relationship on the master objectpublic ERXDetailDataSource(com.webobjects.eocontrol.EODataSource masterDataSource,
String key)
key from a masterObject in
masterDataSource.masterDataSource - provider of the master objectskey - the String giving the new relationshippublic void setAuxiliaryQualifier(com.webobjects.eocontrol.EOQualifier newQualifier)
newQualifier. The auxiliary
qualifier is used to filter the resulting detail objects of the master
object.newQualifier - the new auxiliary EOQualifierpublic com.webobjects.eocontrol.EOQualifier auxiliaryQualifier()
public NSArray fetchObjects()
fetchObjects in class com.webobjects.eocontrol.EODetailDataSourcepublic static Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver unarchiver)
unarchiver - the unarchiver objectpublic void encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver archiver)
encodeWithKeyValueArchiver in interface com.webobjects.eocontrol.EOKeyValueArchivingencodeWithKeyValueArchiver in class com.webobjects.eocontrol.EODetailDataSourceCopyright © 2002 – 2020 Project Wonder.