Files
dspace-angular/src/app/core/shared/bundle.model.ts
Lotte Hofstede 57aa58ac56 Merge branch 'rest-relationships' into w2p-40416_simple-item-page
Conflicts:
	src/app/core/cache/models/normalized-item.model.ts
	src/app/core/shared/item.model.ts
2017-05-08 09:26:49 +02:00

25 lines
551 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: Array<RemoteData<Item>>;
/**
* The Item that owns this Bundle
*/
owner: Item;
bitstreams: Array<RemoteData<Bitstream>>
}