| java.lang.Object org.mandarax.kernel.meta.InstanceOfPredicate
InstanceOfPredicate | public class InstanceOfPredicate implements Predicate(Code) | | "Instanceof" predicates. E.g., if the type is ArrayList and the objectType is List,
the predicate has one argument of the type List , and holds if the list instance is
an instance of ArrayList .
author: Jens Dietrich Adrian Paschke version: 3.4 <7 March 05> since: 3.3 |
InstanceOfPredicate | public InstanceOfPredicate(Class type, Class objectType)(Code) | | Constructor.
Parameters: type - the type of the class Parameters: objectType - the expected type of the object Parameters: name - the name of this predicate |
getName | public String getName()(Code) | | Returns the name.
the name of the object |
getSlotNames | public String[] getSlotNames()(Code) | | Get the slot names.
the slot names |
getStructure | public Class[] getStructure()(Code) | | Get the structure of the function.
the structure of the function |
isExecutable | public boolean isExecutable()(Code) | | Indicates whether this predicate is executable.
a boolean |
setSlotNames | public void setSlotNames(String[] arg0)(Code) | | Set the slot names.
Not supported.
Parameters: slotNames - the new slot names |
|
|