SAP ABAP Class CL_SEDI_ADT_RES_SOURCE (Root class for program and include resouce controller)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE-SRC (Application Component) ABAP Source Code editors in ABAP in Eclipse
     SEDI_ADT (Package) Service Enabeling Navigation
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SEDI_ADT_RES_SOURCE_BASE Base class for FUGR include, normal includes and programs 20130311
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FB_ADT_RES_FUGR Resource controller for programs and includes 20130314
2 Inheritance (c INHERITING FROM c_ref)  CL_SEDI_ADT_RES_INCLUDE handle sub includes (which are not main) 20130312
3 Inheritance (c INHERITING FROM c_ref)  CL_SEDI_ADT_RES_PROGRAM Resource controller for programs and includes 20130312
Properties
Class CL_SEDI_ADT_RES_SOURCE  
Short Description Root class for program and include resouce controller    
Super Class CL_SEDI_ADT_RES_SOURCE_BASE Base class for FUGR include, normal includes and programs 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEDI_ADT   Service Enabeling Navigation 
Created 20100730   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SEDI_ADT_RES_SOURCE has no forward declaration.
Interfaces
Class CL_SEDI_ADT_RES_SOURCE has no interface implemented.
Friends
Class CL_SEDI_ADT_RES_SOURCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_INCLUDENAME Constant Public Type reference (TYPE) STRING 'includename' 20130311
2 CO_MAIN Constant Private Type reference (TYPE) STRING 'MAIN' 20130311
3 CO_PGMID_PROGRAM Constant Private Type reference (TYPE) PGMID 'PROG' 20130311
4 CO_PGMID_R3TR Constant Private Type reference (TYPE) PGMID 'R3TR' 20130311
5 CO_PROGNAME Constant Public Type reference (TYPE) STRING 'programname' 20130311
6 CO_PROGRAM_TYPE_INCLUDE Constant Public Type reference (TYPE) SUBC 'I' 20130311
7 CO_PROGRAM_TYPE_MODULE_POOL Constant Public Type reference (TYPE) SUBC 'M' 20130311
8 CO_PROGRAM_TYPE_PROG Constant Public Type reference (TYPE) SUBC '1' 20130311
9 CO_PROGRAM_TYPE_SUBROUT_POOL Constant Public Type reference (TYPE) SUBC 'S' 20130311
10 CO_SOURCENAME Constant Private Type reference (TYPE) STRING 'sourcename' 20130311
11 CO_WB_TYPE_INCLUDE Constant Public Type reference (TYPE) WBOBJTYPE 'PROG/I' 20130311
12 CO_WB_TYPE_PROGRAM Constant Public Type reference (TYPE) WBOBJTYPE 'PROG/P' 20130311
13 RESOURCE_TYPE Static Attribute Private Type reference (TYPE) STRING 'PROGRAM' 20130311
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ATOM_LINKS Instance method Private Method 20130311
2 CHECK_DESCRIPTION_LENGTH Instance method Protected Method checks description length for include 20130311
3 COPY_REPS Instance method Private Method 20130801
4 CREATE_SOURCE_OBJECT Instance method Protected Method create program or include 20130311
5 FILL_INCLUDE_TAB Instance method Protected Method used in check - prepares include table for syntax check 20130311
6 FILL_SOURCE Instance method Public Method called in create to fill default source code for program 20130311
7 GET_CONTENT_HANDLER Instance method Public Method Returns content handler for data conversion 20130311
8 GET_ID_FROM_URI Instance method Public Method Returns the id of the source object e.g. class name 20130311
9 GET_MAIN_PROGRAM_REFERENCES Instance method Private Method 20130618
10 GET_SOURCE_TYPE Instance method Public Method Returns the source type which the controller supports 20130311
11 GET_WB_TYPE Instance method Public Method Returns the wb type which the controller supports 20130311
12 IS_SOURCE_TYPE_VALID Instance method Public Method checks for supported program type 20130311
13 LOCK_METHOD Instance method Public Method 20130311
14 READ_PROG_PROPERTIES Instance method Private Method read program/include lifecycle properties 20130311
15 UNLOCK_METHOD Instance method Public Method 20130311
16 UPDATE_DESCRIPTION Instance method Protected Method Update object description 20130311
Events
Class CL_SEDI_ADT_RES_SOURCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_ABAP_SOURCE_TAB Public See coding 20130311 ty_abap_source_tab type standard table of abapsource
2 TY_PROG_DATA Public See coding 20130311 begin of ty_prog_data. include type if_adt_tools_core_source_types=>ty_abap_source_main_object as source_object. types: prog_type type subc, main_program type if_adt_object_reference_ch=>ty_object_reference, main_program_count type i, end of ty_prog_data
Method Signatures

Method ADD_ATOM_LINKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROGRAM_NAME Call by reference Type reference (TYPE) PROGNAME 20130311
2 Changing PROG_DATA Call by reference Type reference (TYPE) CL_SEDI_ADT_RES_SOURCE=>TY_PROG_DATA 20130311

Method ADD_ATOM_LINKS on class CL_SEDI_ADT_RES_SOURCE has no exception.

