SAP ABAP Class CL_PAK_NODE (CL_PAK_NODE)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-PAK (Application Component) Package Tools
     SPAK_API_EXPLAIN (Package) Explain Tool for Package Check
Properties
Class CL_PAK_NODE  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPAK_API_EXPLAIN   Explain Tool for Package Check 
Created 20080516   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_PAK_NODE has no interface implemented.
Friends
Class CL_PAK_NODE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CHILD_LIST Instance attribute Public Type reference (TYPE) PAK_NODE_LIST Adjacency List 20080516
2 CHILD_NO Instance attribute Public Type reference (TYPE) I 20080516
3 CO_NODE_TYPE Constant Public See coding 20080516
4 CO_SUB_TYPE Constant Public See coding 20080516
5 ID Instance attribute Public Type reference (TYPE) TY_NODE_ID 20080516
6 IS_SERVER Instance attribute Public Type reference (TYPE) FLAG General Flag 20080519
7 NAME Instance attribute Public Type reference (TYPE) STRING 20080516
8 PARENT Instance attribute Public Object reference (TYPE REF TO) CL_PAK_NODE 20080516
9 SUB_TYPE Instance attribute Public Type reference (TYPE) TY_NODE_TYPE 20080516
10 TREE Instance attribute Public Object reference (TYPE REF TO) CL_PAK_TREE Hierarchy 20080516
11 TYPE Instance attribute Public Type reference (TYPE) TY_NODE_TYPE Single-Character Flag 20080516
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHILD_NODE Instance method Public Method adds the node (with its children) to the children 20080516
2 ADD_PARENT_NODE Instance method Public Method puts the parent node between this node and his former parent 20080516
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080516
4 DELETE_CHILD_NODE Instance method Public Method deletes a child node or whole subtree 20080516
5 IS_LEAF Instance method Public Method Is the node a leaf 20080516
6 IS_ROOT Instance method Public Method Is the node the root of a tree 20080516
7 SET_PARENT Instance method Private Method sets the parent directly 20080516
Events
Class CL_PAK_NODE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_NODE_ID Public Type reference (TYPE) I 20080516
2 TY_NODE_TYPE Public Type reference (TYPE) CHAR1 20080516
3 TY_NODE_TYPE_LIST Public See coding 20080516 ty_node_type_list type hashed table of ty_node_type with unique key table_line
Method Signatures

Method ADD_CHILD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD Call by reference Object reference (TYPE REF TO) CL_PAK_NODE child to be added 20080516

Method ADD_CHILD_NODE on class CL_PAK_NODE has no exception.

Method ADD_PARENT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARENT Call by reference Object reference (TYPE REF TO) CL_PAK_NODE node of the explain tree for packages 20080516

Method ADD_PARENT_NODE on class CL_PAK_NODE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) CLIKE 20080516
2 Importing I_NODE_ID Call by reference Type reference (TYPE) TY_NODE_ID 20080516
3 Importing I_SERVER Call by reference Type reference (TYPE) FLAG ABAP_FALSE General Flag 20080519
4 Importing I_SUB_TYPE Call by reference Type reference (TYPE) TY_NODE_TYPE 20080516
5 Importing I_TREE Call by reference Object reference (TYPE REF TO) CL_PAK_TREE Hierarchy 20080516
6 Importing I_TYPE Call by reference Type reference (TYPE) TY_NODE_TYPE 20080516

Method CONSTRUCTOR on class CL_PAK_NODE has no exception.

Method DELETE_CHILD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHILD Call by reference Object reference (TYPE REF TO) CL_PAK_NODE node to be deleted 20080516
2 Importing I_WITH_SUBTREE Call by reference Type reference (TYPE) FLAG ABAP_FALSE deletes whole subtree if true 20080516

Method DELETE_CHILD_NODE on class CL_PAK_NODE has no exception.

Method IS_LEAF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_IS_LEAF Value transfer Type reference (TYPE) ABAP_BOOL 20080516

Method IS_LEAF on class CL_PAK_NODE has no exception.

Method IS_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_IS_ROOT Value transfer Type reference (TYPE) ABAP_BOOL 20080516

Method IS_ROOT on class CL_PAK_NODE has no exception.

Method SET_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARENT Call by reference Object reference (TYPE REF TO) CL_PAK_NODE parent node 20080516

Method SET_PARENT on class CL_PAK_NODE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in