SAP ABAP Class CL_ECATT_APL_ODATA_METADATA (eCATT - OData - Metadata of a Service)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TWB-TST-ECA (Application Component) eCATT Extended Computer Aided Test Tool
⤷
SECATT_ODATA_APL (Package) eCATT - OData Core
⤷
⤷
Properties
| Class | CL_ECATT_APL_ODATA_METADATA | |
| Short Description | eCATT - OData - Metadata of a Service | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECATT_ODATA_APL | eCATT - OData Core |
| Created | 20130917 | SAP |
| Last change | 20141121 | |
| 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 CL_ECATT_APL_ODATA_METADATA has no interface implemented.
Friends
Class CL_ECATT_APL_ODATA_METADATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | /IWCOR/CL_DS_EDM_IMPL_BASE | EDM Default Implementation | 20131009 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | /IWCOR/IF_DS_EDM_SVC_METADATA | EDM Service Metadata | 20131009 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | /IWCOR/CL_DS_EDM_PROV_SIMPLE | EDM Simple Metadata Provider | 20131009 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | /IWCOR/IF_DS_EDM_SVC_METADATA=>ENTITY_SET_INFO_T | Table of All EntitySets | 20131009 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | /IWCOR/IF_DS_EDM_PROVIDER=>SCHEMA_T | Service Metadata in Structured Form | 20131021 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | STRING | EDM ABAP Field Assignment | 20131120 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | STRING | Metadata Stream | 20131009 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | XSTRING | Metadata Stream Binary | 20131009 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | STRING | Metadata with EDM ABAP Mapping | 20131120 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | EDM Provider to support annotations | 20131212 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Generate XML Metadata + Field Mapping | 20131120 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20131009 | |
| 3 | Instance method | Public | Method | Query List of AssociationSets | 20131021 | |
| 4 | Instance method | Public | Method | Query List of ComplexTypes | 20131104 | |
| 5 | Instance method | Public | Method | Query List of Fields of ComplexType | 20131104 | |
| 6 | Instance method | Public | Method | EDM - Runtime Model - Query Implementation Object | 20131120 | |
| 7 | Instance method | Public | Method | Query the List of the Entity Container | 20131009 | |
| 8 | Instance method | Public | Method | Query the List of the EntitySet | 20131009 | |
| 9 | Instance method | Protected | Method | Provide Table of All EntitySets from EDM | 20131009 | |
| 10 | Instance method | Public | Method | Query the List of Properties of EntitySet | 20131104 | |
| 11 | Instance method | Public | Method | Query the List of Service Operations of EntityContainer | 20131021 |
Events
Class CL_ECATT_APL_ODATA_METADATA has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_ASSOCIATION_SETS | Public | See coding | AssociationSets | 20131021 | tt_association_sets TYPE TABLE OF ty_association_set
|
|
| 2 | TT_COMPLEX_TYPES | Public | See coding | ComplexType | 20131104 | BEGIN OF tt_complex_types,
namespace TYPE string,
type_name TYPE string,
END OF tt_complex_types
|
|
| 3 | TT_COMPLEX_TYPE_FIELDS | Public | See coding | Field of ComplexType | 20131104 | BEGIN OF tt_complex_type_fields,
property_name TYPE string,
property_type TYPE string,
abap_type TYPE string,
is_complex TYPE etonoff,
END OF tt_complex_type_fields
|
|
| 4 | TT_ENTITY_PROPERTIES | Public | See coding | Properties of Entity | 20131009 | tt_entity_properties TYPE TABLE OF ty_entity_property
|
|
| 5 | TT_ENTITY_SETS | Public | See coding | EntitySets | 20131009 | tt_entity_sets TYPE TABLE OF ty_entity_set
|
|
| 6 | TT_FUNC_IMPORT_PARAMS | Public | See coding | Parameters of Operation | 20131021 | tt_func_import_params TYPE STANDARD TABLE OF ty_func_import_param WITH KEY name
|
|
| 7 | TT_OPERATIONS | Public | See coding | Operations | 20131021 | tt_operations TYPE TABLE OF ty_operation
|
|
| 8 | TY_ASSOCIATION_SET | Public | See coding | AssociationSet | 20131021 | BEGIN OF ty_association_set,
name TYPE string,
assoc_name TYPE string,
end_1_entityset TYPE string,
end_1_role TYPE string,
end_2_entityset TYPE string,
end_2_role TYPE string,
END OF ty_association_set
|
|
| 9 | TY_COMPLEX_TYPES | Public | See coding | List of ComplexTypes | 20131104 | ty_complex_types TYPE TABLE OF tt_complex_types
|
|
| 10 | TY_COMPLEX_TYPE_FIELDS | Public | See coding | Fields of ComplexType | 20131104 | ty_complex_type_fields TYPE TABLE OF tt_complex_type_fields
|
|
| 11 | TY_ENTITY_PROPERTY | Public | See coding | Property of Entity | 20131009 | BEGIN OF ty_entity_property,
property_name TYPE string,
property_type type string,
abap_type TYPE string,
is_key TYPE etonoff,
is_navigation_property TYPE etonoff,
is_complex TYPE etonoff,
END OF ty_entity_property
|
|
| 12 | TY_ENTITY_SET | Public | See coding | EntitySet | 20131009 | BEGIN OF ty_entity_set,
entity_container TYPE string ,
is_default_entity_container TYPE abap_bool,
entity_set TYPE string,
entity_type TYPE string,
uri TYPE string,
END OF ty_entity_set
|
|
| 13 | TY_FUNC_IMPORT_PARAM | Public | See coding | Parameter | 20131021 | BEGIN OF ty_func_import_param,
name TYPE string,
mode TYPE string,
type_name TYPE string,
type_nullable TYPE etonoff,
type_default TYPE string,
type_max_length TYPE i,
type_fixed_length TYPE etonoff,
type_precision TYPE string,
type_scale TYPE string,
TYPE_unicode TYPE etonoff,
type_collation TYPE string,
type_concurrency_mode TYPE string,
END OF ty_func_import_param
|
|
| 14 | TY_OPERATION | Public | See coding | Operation | 20131021 | BEGIN OF ty_operation,
name TYPE string,
entity_set TYPE string,
http_method TYPE string,
import_parameters TYPE tt_func_import_params,
return_type TYPE string,
return_type_multiplicity TYPE string,
END OF ty_operation
|
Method Signatures
Method ADD_MAPPING_TO_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_METADATA_MAPPING_STREAM | Call by reference | Type reference (TYPE) | STRING | Metadaten inklusive EDM-ABAP Mapping | 20131120 | |||
| 2 | I_EDM_ABAP_MAPPING_STREAM | Call by reference | Type reference (TYPE) | STRING | EDM - ABAP Mapping | 20131120 | |||
| 3 | I_METADATA_STREAM | Call by reference | Type reference (TYPE) | STRING | OData Metadaten - EDM | 20131120 |
Method ADD_MAPPING_TO_METADATA on class CL_ECATT_APL_ODATA_METADATA has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EDM_ABAP_MAPPING_STREAM | Call by reference | Type reference (TYPE) | STRING | EDM ABAP Mapping | 20131120 | |||
| 2 | I_METADATA_STREAM | Call by reference | Type reference (TYPE) | STRING | OData Metadaten als STRING | 20131009 | |||
| 3 | I_METADATA_STREAM_BINARY | Call by reference | Type reference (TYPE) | XSTRING | OData Metadaten als XSTRING | 20131009 | |||
| 4 | I_SUPPORT_ANNOTATIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | EDM Provider to support annotations | 20131212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131009 |
Method GET_ASSOCIATION_SETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ASSOCIATION_SETS | Value transfer | Type reference (TYPE) | TT_ASSOCIATION_SETS | AssociationSets | 20131021 | |||
| 2 | I_ENTITY_CONTAINER | Call by reference | Type reference (TYPE) | STRING | Name des EntityContainers | 20131021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131021 |
Method GET_COMPLEX_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_COMPLEX_TYPES | Value transfer | Type reference (TYPE) | TY_COMPLEX_TYPES | Liste der ComplexTypes | 20131104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131104 |
Method GET_COMPLEX_TYPE_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROPERTIES | Call by reference | Type reference (TYPE) | TY_COMPLEX_TYPE_FIELDS | Felder eines ComplexType | 20131104 | |||
| 2 | I_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace zum Namen des ComplexTypes | 20131104 | |||
| 3 | I_TYPE_NAME | Call by reference | Type reference (TYPE) | STRING | Name des ComplexType | 20131104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131104 |
Method GET_EDM_IMPLEMENTATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RP_EDM_IMPL | Value transfer | Object reference (TYPE REF TO) | /IWCOR/CL_DS_EDM_IMPL_BASE | 20131120 |
Method GET_EDM_IMPLEMENTATION on class CL_ECATT_APL_ODATA_METADATA has no exception.
Method GET_ENTITY_CONTAINERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_ENTITY_CONTAINERS | Value transfer | Type reference (TYPE) | ETSTRING_TAB | Liste aller EntityContainer | 20131009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131009 |
Method GET_ENTITY_SETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENTITY_SETS | Value transfer | Type reference (TYPE) | TT_ENTITY_SETS | EntitySets | 20131009 | |||
| 2 | I_ENTITY_CONTAINER | Call by reference | Type reference (TYPE) | STRING | Name des EntityContainers | 20131009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131009 |
Method GET_ENTITY_SET_INFOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENTITY_SET_INFO | Call by reference | Type reference (TYPE) | /IWCOR/IF_DS_EDM_SVC_METADATA=>ENTITY_SET_INFO_T | Entity set infos | 20131009 | |||
| 2 | I_METHOD | Call by reference | Type reference (TYPE) | STRING | Aufrufende Methode für Exception | 20131009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131009 |
Method GET_ENTITY_SET_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROPERTIES | Call by reference | Type reference (TYPE) | TT_ENTITY_PROPERTIES | Felder der Entity | 20131104 | |||
| 2 | I_ENTITY_CONTAINER_NAME | Call by reference | Type reference (TYPE) | STRING | Name des EntityContainers | 20131104 | |||
| 3 | I_ENTITY_SET_NAME | Call by reference | Type reference (TYPE) | STRING | Name des EntitySet | 20131104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131104 |
Method GET_OPERATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OPERATIONS | Call by reference | Type reference (TYPE) | TT_OPERATIONS | Operations | 20131021 | |||
| 2 | I_ENTITY_CONTAINER_NAME | Call by reference | Type reference (TYPE) | STRING | Name des EntityContainers | 20131021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131021 |
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 740 |