Method CHECK_DESCRIPTION_LENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DESCRIPTION Call by reference Type reference (TYPE) STRING 20130311
# Exception Resumable Description Created on
1 CX_ADT_REST_DATA_INVALID 20130311

Method COPY_REPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CORRNR Value transfer Type reference (TYPE) TRKORR 20130801
2 Changing DATA Call by reference Type reference (TYPE) TY_PROG_DATA 20130801
3 Importing LIFECYCLE_MANAGER Call by reference Object reference (TYPE REF TO) IF_ADT_LIFECYCLE_MANAGER Lifecycle manager 20130801
# Exception Resumable Description Created on
1 CX_ADT_RESOURCE 20130801
2 CX_ADT_REST 20130801

Method CREATE_SOURCE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PATH_SEGMENT_SOURCE_MAIN Call by reference Type reference (TYPE) STRING 20130311
2 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20130311
3 Importing RESPONSE Call by reference Object reference (TYPE REF TO) IF_ADT_REST_RESPONSE 20130312
# Exception Resumable Description Created on
1 CX_ADT_RESOURCE 20130311
2 CX_ADT_REST 20130311

Method FILL_INCLUDE_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA Call by reference Object reference (TYPE REF TO) IF_ADT_SRL_METHOD_INPUT_DATA 20130311
2 Exporting INCLUDE_TAB Call by reference Type reference (TYPE) SREPTAB 20130311
3 Exporting RAHMEN_PROGRAM Call by reference Type reference (TYPE) PROGRAM 20130311
4 Importing RESOURCE_ID Call by reference Type reference (TYPE) STRING 20130311
5 Importing URI Call by reference Object reference (TYPE REF TO) IF_ADT_RES_URI 20130311
# Exception Resumable Description Created on
1 CX_ADT_RESOURCE 20130311
2 CX_ADT_REST 20130311

Method FILL_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RESOURCE_ID Call by reference Type reference (TYPE) CSEQUENCE 20130311
2 Changing SOURCE Call by reference Type reference (TYPE) TY_ABAP_SOURCE_TAB 20130311

Method FILL_SOURCE on class CL_SEDI_ADT_RES_SOURCE has no exception.

Method GET_CONTENT_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) IF_ADT_REST_CONTENT_HANDLER 20130311

Method GET_CONTENT_HANDLER on class CL_SEDI_ADT_RES_SOURCE has no exception.

Method GET_ID_FROM_URI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20130311
2 Returning RESULT Value transfer Type reference (TYPE) STRING 20130311
# Exception Resumable Description Created on
1 CX_ADT_REST 20130311

Method GET_MAIN_PROGRAM_REFERENCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU 20130618
2 Importing OBJECT_NAME Call by reference Type reference (TYPE) CSEQUENCE 20130618
3 Exporting PROGRAM_COUNT Call by reference Type reference (TYPE) I 20130620
4 Exporting PROGRAM_NAME Call by reference Type reference (TYPE) PROGNAME 20130618
5 Exporting PROGRAM_REF Call by reference Type reference (TYPE) IF_ADT_OBJECT_REFERENCE_CH=>TY_OBJECT_REFERENCE 20130618
# Exception Resumable Description Created on
1 CX_ADT_URI_MAPPING 20130618

Method GET_SOURCE_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) SUBC 20130311

Method GET_SOURCE_TYPE on class CL_SEDI_ADT_RES_SOURCE has no exception.

Method GET_WB_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20130311

Method GET_WB_TYPE on class CL_SEDI_ADT_RES_SOURCE has no exception.

Method IS_SOURCE_TYPE_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20130311
2 Importing SOURCE_TYPE Call by reference Type reference (TYPE) SUBC 20130311

Method IS_SOURCE_TYPE_VALID on class CL_SEDI_ADT_RES_SOURCE has no exception.

Method LOCK_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20130311
2 Importing RESPONSE Call by reference Object reference (TYPE REF TO) IF_ADT_REST_RESPONSE 20130311
# Exception Resumable Description Created on
1 CX_ADT_REST 20130311

Method READ_PROG_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OBJECT_TYPE Call by reference Type reference (TYPE) WBOBJTYPE 20130311
2 Importing RESOURCE_NAME Call by reference Type reference (TYPE) CSEQUENCE 20130311
3 Returning RESULT Value transfer Type reference (TYPE) TY_PROG_DATA 20130311
4 Importing VERSION Value transfer Type reference (TYPE) R3STATE 20130311
# Exception Resumable Description Created on
1 CX_ADT_RESOURCE 20130311
2 CX_ADT_REST 20130311

Method UNLOCK_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20130311
2 Importing RESPONSE Call by reference Object reference (TYPE REF TO) IF_ADT_REST_RESPONSE 20130311
# Exception Resumable Description Created on
1 CX_ADT_REST 20130311

Method UPDATE_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CORRNR Value transfer Type reference (TYPE) TRKORR 20130311
2 Importing PROG_NAME Value transfer Type reference (TYPE) CSEQUENCE 20130311
3 Importing TITLE Call by reference Type reference (TYPE) CSEQUENCE 20130311
# Exception Resumable Description Created on
1 CX_ADT_RES_SAVE_FAILURE 20130311
History
Last changed by/on SAP  20140121 
SAP Release Created in 740