PropertyContext :: value - Get value handle
The property provides the value handle managed by the context or a subordinated value handle.
A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.
Implementation overview
- Get context value handle
PropertyContext :: value (  ) - Provide value for property path
PropertyContext :: value ( vSimplePath )
Implementation details
-
Get context value handle
odaba::Value & PropertyContext  :: value (  )
The function provides the value handle managed by the context. Typically, the function is called for attributes. When calling the function for a collection property, the value refers to the selected instance in the property handle.
to list
-
Provide value for property path
odaba::Value & PropertyContext  :: value ( odaba::String &vSimplePath )
The function returns the value handle for the property path passed in vSimplePath . The function returns values within a complex data type instance (e.g. direction.city , where city is an attribute of the embedded Address type of direction ) as well as paths that include references ( mother.name , where mother is a reference to a persons mother). 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 ( mother(0).name 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.
to list
- vSimplePath
- Simple property path