Class PersistenceMessage<T>
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.PersistenceMessage<T>
-
public class PersistenceMessage<T> extends Object
Formats the message in a way that thePersistenceConsumer
expects to receive the payload in- Author:
- Phillip Verheyden (phillipuniverse)
-
-
Constructor Summary
Constructors Constructor Description PersistenceMessage(T entity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
get_baseClass()
String
get_class()
T
getEntity()
int
hashCode()
static <T> PersistenceMessage<T>
of(T entity)
String
toString()
-
-
-
Constructor Detail
-
PersistenceMessage
public PersistenceMessage(@NonNull T entity)
-
-
Method Detail
-
of
public static <T> PersistenceMessage<T> of(@NonNull T entity)
-
getEntity
public T getEntity()
-
get_class
public String get_class()
-
get_baseClass
public String get_baseClass()
-
canEqual
protected boolean canEqual(Object other)
-
-