本文整理了Java中edu.isi.karma.modeling.alignment.Alignment.GetTreeRoot()
方法的一些代码示例,展示了Alignment.GetTreeRoot()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alignment.GetTreeRoot()
方法的具体详情如下:
包路径:edu.isi.karma.modeling.alignment.Alignment
类名称:Alignment
方法名:GetTreeRoot
暂无
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer doIt(Workspace workspace) throws CommandException {
final boolean modelExist;
Alignment alignment = AlignmentManager.Instance().getAlignment(workspace.getId(), worksheetId);
if (alignment == null || alignment.GetTreeRoot() == null)
modelExist = false;
else
modelExist = true;
return new UpdateContainer(new AbstractUpdate() {
@Override
public void generateJson(String prefix, PrintWriter pw, VWorkspace vWorkspace) {
JSONObject obj = new JSONObject();
obj.put("modelExist", modelExist);
pw.println(obj.toString());
}
});
}
代码示例来源:origin: usc-isi-i2/Web-Karma
Worksheet worksheet = factory.getWorksheet(worksheetId);
SuperSelection selection = getSuperSelection(worksheet);
if (alignment.GetTreeRoot() != null)
hNodeId = FetchHNodeIdFromAlignmentCommand.gethNodeId(alignmentId, columnUri);
if (hNodeId == null) {
if (isNewNode && alignment.GetTreeRoot() != null) {
HNode tableHNode =workspace.getFactory().getHNode(newhNodeId);
String nestedHNodeId = tableHNode.getNestedTable().getHNodeIdFromColumnName("values");
代码示例来源:origin: usc-isi-i2/Web-Karma
this.steinerTreeRoot = alignment.GetTreeRoot();
代码示例来源:origin: usc-isi-i2/Web-Karma
AlignmentManager alignMgr = AlignmentManager.Instance();
Alignment alignment = alignMgr.getAlignment(workspace.getId(), worksheetId);
if (override || alignment == null || alignment.GetTreeRoot() == null) {
worksheet.clearSemanticTypes();
String alignmentId = alignMgr.constructAlignmentId(workspace.getId(), worksheetId);
内容来源于网络,如有侵权,请联系作者删除!