Package org.kie.hacep.sample.kjar
Class StockTickEvent
- java.lang.Object
-
- org.kie.hacep.sample.kjar.StockTickEvent
-
- All Implemented Interfaces:
Serializable
public class StockTickEvent extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StockTickEvent()StockTickEvent(String company, double price)StockTickEvent(String company, double price, long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompany()doublegetPrice()longgetTimestamp()booleanisProcessed()voidsetCompany(String company)voidsetPrice(double price)voidsetProcessed(boolean processed)voidsetTimestamp(long timestamp)StringtoString()
-
-
-
Method Detail
-
getCompany
public String getCompany()
-
setCompany
public void setCompany(String company)
-
getPrice
public double getPrice()
-
setPrice
public void setPrice(double price)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
isProcessed
public boolean isProcessed()
-
setProcessed
public void setProcessed(boolean processed)
-
-