|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.kif.CycBulkAssertions
Provides the behavior and attributes of OpenCyc CycBulkAssertions.
Field Summary | |
protected CycAssertionsFactory |
cycAccess
Cyc api support. |
protected java.util.ArrayList |
cycAssertionsForBaseKB
|
protected java.util.ArrayList |
cycOrderedAssertions
|
protected CycConstant |
defaultCyclist
|
protected CycFort |
defaultMt
|
protected CycConstant |
defaultProject
|
boolean |
isTestedClean
|
static int |
verbosity
Verbosity indicator 0 indicates quiet on a range of 0 ... |
Constructor Summary | |
CycBulkAssertions(CycAssertionsFactory ca)
Constructs a new CycBulkAssertions. |
Method Summary | |
boolean |
addSentence(CycList sentence)
Adds the sentence (String) to this AssertionCollection. |
void |
commitAssertions(boolean b,
java.io.Writer feedbackMl)
|
void |
commitAssertions(java.io.Writer feedbackMl)
Adds the AssertionCollection to defaultMt |
java.lang.String |
cyclify()
Returns a cyclified String representation of the CycBulkAssertions. |
boolean |
equals(java.lang.Object object)
Indicates whether the object is equal to this object. |
CycConstant |
getDefaultCyclist()
|
CycFort |
getDefaultMt()
Returns the defaultMt for this CycBulkAssertions. |
CycConstant |
getDefaultProject()
Returns the defaultProject for this CycBulkAssertions. |
void |
resetAll()
|
void |
setDefaultCyclist(CycConstant cyclist)
Sets the defaultCyclist for this CycBulkAssertions. |
void |
setDefaultCyclist(java.lang.String cyclist)
Sets the defaultCyclist for this CycBulkAssertions. |
CycFort |
setDefaultMt(CycFort mt)
Sets the defaultMt for this CycBulkAssertions. |
CycFort |
setDefaultMt(java.lang.String mt)
Sets the defaultMt for this CycBulkAssertions. |
void |
setDefaultProject(CycConstant project)
Sets the defaultProject for this CycBulkAssertions. |
void |
setDefaultProject(java.lang.String project)
Sets the defaultProject for this CycBulkAssertions. |
boolean |
testAssertions()
Tests this AssertionCollection per defaultMt |
boolean |
testAssertionsHtml(java.io.Writer feedbackMl)
|
java.lang.String |
toString()
Returns a String representation of the CycBulkAssertions. |
void |
writeAssertions(java.io.Writer feedbackMl)
|
void |
writeAssertions(java.io.Writer feedbackMl,
java.util.ArrayList cycArrayList)
Displays the cycArrayList to Mt |
void |
writeAssertionsCycL(java.io.Writer feedbackMl)
|
void |
writeAssertionsCycL(java.io.Writer feedbackMl,
java.util.ArrayList cycArrayList)
Displays the cycArrayList to Mt |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected CycAssertionsFactory cycAccess
protected CycConstant defaultCyclist
protected CycConstant defaultProject
protected CycFort defaultMt
protected java.util.ArrayList cycAssertionsForBaseKB
protected java.util.ArrayList cycOrderedAssertions
public boolean isTestedClean
public static int verbosity
Constructor Detail |
public CycBulkAssertions(CycAssertionsFactory ca) throws java.lang.Exception
ca
- the cycAccess for this CycBulkAssertionsMethod Detail |
public void resetAll()
public CycFort getDefaultMt()
public CycFort setDefaultMt(java.lang.String mt) throws java.lang.Exception
public CycFort setDefaultMt(CycFort mt) throws java.lang.Exception
public CycConstant getDefaultProject()
public void setDefaultProject(java.lang.String project) throws java.lang.Exception
public void setDefaultProject(CycConstant project) throws java.lang.Exception
public CycConstant getDefaultCyclist()
public void setDefaultCyclist(java.lang.String cyclist) throws java.lang.Exception
public void setDefaultCyclist(CycConstant cyclist) throws java.lang.Exception
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String cyclify()
public boolean addSentence(CycList sentence)
String
- of the sentence for this CycBulkAssertionspublic boolean testAssertions()
public void commitAssertions(java.io.Writer feedbackMl) throws java.lang.Exception
public void commitAssertions(boolean b, java.io.Writer feedbackMl) throws java.lang.Exception
public void writeAssertions(java.io.Writer feedbackMl)
public void writeAssertionsCycL(java.io.Writer feedbackMl)
public void writeAssertions(java.io.Writer feedbackMl, java.util.ArrayList cycArrayList)
mt
- for sentences for this CycBulkAssertionspublic void writeAssertionsCycL(java.io.Writer feedbackMl, java.util.ArrayList cycArrayList)
mt
- for sentences for this CycBulkAssertionspublic boolean testAssertionsHtml(java.io.Writer feedbackMl)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |