edu.isi.karma.modeling.alignment.Alignment.GetTreeRoot()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(120)

本文整理了Java中edu.isi.karma.modeling.alignment.Alignment.GetTreeRoot()方法的一些代码示例,展示了Alignment.GetTreeRoot()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alignment.GetTreeRoot()方法的具体详情如下:
包路径:edu.isi.karma.modeling.alignment.Alignment
类名称:Alignment
方法名:GetTreeRoot

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);

相关文章