forked from hazza/dspace-angular
refactor done, todo fix tests
This commit is contained in:
@@ -2,23 +2,24 @@ import { DSpaceObject } from './dspace-object.model';
|
||||
import { Bitstream } from './bitstream.model';
|
||||
import { Item } from './item.model';
|
||||
import { RemoteData } from '../data/remote-data';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
export class Bundle extends DSpaceObject {
|
||||
/**
|
||||
* The primary bitstream of this Bundle
|
||||
*/
|
||||
primaryBitstream: RemoteData<Bitstream>;
|
||||
primaryBitstream: Observable<RemoteData<Bitstream>>;
|
||||
|
||||
/**
|
||||
* An array of Items that are direct parents of this Bundle
|
||||
*/
|
||||
parents: RemoteData<Item[]>;
|
||||
parents: Observable<RemoteData<Item[]>>;
|
||||
|
||||
/**
|
||||
* The Item that owns this Bundle
|
||||
*/
|
||||
owner: RemoteData<Item>;
|
||||
owner: Observable<RemoteData<Item>>;
|
||||
|
||||
bitstreams: RemoteData<Bitstream[]>
|
||||
bitstreams: Observable<RemoteData<Bitstream[]>>
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user