Codota Logo
LinkIdFactory.getLinkTargetId
Code IndexAdd Codota to your IDE (free)

How to use
getLinkTargetId
method
in
edu.isi.karma.modeling.alignment.LinkIdFactory

Best Java code snippets using edu.isi.karma.modeling.alignment.LinkIdFactory.getLinkTargetId (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: usc-isi-i2/Web-Karma

if (l != null) {
  source = idToNodes.get(LinkIdFactory.getLinkSourceId(l.getId()));
  target = idToNodes.get(LinkIdFactory.getLinkTargetId(l.getId()));
  if (source  != null && target != null) {
    graph.addEdge(source, target, l);
origin: usc-isi-i2/Web-Karma

LinkIdFactory.getLinkTargetId(edgeId);
Set<LabeledLink> currentLinks = alignment.getCurrentIncomingLinksToNode(LinkIdFactory.getLinkTargetId(edgeId));
if (currentLinks != null && !currentLinks.isEmpty()) {
  for (LabeledLink currentLink: currentLinks) {
origin: usc-isi-i2/Web-Karma

    getLinkSourceId(link.getId()));
Node edgeTarget = alignment.getNodeById(LinkIdFactory.
    getLinkTargetId(link.getId()));
origin: usc-isi-i2/Web-Karma

        .getLinkTargetId(specializedLinkId));
int height = nodeHeightsMap.get(specializedLinkTarget);
origin: usc-isi-i2/Web-Karma

public void changeLinkStatus(String linkId, LinkStatus newStatus) {
  logger.debug("changing the status of link " + linkId + " to " + newStatus.name());
  LabeledLink link = this.getLinkById(linkId);
  if (link == null) {
    if (newStatus == LinkStatus.ForcedByUser) {
      Node source = this.getNodeById(LinkIdFactory.getLinkSourceId(linkId));
      Node target = this.getNodeById(LinkIdFactory.getLinkTargetId(linkId));
      String linkUri = LinkIdFactory.getLinkUri(linkId);
      LabeledLink newLink;
      if (linkUri.equalsIgnoreCase(Uris.RDFS_SUBCLASS_URI))
        newLink = new SubClassLink(linkId);
      else
        newLink = new ObjectPropertyLink(linkId, 
            this.graphBuilder.getOntologyManager().getUriLabel(linkUri), 
            this.graphBuilder.getOntologyManager().getObjectPropertyType(source.getLabel().getUri(), target.getLabel().getUri(), linkUri));
      
      newLink.setStatus(LinkStatus.ForcedByUser);
      this.graphBuilder.addLink(source, target, newLink);
    }
  } else
    this.graphBuilder.changeLinkStatus(link, newStatus);
}
origin: usc-isi-i2/Web-Karma

Node targetNode = alignment.getNodeById(LinkIdFactory.getLinkTargetId(metaPropertyId));
Label linkLabel = new Label(LinkIdFactory.getLinkUri(metaPropertyId));
LabeledLink newLink = alignment.addObjectPropertyLink(classInstanceNode,
edu.isi.karma.modeling.alignmentLinkIdFactorygetLinkTargetId

Popular methods of LinkIdFactory

  • getLinkId
  • getLinkSourceId
  • getLinkUri

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now