kaos.ontology.query
Class KIFQuery

java.lang.Object
  extended by kaos.ontology.query.KIFQuery
All Implemented Interfaces:
java.io.Serializable

public class KIFQuery
extends java.lang.Object
implements java.io.Serializable

This class conatins a KIF query representation

See Also:
Serialized Form

Field Summary
static java.lang.String KIF_AND
           
static java.lang.String KIF_NONE
           
static java.lang.String KIF_OR
           
 
Constructor Summary
KIFQuery()
           
 
Method Summary
 KIFTriple getKIFTriple(int tripleNumber)
           
 java.lang.String getKIFTripleConnector(int tripleConnectorNumber)
           
 java.lang.String getQueryAsText()
           
 java.lang.String getQueryDescription()
           
protected  void printDebugString(java.lang.String msg, int loggerDisplayLevel)
          A utility method to print a String.
 void setKIFTriple(int tripleNumber, KIFTriple tripleArg)
           
 void setKIFTripleConnector(int tripleConnectorNumber, java.lang.String _tripleConector)
           
 void setQueryDescription(java.lang.String newDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KIF_AND

public static final java.lang.String KIF_AND
See Also:
Constant Field Values

KIF_OR

public static final java.lang.String KIF_OR
See Also:
Constant Field Values

KIF_NONE

public static final java.lang.String KIF_NONE
See Also:
Constant Field Values
Constructor Detail

KIFQuery

public KIFQuery()
Method Detail

getQueryDescription

public java.lang.String getQueryDescription()

setQueryDescription

public void setQueryDescription(java.lang.String newDescription)

getKIFTriple

public KIFTriple getKIFTriple(int tripleNumber)

setKIFTriple

public void setKIFTriple(int tripleNumber,
                         KIFTriple tripleArg)

getKIFTripleConnector

public java.lang.String getKIFTripleConnector(int tripleConnectorNumber)

setKIFTripleConnector

public void setKIFTripleConnector(int tripleConnectorNumber,
                                  java.lang.String _tripleConector)

getQueryAsText

public java.lang.String getQueryAsText()
                                throws QueryComponentNotReady
Throws:
QueryComponentNotReady

printDebugString

protected void printDebugString(java.lang.String msg,
                                int loggerDisplayLevel)
A utility method to print a String. Add the name of the class printing the String.

Parameters:
msg - The String to be printed.