All files / output zcl_abapgit_web_user_record.clas.mjs

34.78% Statements 16/46
100% Branches 2/2
16.66% Functions 1/6
34.78% Lines 16/46

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 461x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x               1x               1x               1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_web_user_record.clas.abap
class zcl_abapgit_web_user_record {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_WEB_USER_RECORD';
  static IMPLEMENTED_INTERFACES = ["ZIF_ABAPGIT_USER_RECORD"];
  static ATTRIBUTES = {};
  static METHODS = {};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async zif_abapgit_user_record$get_name(INPUT) {
    let rv_name = new abap.types.String({qualifiedName: "STRING"});
    let iv_username = INPUT?.iv_username;
    if (iv_username?.getQualifiedName === undefined || iv_username.getQualifiedName() !== "SY-UNAME") { iv_username = undefined; }
    if (iv_username === undefined) { iv_username = new abap.types.Character(12, {"qualifiedName":"sy-uname"}).set(INPUT.iv_username); }
    return rv_name;
    return rv_name;
  }
  async zif_abapgit_user_record$get_email(INPUT) {
    let rv_email = new abap.types.String({qualifiedName: "STRING"});
    let iv_username = INPUT?.iv_username;
    if (iv_username?.getQualifiedName === undefined || iv_username.getQualifiedName() !== "SY-UNAME") { iv_username = undefined; }
    if (iv_username === undefined) { iv_username = new abap.types.Character(12, {"qualifiedName":"sy-uname"}).set(INPUT.iv_username); }
    return rv_email;
    return rv_email;
  }
  async zif_abapgit_user_record$get_title(INPUT) {
    let rv_title = new abap.types.String({qualifiedName: "STRING"});
    let iv_username = INPUT?.iv_username;
    if (iv_username?.getQualifiedName === undefined || iv_username.getQualifiedName() !== "SY-UNAME") { iv_username = undefined; }
    if (iv_username === undefined) { iv_username = new abap.types.Character(12, {"qualifiedName":"sy-uname"}).set(INPUT.iv_username); }
    return rv_title;
    return rv_title;
  }
}
abap.Classes['ZCL_ABAPGIT_WEB_USER_RECORD'] = zcl_abapgit_web_user_record;
export {zcl_abapgit_web_user_record};