Interface OneWayConverter<OriginClass,TargetClass>

All Known Subinterfaces:
TwoWayConverter<ClassA,ClassB>
All Known Implementing Classes:
AbstractBPMNtoNESTCongruentConverter, AbstractBPMNtoNESTConverter, AbstractBPMNtoNESTConverterBase, AbstractNESTtoBPMNConverter, BPMNtoLayoutedBPMNConverter, DefaultBPMNtoNESTCongruentConverter, DefaultBPMNtoNESTConverter, FileToBPMNConverter, StringToBPMNConverter

public interface OneWayConverter<OriginClass,TargetClass>
A converter for converting objects from an origin class to an object from a target class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Converts the origin object type to a target object type.
  • Method Details

    • convert

      TargetClass convert(OriginClass origin)
      Converts the origin object type to a target object type.
      Parameters:
      origin - object to be converted
      Returns:
      the converted object