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

Constructor Index

 o JIPClausesDatabase()

Method Index

 o addClause(JIPClause)
Append a clause to the database
 o addClauseAt(int, JIPClause)
Add a clause to the database at the position specified
 o clauses()
Return an enumeration of clauses contained in the database
 o getArity()
Get the arity of the related functor
 o getFunctorName()
Get the name of the related functor
 o removeClause(JIPClause)
Remove a clause to the database
 o setAttributes(String)
Set the attributes to pass to the database (i.e.

Constructors

 o JIPClausesDatabase
 public JIPClausesDatabase()

Methods

 o getFunctorName
 public final String getFunctorName()
Get the name of the related functor

 o getArity
 public final int getArity()
Get the arity of the related functor

 o 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
 o 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
 o addClause
 public abstract boolean addClause(JIPClause clause)
Append a clause to the database

Parameters:
nPos - clause Clause to add
 o removeClause
 public abstract boolean removeClause(JIPClause clause)
Remove a clause to the database

Parameters:
clause - Clause to remove
 o clauses
 public abstract Enumeration clauses()
Return an enumeration of clauses contained in the database


All Packages  Class Hierarchy  This Package  Previous  Next  Index