21 lines
506 B
TypeScript
21 lines
506 B
TypeScript
import {ItemGroup} from "./ItemGroup";
|
|
import {ItemGroupCharacteristic} from "./ItemgroupCharacteristic";
|
|
import {ItemgroupType} from "./ItemgroupType";
|
|
|
|
export class AbstractItemGroup extends ItemGroup {
|
|
|
|
children: ItemGroup[] = [];
|
|
itemgroupType = ItemgroupType.ABSTRACT
|
|
|
|
addChildItemgroup(itemGroup: ItemGroup) {
|
|
this.children.push(itemGroup)
|
|
itemGroup.parentGroup = this;
|
|
}
|
|
|
|
protected addCharacteristicValue(characteristic: ItemGroupCharacteristic): void {
|
|
//Do Nothing
|
|
}
|
|
|
|
|
|
}
|