Commits
Art Lowel authored d3f478ef0f9
1 - | import { Bitstream } from "../../shared/bitstream.model"; |
2 - | import { RequestService } from "../../data/request.service"; |
3 - | import { hasValue } from "../../../shared/empty.util"; |
4 - | import { NormalizedBitstream } from "../models/normalized-bitstream.model"; |
5 - | import { RemoteDataBuildService } from "./remote-data-build.service"; |
6 - | import { DomainModelBuilder } from "./domain-model-builder"; |
7 - | |
8 - | export class BitstreamBuilder extends DomainModelBuilder<NormalizedBitstream, Bitstream> { |
9 - | constructor( |
10 - | private requestService: RequestService, |
11 - | private rdbService: RemoteDataBuildService, |
12 - | ) { |
13 - | super(); |
14 - | } |
15 - | |
16 - | build(): Bitstream { |
17 - | let links: any = {}; |
18 - | //TODO |
19 - | return Object.assign(new Bitstream(), this.normalized, links); |
20 - | } |
21 - | } |