forked from hazza/dspace-angular
25 lines
541 B
TypeScript
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[]>
|
|
|
|
}
|