Пример #1
0
 public static ConceptChronicle getConcept(int cNid) throws IOException {
   assert cNid == Bdb.getConceptNid(cNid)
       : " Not a concept nid: "
           + cNid
           + " Bdb cNid:"
           + Bdb.getConceptNid(cNid)
           + " max nid: "
           + Bdb.getUuidsToNidMap().getCurrentMaxNid()
           + " ("
           + (Bdb.getUuidsToNidMap().getCurrentMaxNid() - cNid)
           + ")";
   return conceptDb.getConcept(cNid);
 }
Пример #2
0
 public static UUID getPrimUuidForConcept(int cNid) throws IOException {
   assert cNid == Bdb.getConceptNid(cNid) : " Not a concept nid: " + cNid;
   return conceptDb.getConcept(cNid).getPrimordialUuid();
 }