Property :: superset - Get collection handle for superset (base collection)
The function returns the superset (base collection) property handle, when a superset has been defined for the collection (relationship or extent). Otherwise the function throws an exception.
For relationships, the returned property handle is a subordinated handle to the current property handle, i.e. the superset may change whenever the collection in the current property handle changes (or the instance in the parent property changes).
A property handle refers to a (usually) opened property. Invalid properties may cause an exception.
Implementation overview
- Get property handle for default superset
Property :: superset (  ) - Get property handle for superset by position
Property :: superset ( iPosition )
Implementation details
-
Get property handle for default superset
odaba::Property Property  :: superset (  )
The function returns the property handle for the default superset for the collection (if there is any). When no superset has been defined, the function throws an exception.
For extents, which may have got more than one superset, the function returns the property handle for the first superset, if there is any (same as superset( 0 ) );
to list
-
Get property handle for superset by position
odaba::Property Property  :: superset ( int32 iPosition )
The function should be called for extent properties in order to obtain the property handle for one of several defined supersets at position iPosition in the superset list. For relationships or extents with only one superset it is more appropriate to call superset() or superset( 0 ) .
- iPosition
- Position in collection
The position of an element in a collection is beginning with 0 for the first element.
to list
- iPosition
- Position in collection