SAP ABAP Class CL_REST_BASE_ENTITY (REST Base Entity)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_CORE (Package) REST Core
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_REST_DESTROYABLE | REST destroyable object | 20120309 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_REST_ENTITY | REST representation | 20120304 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_REST_MULTIPART_ENTITY | REST Multipart Entity | 20120306 |
Properties
| Class | CL_REST_BASE_ENTITY | |
| Short Description | REST Base Entity | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SREST_CORE | REST Core |
| Created | 20120304 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_REST_DESTROYABLE | REST destroyable object | 20120309 | ||
| 2 | IF_REST_ENTITY | REST representation | 20120304 | ||
| 3 | IF_REST_MULTIPART_ENTITY | REST Multipart Entity | 20120306 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_REST_BASE_REQUEST | 20120314 | REST Base Request | |
| 2 | CL_REST_BASE_RESPONSE | 20120314 | REST Base Response | |
| 3 | CL_REST_MESSAGE_BUILDER | 20120314 | REST message builder |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | VSCAN_PROFILE | Virus Scan Profile | 20120304 | |||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_HTTP_ENTITY | HTTP Entity | 20120304 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_REST_MESSAGE | REST Messages | 20120309 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Compression Flag | 20120304 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20120304 | |
| 2 | Static method | Private | Method | Create | 20120308 | |
| 3 | Instance method | Public | Method | Get Content Type | 20120304 | |
| 4 | Instance method | Public | Method | Set Content Type | 20120304 | |
| 5 | Instance method | Protected | Method | Wrap entity | 20120307 |
Events
Class CL_REST_BASE_ENTITY has no event.
Types
Class CL_REST_BASE_ENTITY has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_ENTITY | 20120304 |
Method CONSTRUCTOR on class CL_REST_BASE_ENTITY has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_ENTITY | HTTP entity | 20120308 | |||
| 2 | IO_MESSAGE | Call by reference | Object reference (TYPE REF TO) | IF_REST_MESSAGE | REST Messages | 20120309 | |||
| 3 | RO_ENTITY | Value transfer | Object reference (TYPE REF TO) | CL_REST_BASE_ENTITY | REST entity | 20120308 |
Method CREATE on class CL_REST_BASE_ENTITY has no exception.
Method GET_CONTENT_TYPE_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CONTENT_TYPE | Value transfer | Type reference (TYPE) | STRING | Content Type | 20120304 |
Method GET_CONTENT_TYPE_INTERNAL on class CL_REST_BASE_ENTITY has no exception.
Method SET_CONTENT_TYPE_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type | 20120304 |
Method SET_CONTENT_TYPE_INTERNAL on class CL_REST_BASE_ENTITY has no exception.
Method WRAP_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_ENTITY | HTTP Entity | 20120307 | |||
| 2 | RO_ENTITY | Value transfer | Object reference (TYPE REF TO) | CL_REST_BASE_ENTITY | REST Base Entity | 20120307 |
Method WRAP_ENTITY on class CL_REST_BASE_ENTITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 804 |