1
0
Files
yel-dspace-angular/src/app/core/shared/bundle.model.ts

25 lines
541 B
TypeScript

import { DSpaceObject } from "./dspace-object.model";
import { Bitstream } from "./bitstream.model";
import { Item } from "./item.model";
import { RemoteData } from "../data/remote-data";
export class Bundle extends DSpaceObject {
/**
* The primary bitstream of this Bundle
*/
primaryBitstream: RemoteData<Bitstream>;
/**
* An array of Items that are direct parents of this Bundle
*/
parents: RemoteData<Item[]>;
/**
* The Item that owns this Bundle
*/
owner: Item;
bitstreams: RemoteData<Bitstream[]>
}