Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      edu.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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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