SAP ABAP Class CL_DDIC_ADT_DDLS_PATH_RESOLVER (service class to resolve path expression)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC-ED (Application Component) Dictionary Maintenance
     SDDIC_ADT_DDLS (Package) Editor for ABAP Data Definition Language Sources
Properties
Class CL_DDIC_ADT_DDLS_PATH_RESOLVER  
Short Description service class to resolve path expression    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SDDIC_ADT_DDLS   Editor for ABAP Data Definition Language Sources 
Created 20130725   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no forward declaration.
Interfaces
Class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no interface implemented.
Friends
Class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_ABAP_WILDCARDS Constant Public Type reference (TYPE) STRING '*' 20130808
2 CO_PATH_SEPARATOR Constant Public Type reference (TYPE) CHAR1 '.' 20130802
3 CO_REGEX_ANY Constant Public Type reference (TYPE) STRING '(.)' 20130806
4 CO_REGEX_END Constant Public Type reference (TYPE) STRING ')' 20130806
5 CO_REGEX_ENDING_WITH_SEPARATOR Constant Public Type reference (TYPE) STRING '(.$)' 20130807
6 CO_REGEX_STARTING_WITH Constant Public Type reference (TYPE) STRING '(^' 20130806
7 DATASOURCE_SEARCH_PATTERN Instance attribute Private Type reference (TYPE) TY_SEARCH_PATTERN 20130812
8 DDIC_TABLE_ACCESS Instance attribute Private Object reference (TYPE REF TO) IF_DDIC_TABLE_INFORMATION 20131017
9 DDLS_UTILITY Instance attribute Private Object reference (TYPE REF TO) IF_DDIC_ADT_DDLS_UTILITY 20130904
10 DDL_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_DD_DDL_HANDLER 20130725
11 DDL_OBJ_REF Instance attribute Private Object reference (TYPE REF TO) IF_DDIC_ADT_DDLS_OBJECT_REF 20130802
12 DDL_PARSER Instance attribute Protected Object reference (TYPE REF TO) CL_DDL_PARSER 20130730
13 DD_SOBJECT_UTIL Instance attribute Private Object reference (TYPE REF TO) IF_DD_SOBJECT_UTIL 20130725
14 HAS_INCOMPLETE_RESULT Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130904
15 IS_URI_REQUIRED Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130729
16 SEARCH_PATTERN_TABLE Instance attribute Private Type reference (TYPE) TY_SEARCH_PATTERN_TAB 20130812
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_ASSOCIATION_REFS Instance method Private Method 20130729
2 CALCULATE_COLUMN_REFS Instance method Private Method 20130729
3 CALC_COLUMN_REFS_FOR_TABLES Instance method Private Method 20130729
4 CONSTRUCTOR Instance method Public Constructor 20130725
5 GET_COLUMN_WB_OBJECT_NAME Instance method Private Method 20130729
6 GET_LAST_QUALIFIED_ENTRIES Instance method Public Method 20130809
7 GET_MATCH_PATH Instance method Private Method 20130802
8 GET_PATH Instance method Protected Method 20130826
9 GET_SEARCH_TARGETS Instance method Private Method 20130812
10 GET_URI_FOR_DDIC_TABLE_FIELD Instance method Private Method 20130904
11 GET_VALID_QLAST_PATH Instance method Private Method 20130802
12 HAS_SEPARATOR Instance method Private Method 20130912
13 IS_LAST_NODE_SEPARATOR Instance method Private Method 20130826
14 IS_MATCHED Instance method Private Method 20130806
15 RESOLVE Instance method Public Method 20130812
16 SET_SEARCH_PATTERN Instance method Private Method 20130807
17 UPDATE_SEARCH_PATTERN_TABLE Instance method Private Method 20130807
Events
Class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_PATH_REC Private See coding 20130802 BEGIN OF ty_path_rec, path_provided TYPE string, " path string provided in request path_qualified TYPE string, " qualified path is_path_revilidation_required TYPE abap_bool, " path_provided is ok, but revalidation and uri calculation is required END OF ty_path_rec
2 TY_SEARCH_PATTERN Private See coding 20130807 BEGIN OF ty_search_pattern. INCLUDE TYPE ty_path_rec AS path_rec. TYPES: target_name TYPE string, " name of entity, ddic table or view pattern TYPE string, " regex or abap wild cards for quick search association_related TYPE abap_bool, " related for searching association column_related TYPE abap_bool, " related for searching column entity_related TYPE abap_bool, " related for searching entity ddic_table_view_related TYPE abap_bool, " related for searching ddic table/view END OF ty_search_pattern
3 TY_SEARCH_PATTERN_TAB Private See coding 20130807 ty_search_pattern_tab TYPE STANDARD TABLE OF ty_search_pattern WITH KEY path_qualified
Method Signatures

