public abstract class ALfnProductEvent extends ALfnEvent
TLfnProduct
will extend.
An ALfnProductEvent will always have a valid reference to the affected TLfnProduct
, see getProduct()
.
The return values for getUser and getRequest differ, based on the concrete implementation:
Modifier and Type | Method and Description |
---|---|
TLfnProduct |
getProduct() |
protected String |
getPropertiesString()
Get the
String object that is used in the ALfnEvent.toString() method
for describing this event's properties. |
getRequest, getTimestamp, getUser, toString
public TLfnProduct getProduct()
protected String getPropertiesString()
ALfnEvent
String
object that is used in the ALfnEvent.toString()
method
for describing this event's properties.
Implementing classes can override this method for including specific properties,
as a comma-separated list of key-value pairs.
name
property, the overridden version
of this method should be:
@Override protected String getPropertiesString() { return super.getPropertiesString() + ", name='" + getName() + "'"; }
getPropertiesString
in class ALfnEvent
ALfnEvent.toString()
method.