Java2OWL
Class J2OManager

Object
  extended by J2OManager

public class J2OManager
extends Object

This is the top manager for the Java2OWL system. It contains all the other necessary managers. One can create several instances of J2OManager, but all of them work with different ontologies which have nothing to do with each other. If extension ontologies are shared between different managers, anything can happen.


Nested Class Summary
static class J2OManager.Status
          The system can be in different statuses.
 
Constructor Summary
J2OManager(String name, boolean debugMode)
          creates a manager with the given name for the RUN status.
J2OManager(String name, J2OManager.Status status, boolean debugMode)
          creates a manager with the given name and status.
 
Method Summary
 void finalize()
          removes the manager from the internal list.
 J2OClassManager getClassManager()
          returns the class-manager.
 J2OCompiler getCompiler()
          returns the Java -> OWL compiler.
 J2OIndividualManager getIndvidualManager()
          returns the individual manager.
 Logging getLogger()
          returns the logger.
static List<J2OManager> getManagers()
          returns all managers.
 String getName()
          returns the name of the manager.
 int getNumber()
          returns the index number of this manager.
 J2OOntologyManager getOntologyManager()
          returns the ontology manager.
 J2OManager.Status getStatus()
          returns the status of the system.
 boolean isInDebugMode()
          returns true if the system is in debug mode
 void setDebugMode(boolean flag)
          sets the debug mode.
 boolean statusCompile()
          returns true if the status is COMPILE.
 boolean statusRun()
          returns true if the status is RUN.
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2OManager

public J2OManager(String name,
                  J2OManager.Status status,
                  boolean debugMode)
creates a manager with the given name and status. All necessary managers are created

Parameters:
name - The name of the system.
status - The status of the system.

J2OManager

public J2OManager(String name,
                  boolean debugMode)
creates a manager with the given name for the RUN status. All necessary managers are created

Parameters:
name - The name of the system.
Method Detail

getName

public String getName()
returns the name of the manager.


getNumber

public int getNumber()
returns the index number of this manager. This is used in the logger to distinguish between different managers.


getClassManager

public J2OClassManager getClassManager()
returns the class-manager.


getCompiler

public J2OCompiler getCompiler()
returns the Java -> OWL compiler.


getIndvidualManager

public J2OIndividualManager getIndvidualManager()
returns the individual manager.


getOntologyManager

public J2OOntologyManager getOntologyManager()
returns the ontology manager.


getLogger

public Logging getLogger()
returns the logger.


getManagers

public static List<J2OManager> getManagers()
returns all managers.


getStatus

public J2OManager.Status getStatus()
returns the status of the system.


statusCompile

public boolean statusCompile()
returns true if the status is COMPILE.


statusRun

public boolean statusRun()
returns true if the status is RUN.


setDebugMode

public void setDebugMode(boolean flag)
sets the debug mode.


isInDebugMode

public boolean isInDebugMode()
returns true if the system is in debug mode


finalize

public void finalize()
              throws Throwable
removes the manager from the internal list.

Overrides:
finalize in class Object
Throws:
Throwable