Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {zcl_abapgit_gui_component} = await import("./zcl_abapgit_gui_component.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_gui_page_repo_over.clas.locals_imp.abap
class lcl_table_scheme {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_GUI_PAGE_REPO_OVER-LCL_TABLE_SCHEME';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {"MT_COL_SPEC": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
"tech_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TECH_NAME"}),
"display_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-DISPLAY_NAME"}),
"css_class": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-CSS_CLASS"}),
"add_tz": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"title": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TITLE"}),
"allow_order_by": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["TECH_NAME"]},"secondary":[]}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec_tt");}, "visibility": "U", "is_constant": " ", "is_class": " "}};
static METHODS = {"ADD_COLUMN": {"visibility": "U", "parameters": {"RO_ME": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "LCL_TABLE_SCHEME", RTTIName: "\\CLASS-POOL=ZCL_ABAPGIT_GUI_PAGE_REPO_OVER\\CLASS=LCL_TABLE_SCHEME"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "IV_TECH_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IV_DISPLAY_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IV_CSS_CLASS": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IV_ADD_TZ": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "IV_TITLE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IV_ALLOW_ORDER_BY": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"add_column": this.add_column.bind(this),
};
this.mt_col_spec = abap.types.TableFactory.construct(new abap.types.Structure({
"tech_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TECH_NAME"}),
"display_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-DISPLAY_NAME"}),
"css_class": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-CSS_CLASS"}),
"add_tz": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"title": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TITLE"}),
"allow_order_by": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["TECH_NAME"]},"secondary":[]}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec_tt");
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async add_column(INPUT) {
let ro_me = new abap.types.ABAPObject({qualifiedName: "LCL_TABLE_SCHEME", RTTIName: "\\CLASS-POOL=ZCL_ABAPGIT_GUI_PAGE_REPO_OVER\\CLASS=LCL_TABLE_SCHEME"});
let iv_tech_name = new abap.types.String({qualifiedName: "STRING"});
if (INPUT && INPUT.iv_tech_name) {iv_tech_name.set(INPUT.iv_tech_name);}
let iv_display_name = new abap.types.String({qualifiedName: "STRING"});
if (INPUT && INPUT.iv_display_name) {iv_display_name.set(INPUT.iv_display_name);}
let iv_css_class = new abap.types.String({qualifiedName: "STRING"});
if (INPUT && INPUT.iv_css_class) {iv_css_class.set(INPUT.iv_css_class);}
let iv_add_tz = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.iv_add_tz) {iv_add_tz.set(INPUT.iv_add_tz);}
let iv_title = new abap.types.String({qualifiedName: "STRING"});
if (INPUT && INPUT.iv_title) {iv_title.set(INPUT.iv_title);}
let iv_allow_order_by = INPUT?.iv_allow_order_by || new abap.types.Character(4);
let fs_ls_col_ = new abap.types.FieldSymbol(new abap.types.Structure({
"tech_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TECH_NAME"}),
"display_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-DISPLAY_NAME"}),
"css_class": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-CSS_CLASS"}),
"add_tz": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"title": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TITLE"}),
"allow_order_by": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec", undefined, {}, {}));
fs_ls_col_.assign(this.mt_col_spec.appendInitial());
fs_ls_col_.get().display_name.set(iv_display_name);
fs_ls_col_.get().tech_name.set(iv_tech_name);
fs_ls_col_.get().title.set(iv_title);
fs_ls_col_.get().css_class.set(iv_css_class);
fs_ls_col_.get().add_tz.set(iv_add_tz);
fs_ls_col_.get().allow_order_by.set(iv_allow_order_by);
ro_me.set(this.me);
return ro_me;
}
}
abap.Classes['CLAS-ZCL_ABAPGIT_GUI_PAGE_REPO_OVER-LCL_TABLE_SCHEME'] = lcl_table_scheme;
export {lcl_table_scheme}; |