本文整理了Java中org.dataconservancy.ui.model.DataItem.setAlternateIds()
方法的一些代码示例,展示了DataItem.setAlternateIds()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataItem.setAlternateIds()
方法的具体详情如下:
包路径:org.dataconservancy.ui.model.DataItem
类名称:DataItem
方法名:setAlternateIds
[英]Attach a list of alternate ids to be associated with the dataset
[中]附加要与数据集关联的备用ID列表
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model
setFiles(files);
this.parentId = parentId;
setAlternateIds(alternateIds);
setCitableLocator(citableLocator);
setContentModel(contentModel);
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model
setFiles(files);
this.parentId = parentId;
setAlternateIds(alternateIds);
setCitableLocator(citableLocator);
setContentModel(contentModel);
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model-builder-xstream
dataItemObject.setAlternateIds(alternateIds);
} else if (ename.equals(E_NAME)) {
final String value = reader.getValue();
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model-builder-xstream
dataItemObject.setAlternateIds(alternateIds);
} else if (ename.equals(E_NAME)) {
final String value = reader.getValue();
代码示例来源:origin: org.dataconservancy.frontend/dcs-ui-test-support-model
altIds.add("Super Item");
altIds.add("Fantastic!");
dataItemOne.setAlternateIds(altIds);
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-test-support-model
altIds.add("Super Item");
altIds.add("Fantastic!");
dataItemOne.setAlternateIds(altIds);
代码示例来源:origin: org.dataconservancy.packaging/dcs-pkg-ingest-services
/**
* Take an attribute set representing a data item and populate fields in the corresponding
* business object
*/
private void hydrateDataItem(AttributeSet as, IngestWorkflowState state, Map<String,BusinessObject> objects, Map<String,String> parents,
String localId, DataItem di) throws StatefulIngestServiceException {
di.setName(get_value(as, Metadata.DATA_ITEM_TITLE));
di.setDescription(get_value(as, Metadata.DATA_ITEM_DESCRIPTION));
di.setAlternateIds(get_values(as, Metadata.DATA_ITEM_IDENTIFIER));
di.setCitableLocator(get_values(as, Metadata.DATA_ITEM_CITABLE_LOCATOR));
di.setCreatedDate(get_datetime(as, Metadata.DATA_ITEM_CREATED, true));
di.setCreators(get_contact_info(as, Metadata.DATA_ITEM_CREATOR));
di.setContactInfos(get_contact_info(as, Metadata.DATA_ITEM_CONTACT_INFO));
di.setDepositorId(state.getIngestUserId());
di.setContentModel(get_values(as, Metadata.DATA_ITEM_CONTENT_MODEL));
di.setModifiedDate(get_datetime(as, Metadata.DATA_ITEM_MODIFIED, true));
di.setParentId(get_parent_business_id(localId, parents, objects));
}
内容来源于网络,如有侵权,请联系作者删除!