SAP ABAP Class CL_HCPR_MODEL (HCPR Model Manager)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-WHM-MTD (Application Component) Metadata (Repository)
⤷ RSO_HCPR_MODEL (Package) BW: Backend Model for HANA Composite Provider
⤷ BW-WHM-MTD (Application Component) Metadata (Repository)
⤷ RSO_HCPR_MODEL (Package) BW: Backend Model for HANA Composite Provider
Properties
Class | CL_HCPR_MODEL | |
Short Description | HCPR Model Manager | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RSO_HCPR_MODEL | BW: Backend Model for HANA Composite Provider |
Created | 20130117 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | IF_HCPR_MODEL_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
2 | RS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HCPR_MODEL has no interface implemented.
Friends
Class CL_HCPR_MODEL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | G_C_DESERIALIZE_SAX | Constant | Public | Type reference (TYPE) | INT1 | 2 | Deserialization via SAX Parser | 20130122 | |
2 | G_C_DESERIALIZE_ST | Constant | Public | Type reference (TYPE) | INT1 | 1 | Deserialization via Simple Transformation | 20130122 | |
3 | P_CONTENT_STATE | Instance attribute | Private | Type reference (TYPE) | STRING | Model Content State for editor | 20130918 | ||
4 | P_C_COMPOSITE_ROOT | Constant | Private | Type reference (TYPE) | STRING | 'composite_root' | 20130117 | ||
5 | P_C_TLOGO | Constant | Private | Type reference (TYPE) | RSTLOGO | RS_C_TLOGO-HCPR | BW: Object Type (TLOGO) | 20130121 | |
6 | P_DESERIALIZATION_MODE | Instance attribute | Private | Type reference (TYPE) | INT1 | G_C_DESERIALIZE_ST | Deserialization Mode | 20130121 | |
7 | P_LANGUAGE | Instance attribute | Private | Type reference (TYPE) | SYLANGU | Current Language fpr localized texts | 20130129 | ||
8 | P_OBJSTAT | Instance attribute | Private | Type reference (TYPE) | RSOBJSTAT | Object Status for this version | 20130918 | ||
9 | P_OBJVERS | Instance attribute | Private | Type reference (TYPE) | RSOBJVERS | Transient TLOGO Object version | 20130129 | ||
10 | P_R_VERSION | Instance attribute | Private | Object reference (TYPE REF TO) | TP_S_MODEL_VERSION_MAP | Model Version Mapping for this Instance | 20130117 | ||
11 | P_T_VERSION_MAP | Static Attribute | Private | Type reference (TYPE) | TP_TH_MODEL_VERSION_MAP | Model Version Map | 20130117 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130117 |
2 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20130117 |
3 | DESERIALIZE | Instance method | Public | Method | Creates a Model Instance from EMF XMI Content | 20130117 |
4 | DESERIALIZE_SAX | Instance method | Private | Method | Deserialize via iXML in SAX mode | 20130121 |
5 | DESERIALIZE_ST | Instance method | Private | Method | Deserialize via simple transformation | 20130121 |
6 | GET_CONTENT_STATE | Instance method | Public | Method | Returns the model content state | 20130918 |
7 | GET_LANGUAGE | Instance method | Public | Method | Returns the current language for localized texts | 20130129 |
8 | GET_MODEL_VERSION | Instance method | Public | Method | Return the Model Version | 20130129 |
9 | GET_OBJECT_STATUS | Instance method | Public | Method | Returns the object status (OBJSTAT) | 20130918 |
10 | GET_OBJECT_VERSION | Instance method | Public | Method | Returns the current transient TLOGO object version | 20130129 |
11 | SERIALIZE | Instance method | Public | Method | Serializes the model into EMF XMI format | 20130117 |
12 | SET_CONTNET_STATE | Instance method | Public | Method | Sets the model conten state for editors | 20130918 |
13 | SET_DESERIALIZATION_MODE | Instance method | Public | Method | Sets the deserialization mode (see constants) | 20130121 |
14 | SET_LANGUAGE | Instance method | Public | Method | Sets the language for transient localized texts | 20130129 |
15 | SET_OBJECT_STATUS | Instance method | Public | Method | Sets the object status (OBJSTAT) | 20130918 |
16 | SET_OBJECT_VERSION | Instance method | Public | Method | Sets the TLOGO object version as transient property | 20130129 |
Events
Class CL_HCPR_MODEL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TP_S_MODEL_VERSION_MAP | Private | See coding | Model Version Mapping Entry | 20130117 | BEGIN OF tp_s_model_version_map,
major TYPE int1,
minor TYPE int1,
serializer TYPE string, "serializing transformation
deserializer TYPE REF TO if_rso_xml_parser, "deserializing interface
END OF tp_s_model_version_map
|
|
2 | TP_TH_MODEL_VERSION_MAP | Private | See coding | Model Version Map | 20130117 | tp_th_model_version_map TYPE HASHED TABLE OF tp_s_model_version_map WITH UNIQUE KEY major minor
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_HCPR_MODEL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HCPR_MODEL has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_MODEL_VERSION | Call by reference | Type reference (TYPE) | CSEQUENCE | Model XSD Schema Version | 20130117 |
Method CONSTRUCTOR on class CL_HCPR_MODEL has no exception.
Method DESERIALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_XML | Call by reference | Type reference (TYPE) | XSTRING | Serialized EMF Model in XMI format | 20130117 | ||
2 | Returning | R_R_MODEL | Value transfer | Object reference (TYPE REF TO) | CL_HCPR_COMPOSITE_PROVIDER | HANA Composite Provider Main Class | 20130117 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_DESERIALIZATION_ERR | General Error When Performing CALL TRANSFORMATION | 20130120 |
Method DESERIALIZE_SAX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_R_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_HCPR_MODEL_TYPES=>TN_S_COMPOSITE_VIEW | Tree structure of Composite Model | 20130129 | ||
2 | Importing | I_XML | Call by reference | Type reference (TYPE) | XSTRING | Serialized EMF Model in XMI format | 20130121 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_DESERIALIZATION_ERR | Model Deserialization Error | 20130121 |
Method DESERIALIZE_ST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_R_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_HCPR_MODEL_TYPES=>TN_S_COMPOSITE_VIEW | Tree Structure for Composite Model | 20130129 | ||
2 | Importing | I_XML | Call by reference | Type reference (TYPE) | XSTRING | XML to be deserialized | 20130129 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_DESERIALIZATION_ERR | Model Deserialization Error | 20130121 |
Method GET_CONTENT_STATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_CONTENT_STATE | Value transfer | Type reference (TYPE) | STRING | Model content state (see constants in IF_BW_ENTITY_MODEL_TYP | 20130918 |
Method GET_CONTENT_STATE on class CL_HCPR_MODEL has no exception.
Method GET_LANGUAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_LANGUAGE | Value transfer | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20130129 |
Method GET_LANGUAGE on class CL_HCPR_MODEL has no exception.
Method GET_MODEL_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_VERSION | Value transfer | Type reference (TYPE) | STRING | XSD Schema Version | 20130129 |
Method GET_MODEL_VERSION on class CL_HCPR_MODEL has no exception.
Method GET_OBJECT_STATUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_OBJSTAT | Value transfer | Type reference (TYPE) | RSOBJSTAT | Object Status | 20130918 |
Method GET_OBJECT_STATUS on class CL_HCPR_MODEL has no exception.
Method GET_OBJECT_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_OBJVERS | Value transfer | Type reference (TYPE) | RSOBJVERS | Object version | 20130129 |
Method GET_OBJECT_VERSION on class CL_HCPR_MODEL has no exception.
Method SERIALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_R_MODEL | Call by reference | Object reference (TYPE REF TO) | CL_HCPR_COMPOSITE_PROVIDER | HANA Composite Provider Main Class | 20130117 | ||
2 | Returning | R_XML | Value transfer | Type reference (TYPE) | XSTRING | Serialized Model Content | 20130117 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_SERIALIZATION_ERR | Model Serialization Error | 20130122 |
Method SET_CONTNET_STATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CONTENT_STATE | Call by reference | Type reference (TYPE) | CSEQUENCE | Content state (see constants in IF_BW_ENTITY_MODEL_TYPES) | 20130918 |
Method SET_CONTNET_STATE on class CL_HCPR_MODEL has no exception.
Method SET_DESERIALIZATION_MODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_MODE | Call by reference | Type reference (TYPE) | INT1 | Deserialization mode (see constants) | 20130121 |
Method SET_DESERIALIZATION_MODE on class CL_HCPR_MODEL has no exception.
Method SET_LANGUAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20130129 |
Method SET_LANGUAGE on class CL_HCPR_MODEL has no exception.
Method SET_OBJECT_STATUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_OBJSTAT | Call by reference | Type reference (TYPE) | RSOBJSTAT | Object Status | 20130918 |
Method SET_OBJECT_STATUS on class CL_HCPR_MODEL has no exception.
Method SET_OBJECT_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_OBJVERS | Call by reference | Type reference (TYPE) | RSOBJVERS | Object version | 20130129 |
Method SET_OBJECT_VERSION on class CL_HCPR_MODEL has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |