| java.lang.Object org.mandarax.lib.Cut
cutPredicate | public transient int cutPredicate(Code) | | |
getName | public String getName()(Code) | | Get the name of the predicate.
a string |
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) |
getStructure | public Class[] getStructure()(Code) | | Get the predicate structure.
an array of types (classes) |
isExecutable | public boolean isExecutable()(Code) | | Indicates whether the predicate is executable.
a boolean |
perform | public Object perform(Term[] terms, Session session)(Code) | | Perform the predicate.
Parameters: terms - an array of term Parameters: session - a session object a string |
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.
a boolean |
toString | public String toString()(Code) | | Converts the object to a string.
the string representation of this object |
|
|