SAP ABAP Class CL_MDG_BS_TREE_GROWER (Builds up a model tree from a MDG model name)
Hierarchy
☛
MDG_FND (Software Component) MDG Foundation
⤷
CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
⤷
MDG_BS_BP_GENIL_NO_TRANSL (Package) Master Data Governance: GENIL
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CROP_FRUIT_TREE_CARE | Care of fruit tree and its fruits | 20120124 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CROP_GRAFT_CARE | Base interface for graft care | 20120124 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CROP_PLANT_GROWER | Plant Grower Access | 20120130 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SCPL_STYLIST | Makes a class a makeup-artist | 20120213 |
Properties
| Class | CL_MDG_BS_TREE_GROWER | |
| Short Description | Builds up a model tree from a MDG model name | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_BS_BP_GENIL_NO_TRANSL | Master Data Governance: GENIL |
| Created | 20120115 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CROP_FRUIT_TREE_CARE | Care of fruit tree and its fruits | 20120124 | ||
| 2 | IF_CROP_GRAFT_CARE | Base interface for graft care | 20120124 | ||
| 3 | IF_CROP_PLANT_GROWER | Plant Grower Access | 20120130 | ||
| 4 | IF_SCPL_STYLIST | Makes a class a makeup-artist | 20120213 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | IF_CROP | 20120124 | Crop Production Interface |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20120212 | |||||
| 2 | Constant | Public | Type reference (TYPE) | SCPL_LOCATION_ID | 'MDG-CropTreeDecoration' | Unique ID of a Location (case-sensitive) | 20120213 | ||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_USMD_CONV_SOM_GOV_API | Governance API: Single Chg. Req. Convenience Governance API | 20120124 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_USMD_MODEL_EXT | MDG Data Model for Access from Non-SAP Standard Code | 20120115 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | CROP_T_FRUIT_TREE_NODES | Nature of a fruit tree (list of tree node fruits) | 20120115 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | USMD_MODEL | Data Model | 20120212 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | adds the given element to the node | 20120115 | |
| 2 | Instance method | Protected | Method | returns the type of the given field or entity | 20120115 | |
| 3 | Instance method | Protected | Method | builds a single node and dispatches to sub-nodes | 20120115 | |
| 4 | Instance method | Protected | Method | returns a table of model tree information | 20120115 | |
| 5 | Instance method | Protected | Method | returns nature of decoration grafting | 20120212 | |
| 6 | Instance method | Protected | Method | returns nature of fruits grafting | 20120212 | |
| 7 | Instance method | Protected | Method | 20120124 | ||
| 8 | Instance method | Protected | Method | enhances a given model tree by additional root nodes if avl. | 20120115 | |
| 9 | Instance method | Protected | Method | 20120124 |
Events
Class CL_MDG_BS_TREE_GROWER has no event.
Types
Class CL_MDG_BS_TREE_GROWER has no local type.
Method Signatures
Method ADD_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_FRUIT_NODE | Call by reference | Type reference (TYPE) | CROP_S_FRUIT_TREE_NODE | Structure of a fruit tree node | 20120115 | |||
| 2 | IS_ATTRIBUTE_ENTRY | Call by reference | Type reference (TYPE) | USMD_S_ENTITY_ATTR_PROP_EXT | Entity Types and Their Attributes (Resolved) w/Techn. Prop. | 20120115 | |||
| 3 | IV_AS_KEY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120115 | |||
| 4 | IV_ENTITY_NAME | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20120115 | |||
| 5 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | USMD_FIELDNAME | Field of an Entity Type | 20120115 |
Method ADD_ELEMENT on class CL_MDG_BS_TREE_GROWER has no exception.
Method ATTRIBUTE_TYPE_OF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ATTRIBUTE_ENTRY | Call by reference | Type reference (TYPE) | USMD_S_ENTITY_ATTR_PROP_EXT | Entity Types and Their Attributes (Resolved) w/Techn. Prop. | 20120115 | |||
| 2 | IV_ENTITY_NAME | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20120115 | |||
| 3 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | USMD_FIELDNAME | Field of an Entity Type | 20120115 | |||
| 4 | RV_TYPE | Value transfer | Type reference (TYPE) | ROLLNAME | type of the given entity or field | 20120115 |
Method ATTRIBUTE_TYPE_OF on class CL_MDG_BS_TREE_GROWER has no exception.
Method BUILD_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TREE | Call by reference | Type reference (TYPE) | CROP_T_TREE_NODES | List of tree nodes | 20120115 | |||
| 2 | IV_ENTITY_NAME | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20120115 | |||
| 3 | IV_LEVEL | Call by reference | Type reference (TYPE) | I | Node Level | 20120115 | |||
| 4 | IV_PARENT_ENTITY_NAME | Call by reference | Type reference (TYPE) | USMD_ENTITY | Parent Entity Type | 20120115 |
Method BUILD_NODE on class CL_MDG_BS_TREE_GROWER has no exception.
Method BUILD_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TREE | Call by reference | Type reference (TYPE) | CROP_T_TREE_NODES | List of tree nodes | 20120115 | |||
| 2 | IV_ALL_INDEPENDENT_ROOTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | TRUE = tree will contain additional root nodes if avl. | 20120115 | ||
| 3 | IV_MODEL_NAME | Call by reference | Type reference (TYPE) | USMD_MODEL | Data Model | 20120115 |
Method BUILD_TREE on class CL_MDG_BS_TREE_GROWER has no exception.
Method DESCRIBE_DECORATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NATURE | Call by reference | Type reference (TYPE) | DATA | 20120212 | ||||
| 2 | IV_GENUS | Call by reference | Type reference (TYPE) | CROP_PLANT_GENUS | Genus of a plant | 20120212 | |||
| 3 | IV_GRAFT_NAME | Call by reference | Type reference (TYPE) | CROP_GRAFT_NAME | Name of a graft | 20120212 | |||
| 4 | IV_GRAFT_NATURE | Call by reference | Type reference (TYPE) | CROP_GRAFT_NATURE | Nature of a graft | 20120212 | |||
| 5 | IV_PLANTATION | Call by reference | Type reference (TYPE) | CROP_PLANTATION_NAME | Name of a plantation | 20120212 | |||
| 6 | IV_PLANT_NAME | Call by reference | Type reference (TYPE) | CROP_PLANT_NAME | Name of a plant | 20120212 |
Method DESCRIBE_DECORATION on class CL_MDG_BS_TREE_GROWER has no exception.
Method DESCRIBE_FRUITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NATURE | Call by reference | Type reference (TYPE) | DATA | 20120212 | ||||
| 2 | IV_GENUS | Call by reference | Type reference (TYPE) | CROP_PLANT_GENUS | Genus of a plant | 20120212 | |||
| 3 | IV_GRAFT_NAME | Call by reference | Type reference (TYPE) | CROP_GRAFT_NAME | Name of a graft | 20120212 | |||
| 4 | IV_GRAFT_NATURE | Call by reference | Type reference (TYPE) | CROP_GRAFT_NATURE | Nature of a graft | 20120212 | |||
| 5 | IV_PLANTATION | Call by reference | Type reference (TYPE) | CROP_PLANTATION_NAME | Name of a plantation | 20120212 | |||
| 6 | IV_PLANT_NAME | Call by reference | Type reference (TYPE) | CROP_PLANT_NAME | Name of a plant | 20120212 |
Method DESCRIBE_FRUITS on class CL_MDG_BS_TREE_GROWER has no exception.
Method DESCRIBE_GRAFT Signature
Method DESCRIBE_GRAFT on class CL_MDG_BS_TREE_GROWER has no parameter.
Method DESCRIBE_GRAFT on class CL_MDG_BS_TREE_GROWER has no exception.
Method ENHANCE_ADDITIONAL_ROOT_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TREE | Call by reference | Type reference (TYPE) | CROP_T_TREE_NODES | List of tree nodes | 20120115 |
Method ENHANCE_ADDITIONAL_ROOT_NODES on class CL_MDG_BS_TREE_GROWER has no exception.
Method READ Signature
Method READ on class CL_MDG_BS_TREE_GROWER has no parameter.
Method READ on class CL_MDG_BS_TREE_GROWER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |