diff --git a/src/aff_types/zif_abapgit_aff_intf_v1.intf.abap b/src/aff_types/zif_abapgit_aff_intf_v1.intf.abap new file mode 100644 index 000000000..b14d15e5c --- /dev/null +++ b/src/aff_types/zif_abapgit_aff_intf_v1.intf.abap @@ -0,0 +1,56 @@ +INTERFACE zif_abapgit_aff_intf_v1 PUBLIC. + + "!

Interface Category

+ "! Interface category + "! $values {@link zif_abapgit_aff_intf_v1.data:co_category} + TYPES ty_category TYPE n LENGTH 2. + + CONSTANTS: + "!

Interface Category

+ "! Interface category + BEGIN OF co_category, + "!

General

+ "! General interface + general TYPE ty_category VALUE '00', + "!

Classic BAdI

+ "! Interface definition of a classic BAdI + classic_badi TYPE ty_category VALUE '01', + "!

Business (Static Components)

+ "! Business interface for static components + business_static_components TYPE ty_category VALUE '51', + "!

Business (Instance-dep. components)

+ "! Business interface for instance-dependent components + business_instance_components TYPE ty_category VALUE '52', + "!

DB Procedure Proxy

+ "! Generated interface of a database procedure proxy + db_procedure_proxy TYPE ty_category VALUE '65', + "!

Web Dynpro Runtime

+ "! Web Dynpro runtime interface + web_dynpro_runtime TYPE ty_category VALUE '80', + "!

Enterprise Services

+ "! Generated interface of enterprise services + enterprise_service TYPE ty_category VALUE '90', + END OF co_category. + + TYPES: + "!

Interface Properties

+ "! Interface properties + BEGIN OF ty_main, + "! $required + format_version TYPE zif_abapgit_aff_types_v1=>ty_format_version, + "!

Header

+ "! Header + "! $required + header TYPE zif_abapgit_aff_types_v1=>ty_header_60_src, + "!

Interface Category

+ "! Interface category + category TYPE ty_category, + "!

Proxy Interface

+ "! Interface is a proxy interface + proxy TYPE abap_bool, + "!

Descriptions

+ "! Descriptions maintained in SE80 + descriptions TYPE zif_abapgit_aff_oo_types_v1=>ty_descriptions, + END OF ty_main. + +ENDINTERFACE. diff --git a/src/aff_types/zif_abapgit_aff_intf_v1.intf.xml b/src/aff_types/zif_abapgit_aff_intf_v1.intf.xml new file mode 100644 index 000000000..da865b869 --- /dev/null +++ b/src/aff_types/zif_abapgit_aff_intf_v1.intf.xml @@ -0,0 +1,15 @@ + + + + + + ZIF_ABAPGIT_AFF_INTF_V1 + E + AFF: Interface v1 + 2 + 1 + X + + + + diff --git a/src/aff_types/zif_abapgit_aff_oo_types_v1.intf.abap b/src/aff_types/zif_abapgit_aff_oo_types_v1.intf.abap new file mode 100644 index 000000000..2cfd41be5 --- /dev/null +++ b/src/aff_types/zif_abapgit_aff_oo_types_v1.intf.abap @@ -0,0 +1,86 @@ +"!

Common types for classes and interfaces

+"! Types which can be reused for Class and Interface AFF Types +INTERFACE zif_abapgit_aff_oo_types_v1 + PUBLIC. + + TYPES: + "!

Name and Description

+ "! Name and description + BEGIN OF ty_component_description, + "!

Name

+ "! Name + "! $required + name TYPE zif_abapgit_aff_types_v1=>ty_object_name_30, + "!

Description

+ "! Description + "! $required + description TYPE zif_abapgit_aff_types_v1=>ty_description_60, + END OF ty_component_description, + + "!

Component Descriptions

+ "! Class component descriptions + ty_component_descriptions TYPE SORTED TABLE OF ty_component_description WITH UNIQUE KEY name. + + + TYPES: + "!

Method Description

+ "! Method description + BEGIN OF ty_method, + "!

Method Name

+ "! Name of the method + "! $required + name TYPE zif_abapgit_aff_types_v1=>ty_object_name_30, + "!

Method Description

+ "! Description of the method + "! $required + description TYPE zif_abapgit_aff_types_v1=>ty_description_60, + "!

Parameter Descriptions

+ "! Parameter descriptions + parameters TYPE ty_component_descriptions, + "!

Exception Descriptions

+ "! Exception descriptions + exceptions TYPE ty_component_descriptions, + END OF ty_method, + "!

Method Descriptions

+ "! Method descriptions + ty_methods TYPE SORTED TABLE OF ty_method WITH UNIQUE KEY name. + + TYPES: + "!

