com.hammurapi.reasoning.impl
Class TokenInfo

java.lang.Object
  extended by com.hammurapi.reasoning.impl.TokenInfo

public class TokenInfo
extends Object

Holds information about rule flow token.

Author:
Pavel Vlasov

Constructor Summary
TokenInfo()
           
TokenInfo(int parameterIndex, Class<?> type)
           
 
Method Summary
 int getParameterIndex()
           
 Class<?> getType()
           
 void setParameterIndex(int parameterIndex)
          Parameter index - applicable to input pins and conclusion output pins.
 void setType(Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenInfo

public TokenInfo()

TokenInfo

public TokenInfo(int parameterIndex,
                 Class<?> type)
Method Detail

getParameterIndex

public int getParameterIndex()

setParameterIndex

public void setParameterIndex(int parameterIndex)
Parameter index - applicable to input pins and conclusion output pins. Default value is -1 (invalid index).

Parameters:
parameterIndex -

getType

public Class<?> getType()

setType

public void setType(Class<?> type)