All files / output cx_os_object_not_found.clas.mjs

52.3% Statements 34/65
100% Branches 2/2
6.25% Functions 1/16
52.3% Lines 34/65

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 651x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                 1x                               1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
const {cx_os_object} = await import("./cx_os_object.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cx_os_object_not_found.clas.abap
class cx_os_object_not_found extends cx_os_object {
  static STATIC_SUPER = cx_os_object;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CX_OS_OBJECT_NOT_FOUND';
  static IMPLEMENTED_INTERFACES = ["IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE"];
  static ATTRIBUTES = {"TABLE": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"TABNAME","ddicName":"TABNAME","description":"TABNAME"});}, "visibility": "U", "is_constant": " ", "is_class": " "},
  "BKEY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "U", "is_constant": " ", "is_class": " "},
  "BY_REF": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "BY_BKEY": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "DELETED_BY_BKEY": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "IS_PERSISTENT_BY_BKEY": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "IS_TRANSIENT_BY_BKEY": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "TRANSIENT_BY_BKEY": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"TEXTID": {"type": () => {return new abap.types.Character(32, {});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "PREVIOUS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "TABLE": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"TABNAME","ddicName":"TABNAME","description":"TABNAME"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "OBJECT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined});}, "is_optional": " ", "parm_kind": "I", "type_name": "GenericObjectReferenceType"}, "BKEY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}}};
  constructor() {
    const sup = super();
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "SUPER": sup.FRIENDS_ACCESS_INSTANCE,
    };
    this.table = new abap.types.Character(30, {"qualifiedName":"TABNAME","ddicName":"TABNAME","description":"TABNAME"});
    this.bkey = new abap.types.String({qualifiedName: "STRING"});
    this.by_ref = cx_os_object_not_found.by_ref;
    this.by_bkey = cx_os_object_not_found.by_bkey;
    this.deleted_by_bkey = cx_os_object_not_found.deleted_by_bkey;
    this.is_persistent_by_bkey = cx_os_object_not_found.is_persistent_by_bkey;
    this.is_transient_by_bkey = cx_os_object_not_found.is_transient_by_bkey;
    this.transient_by_bkey = cx_os_object_not_found.transient_by_bkey;
  }
  async constructor_(INPUT) {
    let textid = new abap.types.Character(32, {});
    if (INPUT && INPUT.textid) {textid.set(INPUT.textid);}
    let previous = new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});
    if (INPUT && INPUT.previous) {previous.set(INPUT.previous);}
    let table = new abap.types.Character(30, {"qualifiedName":"TABNAME","ddicName":"TABNAME","description":"TABNAME"});
    if (INPUT && INPUT.table) {table.set(INPUT.table);}
    let object = new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined});
    if (INPUT && INPUT.object) {object.set(INPUT.object);}
    let bkey = new abap.types.String({qualifiedName: "STRING"});
    if (INPUT && INPUT.bkey) {bkey.set(INPUT.bkey);}
    await super.constructor_({textid: textid,object: object,previous: previous});
    this.me.get().table.set(table);
    this.me.get().bkey.set(bkey);
    return this;
  }
}
abap.Classes['CX_OS_OBJECT_NOT_FOUND'] = cx_os_object_not_found;
cx_os_object_not_found.by_ref = new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});
cx_os_object_not_found.by_ref.set('11111111111111111111111111111111');
cx_os_object_not_found.by_bkey = new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});
cx_os_object_not_found.by_bkey.set('11111111111111111111111111111111');
cx_os_object_not_found.deleted_by_bkey = new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});
cx_os_object_not_found.deleted_by_bkey.set('11111111111111111111111111111111');
cx_os_object_not_found.is_persistent_by_bkey = new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});
cx_os_object_not_found.is_persistent_by_bkey.set('11111111111111111111111111111111');
cx_os_object_not_found.is_transient_by_bkey = new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});
cx_os_object_not_found.is_transient_by_bkey.set('11111111111111111111111111111111');
cx_os_object_not_found.transient_by_bkey = new abap.types.Character(32, {"qualifiedName":"SOTR_CONC","ddicName":"SOTR_CONC","description":"SOTR_CONC"});
cx_os_object_not_found.transient_by_bkey.set('11111111111111111111111111111111');
export {cx_os_object_not_found};