Interface Mapper<T,E extends com.google.protobuf.Message>
-
- Type Parameters:
T- The protobuf generated classE- The domain class
- All Known Implementing Classes:
InstantTimestampMapper,NullMapper
public interface Mapper<T,E extends com.google.protobuf.Message>Convert between a domain class to a protobuf generated class. Used with conjunction ofProtoClass
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TtoDomain(E protoValue)EtoProto(T domainValue)
-