Package de.itemis.tooling.xturtle.xturtle

Examples of de.itemis.tooling.xturtle.xturtle.Subject.eResource()


  private URI getExportedSubjectUri(EObject ref) {
    Triples triples = EcoreUtil2.getContainerOfType(ref, Triples.class);
    if(triples!=null){
      Subject subject = triples.getSubject();
      if(subject instanceof Resource){
        org.eclipse.emf.ecore.resource.Resource res = subject.eResource();
        return res.getURI().appendFragment(res.getURIFragment(subject));
      }
    }
    return null;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.