本文整理了Java中org.dataconservancy.ui.model.DataItem.<init>()
方法的一些代码示例,展示了DataItem.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataItem.<init>()
方法的具体详情如下:
包路径:org.dataconservancy.ui.model.DataItem
类名称:DataItem
方法名:<init>
[英]Constructs a DataItem with no state.
[中]构造没有状态的数据项。
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model
public Set<DataItem> getDataItems() {
final Set<DataItem> dataItems = new HashSet<DataItem>(this.dataItems.size());
for (DataItem du : this.dataItems) {
dataItems.add(new DataItem(du));
}
return dataItems;
}
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model
public Set<DataItem> getDataItems() {
final Set<DataItem> dataItems = new HashSet<DataItem>(this.dataItems.size());
for (DataItem du : this.dataItems) {
dataItems.add(new DataItem(du));
}
return dataItems;
}
代码示例来源:origin: org.dataconservancy.frontend/dcs-ui-services-impl
@Override
public DataItem getDataSetForDataFileId(String id) throws RelationshipConstraintException {
DataItem dataItem = new DataItem();
synchronized (IdBasedMutexFactory.create(id)) {
dataItem = getDataSetWithFileId(id);
}
return dataItem;
}
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-services-impl
@Override
public DataItem getDataSetForDataFileId(String id) throws RelationshipConstraintException {
DataItem dataItem = new DataItem();
synchronized (IdBasedMutexFactory.create(id)) {
dataItem = getDataSetWithFileId(id);
}
return dataItem;
}
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model
public void addDataItem(DataItem... dataItem) {
Assertion.notNull(dataItem);
for (DataItem du : dataItem) {
Assertion.notNull(du);
this.dataItems.add(new DataItem(du));
}
}
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model
public void addDataItem(DataItem... dataItem) {
Assertion.notNull(dataItem);
for (DataItem du : dataItem) {
Assertion.notNull(du);
this.dataItems.add(new DataItem(du));
}
}
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-services-impl
@Override
public DataItem getDataSetForDataFile(DataFile dataFile) throws RelationshipConstraintException {
DataItem dataItem = new DataItem();
synchronized (IdBasedMutexFactory.create(dataFile)) {
dataItem = getDataSetWithFileId(dataFile.getId());
}
return dataItem;
}
代码示例来源:origin: org.dataconservancy.frontend/dcs-ui-services-impl
@Override
public DataItem getDataSetForDataFile(DataFile dataFile) throws RelationshipConstraintException {
DataItem dataItem = new DataItem();
synchronized (IdBasedMutexFactory.create(dataFile)) {
dataItem = getDataSetWithFileId(dataFile.getId());
}
return dataItem;
}
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-services-impl
throw new RelationshipConstraintException(msg);
DataItem dataItem = new DataItem();
for (Relationship rel : rels) {
DataItem ds = null;
代码示例来源:origin: org.dataconservancy.frontend/dcs-ui-services-impl
throw new RelationshipConstraintException(msg);
DataItem dataItem = new DataItem();
for (Relationship rel : rels) {
DataItem ds = null;
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model-builder-xstream
UnmarshallingContext context) {
DataItem dataItemObject = new DataItem();
dataItemObject.setId(reader.getAttribute(E_ID));
DateTime depositDate = null;
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model-builder-xstream
UnmarshallingContext context) {
DataItem dataItemObject = new DataItem();
dataItemObject.setId(reader.getAttribute(E_ID));
DateTime depositDate = null;
代码示例来源:origin: org.dataconservancy.dcs/dcs-ui-model-builder-xstream
UnmarshallingContext context) {
DataItem dataItemObject = new DataItem();
dataItemObject.setId(reader.getAttribute(E_ID));
DateTime depositDate = null;
代码示例来源:origin: org.dataconservancy.model/dcs-ui-model-builder-xstream
UnmarshallingContext context) {
DataItem dataItemObject = new DataItem();
dataItemObject.setId(reader.getAttribute(E_ID));
DateTime depositDate = null;
代码示例来源:origin: org.dataconservancy.frontend/dcs-ui-test-support-model
dataItemOne = new DataItem();
dataItemOne.setName("Data Item One");
dataItemOne.setDescription("data item one description");
dataItemOne.addFile(dataFileOne);
dataItemTwo = new DataItem();
dataItemTwo.setName("Data Item Two");
dataItemTwo.setDescription("data item two description");
代码示例来源:origin: org.dataconservancy.ui/dcs-ui-test-support-model
dataItemOne = new DataItem();
dataItemOne.setName("Data Item One");
dataItemOne.setDescription("data item one description");
dataItemOne.addFile(dataFileOne);
dataItemTwo = new DataItem();
dataItemTwo.setName("Data Item Two");
dataItemTwo.setDescription("data item two description");
代码示例来源:origin: org.dataconservancy.packaging/dcs-pkg-ingest-services
DataItem dataItem = new DataItem();
dataItem.setId(businessId);
内容来源于网络,如有侵权,请联系作者删除!