Class String2UuidConverter

java.lang.Object
org.qubership.atp.mia.utils.converters.String2UuidConverter
All Implemented Interfaces:
org.modelmapper.Converter<String,UUID>, org.modelmapper.spi.ConditionalConverter<String,UUID>

public class String2UuidConverter extends Object implements org.modelmapper.spi.ConditionalConverter<String,UUID>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.modelmapper.spi.ConditionalConverter

    org.modelmapper.spi.ConditionalConverter.MatchResult
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(org.modelmapper.spi.MappingContext<String,UUID> context)
     
    org.modelmapper.spi.ConditionalConverter.MatchResult
    match(Class<?> sourceType, Class<?> destinationType)
     

    Methods inherited from class java.lang.Object

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

    • String2UuidConverter

      public String2UuidConverter()
  • Method Details

    • match

      public org.modelmapper.spi.ConditionalConverter.MatchResult match(Class<?> sourceType, Class<?> destinationType)
      Specified by:
      match in interface org.modelmapper.spi.ConditionalConverter<String,UUID>
    • convert

      public UUID convert(org.modelmapper.spi.MappingContext<String,UUID> context)
      Specified by:
      convert in interface org.modelmapper.Converter<String,UUID>