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.Object
getInfo()
Get the info, e.g.T
getOldValue()
Get the oldvalue.T
getValue()
Get the value.void
setInfo(java.lang.Object info)
Set the info, e.g.void
setOldValue(T oldvalue)
Set the oldvalue.void
setValue(T value)
Set the value.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
-