首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >元雪崩中的resource_type_id是什么?

元雪崩中的resource_type_id是什么?
EN

Stack Overflow用户
提问于 2015-08-03 10:28:03
回答 1查看 370关注 0票数 2

我是新来的dspace。我正在从dspace元雪崩表中检索值。我不明白的一个问题是元雪崩表中的resource_type_id。Resource_type_id具有特定的值。它的集合名称和描述值为3,比特流为0。这些值代表什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-08-03 21:18:19

resource_type_id数据库表中DSpace列中的值引用org.dspace.core.Constants类中的常量:https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java#L20

代码语言:javascript
复制
/** 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;
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31785035

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档