Package jadex.rules.eca
Class ChangeInfo<T>
- java.lang.Object
-
- jadex.rules.eca.ChangeInfo<T>
-
public class ChangeInfo<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ChangeInfo(T value, T oldvalue, java.lang.Object info)Create a new CollectionEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetInfo()Get the info, e.g. index or key.TgetOldValue()Get the oldvalue.TgetValue()Get the value.voidsetInfo(java.lang.Object info)Set the info, e.g. index or key.voidsetOldValue(T oldvalue)Set the oldvalue.voidsetValue(T value)Set the value.java.lang.StringtoString()Get a string representation.
-
-
-
Method Detail
-
getValue
public T getValue()
Get the value. return The value.
-
setValue
public void setValue(T value)
Set the value.- Parameters:
value- The value to set.
-
getOldValue
public T getOldValue()
Get the oldvalue. return The oldvalue.
-
setOldValue
public void setOldValue(T oldvalue)
Set the oldvalue.- Parameters:
oldvalue- The oldvalue to set.
-
getInfo
public java.lang.Object getInfo()
Get the info, e.g. index or key.- Returns:
- The info.
-
setInfo
public void setInfo(java.lang.Object info)
Set the info, e.g. index or key.- Parameters:
info- The info to set.
-
toString
public java.lang.String toString()
Get a string representation.- Overrides:
toStringin classjava.lang.Object
-
-