All Packages Class Hierarchy This Package Previous Next Index
Class JIP.engine.JIPClausesDatabase
java.lang.Object
|
+----JIP.engine.JIPClausesDatabase
- public abstract class JIPClausesDatabase
- extends Object
JIPClausesDatabase is the base class to add any extern database of clauses
- Version:
- 4.x.x
Home Page : http:\\www.geocities.com\jiprolog
- Author:
- Ugo Chirico 2000
- See Also:
- JIPClausesEnumeration
-
JIPClausesDatabase()
-
-
addClause(JIPClause)
- Append a clause to the database
-
addClauseAt(int, JIPClause)
- Add a clause to the database at the position specified
-
clauses()
- Return an enumeration of clauses contained in the database
-
getArity()
- Get the arity of the related functor
-
getFunctorName()
- Get the name of the related functor
-
removeClause(JIPClause)
- Remove a clause to the database
-
setAttributes(String)
- Set the attributes to pass to the database (i.e.
JIPClausesDatabase
public JIPClausesDatabase()
getFunctorName
public final String getFunctorName()
- Get the name of the related functor
getArity
public final int getArity()
- Get the arity of the related functor
setAttributes
public abstract void setAttributes(String strAttribs)
- Set the attributes to pass to the database (i.e. login info, filename, etc.)
- Parameters:
- strAttribs - the attributes to pass
addClauseAt
public abstract boolean addClauseAt(int nPos,
JIPClause clause)
- Add a clause to the database at the position specified
- Parameters:
- nPos - Position of the clause to add
- clause - Clause to add
addClause
public abstract boolean addClause(JIPClause clause)
- Append a clause to the database
- Parameters:
- nPos - clause Clause to add
removeClause
public abstract boolean removeClause(JIPClause clause)
- Remove a clause to the database
- Parameters:
- clause - Clause to remove
clauses
public abstract Enumeration clauses()
- Return an enumeration of clauses contained in the database
All Packages Class Hierarchy This Package Previous Next Index