SAP ABAP Class /IWBEP/CL_MGW_MED_MODEL_UTIL (utility class for model definition)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷
/IWBEP/MGW_MED_IMPLEMENTATIONS (Package) OData Channel - Metadata - Implementations
⤷
⤷
Properties
| Class | /IWBEP/CL_MGW_MED_MODEL_UTIL | |
| Short Description | utility class for model definition | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWBEP/MGW_MED_IMPLEMENTATIONS | OData Channel - Metadata - Implementations |
| Created | 20110205 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWBEP/CL_MGW_MED_MODEL_UTIL has no interface implemented.
Friends
Class /IWBEP/CL_MGW_MED_MODEL_UTIL has no friend class.
Attributes
Class /IWBEP/CL_MGW_MED_MODEL_UTIL has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20110205 | ||
| 2 | Static method | Public | Method | 20110205 | ||
| 3 | Static method | Public | Method | 20110205 | ||
| 4 | Static method | Public | Method | 20110205 | ||
| 5 | Static method | Public | Method | 20110205 | ||
| 6 | Static method | Public | Method | 20110205 | ||
| 7 | Static method | Public | Method | 20110205 | ||
| 8 | Static method | Public | Method | Get the ID for a property based on its entity and its name | 20120509 | |
| 9 | Static method | Public | Method | 20110207 | ||
| 10 | Static method | Public | Method | 20110206 | ||
| 11 | Static method | Public | Method | Get structure components considering includes | 20110512 | |
| 12 | Static method | Private | Method | Internally handling the reflection of a structure | 20110803 |
Events
Class /IWBEP/CL_MGW_MED_MODEL_UTIL has no event.
Types
Class /IWBEP/CL_MGW_MED_MODEL_UTIL has no local type.
Method Signatures
Method ADD_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ENTITY | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_ENTITY_TYPE | 20110205 | ||||
| 2 | CT_TEXT_KEYS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_TEXTS | 20110206 | ||||
| 3 | EV_NO_ELEMENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110205 | ||||
| 4 | IO_ELEMENT_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | 20110205 | ||||
| 5 | IR_PROPERTY | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_PROPERTY | 20110223 | ||||
| 6 | IV_BIND_CONVERSIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Consider conversion exits | 20110701 | ||
| 7 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20110205 | ||||
| 8 | IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRING | 20110205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110213 |
Method ADD_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ENTITY | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_ENTITY_TYPE | 20110205 | ||||
| 2 | CT_ENTITY_TYPES | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_TYPES | 20110205 | ||||
| 3 | CT_PRIVATE_ANNOTATIONS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS | 20110701 | ||||
| 4 | CT_PUBLIC_ANNOTATIONS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS | 20110701 | ||||
| 5 | CT_REFERENCES | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_REFERENCE | 20110205 | ||||
| 6 | CT_TEXT_KEYS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_TEXTS | 20110205 | ||||
| 7 | EV_NO_ELEMENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110205 | ||||
| 8 | IO_STRUCTURE_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | 20110205 | ||||
| 9 | IV_BIND_CONVERSIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Consider conversion exits | 20110701 | ||
| 10 | IV_DO_RECURSIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110205 | ||||
| 11 | IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRING | 20110205 | ||||
| 12 | IV_USE_WHITELIST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110213 |
Method BUILD_ATTRIB_BY_STRUC_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ENTITY | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_ENTITY_TYPE | 20110205 | ||||
| 2 | CT_ENTITY_TYPES | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_TYPES | 20110205 | ||||
| 3 | CT_PRIVATE_ANNOTATIONS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS | 20110701 | ||||
| 4 | CT_PUBLIC_ANNOTATIONS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS | 20110701 | ||||
| 5 | CT_REFERENCES | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_REFERENCE | 20110205 | ||||
| 6 | CT_TEXT_KEYS | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_TEXTS | 20110205 | ||||
| 7 | IV_BIND_CONVERSIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Consider conversion exits | 20110701 | ||
| 8 | IV_DO_RECURSIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110205 | |||
| 9 | IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | STRING | 20110205 | ||||
| 10 | IV_USE_WHITELIST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110213 |
Method GET_EXTERNAL_ENTITY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME | 20110205 | ||||
| 2 | RV_EXTERNAL_NAME | Value transfer | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME | 20110205 |
Method GET_EXTERNAL_ENTITY_NAME on class /IWBEP/CL_MGW_MED_MODEL_UTIL has no exception.
Method GET_EXTERNAL_PROPERTY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME | 20110205 | ||||
| 2 | RV_EXTERNAL_NAME | Value transfer | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME | 20110205 |
Method GET_EXTERNAL_PROPERTY_NAME on class /IWBEP/CL_MGW_MED_MODEL_UTIL has no exception.
Method GET_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_ID | 20110205 | ||||
| 2 | IV_ITEM_TYPE | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_TYPE | 20110205 | ||||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20110205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110213 |
Method GET_ID_BY_CHAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_ID | 20110205 | ||||
| 2 | IV_ITEM_TYPE | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_TYPE | 20110205 | ||||
| 3 | IV_ITEM_TYPE_TYPE | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_TYPE | 20110907 | ||||
| 4 | IV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME | 20110205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110213 |
Method GET_ID_FOR_PROPERTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_ID | ID of the property | 20120509 | |||
| 2 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_ID | ID of the entity of this property | 20120510 | |||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME | (Original / external) name of a property | 20120509 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120509 |
Method GET_INTERNAL_ENTITY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME | 20110207 | ||||
| 2 | RV_INTERNAL_NAME | Value transfer | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME | 20110207 |
Method GET_INTERNAL_ENTITY_NAME on class /IWBEP/CL_MGW_MED_MODEL_UTIL has no exception.
Method GET_NAME_BY_STRUCTURE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME | 20110206 | ||||
| 2 | IV_STRUCTURE_ID | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | 20110206 |
Method GET_NAME_BY_STRUCTURE_ID on class /IWBEP/CL_MGW_MED_MODEL_UTIL has no exception.
Method GET_STRUCTURE_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPONENT_TAB | 20110512 | ||||
| 2 | IO_STRUCTURE_DESCRIPTOR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20110512 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20110512 |
Method TRAVERSE_STRUCTURE_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPONENT_TAB | 20110803 | ||||
| 2 | IO_STRUCTURE_DESCRIPTOR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20110803 | |||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20110803 | ||||
| 4 | IV_SUFFIX | Call by reference | Type reference (TYPE) | STRING | 20110803 |
Method TRAVERSE_STRUCTURE_COMPONENTS on class /IWBEP/CL_MGW_MED_MODEL_UTIL has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 200 |