Class ServiceBasedValueObjectConverter<O extends Identifiable,​VO extends IdentifiableValueObject<O>>

    • Constructor Detail

    • Method Detail

      • matches

        public boolean matches​(org.springframework.core.convert.TypeDescriptor sourceType,
                               org.springframework.core.convert.TypeDescriptor targetType)
        Specified by:
        matches in interface org.springframework.core.convert.converter.ConditionalConverter
        Overrides:
        matches in class ServiceBasedEntityConverter<O extends Identifiable>
      • convert

        public Object convert​(@Nullable
                              Object object,
                              org.springframework.core.convert.TypeDescriptor sourceType,
                              org.springframework.core.convert.TypeDescriptor targetType)
        Specified by:
        convert in interface org.springframework.core.convert.converter.GenericConverter
        Overrides:
        convert in class ServiceBasedEntityConverter<O extends Identifiable>