Class VarInfo
- java.lang.Object
- 
- jadex.rules.rulesystem.rete.builder.VarInfo
 
- 
 public class VarInfo extends java.lang.ObjectA variable info saves information about the first occurrence of a variable, i.e. its declaration and first binding.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSubindex()Get the subindex.intgetTupleIndex()Get the tupleindex.java.lang.ObjectgetValueSource()Get the value source.VariablegetVariable()Get the variable.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Constructor Detail- 
VarInfopublic VarInfo(Variable var, int tupleindex, java.lang.Object valuesource, int subindex) Create a new VarInfo.- Parameters:
- var- The variable.
- tupleindex- The tuple index.
- attr- The attribute.
- subindex- The subindex.
 
 
- 
 - 
Method Detail- 
getVariablepublic Variable getVariable() Get the variable.- Returns:
- The variable.
 
 - 
getTupleIndexpublic int getTupleIndex() Get the tupleindex.- Returns:
- The tupleindex.
 
 - 
getSubindexpublic int getSubindex() Get the subindex.- Returns:
- The subindex.
 
 - 
getValueSourcepublic java.lang.Object getValueSource() Get the value source.- Returns:
- The value source.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The string representation.
 
 
- 
 
-