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 /IWBEP/IF_MGW_MED_ODATA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 ABAP 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 ADD_ELEMENT Static method Public Method 20110205
2 ADD_TYPE Static method Public Method 20110205
3 BUILD_ATTRIB_BY_STRUC_NAME Static method Public Method 20110205
4 GET_EXTERNAL_ENTITY_NAME Static method Public Method 20110205
5 GET_EXTERNAL_PROPERTY_NAME Static method Public Method 20110205
6 GET_ID Static method Public Method 20110205
7 GET_ID_BY_CHAR Static method Public Method 20110205
8 GET_ID_FOR_PROPERTY Static method Public Method Get the ID for a property based on its entity and its name 20120509
9 GET_INTERNAL_ENTITY_NAME Static method Public Method 20110207
10 GET_NAME_BY_STRUCTURE_ID Static method Public Method 20110206
11 GET_STRUCTURE_COMPONENTS Static method Public Method Get structure components considering includes 20110512
12 TRAVERSE_STRUCTURE_COMPONENTS 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 Changing CS_ENTITY Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_ENTITY_TYPE 20110205
2 Changing CT_TEXT_KEYS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_TEXTS 20110206
3 Exporting EV_NO_ELEMENT Call by reference Type reference (TYPE) ABAP_BOOL 20110205
4 Importing IO_ELEMENT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR 20110205
5 Importing IR_PROPERTY Call by reference Object reference (TYPE REF TO) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_PROPERTY 20110223
6 Importing IV_BIND_CONVERSIONS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Consider conversion exits 20110701
7 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20110205
8 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20110205
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_MED_EXCEPTION 20110213

Method ADD_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ENTITY Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_ENTITY_TYPE 20110205
2 Changing CT_ENTITY_TYPES Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_TYPES 20110205
3 Changing CT_PRIVATE_ANNOTATIONS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS 20110701
4 Changing CT_PUBLIC_ANNOTATIONS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS 20110701
5 Changing CT_REFERENCES Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_REFERENCE 20110205
6 Changing CT_TEXT_KEYS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_TEXTS 20110205
7 Exporting EV_NO_ELEMENT Call by reference Type reference (TYPE) ABAP_BOOL 20110205
8 Importing IO_STRUCTURE_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20110205
9 Importing IV_BIND_CONVERSIONS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Consider conversion exits 20110701
10 Importing IV_DO_RECURSIVE Call by reference Type reference (TYPE) ABAP_BOOL 20110205
11 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20110205
12 Importing IV_USE_WHITELIST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110223
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_MED_EXCEPTION 20110213

Method BUILD_ATTRIB_BY_STRUC_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ENTITY Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_S_MED_ENTITY_TYPE 20110205
2 Changing CT_ENTITY_TYPES Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_TYPES 20110205
3 Changing CT_PRIVATE_ANNOTATIONS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS 20110701
4 Changing CT_PUBLIC_ANNOTATIONS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_ENTITY_ANNOS 20110701
5 Changing CT_REFERENCES Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_REFERENCE 20110205
6 Changing CT_TEXT_KEYS Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_T_MED_TEXTS 20110205
7 Importing IV_BIND_CONVERSIONS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Consider conversion exits 20110701
8 Importing IV_DO_RECURSIVE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110205
9 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20110205
10 Importing IV_USE_WHITELIST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110223
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_MED_EXCEPTION 20110213

Method GET_EXTERNAL_ENTITY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME 20110205
2 Returning 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 Importing IV_NAME Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME 20110205
2 Returning 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 Exporting EV_ID Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_ID 20110205
2 Importing IV_ITEM_TYPE Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_TYPE 20110205
3 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20110205
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_MED_EXCEPTION 20110213

Method GET_ID_BY_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ID Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_ID 20110205
2 Importing IV_ITEM_TYPE Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_TYPE 20110205
3 Importing IV_ITEM_TYPE_TYPE Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_TYPE 20110907
4 Importing 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 /IWBEP/CX_MGW_MED_EXCEPTION 20110213

Method GET_ID_FOR_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting 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 Importing 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 Importing 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 /IWBEP/CX_MGW_MED_EXCEPTION 20120509

Method GET_INTERNAL_ENTITY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME 20110207
2 Returning 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 Exporting EV_NAME Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_INTERNAL_NAME 20110206
2 Importing 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 Changing CT_COMPONENTS Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20110512
2 Importing IO_STRUCTURE_DESCRIPTOR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20110512
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_MED_EXCEPTION Meta data exception 20110512

Method TRAVERSE_STRUCTURE_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COMPONENTS Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20110803
2 Importing IO_STRUCTURE_DESCRIPTOR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20110803
3 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20110803
4 Importing 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