Package edu.isi.karma.util

Examples of edu.isi.karma.util.RandomGUID


              continue;
          }
        }


        String nodeId = new RandomGUID().toString();
        ColumnNode target = new ColumnNode(nodeId, nodeId, sourceColumn.getColumnName(), null);
        if (!this.graphBuilder.addNode(target)) continue;;
        addedNodes.add(target);

        String linkId = LinkIdFactory.getLinkId(propertyUri, source.getId(), target.getId())
View Full Code Here


    nodeId = nodeIdFactory.getNodeId(domainUri);
    source = new InternalNode(nodeId, new Label(domainUri));
    if (!this.graphBuilder.addNodeAndUpdate(source, addedNodes)) return null;

    nodeId = new RandomGUID().toString();
    ColumnNode target = new ColumnNode(nodeId, nodeId, sourceColumn.getColumnName(), null);
    if (!this.graphBuilder.addNode(target)) return null;
    addedNodes.add(target);

    String linkId = LinkIdFactory.getLinkId(propertyUri, source.getId(), target.getId())
View Full Code Here

      logger.debug("computing steiner tree for steiner nodes set " + count + " ...");
      logger.debug(sn.getScoreDetailsString());
      DirectedWeightedMultigraph<Node, LabeledLink> tree = computeSteinerTree(sn.getNodes());
      count ++;
      if (tree != null) {
        SemanticModel sm = new SemanticModel(new RandomGUID().toString(),
            tree,
            columnNodes,
            sn.getMappingToSourceColumns()
            );
        SortableSemanticModel_Old sortableSemanticModel =
View Full Code Here

              continue;
          }
        }


        String nodeId = new RandomGUID().toString();
        ColumnNode target = new ColumnNode(nodeId, nodeId, sourceColumn.getColumnName(), null);
        if (!this.graphBuilder.addNode(target)) continue;;
        addedNodes.add(target);

        String linkId = LinkIdFactory.getLinkId(propertyUri, source.getId(), target.getId())
View Full Code Here

    nodeId = nodeIdFactory.getNodeId(domainUri);
    source = new InternalNode(nodeId, new Label(domainUri));
    if (!this.graphBuilder.addNodeAndUpdate(source, addedNodes)) return null;

    nodeId = new RandomGUID().toString();
    ColumnNode target = new ColumnNode(nodeId, nodeId, sourceColumn.getColumnName(), null);
    if (!this.graphBuilder.addNode(target)) return null;
    addedNodes.add(target);

    String linkId = LinkIdFactory.getLinkId(propertyUri, source.getId(), target.getId())
View Full Code Here

      this.type = v.type;
    }
  }
 
  private void init() {
    this.id = new RandomGUID().toString();
    Label l = null;
    this.label = new Label(l);
    this.type = NodeType.None;
    this.modelIds = new HashSet<String>();
  }
View Full Code Here

      }

      Node obj = uri2Classes.get(objStr);
      if (obj == null) {
        if (objStr.startsWith(attPrefix)) {
          id = new RandomGUID().toString();
          obj = new ColumnNode(id, objStr, objStr, null);
          SemanticType semanticType = new SemanticType(((ColumnNode)obj).getHNodeId(),
              new Label(predicateStr),
              subj.getLabel(),
              Origin.User,
View Full Code Here

   * service endpoint, http method, input and output attributes
   * @return
   */
  public WebService getInitialServiceModel(String serviceName) {
   
    String guid = new RandomGUID().toString();
//    guid = "E9C3F8D3-F778-5C4B-E089-C1749D50AE1F";
    URL sampleUrl = requestURLs.get(0);
   
    if (sampleUrl == null)
      return null;
View Full Code Here

    attributes = new ArrayList<Attribute>();
    attIdToAttMap = new HashMap<String, Attribute>();
  }
 
  public DataSource(String name, DirectedWeightedMultigraph<Node, LabeledLink> treeModel) {
    super(new RandomGUID().toString());
    this.setName(name);
    variables = new ArrayList<String>();
    attributes = new ArrayList<Attribute>();
    attIdToAttMap = new HashMap<String, Attribute>();
    this.updateModel(treeModel);
View Full Code Here

    attIdToAttMap = new HashMap<String, Attribute>();
    this.updateModel(treeModel);
  }
 
  public DataSource(DirectedWeightedMultigraph<Node, LabeledLink> treeModel) {
    super(new RandomGUID().toString());
    variables = new ArrayList<String>();
    attributes = new ArrayList<Attribute>();
    attIdToAttMap = new HashMap<String, Attribute>();
    this.updateModel(treeModel);
  }
View Full Code Here

TOP

Related Classes of edu.isi.karma.util.RandomGUID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.