This is the interface for annotation cast expressions.
It includes interface /IWBEP/IF_V4_ANNO_ITEM.
importing IV_TERM_NAMESPACE type STRING IV_TERM_NAME type STRING IV_QUALIFIER type STRING returning value(RO_ANNOTATION) type ref to /IWBEP/IF_V4_ANNO_ANNOTATION raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_term_namespace |
Term namespace. |
iv_term_name |
Term name. |
iv_qualifier |
Qualifier. |
ro_annotation |
Annotation. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
An exception is raised if the provided term name or term namespace is not valid according to the OData V4 specification.
importing IV_TYPE_NAME type STRING IV_TYPE_NAMESPACE type STRING returning value(RO_CAST) type ref to /IWBEP/IF_V4_ANNO_CAST raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_type_name |
Type name. |
iv_type_namespace |
Type namespace. |
ro_cast |
Cast expression. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
importing IV_CON_EXPRESSION_OPERATOR type /IWBEP/IF_V4_ANNO_TYPES=>TY_CON_EXPRESSION_OPERATOR returning value(RO_CONDITIONAL_EXPRESSION) type ref to /IWBEP/IF_V4_ANNO_COND_EXP raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_con_expression_operator |
Conditional expression operator. |
ro_conditional_expression |
Conditional expression. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
An exception is raised if the provided conditional expression is not supported.
importing IV_FUNCTION_NAMESPACE type STRING IV_FUNCTION_NAME type STRING returning value(RO_FUNCTION) type ref to /IWBEP/IF_V4_ANNO_FUNCTION raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_function_namespace |
Function namespace. |
iv_function_name |
Function name. |
ro_function |
Function |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
An exception is raised if the provided function name or function namespace is not valid according to the OData V4 specification. An exception is also raised if the provided function name or namespace is initial.
importing IV_TYPE_NAME type STRING IV_TYPE_NAMESPACE type STRING returning value(RO_ISOF) type ref to /IWBEP/IF_V4_ANNO_ISOF raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_type_name |
Type name. |
iv_type_namespace |
Type namespace. |
ro_isof |
IsOf expression. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
importing IV_LABEL_NAME type STRING returning value(RO_LABELED_ELEMENT) type ref to /IWBEP/IF_V4_ANNO_LABEL_ELEM raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_label_name |
Label name. |
ro_labeled_element |
Labeled element expression. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
An exception is raised if the provided label name is not valid according to the OData V4 specification. An exception is also raised if the provided label name is initial.
returning value(RO_NULL) type ref to /IWBEP/IF_V4_ANNO_NULL raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
ro_null |
Null expression. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.
importing IV_RECORD_TYPE_NAMESPACE type STRING IV_RECORD_TYPE type STRING returning value(RO_RECORD) type ref to /IWBEP/IF_V4_ANNO_RECORD raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
iv_record_type_namespace |
Record namespace. |
iv_record_type |
Record type. |
ro_record |
Record |
Exceptions
The annotation exception is iwbep/cx_v4_annotation. An exception is raised if the provided record type name or record type namespace is not valid according to the OData V4 specification.
returning value(RO_SIMPLE_VALUE) type ref to /IWBEP/IF_V4_ANNO_SIMP_VAL raising /IWBEP/CX_V4_ANNOTATION .
Parameter |
Description |
---|---|
ro_simple_value |
Annotation simple value. |
Exceptions
The annotation exception is iwbep/cx_v4_annotation.