Method CALCULATE_ASSOCIATION_REFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ASSOCIATIONS Call by reference Type reference (TYPE) DDENTITY_ASSO_TAB 20130729
2 Importing I_SEARCH_PATTERN Call by reference Type reference (TYPE) TY_SEARCH_PATTERN 20130812

Method CALCULATE_ASSOCIATION_REFS on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method CALCULATE_COLUMN_REFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COLUMNS Call by reference Type reference (TYPE) DDENTITY_COLUMN_TAB 20130729
2 Importing I_SEARCH_PATTERN Call by reference Type reference (TYPE) TY_SEARCH_PATTERN 20130812

Method CALCULATE_COLUMN_REFS on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method CALC_COLUMN_REFS_FOR_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SEARCH_PATTERN Call by reference Type reference (TYPE) TY_SEARCH_PATTERN 20130812
2 Importing I_TABLE_VIEWS Call by reference Type reference (TYPE) IF_DD_SOBJECT_TYPES=>TY_T_SOBJNAMES 20130729
# Exception Resumable Description Created on
1 CX_RIS_EXCEPTION 20130729

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DDL_HANDLER Call by reference Object reference (TYPE REF TO) IF_DD_DDL_HANDLER 20130730
2 Importing I_DDL_PARSER Call by reference Object reference (TYPE REF TO) CL_DDL_PARSER 20130826
3 Importing I_DD_SOBJECT_UTIL Call by reference Object reference (TYPE REF TO) IF_DD_SOBJECT_UTIL 20130730

Method CONSTRUCTOR on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method GET_COLUMN_WB_OBJECT_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELD_NAME Value transfer Type reference (TYPE) FIELDNAME 20130729
2 Importing I_TABLE_VIEW_NAME Value transfer Type reference (TYPE) TABNAME 20130729
3 Returning R_RESULT Value transfer Type reference (TYPE) WB_OBJECT_NAME 20130729

Method GET_COLUMN_WB_OBJECT_NAME on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method GET_LAST_QUALIFIED_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_ONLY_LAST_ENTRY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130809
2 Importing I_PATHS Call by reference Type reference (TYPE) STRING_TABLE 20130809
3 Returning R_ENTRIES Value transfer Type reference (TYPE) CL_QLAST_PATH_EXPRESSION=>ENTRY_TABLE_TYPE 20130809

Method GET_LAST_QUALIFIED_ENTRIES on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method GET_MATCH_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ENTRY_KEY Call by reference Type reference (TYPE) STRING 20130802
2 Returning R_PATH Value transfer Type reference (TYPE) STRING 20130802

Method GET_MATCH_PATH on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method GET_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATH Call by reference Type reference (TYPE) STRING 20130826
2 Returning PATH Value transfer Object reference (TYPE REF TO) CL_QLAST_PATH_EXPRESSION 20130826
# Exception Resumable Description Created on
1 CX_DD_DDL_EXCEPTION 20130826

