it.unimo.dbgroup.momis.annotationOntology
Class OntologyManagerClient

java.lang.Object
  extended byit.unimo.dbgroup.momis.annotationOntology.OntologyManagerClient

public class OntologyManagerClient
extends java.lang.Object

Command line client for accessing the Ontologies by the OntologyManager

Author:
Alberto Corni (Aug 2003)

Field Summary
private  boolean _debug
          enables verbouse output
private  OntologyManager _ontologyManager
          the OntologyManager
private  OntologyManagerClient_parser _ontologyManagerClient_parser
          The user user interaction language parser
 
Constructor Summary
(package private) OntologyManagerClient(java.lang.String configurationFileName)
          Base constructor
 
Method Summary
 boolean getDebug()
          Getter for the _debug field
 OntologyManager getOntologyManager()
          getter for the _ontologyManager field
 OntologyManagerClient_parser getOntologyManagerClient_parser()
          Getter for the _ontologyManagerClient_parser field
static void main(java.lang.String[] args)
          Main procedure
This is the command line parser :-)
 void setDebug(boolean v)
          Setter for the _debug field
 void setOntologyManager(OntologyManager ontologyManager)
          Setter for the _ontologyManager field
 void setOntologyManagerClient_parser(OntologyManagerClient_parser ontologyManagerClient_parser)
          Setter for the _ontologyManagerClient_parser field
 void startUserInteraction()
          Getter for the _debug field
static void usage()
          Print how to user this Class from command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ontologyManager

private OntologyManager _ontologyManager
the OntologyManager


_debug

private boolean _debug
enables verbouse output


_ontologyManagerClient_parser

private OntologyManagerClient_parser _ontologyManagerClient_parser
The user user interaction language parser

Constructor Detail

OntologyManagerClient

OntologyManagerClient(java.lang.String configurationFileName)
                throws java.lang.Exception
Base constructor

Parameters:
configurationFileName - Configuration file, gives info about
- if wordnet from file: files location
- else if wordnet from db: jdbc connection paramters
Method Detail

usage

public static void usage()
Print how to user this Class from command line.


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main procedure
This is the command line parser :-)

Throws:
java.lang.Exception

startUserInteraction

public void startUserInteraction()
Getter for the _debug field


getDebug

public boolean getDebug()
Getter for the _debug field


setDebug

public void setDebug(boolean v)
Setter for the _debug field


getOntologyManager

public OntologyManager getOntologyManager()
getter for the _ontologyManager field


setOntologyManager

public void setOntologyManager(OntologyManager ontologyManager)
Setter for the _ontologyManager field


getOntologyManagerClient_parser

public OntologyManagerClient_parser getOntologyManagerClient_parser()
Getter for the _ontologyManagerClient_parser field


setOntologyManagerClient_parser

public void setOntologyManagerClient_parser(OntologyManagerClient_parser ontologyManagerClient_parser)
Setter for the _ontologyManagerClient_parser field



Universita' di Modena e Reggio Emilia