Event Description

+ "! Event description + BEGIN OF ty_event, + "!

Event Name

+ "! Name of the event + "! $required + name TYPE zif_abapgit_aff_types_v1=>ty_object_name_30, + "!

Event Description

+ "! Description of the event + "! $required + description TYPE zif_abapgit_aff_types_v1=>ty_description_60, + "!

Parameter Descriptions

+ "! Parameter descriptions + parameters TYPE ty_component_descriptions, + END OF ty_event, + "!

Event Descriptions

+ "! Event descriptions + ty_events TYPE SORTED TABLE OF ty_event WITH UNIQUE KEY name. + + TYPES: + "!

Descriptions

+ "! Descriptions maintained in SE80 + BEGIN OF ty_descriptions, + "!

Type Descriptions

+ "! Type descriptions + types TYPE ty_component_descriptions, + "!

Attribute Descriptions

+ "! Attribute descriptions + attributes TYPE ty_component_descriptions, + "!

Event Descriptions

+ "! Event descriptions + events TYPE ty_events, + "!

Method Descriptions

+ "! Method descriptions + methods TYPE ty_methods, + END OF ty_descriptions. + +ENDINTERFACE. diff --git a/src/aff_types/zif_abapgit_aff_oo_types_v1.intf.xml b/src/aff_types/zif_abapgit_aff_oo_types_v1.intf.xml new file mode 100644 index 000000000..e334cde19 --- /dev/null +++ b/src/aff_types/zif_abapgit_aff_oo_types_v1.intf.xml @@ -0,0 +1,15 @@ + + + + + + ZIF_ABAPGIT_AFF_OO_TYPES_V1 + E + Common types for classes and interfaces + 2 + 1 + X + + + + diff --git a/src/aff_types/zif_abapgit_aff_types_v1.intf.abap b/src/aff_types/zif_abapgit_aff_types_v1.intf.abap new file mode 100644 index 000000000..1ab9587ae --- /dev/null +++ b/src/aff_types/zif_abapgit_aff_types_v1.intf.abap @@ -0,0 +1,194 @@ +"!

General types reusable in AFF

+"! Types which can be reused in all AFF object types +INTERFACE zif_abapgit_aff_types_v1 PUBLIC. + + "!

ABAP File Format Version

+ "! The ABAP file format version + TYPES ty_format_version TYPE string. + + "!

ABAP Language Version

+ "! ABAP language version + "! $values {@link zif_abapgit_aff_types_v1.data:co_abap_language_version} + "! $default {@link zif_abapgit_aff_types_v1.data:co_abap_language_version.standard} + TYPES ty_abap_language_version TYPE c LENGTH 1. + + "!

ABAP Language Version

+ "! ABAP language version + "! $values {@link zif_abapgit_aff_types_v1.data:co_abap_language_version_cloud} + "! $default {@link zif_abapgit_aff_types_v1.data:co_abap_language_version_cloud.standard} + TYPES ty_abap_language_version_cloud TYPE c LENGTH 1. + + "!

ABAP Language Version

+ "! ABAP language version + "! $values {@link zif_abapgit_aff_types_v1.data:co_abap_language_version_src} + "! $default {@link zif_abapgit_aff_types_v1.data:co_abap_language_version_src.standard} + TYPES ty_abap_language_version_src TYPE c LENGTH 1. + + CONSTANTS: + "!

ABAP Language Version (Source Code Objects)

+ "! ABAP language version for source code objects like CLAS, INTF, FUGR or PROG. + BEGIN OF co_abap_language_version_src, + "!

Standard

+ "! Standard + standard TYPE ty_abap_language_version_src VALUE 'X', + "!

ABAP for Key Users

+ "! ABAP for key user extensibility + key_user TYPE ty_abap_language_version_src VALUE '2', + "!

ABAP Cloud Development

+ "! ABAP cloud development + cloud_development TYPE ty_abap_language_version_src VALUE '5', + END OF co_abap_language_version_src. + + CONSTANTS: + "!

ABAP Language Version (Non-Source Code Objects)

+ "! ABAP language version for non-source code objects + BEGIN OF co_abap_language_version, + "!

Standard

+ "! Standard + standard TYPE ty_abap_language_version VALUE space, + "!

ABAP for Key Users

+ "! ABAP for key user extensibility + key_user TYPE ty_abap_language_version VALUE '2', + "!

ABAP Cloud Development

+ "! ABAP cloud development + cloud_development TYPE ty_abap_language_version VALUE '5', + END OF co_abap_language_version. + + CONSTANTS: + "!

ABAP Language Version

+ "! ABAP language version for objects which only exist for standard and cloud development (no key user extensibility) + BEGIN OF co_abap_language_version_cloud, + "!

