|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnificationList
An interface for a class that maps variable names to the variable values. Variables may be either bound or unbound. If they are bound, the Variable is mapped to a name. These bindings may occur in the ReteNetwork when the FinalNodes are named variables. A FinalNode is a node for unified rule instance storage. A final node has a single input terminal and zero output terminals. Each rule must have one or more final nodes for storing firable rule instances. In the Rete network, final nodes have pattern nodes or join nodes for input nodes.
Field Summary | |
---|---|
static Byte |
NO_BOUND_VALUE A constant that is used as a marker to indicate that there is no value bound for a particular name string. |
Method Summary | |
---|---|
void |
addObject(String name, Object object) Adds a new object to the unbound list. |
void |
append(UnificationList unificationList) Appends another UnificationList onto the end of this. |
void |
bind(String name, Object value) Binds a value to a given name. |
boolean |
contains(Object value) Tests whether this contains the given value. |
boolean |
containsBound(String value) Tests whether this contains the given value and the value has been bound to a variable name. |
Object |
getBound(String name, Class classType) Returns the Object that has been bound to a name. |
Object |
getValue(String name, Class classType) Returns the value of a bound variable or get an unbound value and then bind it. |
Field Detail |
---|
static final Byte NO_BOUND_VALUE
Method Detail |
---|
void bind(String name, Object value)
name
- the variable name for the value.value
- the value to be associated with the name.Object getBound(String name, Class classType)
name
- the variable name for the value.classType
- the class type of the value requested.Object getValue(String name, Class classType)
name
- the variable name for the value.classType
- the class type of the value requested.void addObject(String name, Object object)
name
- the variable name for the value.object
- the value to be associated with the name.void append(UnificationList unificationList)
unificationList
- the UnificationList to be appendedboolean contains(Object value)
value
- the Object to be tested for.UnificationList
contains the given Object.boolean containsBound(String value)
value
- the Object to be tested for.UnificationList
contains the given Object.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.