toString() for upentry

This commit is contained in:
Tomáš Mládek 2021-12-21 14:32:36 +01:00
parent fa81c279f7
commit 81634f5834
No known key found for this signature in database
GPG key ID: ED21612889E75EC5

View file

@ -112,4 +112,8 @@ export class UpEntry extends UpObject implements IEntry {
this.attribute = entry.attribute; this.attribute = entry.attribute;
this.value = entry.value; this.value = entry.value;
} }
public toString(): string {
return `(${this.entity} ${this.attribute} ${this.value.c} [${this.value.t}])`;
}
} }