All Packages Class Hierarchy This Package Previous Next Index
Class jkp.KifObj
java.lang.Object
|
+----jkp.KifObj
- public abstract class KifObj
- extends Object
The base class for all KIF objects.
Copyright (c) 1996, Xiaocheng Luan.
All rights reserved.
- Author:
- Xiaocheng Luan
-
_KifObjName
-
-
_name
-
-
_typeID
-
-
KIF_CONJUNCTION
-
-
KIF_DISJUNCTION
-
-
KIF_EQUIVALENCE
-
-
KIF_FUNTERM
-
-
KIF_HORNSENT
-
-
KIF_IMPLICATION
-
-
KIF_INDVARTERM
-
-
KIF_INTTERM
-
-
KIF_LOGCONST
-
-
KIF_MIN_OP
-
-
KIF_NEGATION
-
-
KIF_OBJCONSTTERM
-
-
KIF_REALTERM
-
-
KIF_RELSENT
-
-
KIF_SEQ
-
-
KIF_SEQVAR
-
-
KIF_STRINGTERM
-
-
KIFOP_AND
-
-
KIFOP_COND
-
-
KIFOP_DEFOBJECT
-
-
KIFOP_DEFRELATION
-
-
KIFOP_DEFUNCTION
-
-
KIFOP_EQGREATER
-
-
KIFOP_EQLESS
-
-
KIFOP_EQUIV
-
-
KIFOP_EXISTS
-
-
KIFOP_FORALL
-
-
KIFOP_GREATER
-
-
KIFOP_IF
-
-
KIFOP_IMPLIED
-
-
KIFOP_IMPLIES
-
-
KIFOP_LESS
-
-
KIFOP_LISTOF
-
-
KIFOP_MAX_DEFOP
-
-
KIFOP_MAX_SENT_OP
-
-
KIFOP_MAX_TERM_OP
-
-
KIFOP_MIN_DEFOP
-
-
KIFOP_MIN_NUM_OP
-
-
KIFOP_MIN_SENT_OP
-
-
KIFOP_MIN_TERM_OP
-
-
KIFOP_NOT
-
-
KIFOP_NUMEQ
-
-
KIFOP_NUMNEQ
-
-
KIFOP_OR
-
-
KIFOP_QUOTE
-
-
KIFOP_SENTEQ
-
-
KIFOP_SENTNOTEQ
-
-
KifObj()
- A constructor that does nothing.
-
idToName(int)
- Get the object name with given type ID.
-
objName()
- Get the name this KIF object.
-
objType()
- Get the type ID of this KIF object.
-
setType(int)
- Set the type ID.
-
toString()
- Convert this KIF object into String format.
_typeID
private int _typeID
_name
private String _name
KIF_SEQ
public static final int KIF_SEQ
KIF_SEQVAR
public static final int KIF_SEQVAR
KIF_INDVARTERM
public static final int KIF_INDVARTERM
KIF_STRINGTERM
public static final int KIF_STRINGTERM
KIF_OBJCONSTTERM
public static final int KIF_OBJCONSTTERM
KIF_FUNTERM
public static final int KIF_FUNTERM
KIF_REALTERM
public static final int KIF_REALTERM
KIF_INTTERM
public static final int KIF_INTTERM
KIF_LOGCONST
public static final int KIF_LOGCONST
KIF_RELSENT
public static final int KIF_RELSENT
KIF_NEGATION
public static final int KIF_NEGATION
KIF_CONJUNCTION
public static final int KIF_CONJUNCTION
KIF_DISJUNCTION
public static final int KIF_DISJUNCTION
KIF_IMPLICATION
public static final int KIF_IMPLICATION
KIF_EQUIVALENCE
public static final int KIF_EQUIVALENCE
KIF_HORNSENT
public static final int KIF_HORNSENT
KIF_MIN_OP
public static final int KIF_MIN_OP
KIFOP_MIN_TERM_OP
public static final int KIFOP_MIN_TERM_OP
KIFOP_LISTOF
public static final int KIFOP_LISTOF
KIFOP_QUOTE
public static final int KIFOP_QUOTE
KIFOP_IF
public static final int KIFOP_IF
KIFOP_COND
public static final int KIFOP_COND
KIFOP_MAX_TERM_OP
public static final int KIFOP_MAX_TERM_OP
KIFOP_MIN_SENT_OP
public static final int KIFOP_MIN_SENT_OP
KIFOP_SENTEQ
public static final int KIFOP_SENTEQ
KIFOP_SENTNOTEQ
public static final int KIFOP_SENTNOTEQ
KIFOP_NOT
public static final int KIFOP_NOT
KIFOP_AND
public static final int KIFOP_AND
KIFOP_OR
public static final int KIFOP_OR
KIFOP_IMPLIES
public static final int KIFOP_IMPLIES
KIFOP_IMPLIED
public static final int KIFOP_IMPLIED
KIFOP_EQUIV
public static final int KIFOP_EQUIV
KIFOP_FORALL
public static final int KIFOP_FORALL
KIFOP_EXISTS
public static final int KIFOP_EXISTS
KIFOP_MAX_SENT_OP
public static final int KIFOP_MAX_SENT_OP
KIFOP_MIN_DEFOP
public static final int KIFOP_MIN_DEFOP
KIFOP_DEFOBJECT
public static final int KIFOP_DEFOBJECT
KIFOP_DEFUNCTION
public static final int KIFOP_DEFUNCTION
KIFOP_DEFRELATION
public static final int KIFOP_DEFRELATION
KIFOP_MAX_DEFOP
public static final int KIFOP_MAX_DEFOP
KIFOP_MIN_NUM_OP
public static final int KIFOP_MIN_NUM_OP
KIFOP_NUMEQ
public static final int KIFOP_NUMEQ
KIFOP_NUMNEQ
public static final int KIFOP_NUMNEQ
KIFOP_LESS
public static final int KIFOP_LESS
KIFOP_GREATER
public static final int KIFOP_GREATER
KIFOP_EQLESS
public static final int KIFOP_EQLESS
KIFOP_EQGREATER
public static final int KIFOP_EQGREATER
_KifObjName
private static KifObjName _KifObjName[]
KifObj
public KifObj()
- A constructor that does nothing.
objType
public int objType()
- Get the type ID of this KIF object. Type IDs of various of Kif objects
are defined in this class. you are encouraged to use InstanceOf
operator instead of this method.
- Returns:
- the type ID of this KIF object.
setType
public void setType(int id)
- Set the type ID. Generally, this method is called internally
upon creation ONLY.
- Parameters:
- id - The id number for the classs
objName
public String objName()
- Get the name this KIF object.
- Returns:
- the name of this KIF object.
- See Also:
- KifObjName
toString
public String toString()
- Convert this KIF object into String format. Subclasses are
supposed to overide this method.
- Returns:
- this KIF object in String format.
- Overrides:
- toString in class Object
idToName
public static String idToName(int ID) throws KifRTException
- Get the object name with given type ID.
- Returns:
- the type ID.
All Packages Class Hierarchy This Package Previous Next Index