SAP ABAP Class CL_RSEM_REFERENCE_REGISTRY (Maintains the list of all unique references in a model)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-MTD (Application Component) Metadata (Repository)
⤷
RSO_BW_ENTITY_MODEL (Package) BW Infoprovider Models
⤷
⤷
Properties
| Class | CL_RSEM_REFERENCE_REGISTRY | |
| Short Description | Maintains the list of all unique references in a model | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSO_BW_ENTITY_MODEL | BW Infoprovider Models |
| Created | 20130206 | SAP |
| Last change | 20140121 | SAP |
| 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... |
Interfaces
Class CL_RSEM_REFERENCE_REGISTRY has no interface implemented.
Friends
Class CL_RSEM_REFERENCE_REGISTRY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | '#//' | URI fragment to the model root node | 20130424 | ||
| 2 | Instance attribute | Private | See coding | Model references | 20130215 | ||||
| 3 | Static Attribute | Private | Type reference (TYPE) | TN_TH_REGISTRY | Registry of references per model | 20130206 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds new object reference to a model registry | 20130206 | |
| 2 | Static method | Public | Method | Constructs a reference URI fragment from an object ID | 20130303 | |
| 3 | Static method | Public | Method | Retrieves the original object name from an URI fragment | 20130303 | |
| 4 | Static method | Public | Method | Returns the reference registry for a particular model | 20130206 | |
| 5 | Instance method | Public | Method | Removes a registered reference from a model registry | 20130206 | |
| 6 | Instance method | Public | Method | Resolves an already registered object reference | 20130206 | |
| 7 | Instance method | Public | Method | Updates an existing object entry | 20130214 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | REFERENCE_CHANGED | Instance Event (0) |
Public (2) |
Target reference ID has changed | 20130215 |
| 2 | REFERENCE_DELETED | Instance Event (0) |
Public (2) |
Target reference was deleted | 20130214 |
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_S_REGISTRY | Public | See coding | Table of references for a particular object model | 20130206 | BEGIN OF tn_s_registry,
model TYPE REF TO cl_rsem_model_object,
registry TYPE REF TO cl_rsem_reference_registry,
END OF tn_s_registry
|
|
| 2 | TN_TH_REGISTRY | Public | See coding | Registry of references per model | 20130206 | tn_th_registry TYPE HASHED TABLE OF tn_s_registry WITH UNIQUE KEY model
|
Method Signatures
Method ADD_OBJECT_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_REFERENCE_TARGET | Call by reference | Object reference (TYPE REF TO) | CL_RSEM_MODEL_OBJECT | Target Object of the reference | 20130206 |
Method ADD_OBJECT_REFERENCE on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Method CREATE_URI_FRAGMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | CSEQUENCE | Custom object ID | 20130416 | |||
| 2 | I_R_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_RSO_RES_CONTAINED_OBJECT | Model Object | 20130416 | |||
| 3 | R_UID | Value transfer | Type reference (TYPE) | STRING | Reference ID | 20130303 |
Method CREATE_URI_FRAGMENT on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Method GET_NAME_FROM_URI_FRAGMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_URI_FRAGMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | Reference ID | 20130303 | |||
| 2 | R_OBJECT_NAME | Value transfer | Type reference (TYPE) | STRING | Object name or alias | 20130303 |
Method GET_NAME_FROM_URI_FRAGMENT on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Method GET_REFERENCE_REGISTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_RSEM_MODEL_OBJECT | Model root object | 20130206 | |||
| 2 | R_R_MODEL_REGISTRY | Value transfer | Object reference (TYPE REF TO) | CL_RSEM_REFERENCE_REGISTRY | Registry of references for the input model | 20130206 |
Method GET_REFERENCE_REGISTRY on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Method REMOVE_OBJECT_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_REFERENCE_TARGET | Call by reference | Object reference (TYPE REF TO) | CL_RSEM_MODEL_OBJECT | Target Object of the reference | 20130206 |
Method REMOVE_OBJECT_REFERENCE on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Method RESOLVE_OBJECT_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_REFERENCE | Call by reference | Type reference (TYPE) | IF_BW_ENTITY_MODEL_TYPES=>TN_S_OBJECT_REFERENCE | Non-Containment referencce in the Model | 20130206 | |||
| 2 | R_RESOLVED | Value transfer | Type reference (TYPE) | RS_BOOL | True if the reference UID was resolved to an object | 20130302 |
Method RESOLVE_OBJECT_REFERENCE on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Method UPDATE_OBJECT_REFERNECE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OLD_URI | Call by reference | Type reference (TYPE) | CSEQUENCE | Old unique ID (URI path) | 20130416 | |||
| 2 | I_R_REFERENCE_TARGET | Call by reference | Object reference (TYPE REF TO) | CL_RSEM_MODEL_OBJECT | Target Object of the reference | 20130214 |
Method UPDATE_OBJECT_REFERNECE on class CL_RSEM_REFERENCE_REGISTRY has no exception.
Event Signatures
Event REFERENCE_CHANGED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_REFERENCE | Exporting | Value transfer | Object reference (TYPE REF TO) | IF_BW_ENTITY_MODEL_TYPES=>TN_S_OBJECT_REFERENCE | Reference which has been changed | 20130215 |
Event REFERENCE_DELETED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_REFERENCE | Exporting | Value transfer | Object reference (TYPE REF TO) | IF_BW_ENTITY_MODEL_TYPES=>TN_S_OBJECT_REFERENCE | Reference which has been deleted from registry | 20130214 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |