# EORelationship

mirko.viviani@gmail.com
mguesdon@orange-concept.com
Generated at 2026-02-03 22:13:20 +0000

2000-2002,2003,2004,2005 Free Software Foundation, Inc.
Software documentation for the EORelationship class
EOAccess/EORelationship.h
EOPropertyListEncoding
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
relationshipWithPropertyList:
propertyList
owner:
owner
Description forthcoming.
anyInverseRelationship
Description forthcoming.
componentRelationships
Returns the array of relationships composing this flattend relationship. Returns `nil` of the reciever isn't flattend.
definition
Description forthcoming.
deleteRule
Description forthcoming.
destinationAttributes
Description forthcoming.
destinationEntity
Returns the relationship's destination entity (direct destination entity or destination entity of the last relationship in definition.
docComment
Accessing documentation comments
entity
Returns the relationship's source entity.
hiddenInverseRelationship
Description forthcoming.
inverseRelationship
"Search only already created inverse relationship in destination entity relationships. Nil if none"
isBidirectional
Description forthcoming.
isCompound
Returns `YES` if the relationship have more than 1 join (i.e. join on more that one (sourceAttribute/destinationAttribute), `NO` otherwise (1 or less join)
isFlattened
Returns `YES` when the relationship traverses at least two entities (exemple: aRelationship.anotherRelationship), `NO` otherwise.
isMandatory
Description forthcoming.
isParentRelationship
Description forthcoming.
isToMany
return `YES` if the relation if a to-many one, `NO` otherwise (please read books to know what to-many mean :-)
joinSemantic
Description forthcoming.
joinSemanticString
Description forthcoming.
joins
Description forthcoming.
name
Description forthcoming.
numberOfToManyFaultsToBatchFetch
Description forthcoming.
ownsDestination
Description forthcoming.
propagatesPrimaryKey
Description forthcoming.
qualifierWithSourceRow:
sourceRow
Description forthcoming.
referencesProperty:
property
Description forthcoming.
sourceAttributes
Description forthcoming.
userInfo
Description forthcoming.
Software documentation for the EORelationship(EORelationshipEditing) category
EOAccess/EORelationship.h
Description forthcoming.
addJoin:
join
Description forthcoming.
beautifyName
Description forthcoming.
removeJoin:
join
Description forthcoming.
setDefinition:
definition
Description forthcoming.
setDeleteRule:
deleteRule
Description forthcoming.
setDocComment:
docComment
Description forthcoming.
setEntity:
entity

Sets the entity of the reciever.

If the receiver already has an entity assigned to it the old relationship will will be removed first.

This method is used by [EOEntity -addRelationship:] and [EOEntity -removeRelationship:] which should be used for general relationship manipulations. This method should only be useful when creating flattend relationships programmatically.

setInternalInfo:
dictionary
Description forthcoming.
setIsBidirectional:
flag
Description forthcoming.
setIsMandatory:
isMandatory
Description forthcoming.
setJoinSemantic:
joinSemantic
Description forthcoming.
setName:
name
Description forthcoming.
setNumberOfToManyFaultsToBatchFetch:
size
Description forthcoming.
setOwnsDestination:
flag
Description forthcoming.
setPropagatesPrimaryKey:
flag
Description forthcoming.
setToMany:
flag
Description forthcoming.
setUserInfo:
dictionary
Description forthcoming.
validateName:
name
Description forthcoming.
Software documentation for the EORelationship(EORelationshipPrivate2) category
EOAccess/EORelationship.h
Description forthcoming.
_definitionArray
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_deleteRuleFromString:
deleteRuleString
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_flushCache
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_foreignKeyForSourceRow:
row
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
Return dictionary of key/value for destination object of source row/object
_joinsChanged
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_leftSideKeyMap
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_rightSideKeyMap
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_sourceAttributeNames
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_sourceRowToForeignKeyMapping
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_stringFromDeleteRule:
deleteRule
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_substitutionRelationshipForRow:
row
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
auxiliaryQualifier
Description forthcoming.
isPropagatesPrimaryKeyPossible
Description forthcoming.
joinForAttribute:
attribute
Description forthcoming.
qualifierOmittingAuxiliaryQualifierWithSourceRow:
row
Description forthcoming.
setAuxiliaryQualifier:
qualifier
Description forthcoming.
Software documentation for the EORelationship(EORelationshipValueMapping) category
EOAccess/EORelationship.h
Description forthcoming.
validateValue:
valueP
If the reciever is a manditory relationship, this method returns an exception if the value pointed to by VALUEP is either `nil` or the EONull instance for to-one relationships or an empty NSArray for to-many relationships. Otherwise it returns `nil`. EOClassDescription adds further information to this exception before it gets passed to the application or user.
Software documentation for the EORelationship(EORelationshipXX) category
EOAccess/EORelationship.h
Description forthcoming.
_intermediateAttributes
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_setSourceToDestinationKeyMap:
sourceToDestinationKeyMap
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_sourceToDestinationKeyMap
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
firstRelationship
Return the 1st relationship if self is flattened, self otherwise.
foreignKeyInDestination
Description forthcoming.
intermediateEntity
Description forthcoming.
isMultiHop
Description forthcoming.
isToManyToOne
Description forthcoming.
lastRelationship
Return the last relationship if self is flattened, self otherwise.
primaryKeyForTargetRowFromSourceDBSnapshot:
dbSnapshot
Description forthcoming.
qualifierForDBSnapshot:
dbSnapshot
Description forthcoming.
relationshipPath
Return relationship path (like toRel1.toRel2) if self is flattened, slef name otherwise.
EORelationship types

Description forthcoming.