Class NullConverter

    • Constructor Summary

      Constructors 
      Constructor Description
      NullConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldAssignToProto​(java.lang.Object domainValue)  
      java.lang.Object toDomainValue​(java.lang.Object protoValue)
      Convert instance from protobuf object type to domain object type.
      java.lang.Object toProtobufValue​(java.lang.Object domainValue)
      Convert instance from domain object type to protobuf object type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullConverter

        public NullConverter()
    • Method Detail

      • toDomainValue

        public java.lang.Object toDomainValue​(java.lang.Object protoValue)
        Description copied from interface: TypeConverter
        Convert instance from protobuf object type to domain object type.
        Specified by:
        toDomainValue in interface TypeConverter
        Parameters:
        protoValue - Instance for conversion.
        Returns:
        converted data.
      • toProtobufValue

        public java.lang.Object toProtobufValue​(java.lang.Object domainValue)
        Description copied from interface: TypeConverter
        Convert instance from domain object type to protobuf object type.
        Specified by:
        toProtobufValue in interface TypeConverter
        Parameters:
        domainValue - Instance for conversion.
        Returns:
        converted data.