%Library.RelationshipObject
serial class %Library.RelationshipObject extends %Library.SerialObject, %Collection.AbstractIterator
For information on this class, see Defining and Using Relationships.
Registered relationship class for relationship cardinalities many and children. Instances of this class are used by n-cardinality relationships to manage objects currently related to the container object and also to manage the objects whose relationship with the container object has been removed. Related objects are loaded into this object using a query-like interface that is implemented by the inverse relationship. The order in which related objects are loaded is neither guaranteed or maintained as objects are related or unrelated. This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.Property Inventory
Method Inventory
- %AddToSaveSet()
- %RollBack()
- %SerializeObject()
- %UnSwizzleAt()
- Clear()
- Count()
- FindObject()
- FindObjectId()
- FindOref()
- GetAt()
- GetExistingObjectAt()
- GetExistingObjectNext()
- GetNext()
- GetObjectAt()
- GetObjectIdAt()
- GetObjectIdNext()
- GetObjectIdPrevious()
- GetObjectNext()
- GetObjectPrevious()
- GetOrefAt()
- GetPrevious()
- Insert()
- InsertObject()
- InsertObjectId()
- IsDefined()
- IsEmpty()
- Load()
- Next()
- Previous()
- Relate()
- Remove()
- RemoveAt()
- RemoveObject()
- UnRelate()
Parameters
Properties
Methods
Returns a %Status value indicating success or failure.
Returns a %Status value indicating success or failure.
Returns a %Status value indicating success or failure.
FindObject returns the position of the found element or null string ("") if no element was found.
FindObjectId returns the position of the found element or null string ("") if no element was found.
If key is a null string (""), the search starts at the beginning of the array.
FindOref returns the key associated with the found element or null string ("") if no element is found. Unswizzled references are compared to oref.%Oid() and if equal, swizzling will occur.
GetAt returns the value of the element at location key or null string ("") if no element is found.
Returns the value of the element at location key or the null OID if no element is found.
The value of key, which is passed by reference, is updated to the position value of the returned element or the null OID if key is at the end of the list.
The value of key, which is passed by reference, is updated to the position value of the returned element or null string ("") if key is at the end of the list.
Returns the value of the element at location key or the null OID if no element is found.
GetObjectIdAt returns the ID value of the element associated with key or null string ("") if no element is found.
The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the end of the array.
The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the beginning of the array.
The value of key, which is passed by reference, is updated to the position value of the returned element or the null OID if key is at the end of the list.
The value of key, which is passed by reference, is updated to the position value of the returned element or the null OID if key is at the beginning of the list.
Finds and returns the OREF at position key in the list without automatically swizzling the object. Returns $$$NULLOREF if no element is found or if the referenced object hasn't been swizzled.
The value of key, which is passed by reference, is updated to the position value of the returned element or the null OREF if key is at the beginning of the list.
Returns a %Status value indicating success or failure.
Returns a %Status value indicating success or failure.
Returns a %Status value indicating success or failure.
Returns a %Status value indicating success or failure. This method should not be invoked directly. It is invoked by the inverse relationship.
Remove returns the OID value of the removed element or the null OID if no element was removed.
RemoveAt returns the OID value of the removed element or the null OID if no element was removed.
RemoveAt returns the OID value of the removed element or then null OID if no element was removed.
Returns a %Status value indicating success or failure. This method should not be invoked directly. It is invoked by the inverse relationship.
Inherited Members
Inherited Methods
- %AddToSyncSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %Delete()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %GetSwizzleObject()
- %IsA()
- %IsModified()
- %IsNull()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %SetModified()
- %SyncObjectIn()
- %SyncTransport()
- %ValidateObject()
- LogicalToOdbc()
- OdbcToLogical()