This is the interface for an action parameter for OData version 4 (V4). This interface provides methods for the representation of an action.
This interface includes interface /iwbep/if_v4_med_element.
Visibility and Level |
Alias |
Component |
---|---|---|
public |
get_edm_name | //IWBEP/IF_V4_MED_ELEMENT~GET_EDM_NAME |
public |
get_internal_name |
/IWBEP/IF_V4_MED_ELEMENT~GET_INTERNAL_NAME |
This method gets the entity type object.
If the parameter type kind is an entity type, the entity type object can be requested.
RETURNING VALUE(ro_entity_type) TYPE REF TO /iwbep/if_v4_med_entity_type RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
ro_entity_type |
Entity type. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method gets the kind of the parameter type.
Based on the parameter type set by the consumer of the interface, the corresponding type kind will be set. See also constant /iwbep/if_v4_med_element=>gcs_med_argument_type_kind.
EXPORTING ev_parameter_type_kind TYPE /iwbep/if_v4_med_element=>ty_e_med_argument_type_kind .
Parameter |
Description |
---|---|
ev_parameter_type_kind |
Parameter type kind. |
This method gets the primitive type object.
If the parameter type kind is an primitve type, the primitve type object can be requested.
RETURNING VALUE(ro_primitive_type) TYPE REF TO /iwbep/if_v4_med_prim_type RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
ro_primitive_type |
Primitive type. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method checks if the action parameter is bound.
Determine if the action parameter is bound to a corresponding service artifact.
RETURNING VALUE(rv_is_binding_paramter) TYPE abap_bool .
Parameter |
Description |
---|---|
rv_is_binding_paramter |
This parameter is abap_true if action parameter is bound. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method sets the EDM name of the parameter.
IMPORTING iv_edm_name TYPE /iwbep/if_v4_med_element=>ty_e_med_edm_name RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
iv_edm_name |
EDM name. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method sets the entity type.
If the parameter type kind shall be an entity type, this method is used to set the name of the related entity type.
IMPORTING iv_entity_type_name TYPE /iwbep/if_v4_med_element=>ty_e_med_internal_name RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
iv_entity_type_name |
Internal entity type name. |
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method sets the action as bound operation.
RAISING /iwbep/cx_v4_med .
Exceptions
The metadata exception is iwbep/cx_v4_med.
This method sets the primitive type.
If the parameter type kind shall be a primitve type, this method is used to set the name of the related primitive type.
IMPORTING iv_primitive_type_name TYPE /iwbep/if_v4_med_element=>ty_e_med_internal_name RAISING /iwbep/cx_v4_med .
Parameter |
Description |
---|---|
iv_primitive_type_name |
Internal name of the primitive type. |
Exceptions
The metadata exception is iwbep/cx_v4_med.