All files / output cl_abap_conv_codepage.clas.mjs

72.34% Statements 34/47
40% Branches 4/10
27.27% Functions 3/11
72.34% Lines 34/47

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 471x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x     1x 1x 1x 1x 1x 1x 1x 1x 1x     1x 109x 109x 109x 109x 109x 109x 109x 1x 1x 1x
await import("./cl_abap_conv_codepage.clas.locals.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_abap_conv_codepage.clas.abap
class cl_abap_conv_codepage {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_ABAP_CONV_CODEPAGE';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"CREATE_IN": {"visibility": "U", "parameters": {"INSTANCE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_ABAP_CONV_IN", RTTIName: "\\INTERFACE=IF_ABAP_CONV_IN"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "CODEPAGE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "CREATE_OUT": {"visibility": "U", "parameters": {"INSTANCE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_ABAP_CONV_OUT", RTTIName: "\\INTERFACE=IF_ABAP_CONV_OUT"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "CODEPAGE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}}};
  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_in(INPUT) {
    return cl_abap_conv_codepage.create_in(INPUT);
  }
  static async create_in(INPUT) {
    let instance = new abap.types.ABAPObject({qualifiedName: "IF_ABAP_CONV_IN", RTTIName: "\\INTERFACE=IF_ABAP_CONV_IN"});
    let codepage = new abap.types.String({qualifiedName: "STRING"});
    if (INPUT && INPUT.codepage) {codepage.set(INPUT.codepage);}
    if (INPUT === undefined || INPUT.codepage === undefined) {codepage = abap.CharacterFactory.get(5, 'UTF-8');}
    instance.set(await (new abap.Classes['CLAS-CL_ABAP_CONV_CODEPAGE-LCL_IN']()).constructor_({codepage: codepage}));
    return instance;
  }
  async create_out(INPUT) {
    return cl_abap_conv_codepage.create_out(INPUT);
  }
  static async create_out(INPUT) {
    let instance = new abap.types.ABAPObject({qualifiedName: "IF_ABAP_CONV_OUT", RTTIName: "\\INTERFACE=IF_ABAP_CONV_OUT"});
    let codepage = new abap.types.String({qualifiedName: "STRING"});
    if (INPUT && INPUT.codepage) {codepage.set(INPUT.codepage);}
    if (INPUT === undefined || INPUT.codepage === undefined) {codepage = abap.CharacterFactory.get(5, 'UTF-8');}
    instance.set(await (new abap.Classes['CLAS-CL_ABAP_CONV_CODEPAGE-LCL_OUT']()).constructor_({codepage: codepage}));
    return instance;
  }
}
abap.Classes['CL_ABAP_CONV_CODEPAGE'] = cl_abap_conv_codepage;
export {cl_abap_conv_codepage};