| |
|
| java.lang.Object org.mandarax.kernel.SimpleConstructor org.mandarax.kernel.SimplePredicate
Method Summary | |
public String[] | getSlotNames() Get the slot names. | public boolean | isExecutable() Indicates whether the object (usually a term or a clause set) can be performed
using the java semantics. | public void | setName(String aName) Set the name of the predicate or function. | public void | setSlotNames(String[] names) Set the slot names. | public void | setStructure(Class[] struct) Set the structure of the predicate or function. | public boolean | slotNamesCanBeEdited() Indicates whether the slot names can be modified. |
SimplePredicate | public SimplePredicate()(Code) | | Constructor.
|
SimplePredicate | public SimplePredicate(String aName, Class[] types)(Code) | | Constructor.
Parameters: aName - the name of the predicate Parameters: types - the structure of the predicate (the types of the terms) |
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) |
isExecutable | public boolean isExecutable()(Code) | | Indicates whether the object (usually a term or a clause set) can be performed
using the java semantics.
false |
setName | public void setName(String aName)(Code) | | Set the name of the predicate or function.
Implemented here in order to support JDK 1.4 XML serialization.
Parameters: the - name of the predicate or function |
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) |
setStructure | public void setStructure(Class[] struct)(Code) | | Set the structure of the predicate or function.
Implemented here in order to support JDK 1.4 XML serialization.
Parameters: struct - the structure of the predicate or function |
slotNamesCanBeEdited | public boolean slotNamesCanBeEdited()(Code) | | Indicates whether the slot names can be modified.
a boolean |
|
|
|