本文整理了Java中de.tudarmstadt.ukp.clarin.webanno.model.Project.getVersion()
方法的一些代码示例,展示了Project.getVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.getVersion()
方法的具体详情如下:
包路径:de.tudarmstadt.ukp.clarin.webanno.model.Project
类名称:Project
方法名:getVersion
暂无
代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.project
exProjekt.setName(aProject.getName());
exProjekt.setMode(aProject.getMode());
exProjekt.setVersion(aProject.getVersion());
代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-dao
@Override
public void exportData(ProjectExportRequest aRequest, ExportedProject aExProject, File aStage)
throws Exception
{
Project project = aRequest.getProject();
aExProject.setDescription(project.getDescription());
// In older versions of WebAnno, the mode was an enum which was serialized as upper-case
// during export but as lower-case in the database. This is compensating for this case.
aExProject.setMode(StringUtils.upperCase(project.getMode(), Locale.US));
aExProject.setScriptDirection(project.getScriptDirection());
aExProject.setVersion(project.getVersion());
aExProject.setDisableExport(project.isDisableExport());
aExProject.setCreated(project.getCreated());
aExProject.setUpdated(project.getUpdated());
}
代码示例来源:origin: webanno/webanno
@Override
public void exportData(ProjectExportRequest aRequest, ExportedProject aExProject, File aStage)
throws Exception
{
Project project = aRequest.getProject();
aExProject.setDescription(project.getDescription());
// In older versions of WebAnno, the mode was an enum which was serialized as upper-case
// during export but as lower-case in the database. This is compensating for this case.
aExProject.setMode(StringUtils.upperCase(project.getMode(), Locale.US));
aExProject.setScriptDirection(project.getScriptDirection());
aExProject.setVersion(project.getVersion());
aExProject.setDisableExport(project.isDisableExport());
aExProject.setCreated(project.getCreated());
aExProject.setUpdated(project.getUpdated());
}
内容来源于网络,如有侵权,请联系作者删除!