Standard

+ "! Standard + standard TYPE ty_abap_language_version_cloud VALUE space, + "!

ABAP Cloud Development

+ "! ABAP cloud development + cloud_development TYPE ty_abap_language_version_cloud VALUE '5', + END OF co_abap_language_version_cloud. + + "!

Description

+ "! Description of the ABAP object + TYPES ty_description_60 TYPE c LENGTH 60. + "!

Description

+ "! Description of the ABAP object + TYPES ty_description_100 TYPE c LENGTH 100. + + "!

Object Name

+ "! Object name with max. length 30 + TYPES ty_object_name_30 TYPE c LENGTH 30. + + "!

Original Language

+ "! Original language of the ABAP object + TYPES ty_original_language TYPE sy-langu. + + TYPES: + "!

Header for Source Code Objects

+ "! The header for an ABAP main object (with source code) with a description of 60 characters + BEGIN OF ty_header_60_src, + "! $required + description TYPE ty_description_60, + "! $required + original_language TYPE ty_original_language, + abap_language_version TYPE ty_abap_language_version_src, + END OF ty_header_60_src. + + TYPES: + "!

Header for Non-Source Code Objects (no key user)

+ "! The header for an ABAP main object (without source code) with a description of 60 characters (no key user) + BEGIN OF ty_header_60_cloud, + "! $required + description TYPE ty_description_60, + "! $required + original_language TYPE ty_original_language, + abap_language_version TYPE ty_abap_language_version_cloud, + END OF ty_header_60_cloud. + + TYPES: + "!

Header for Non-Source Code Objects

+ "! The header for an ABAP main object (without source code) with a description of 60 characters + BEGIN OF ty_header_60, + "! $required + description TYPE ty_description_60, + "! $required + original_language TYPE ty_original_language, + abap_language_version TYPE ty_abap_language_version, + END OF ty_header_60. + + TYPES: + "!

Header for Non-Source Code Objects

+ "! The header for an ABAP main object (without source code) with a description of 100 characters + BEGIN OF ty_header_100, + "! $required + description TYPE ty_description_100, + "! $required + original_language TYPE ty_original_language, + abap_language_version TYPE ty_abap_language_version, + END OF ty_header_100. + + TYPES: + "!

Header for Subobjects

+ "! The header for an ABAP subobject with a description of 60 characters + BEGIN OF ty_header_only_description, + "! $required + description TYPE ty_description_60, + END OF ty_header_only_description. + + "!

Option

+ "! Option + "! $values {@link zif_abapgit_aff_types_v1.data:co_option} + TYPES ty_option TYPE c LENGTH 2. + + CONSTANTS: + "!

Option

+ "! Option + BEGIN OF co_option, + "!

Equals

+ "! Equals + equals TYPE ty_option VALUE 'EQ', + "!

Between

+ "! Between + between TYPE ty_option VALUE 'BT', + "!

Greater Than

+ "! Greater than + greater_than TYPE ty_option VALUE 'GT', + "!

Contains Pattern

+ "! Contains pattern + contains_pattern TYPE ty_option VALUE 'CP', + "!

Not Equal

+ "! Not equal + not_equal TYPE ty_option VALUE 'NE', + "!

Not Between

+ "! Not between + not_between TYPE ty_option VALUE 'NB', + "!

Not Contains Pattern

+ "! Not contains pattern + not_contains_pattern TYPE ty_option VALUE 'NP', + "!

Greater Equal

+ "! Greater equal + greater_equal TYPE ty_option VALUE 'GE', + "!

Less Than

+ "! Less than + less_than TYPE ty_option VALUE 'LT', + "!

Less Equal

+ "! Less equal + less_equal TYPE ty_option VALUE 'LE', + END OF co_option. + + "!

Sign

+ "! Sign + "! $values {@link zif_abapgit_aff_types_v1.data:co_sign} + TYPES ty_sign TYPE c LENGTH 1. + + CONSTANTS: + "!

Sign

+ "! Sign + BEGIN OF co_sign, + "!

Include

+ "! Include + include TYPE ty_sign VALUE 'I', + "!

Exclude

+ "! Exclude + exclude TYPE ty_sign VALUE 'E', + END OF co_sign. + +ENDINTERFACE. diff --git a/src/aff_types/zif_abapgit_aff_types_v1.intf.xml b/src/aff_types/zif_abapgit_aff_types_v1.intf.xml new file mode 100644 index 000000000..c40b70807 --- /dev/null +++ b/src/aff_types/zif_abapgit_aff_types_v1.intf.xml @@ -0,0 +1,15 @@ + + + + + + ZIF_ABAPGIT_AFF_TYPES_V1 + E + General types reusable in AFF + 2 + 1 + X + + + +