public class ERXDetailDataSource extends EODetailDataSource
EODatabaseDataSource
,
Serialized FormEOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
Modifier and Type | Field and Description |
---|---|
protected EOQualifier |
_auxiliaryQualifier |
_CLASS
Constructor and Description |
---|
ERXDetailDataSource(EOClassDescription masterClassDescription,
String key)
Creates and returns a new ERXDetailDataSource object.
|
ERXDetailDataSource(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 |
---|---|
EOQualifier |
auxiliaryQualifier()
Returns the auxiliary EOQualifier used to filter the detail objects of
the master object.
|
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
Provides conformance to EOKeyValueArchiving.
|
void |
encodeWithKeyValueArchiver(EOKeyValueArchiver archiver) |
NSArray |
fetchObjects() |
void |
setAuxiliaryQualifier(EOQualifier newQualifier)
Sets the auxiliary qualifier to
newQualifier . |
classDescriptionForObjects, dataSourceQualifiedByKey, deleteObject, detailKey, editingContext, insertObject, masterClassDescription, masterDataSource, masterObject, qualifyWithRelationshipKey, setDetailKey, setMasterClassDescription
createObject
protected EOQualifier _auxiliaryQualifier
public 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(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(EODataSource masterDataSource, String key)
key
from a masterObject
in
masterDataSource
.masterDataSource
- provider of the master objectskey
- the String giving the new relationshippublic void setAuxiliaryQualifier(EOQualifier newQualifier)
newQualifier
. The auxiliary
qualifier is used to filter the resulting detail objects of the master
object.newQualifier
- the new auxiliary EOQualifierpublic EOQualifier auxiliaryQualifier()
public NSArray fetchObjects()
fetchObjects
in class EODetailDataSource
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
unarchiver
- the unarchiver objectpublic void encodeWithKeyValueArchiver(EOKeyValueArchiver archiver)
encodeWithKeyValueArchiver
in interface EOKeyValueArchiving
encodeWithKeyValueArchiver
in class EODetailDataSource
Copyright © 2002 – 2024 Project Wonder.