company logo

PropertyContext :: property - Property handle

The property provides the property handle managed by the context or a subordinated property handle.

Return value:  Property reference ( odaba::Property & )

A property handle refers to a (usually) opened property. Invalid properties may cause an exception.

Implementation overview

Implementation details

  1. Get context property handle
    odaba::Property & PropertyContext  :: property (  )

    The function provides the property handle managed by the context. The function should be called for collection properties, only.

  2. to list
  3. Provide property for path
    odaba::Property & PropertyContext  :: property ( odaba::String &vSimplePath )

    The function returns the property handle for the property path passed invSimplePath. The function returns values within a complex data type instance (e.g. employee.children, where children is a property of Person. You must not pass path properties or operation paths to the function, i.e. the path must not refer to operations or selectors or to iteration operators (employee(0).children is not a valid path).

    When the property could not be found, the function throws an exception.

    • vSimplePath - Simple property path

      A simple property path may contain an extent or property name but also a sequence of property names separated by dot. A simple property path must not contain parenthesis or preceding dots.

  4. to list