|
|||||||||
| Home >> All >> org >> yajre >> [ reteoo overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.yajre.reteoo
Class ParameterTuple

java.lang.Objectorg.yajre.reteoo.ReteTuple
org.yajre.reteoo.ParameterTuple
- All Implemented Interfaces:
- org.yajre.spi.Tuple
- public final class ParameterTuple
- extends ReteTuple
Implementation of ReteTuple with a single column, based upon a root fact object parameter of a rule.
| Field Summary | |
private org.yajre.spi.Declaration |
declaration
The parameter Declaration. |
private java.lang.Object |
object
The object bound to the parameter. |
| Fields inherited from class org.yajre.reteoo.ReteTuple |
|
| Constructor Summary | |
ParameterTuple(org.yajre.spi.Declaration declaration,
java.lang.Object object)
|
|
| Method Summary | |
java.lang.Object |
get(org.yajre.spi.Declaration decl)
Retrieve the value bound to a particular Declaration. |
java.util.Set |
getDeclarations()
Retrieve the Collection of all
Declarations active in this tuple. |
org.yajre.spi.Declaration |
getParameterDeclaration()
|
java.lang.Object |
getParameterObject()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class org.yajre.reteoo.ReteTuple |
addAllRootFactObjects, addRootFactObject, contains, containsRootFactObject, equals, getRootFactObjects, hashCode, put, putAll |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
declaration
private org.yajre.spi.Declaration declaration
- The parameter
Declaration.
object
private java.lang.Object object
- The object bound to the parameter.
| Constructor Detail |
ParameterTuple
public ParameterTuple(org.yajre.spi.Declaration declaration, java.lang.Object object)
| Method Detail |
getParameterObject
public java.lang.Object getParameterObject()
getParameterDeclaration
public org.yajre.spi.Declaration getParameterDeclaration()
get
public java.lang.Object get(org.yajre.spi.Declaration decl)
- Description copied from interface:
org.yajre.spi.Tuple - Retrieve the value bound to a particular
Declaration.- Specified by:
getin interfaceorg.yajre.spi.Tuple- Overrides:
getin classReteTuple
getDeclarations
public java.util.Set getDeclarations()
- Description copied from interface:
org.yajre.spi.Tuple - Retrieve the
Collectionof allDeclarationsactive in this tuple.- Specified by:
getDeclarationsin interfaceorg.yajre.spi.Tuple- Overrides:
getDeclarationsin classReteTuple
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> yajre >> [ reteoo overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC