我是dspace的新手。我正在从dspace metadatavalue表中检索值。有人认为我不理解的是metadatavalue表中的resource_type_id。 Resource_type_id具有特定值。它的集合名称及其描述的值为3,比特流的值为0等。这些值代表什么?
答案 0 :(得分:1)
DSpace数据库表中resource_type_id
列中的值引用org.dspace.core.Constants
类中的常量:https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java#L20
/** Type of bitstream objects */
public static final int BITSTREAM = 0;
/** Type of bundle objects */
public static final int BUNDLE = 1;
/** Type of item objects */
public static final int ITEM = 2;
/** Type of collection objects */
public static final int COLLECTION = 3;
/** Type of community objects */
public static final int COMMUNITY = 4;
/** DSpace site type */
public static final int SITE = 5;
/** Type of eperson groups */
public static final int GROUP = 6;
/** Type of individual eperson objects */
public static final int EPERSON = 7;