Protege 2.1.1

edu.stanford.smi.protege.storage.database
Class KnowledgeBaseUtils

java.lang.Object
  extended byedu.stanford.smi.protege.storage.database.KnowledgeBaseUtils

public class KnowledgeBaseUtils
extends Object

Author:
Ray Fergerson

Constructor Summary
KnowledgeBaseUtils()
           
 
Method Summary
static void update(KnowledgeBase kb)
          Check that the knowledge base passed in has all of the correct current system classes, slots, facets and instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnowledgeBaseUtils

public KnowledgeBaseUtils()
Method Detail

update

public static void update(KnowledgeBase kb)
Check that the knowledge base passed in has all of the correct current system classes, slots, facets and instances. If it doesn't then update it so that it does. Note that some sorts of transformations are not handled. For example a class that changes into a slot is not handled. These however will never happen for system classes (he says confidently...).

Parameters:
kb - The Knowledge base to update.

Protege 2.1.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.