company logo

Property :: keyDefinition - Get key definition

The function returns the type definition for the key passed in sKeyName. This is not necessarily an access key of the collection referenced by the property handle.

Return value:  Key definition ( odaba::TypeDefinition  )

A key definition is a type definition for a key defined as projection of a complex data type.

Implementation details

const odaba::TypeDefinition Property  :: keyDefinition ( odaba::String &sKeyName )
  • sKeyName - Key name

    The key name must be the name of a key defined for the given structure. Thekey name is passed as string with maximum 40 characters.

    In order to pass no key name, an empty string ( String() ) has to be passed.