Interface TypeConverter<T,E>
-
- Type Parameters:
T- Field type in the domain object.E- Field type in the protobuf object.
- All Known Implementing Classes:
NullConverter
public interface TypeConverter<T,E>Interface for converting fields values if their types in the domain object and protobuf object different.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldAssignToProto(T domainValue)TtoDomainValue(E protoValue)Convert instance from protobuf object type to domain object type.EtoProtobufValue(T domainValue)Convert instance from domain object type to protobuf object type.
-