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 72 73 74 75 76 77 78 79 80 81 82 | 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_root} = await import("./cx_root.clas.mjs");
// cl_shm_service.clas.abap
class cl_shm_service {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_SHM_SERVICE';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"INITIALIZE": {"visibility": "U", "parameters": {"AREA_NAME": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "CLIENT": {"type": () => {return new abap.types.Character(3, {"qualifiedName":"SHMA_CLIENT","ddicName":"SHMA_CLIENT","description":"SHM_CLIENT"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "ATTRIBUTES": {"type": () => {return new abap.types.Structure({
"area_name": new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"}),
"properties": new abap.types.Structure({
"auto_build": new abap.types.Character(1, {}),
"has_versions": new abap.types.Character(1, {})}, "SHM_PROPERTIES", "SHM_PROPERTIES", {}, {}),
"auto_build": new abap.types.Character(1, {}),
"has_versions": new abap.types.Character(1, {})}, "SHMA_ATTRIBUTES", "SHMA_ATTRIBUTES", {}, {"properties":true});}, "is_optional": " ", "parm_kind": "E", "type_name": "StructureType"}}},
"GET_AUTO_BUILD_CLASS_NAME": {"visibility": "U", "parameters": {"AUTO_BUILD_CLASS_NAME": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"SHM_AUTO_BUILD_CLASS_NAME","ddicName":"SHM_AUTO_BUILD_CLASS_NAME","description":"SHM_AUTO_BUILD_CLASS_NAME"});}, "is_optional": " ", "parm_kind": "R", "type_name": "CharacterType"}, "AREA_NAME": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
"TRACE_GET_SERVICE": {"visibility": "U", "parameters": {"TRACE_SERVICE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_SHM_TRACE", RTTIName: "\\INTERFACE=IF_SHM_TRACE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "AREA_NAME": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
"TRACE_IS_VARIANT_ACTIVE": {"visibility": "U", "parameters": {"IS_ACTIVE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "R", "type_name": "CharacterType"}, "SERVICE_NAME": {"type": () => {return new abap.types.Character(32, {"qualifiedName":"SHMM_TRC_VARIANT_NAME","ddicName":"SHMM_TRC_VARIANT_NAME","description":"SHMM_TRC_VARIANT_NAME"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}}};
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 initialize(INPUT) {
return cl_shm_service.initialize(INPUT);
}
static async initialize(INPUT) {
let area_name = INPUT?.area_name;
if (area_name?.getQualifiedName === undefined || area_name.getQualifiedName() !== "SHM_AREA_NAME") { area_name = undefined; }
if (area_name === undefined) { area_name = new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"}).set(INPUT.area_name); }
let client = new abap.types.Character(3, {"qualifiedName":"SHMA_CLIENT","ddicName":"SHMA_CLIENT","description":"SHM_CLIENT"});
if (INPUT && INPUT.client) {client.set(INPUT.client);}
let attributes = INPUT?.attributes || new abap.types.Structure({
"area_name": new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"}),
"properties": new abap.types.Structure({
"auto_build": new abap.types.Character(1, {}),
"has_versions": new abap.types.Character(1, {})}, "SHM_PROPERTIES", "SHM_PROPERTIES", {}, {}),
"auto_build": new abap.types.Character(1, {}),
"has_versions": new abap.types.Character(1, {})}, "SHMA_ATTRIBUTES", "SHMA_ATTRIBUTES", {}, {"properties":true});
return;
}
async get_auto_build_class_name(INPUT) {
return cl_shm_service.get_auto_build_class_name(INPUT);
}
static async get_auto_build_class_name(INPUT) {
let auto_build_class_name = new abap.types.Character(30, {"qualifiedName":"SHM_AUTO_BUILD_CLASS_NAME","ddicName":"SHM_AUTO_BUILD_CLASS_NAME","description":"SHM_AUTO_BUILD_CLASS_NAME"});
let area_name = INPUT?.area_name;
if (area_name?.getQualifiedName === undefined || area_name.getQualifiedName() !== "SHM_AREA_NAME") { area_name = undefined; }
if (area_name === undefined) { area_name = new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"}).set(INPUT.area_name); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
return auto_build_class_name;
}
async trace_get_service(INPUT) {
return cl_shm_service.trace_get_service(INPUT);
}
static async trace_get_service(INPUT) {
let trace_service = new abap.types.ABAPObject({qualifiedName: "IF_SHM_TRACE", RTTIName: "\\INTERFACE=IF_SHM_TRACE"});
let area_name = new abap.types.Character(30, {"qualifiedName":"SHM_AREA_NAME","ddicName":"SHM_AREA_NAME","description":"SHM_AREA_NAME"});
if (INPUT && INPUT.area_name) {area_name.set(INPUT.area_name);}
return trace_service;
return trace_service;
}
async trace_is_variant_active(INPUT) {
return cl_shm_service.trace_is_variant_active(INPUT);
}
static async trace_is_variant_active(INPUT) {
let is_active = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
let service_name = INPUT?.service_name;
if (service_name?.getQualifiedName === undefined || service_name.getQualifiedName() !== "SHMM_TRC_VARIANT_NAME") { service_name = undefined; }
if (service_name === undefined) { service_name = new abap.types.Character(32, {"qualifiedName":"SHMM_TRC_VARIANT_NAME","ddicName":"SHMM_TRC_VARIANT_NAME","description":"SHMM_TRC_VARIANT_NAME"}).set(INPUT.service_name); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
return is_active;
}
}
abap.Classes['CL_SHM_SERVICE'] = cl_shm_service;
export {cl_shm_service}; |