SAP ABAP Class /IWCOR/CL_DS_EDM_METADATA (EDM metadata reader and writer)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
     /IWCOR/SODATA_EDM_IMPL_BASE (Package) EDM structure based default implementation (base)
Properties
Class /IWCOR/CL_DS_EDM_METADATA  
Short Description EDM metadata reader and writer    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWCOR/SODATA_EDM_IMPL_BASE   EDM structure based default implementation (base) 
Created 20120214   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWCOR/IF_ATOM_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 /IWCOR/IF_DS_EDM_PROVIDER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /IWCOR/CL_DS_EDM_METADATA has no interface implemented.
Friends
Class /IWCOR/CL_DS_EDM_METADATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_XML_HEADER_FULL Constant Public Type reference (TYPE) XML_HEADER 'full' XML header 20120305
2 GC_XML_HEADER_NO Constant Public Type reference (TYPE) XML_HEADER 'no' 20120305
3 GC_XML_HEADER_WITHOUT_ENCODING Constant Public Type reference (TYPE) XML_HEADER 'without_encoding' 20120305
Methods
# Method Level Visibility Method type Description Created on
1 CORRECT_QUALIFIED_NAMES Static method Protected Method Correct qualified names 20120305
2 CREATE_CALLBACK Static method Protected Method Create callback 20120305
3 EXTRACT_ENTITY_CONTS_ELEMENTS Static method Protected Method Extract OData elements from entity containers annotation ele 20121204
4 EXTRACT_ENTITY_TYPES_ELEMENTS Static method Protected Method Extract OData elements from entity types annotation elements 20121204
5 EXTRACT_SCHEMAS_ELEMENTS Static method Protected Method Extract OData elements from schemas annotation elements 20121204
6 READ_METADATA Static method Public Method Read metadata 20120305
7 REPLACE_EDM_NAMESPACE Static method Public Method Replace the edm namespace to the current of the OData Lib 20130910
8 WRITE_METADATA Static method Public Method Write metadata 20120305
Events
Class /IWCOR/CL_DS_EDM_METADATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 XML_HEADER Public Type reference (TYPE) STRING XML header 20120305
Method Signatures

Method CORRECT_QUALIFIED_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SCHEMA Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_PROVIDER=>SCHEMA_T Schemas 20120305

Method CORRECT_QUALIFIED_NAMES on class /IWCOR/CL_DS_EDM_METADATA has no exception.

Method CREATE_CALLBACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_READER Call by reference Object reference (TYPE REF TO) IF_SXML_READER SXML Reader Interface 20121011
2 Importing IO_WRITER Call by reference Object reference (TYPE REF TO) IF_SXML_WRITER SXML Writer Interface 20121011
3 Returning RO_CALLBACK Value transfer Object reference (TYPE REF TO) /IWCOR/IF_ATOM_ST_CALLBACK Atom Simple Transformation Callback 20120305

Method CREATE_CALLBACK on class /IWCOR/CL_DS_EDM_METADATA has no exception.

Method EXTRACT_ENTITY_CONTS_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ENTITY_CONTAINERS Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_PROVIDER=>ENTITY_CONTAINER_T Entity Containers 20121204
2 Importing IO_CALLBACK Call by reference Object reference (TYPE REF TO) /IWCOR/IF_ATOM_ST_CALLBACK Callback object 20121204
# Exception Resumable Description Created on
1 CX_TRANSFORMATION_ERROR General Error When Performing CALL TRANSFORMATION 20121217

Method EXTRACT_ENTITY_TYPES_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ENTITY_TYPES Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_PROVIDER=>ENTITY_TYPE_T Entity Types 20121204
2 Importing IO_CALLBACK Call by reference Object reference (TYPE REF TO) /IWCOR/IF_ATOM_ST_CALLBACK Callback object 20121204
# Exception Resumable Description Created on
1 CX_TRANSFORMATION_ERROR General Error When Performing CALL TRANSFORMATION 20121217

Method EXTRACT_SCHEMAS_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SCHEMAS Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_PROVIDER=>SCHEMA_T Schemas 20121204
2 Importing IO_CALLBACK Call by reference Object reference (TYPE REF TO) /IWCOR/IF_ATOM_ST_CALLBACK Callback object 20121204
# Exception Resumable Description Created on
1 CX_TRANSFORMATION_ERROR General Error When Performing CALL TRANSFORMATION 20121217

Method READ_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_METADATA Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_PROVIDER=>DATA_SERVICES_S Metadata 20120305
2 Importing IO_READER Call by reference Object reference (TYPE REF TO) IF_SXML_READER Reader 20120305
3 Importing IV_ANNOTATIONS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Read annotations 20120305
# Exception Resumable Description Created on
1 CX_TRANSFORMATION_ERROR 20120305

Method REPLACE_EDM_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_BINARY_METADATA Call by reference Type reference (TYPE) XSTRING 20130910
2 Importing IV_REPLACE_SCHEMA_2006_04_EDM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Replace the EDM namespace 2006_04 20130910
3 Importing IV_REPLACE_SCHEMA_2007_05_EDM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Replace the EDM namespace 2007_05 20130910
4 Importing IV_REPLACE_SCHEMA_2008_01_EDM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Replace the EDM namespace 2008_01 20130910

Method REPLACE_EDM_NAMESPACE on class /IWCOR/CL_DS_EDM_METADATA has no exception.

Method WRITE_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_WRITER Call by reference Object reference (TYPE REF TO) IF_SXML_WRITER 20120305
2 Importing IS_METADATA Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_PROVIDER=>DATA_SERVICES_S 20120305
3 Importing IT_NAMESPACE_DECLARATION Call by reference Type reference (TYPE) /IWCOR/IF_ATOM_TYPES=>NAMESPACE_T 20120305
4 Importing IV_XML_HEADER Call by reference Type reference (TYPE) XML_HEADER GC_XML_HEADER_FULL XML header 20120305
# Exception Resumable Description Created on
1 CX_TRANSFORMATION_ERROR 20120305
History
Last changed by/on SAP  20141120 
SAP Release Created in 200