Package edu.pitt.dbmi.nlp.noble.ontology

Examples of edu.pitt.dbmi.nlp.noble.ontology.IClass.addComment()


   
      // copy superficial stuff
      for(String lbl: src.getLabels())
        dst.addLabel(lbl);
      for(String com: src.getComments())
        dst.addComment(com);
      if(src.getVersion() != null)
        dst.addVersion(src.getVersion());
   
      // copy properties
      for(IProperty sp : src.getProperties()){
View Full Code Here


    for(String s: labels){
      cls.addLabel(s);
    }
    // add definitions
    for(Definition d: c.getDefinitions()){
      cls.addComment(d.getDefinition());
    }
   
    // get concept code
    IProperty code = getProperty(ont,"code");
    cls.setPropertyValue(code,c.getCode());
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.