add collection metadata (provenance, copyright, short description) in the collection response

This commit is contained in:
Kostas Stamatis
2013-10-29 15:51:53 +02:00
parent 11bb440fea
commit a9b307bdc6
2 changed files with 55 additions and 0 deletions

View File

@@ -90,6 +90,13 @@ public class Collection extends DSpaceObject
/** The default group of administrators */
private Group admins;
// Keys for accessing Collection metadata
public static final String COPYRIGHT_TEXT = "copyright_text";
public static final String INTRODUCTORY_TEXT = "introductory_text";
public static final String SHORT_DESCRIPTION = "short_description";
public static final String SIDEBAR_TEXT = "side_bar_text";
public static final String PROVENANCE_TEXT = "provenance_description";
/**
* Construct a collection with the given table row
*