mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
[DS-2976] Ensure all database entities have a protected constructor
This commit is contained in:
@@ -100,6 +100,13 @@ public class Collection extends DSpaceObject implements DSpaceObjectLegacySuppor
|
||||
@Transient
|
||||
public static final String PROVENANCE_TEXT = "provenance_description";
|
||||
|
||||
/**
|
||||
* Protected constructor, create object using:
|
||||
* {@link org.dspace.content.service.CollectionService#create(Context, Community)}
|
||||
* or
|
||||
* {@link org.dspace.content.service.CollectionService#create(Context, Community, String)}
|
||||
*
|
||||
*/
|
||||
protected Collection()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user