| org.mandarax.kernel.Predicate
All known Subclasses: org.mandarax.kernel.AbstractPredicate, org.mandarax.kernel.meta.InstanceOfPredicate, org.mandarax.rdf.RDFPredicate, org.mandarax.kernel.meta.JPredicate, org.mandarax.lib.Cut, org.mandarax.kernel.SimplePredicate, org.mandarax.sql.SQLPredicate, org.mandarax.lib.AbstractPredicate,
Predicate | public interface Predicate extends Constructor(Code) | | Predicates, defined by name and structure.
In version 3.0 named slots have been added. This is to support the
JDBC driver - predicates are considered as 'tables' and terms as 'columns'.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.0 |
getSlotNames | public String[] getSlotNames()(Code) | | Get the slot names.
an array of strings, the length of the array is the same asthe length of the array of terms (the structure of the predicate) |
setSlotNames | public void setSlotNames(String[] names)(Code) | | Set the slot names.
Parameters: names - an array of strings, the length of the array is the same asthe length of the array of terms (the structure of the predicate) |
slotNamesCanBeEdited | public boolean slotNamesCanBeEdited()(Code) | | Indicates whether the slot names can be modified.
If false, setSlotNames should either throw an exception or be ignored
a boolean |
|
|