All files / output cl_cam_address_bcs.clas.mjs

44.11% Statements 15/34
100% Branches 2/2
11.11% Functions 1/9
44.11% Lines 15/34

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 341x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x     1x                 1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_cam_address_bcs.clas.abap
class cl_cam_address_bcs {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_CAM_ADDRESS_BCS';
  static IMPLEMENTED_INTERFACES = ["IF_RECIPIENT_BCS","IF_SENDER_BCS"];
  static ATTRIBUTES = {};
  static METHODS = {"CREATE_INTERNET_ADDRESS": {"visibility": "U", "parameters": {"RESULT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_CAM_ADDRESS_BCS", RTTIName: "\\CLASS=CL_CAM_ADDRESS_BCS"});}, "is_optional": " "}, "I_ADDRESS_STRING": {"type": () => {return new abap.types.Character();}, "is_optional": " "}, "I_ADDRESS_NAME": {"type": () => {return new abap.types.Character();}, "is_optional": " "}, "I_INCL_SAPUSER": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}};
  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 create_internet_address(INPUT) {
    return cl_cam_address_bcs.create_internet_address(INPUT);
  }
  static async create_internet_address(INPUT) {
    let result = new abap.types.ABAPObject({qualifiedName: "CL_CAM_ADDRESS_BCS", RTTIName: "\\CLASS=CL_CAM_ADDRESS_BCS"});
    let i_address_string = INPUT?.i_address_string;
    let i_address_name = INPUT?.i_address_name || new abap.types.Character();
    let i_incl_sapuser = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.i_incl_sapuser) {i_incl_sapuser.set(INPUT.i_incl_sapuser);}
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
    return result;
  }
}
abap.Classes['CL_CAM_ADDRESS_BCS'] = cl_cam_address_bcs;
export {cl_cam_address_bcs};