Edit and create communities

This commit is contained in:
lotte
2018-12-20 15:54:47 +01:00
parent cd52c0cc06
commit 7a12332d70
39 changed files with 427 additions and 151 deletions

View File

@@ -34,14 +34,15 @@ export class DSpaceObject implements CacheableObject, ListableObject {
/**
* The name for this DSpaceObject
*/
@autoserialize
name: string;
get name(): string {
return this.findMetadata('dc.title');
}
/**
* An array containing all metadata of this DSpaceObject
*/
@autoserialize
metadata: Metadatum[];
metadata: Metadatum[] = [];
/**
* An array of DSpaceObjects that are direct parents of this DSpaceObject