Package | Description |
---|---|
com.ugos.jiprolog.engine | |
com.ugos.jiprolog.extensions.database |
Modifier and Type | Method and Description |
---|---|
static JIPClause |
JIPClause.create(JIPFunctor head,
JIPCons body)
Creates a new JIPClause object
|
static JIPClause |
JIPClause.create(JIPTerm term)
Creates a new JIPClause object starting from e JIPTerm object
|
abstract JIPClause |
JIPClausesEnumeration.nextClause()
Gets the next clause in this enumeration.
|
Modifier and Type | Method and Description |
---|---|
abstract Enumeration<JIPClause> |
JIPClausesDatabase.clauses()
Returns an enumeration of the clauses contained in this database
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
JIPClausesDatabase.addClause(JIPClause clause)
Appends a clause to the database
Note that some databases may not allow to append a clause. |
abstract boolean |
JIPClausesDatabase.addClauseAt(int nPos,
JIPClause clause)
Adds a clause to the database at the position specified
Note that some databases may not allow to add a clause at a given position. |
abstract boolean |
JIPClausesDatabase.removeClause(JIPClause clause)
Removes a clause from the database
Note that some databases may not allow to remove a clause.
|
Modifier and Type | Method and Description |
---|---|
JIPClause |
TextClausesEnumeration.nextClause() |
JIPClause |
PrologClausesEnumeration.nextClause() |
JIPClause |
JDBCClausesEnumeration.nextClause() |
Modifier and Type | Method and Description |
---|---|
List<JIPClause> |
JDBCClausesDatabase.getClauses() |
Modifier and Type | Method and Description |
---|---|
boolean |
TextClausesDatabase.addClause(JIPClause clause) |
boolean |
PrologClausesDatabase.addClause(JIPClause clause) |
boolean |
JDBCClausesDatabase.addClause(JIPClause clause) |
boolean |
TextClausesDatabase.addClauseAt(int nPos,
JIPClause clause) |
boolean |
PrologClausesDatabase.addClauseAt(int nPos,
JIPClause clause) |
boolean |
JDBCClausesDatabase.addClauseAt(int nPos,
JIPClause clause) |
boolean |
TextClausesDatabase.removeClause(JIPClause clause) |
boolean |
PrologClausesDatabase.removeClause(JIPClause clause) |
boolean |
JDBCClausesDatabase.removeClause(JIPClause clause) |