@@ -0,0 +1,935 @@
+package au.gov.ga.geodesy.support.mapper.orika.geodesyml;%0A%0Aimport au.gov.ga.geodesy.support.java.util.Isomorphism;%0A%0Aimport ma.glasnost.orika.MappingContext;%0Aimport ma.glasnost.orika.converter.BidirectionalConverter;%0Aimport ma.glasnost.orika.metadata.Type;%0A%0A/**%0A * A bidirectional converter backed by an isomorphism. This adapter helps%0A * us compose DTO mapper classes, like %7B@code SiteIdentificationMapper%7D and%0A * %7B@code SiteLocationMapper%7D.%0A *%0A * @see au.gov.ga.geodesy.support.mapper.orika.geodesyml.SiteLogMapper%0A */%0Apublic class IsomorphismConverter%3CA, B%3E extends BidirectionalConverter%3CA, B%3E %7B%0A%0A    private Isomorphism%3CA, B%3E iso;%0A%0A    public IsomorphismConverter(Isomorphism%3CA, B%3E iso) %7B%0A        this.iso = iso;%0A    %7D%0A%0A    public B convertTo(A a, Type%3CB%3E targetType, MappingContext ctx) %7B%0A        return iso.to(a);%0A    %7D%0A%0A    public A convertFrom(B b, Type%3CA%3E targetType, MappingContext ctx) %7B%0A        return iso.from(b);%0A    %7D%0A%7D%0A

Add isomorphism converter adapter