All files / output/open-abap-core if_abap_lock_object.intf.mjs

100% Statements 72/72
100% Branches 10/10
42.85% Functions 9/21
100% Lines 72/72

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 69 70 71 721x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 2x 2x 2x 1x 2x 2x 2x 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 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_0() { return new abap.types.Structure({
"write_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"shared_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"exclusive_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"optimistic_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"promote_optimistic_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"check_write_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"check_shared_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"check_exclusive_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"}),
"check_promote_optimistic_lock": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"})}); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_1() { return new abap.types.Structure({
"no_update_program": new abap.types.Numc({qualifiedName: "if_abap_lock_object=>tv_scope"}),
"update_program": new abap.types.Numc({qualifiedName: "if_abap_lock_object=>tv_scope"}),
"interactive_and_update_program": new abap.types.Numc({qualifiedName: "if_abap_lock_object=>tv_scope"})}); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_2() { return new abap.types.Structure({
"yes": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_synchronous"}),
"no": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_synchronous"})}); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_3() { return new abap.types.Structure({
"no": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_wait"}),
"yes": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_wait"})}); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_4() { return new abap.types.Structure({
"table_name": new abap.types.Character(30, {"qualifiedName":"if_abap_lock_object=>tv_table_name","description":"TABNAME"}),
"mode": new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"})}, "if_abap_lock_object=>ts_table_mode"); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_5() { return abap.types.TableFactory.construct($t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_4(), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TABLE_NAME"]},"secondary":[]}, "if_abap_lock_object=>tt_table_mode"); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_6() { return new abap.types.Structure({
"name": new abap.types.Character(30, {"qualifiedName":"if_abap_lock_object=>tv_parameter_name"}),
"value": new abap.types.DataReference(new abap.types.Character(4))}, "if_abap_lock_object=>ts_parameter"); }
function $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_7() { return abap.types.TableFactory.construct($t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_6(), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["NAME"]},"secondary":[]}, "if_abap_lock_object=>tt_parameter"); }
// if_abap_lock_object.intf.abap
class if_abap_lock_object {
  static INTERNAL_TYPE = 'INTF';
  static INTERNAL_NAME = 'IF_ABAP_LOCK_OBJECT';
  static ATTRIBUTES = {"CS_MODE": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_0();}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CS_SCOPE": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_1();}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CS_SYNCHRONOUS": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_2();}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "CS_WAIT": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_3();}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"ENQUEUE": {"visibility": "U", "exceptions": ["CX_ABAP_FOREIGN_LOCK", "CX_ABAP_LOCK_FAILURE"], "parameters": {"IT_TABLE_MODE": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_5();}, "is_optional": "X", "parm_kind": "I", "type_name": "TableType"}, "IT_PARAMETER": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_7();}, "is_optional": "X", "parm_kind": "I", "type_name": "TableType"}, "_SCOPE": {"type": () => {return new abap.types.Numc({qualifiedName: "if_abap_lock_object=>tv_scope"});}, "is_optional": "X", "parm_kind": "I", "type_name": "NumericType"}, "_WAIT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_wait"});}, "is_optional": "X", "parm_kind": "I", "type_name": "CharacterType"}}},
  "DEQUEUE": {"visibility": "U", "exceptions": ["CX_ABAP_LOCK_FAILURE"], "parameters": {"IT_TABLE_MODE": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_5();}, "is_optional": "X", "parm_kind": "I", "type_name": "TableType"}, "IT_PARAMETER": {"type": () => {return $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_7();}, "is_optional": "X", "parm_kind": "I", "type_name": "TableType"}, "_SCOPE": {"type": () => {return new abap.types.Numc({qualifiedName: "if_abap_lock_object=>tv_scope"});}, "is_optional": "X", "parm_kind": "I", "type_name": "NumericType"}, "_SYNCHRONOUS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_synchronous"});}, "is_optional": "X", "parm_kind": "I", "type_name": "CharacterType"}}}};
}
abap.Classes['IF_ABAP_LOCK_OBJECT'] = if_abap_lock_object;
if_abap_lock_object.if_abap_lock_object$cs_mode = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_0();
if_abap_lock_object.if_abap_lock_object$cs_mode.get().write_lock.set('E');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().shared_lock.set('S');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().exclusive_lock.set('X');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().optimistic_lock.set('O');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().promote_optimistic_lock.set('R');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().check_write_lock.set('V');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().check_shared_lock.set('W');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().check_exclusive_lock.set('U');
if_abap_lock_object.if_abap_lock_object$cs_mode.get().check_promote_optimistic_lock.set('C');
if_abap_lock_object.if_abap_lock_object$cs_scope = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_1();
if_abap_lock_object.if_abap_lock_object$cs_scope.get().no_update_program.set('1');
if_abap_lock_object.if_abap_lock_object$cs_scope.get().update_program.set('2');
if_abap_lock_object.if_abap_lock_object$cs_scope.get().interactive_and_update_program.set('3');
if_abap_lock_object.if_abap_lock_object$cs_synchronous = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_2();
if_abap_lock_object.if_abap_lock_object$cs_synchronous.get().yes.set('X');
if_abap_lock_object.if_abap_lock_object$cs_synchronous.get().no.set('');
if_abap_lock_object.if_abap_lock_object$cs_wait = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_3();
if_abap_lock_object.if_abap_lock_object$cs_wait.get().no.set('');
if_abap_lock_object.if_abap_lock_object$cs_wait.get().yes.set('X');
if_abap_lock_object.tv_name = new abap.types.Character(30, {"qualifiedName":"if_abap_lock_object=>tv_name"});
if_abap_lock_object.tv_table_name = new abap.types.Character(30, {"qualifiedName":"if_abap_lock_object=>tv_table_name","description":"TABNAME"});
if_abap_lock_object.tv_parameter_name = new abap.types.Character(30, {"qualifiedName":"if_abap_lock_object=>tv_parameter_name"});
if_abap_lock_object.tv_mode = new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_mode"});
if_abap_lock_object.tv_scope = new abap.types.Numc({qualifiedName: "if_abap_lock_object=>tv_scope"});
if_abap_lock_object.tv_wait = new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_wait"});
if_abap_lock_object.tv_synchronous = new abap.types.Character(1, {"qualifiedName":"if_abap_lock_object=>tv_synchronous"});
if_abap_lock_object.ts_table_mode = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_4();
if_abap_lock_object.tt_table_mode = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_5();
if_abap_lock_object.ts_parameter = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_6();
if_abap_lock_object.tt_parameter = $t_aWZfYWJhcF9sb2NrX29iamVjdC5pbnRmLm1qcw_7();
export {if_abap_lock_object};