Method GET_SEARCH_TARGETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPLETION_SCOPE Call by reference Type reference (TYPE) STRING CL_DDIC_ADT_RES_DDL_REP_ACCESS=>CO_COMPLETION_SCOPE_ALL 20130812
2 Importing I_FOR_ASSOCIATION Call by reference Type reference (TYPE) ABAP_BOOL 20130812
3 Importing I_FOR_COLUMN Call by reference Type reference (TYPE) ABAP_BOOL 20130812
4 Importing I_FOR_DDIC_TABLE_VIEW Call by reference Type reference (TYPE) ABAP_BOOL 20130812
5 Importing I_KEY_STR Call by reference Type reference (TYPE) STRING 20130812
6 Returning R_TARGET_NAMES Value transfer Type reference (TYPE) STRINGTAB 20130812

Method GET_SEARCH_TARGETS on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method GET_URI_FOR_DDIC_TABLE_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELD_NAME Value transfer Type reference (TYPE) FIELDNAME 20130904
2 Importing I_TABLE_VIEW_NAME Value transfer Type reference (TYPE) TABNAME 20130904
3 Returning R_URI Value transfer Type reference (TYPE) STRING 20130904
# Exception Resumable Description Created on
1 CX_ADT_URI_MAPPING 20130904

Method GET_VALID_QLAST_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATH Call by reference Object reference (TYPE REF TO) CL_QLAST_PATH_EXPRESSION 20130802
2 Returning R_PATH Value transfer Type reference (TYPE) STRING 20130802

Method GET_VALID_QLAST_PATH on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method HAS_SEPARATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATH Call by reference Type reference (TYPE) STRING 20130912
2 Returning R_MATCHED Value transfer Type reference (TYPE) SAP_BOOL 20130912

Method HAS_SEPARATOR on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method IS_LAST_NODE_SEPARATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATH Call by reference Type reference (TYPE) STRING 20130826
2 Returning R_MATCHED Value transfer Type reference (TYPE) SAP_BOOL 20130826

Method IS_LAST_NODE_SEPARATOR on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method IS_MATCHED 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) ANY 20130806
2 Importing I_PATTERN Call by reference Type reference (TYPE) STRING 20130812
3 Returning R_MATCHED Value transfer Type reference (TYPE) SAP_BOOL 20130806

Method IS_MATCHED on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method RESOLVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPLETION_SCOPE Call by reference Type reference (TYPE) STRING CL_DDIC_ADT_RES_DDL_REP_ACCESS=>CO_COMPLETION_SCOPE_ALL 20130812
2 Importing I_PATHS Call by reference Type reference (TYPE) STRING_TABLE 20130812
3 Importing I_URI_REQUIRED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130812
4 Exporting R_INCOMPLETE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20130904
5 Exporting R_RESULT Call by reference Type reference (TYPE) IF_DDIC_ADT_DDLS_OBJECT_REF=>TY_DDL_OBJECT_REFERENCE_TAB 20130812
# Exception Resumable Description Created on
1 CX_RIS_EXCEPTION 20130812

Method SET_SEARCH_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SEARCH_PATTERN Call by reference Type reference (TYPE) TY_SEARCH_PATTERN 20130812
2 Importing I_ENTRY Call by reference Object reference (TYPE REF TO) CL_QLAST_PATH_ENTRY 20130807
3 Importing I_PATH Call by reference Type reference (TYPE) STRING 20130807
4 Importing I_PATH_ENTRIES_COUNT Call by reference Type reference (TYPE) I 20130807

Method SET_SEARCH_PATTERN on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.

Method UPDATE_SEARCH_PATTERN_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SEARCH_PATTERN Call by reference Type reference (TYPE) TY_SEARCH_PATTERN 20130812
2 Importing I_ENTRY Call by reference Object reference (TYPE REF TO) CL_QLAST_PATH_ENTRY 20130807
3 Importing I_INVALID_PATH_ENTRIES_COUNT Call by reference Type reference (TYPE) I 20130808
4 Importing I_KEY_STR Call by reference Type reference (TYPE) STRING 20130807
5 Importing I_PATH_STR Call by reference Type reference (TYPE) STRING 20130807

Method UPDATE_SEARCH_PATTERN_TABLE on class CL_DDIC_ADT_DDLS_PATH_RESOLVER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740