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 | 1x 1x 1x 1x 1x 1x | const {zcx_abapgit_exception} = await import("./zcx_abapgit_exception.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcx_abapgit_type_not_supported.clas.abap
class zcx_abapgit_type_not_supported extends zcx_abapgit_exception {
static STATIC_SUPER = zcx_abapgit_exception;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'ZCX_ABAPGIT_TYPE_NOT_SUPPORTED';
static IMPLEMENTED_INTERFACES = ["IF_T100_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE"];
static ATTRIBUTES = {"MV_OBJ_TYPE": {"type": () => {return new abap.types.Character(4, {"qualifiedName":"TROBJTYPE","ddicName":"TROBJTYPE","description":"TROBJTYPE"});}, "visibility": "I", "is_constant": " ", "is_class": " "}};
static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"TEXTID": {"type": () => {return new abap.types.Structure({
"msgid": new abap.types.Character(20, {"qualifiedName":"SYMSGID","ddicName":"SYMSGID","description":"SYMSGID"}),
"msgno": new abap.types.Numc({length: 3, qualifiedName: "SYMSGNO"}),
"attr1": new abap.types.String({qualifiedName: "SCX_ATTRNAME"}),
"attr2": new abap.types.String({qualifiedName: "SCX_ATTRNAME"}),
"attr3": new abap.types.String({qualifiedName: "SCX_ATTRNAME"}),
"attr4": new abap.types.String({qualifiedName: "SCX_ATTRNAME"})}, "SCX_T100KEY", "SCX_T100KEY", {}, {});}, "is_optional": " ", "parm_kind": "I", "type_name": "StructureType"}, "PREVIOUS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "LOG": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "MSGV1": {"type": () => {return new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "MSGV2": {"type": () => {return new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "MSGV3": {"type": () => {return new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "MSGV4": {"type": () => {return new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "LONGTEXT": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CSequenceType"}, "OBJ_TYPE": {"type": () => {return new abap.types.Character(4, {"qualifiedName":"TROBJTYPE","ddicName":"TROBJTYPE","description":"TROBJTYPE"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
"GET_TEXT": {"visibility": "U", "parameters": {}}};
#mv_obj_type;
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,
"get_text": this.get_text.bind(this),
};
this.#mv_obj_type = new abap.types.Character(4, {"qualifiedName":"TROBJTYPE","ddicName":"TROBJTYPE","description":"TROBJTYPE"});
this.FRIENDS_ACCESS_INSTANCE["mv_obj_type"] = this.#mv_obj_type;
}
async constructor_(INPUT) {
let textid = new abap.types.Structure({
"msgid": new abap.types.Character(20, {"qualifiedName":"SYMSGID","ddicName":"SYMSGID","description":"SYMSGID"}),
"msgno": new abap.types.Numc({length: 3, qualifiedName: "SYMSGNO"}),
"attr1": new abap.types.String({qualifiedName: "SCX_ATTRNAME"}),
"attr2": new abap.types.String({qualifiedName: "SCX_ATTRNAME"}),
"attr3": new abap.types.String({qualifiedName: "SCX_ATTRNAME"}),
"attr4": new abap.types.String({qualifiedName: "SCX_ATTRNAME"})}, "SCX_T100KEY", "SCX_T100KEY", {}, {});
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 log = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"});
if (INPUT && INPUT.log) {log.set(INPUT.log);}
let msgv1 = new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});
if (INPUT && INPUT.msgv1) {msgv1.set(INPUT.msgv1);}
let msgv2 = new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});
if (INPUT && INPUT.msgv2) {msgv2.set(INPUT.msgv2);}
let msgv3 = new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});
if (INPUT && INPUT.msgv3) {msgv3.set(INPUT.msgv3);}
let msgv4 = new abap.types.Character(50, {"qualifiedName":"SYMSGV","ddicName":"SYMSGV","description":"SYMSGV"});
if (INPUT && INPUT.msgv4) {msgv4.set(INPUT.msgv4);}
let longtext = INPUT?.longtext || new abap.types.Character();
let obj_type = INPUT?.obj_type;
if (obj_type?.getQualifiedName === undefined || obj_type.getQualifiedName() !== "TROBJTYPE") { obj_type = undefined; }
if (obj_type === undefined) { obj_type = new abap.types.Character(4, {"qualifiedName":"TROBJTYPE","ddicName":"TROBJTYPE","description":"TROBJTYPE"}).set(INPUT.obj_type); }
await super.constructor_({textid: textid, previous: previous, log: log, msgv1: msgv1, msgv2: msgv2, msgv3: msgv3, msgv4: msgv4, longtext: longtext});
this.#mv_obj_type.set(obj_type);
return this;
}
async get_text() {
let result = new abap.types.String({qualifiedName: "STRING"});
result.set(new abap.types.String().set(`Object type ${abap.templateFormatting(this.#mv_obj_type)} is not supported by this system`));
return result;
}
}
abap.Classes['ZCX_ABAPGIT_TYPE_NOT_SUPPORTED'] = zcx_abapgit_type_not_supported;
export {zcx_abapgit_type_not_supported}; |