class RelationshipTrackerConverterService implements TrackerConverterService<Relationship, org.hisp.dhis.relationship.Relationship> {

    @Override
    public org.hisp.dhis.relationship.Relationship from( TrackerPreheat preheat, Relationship fromRelationship )
    {
        org.hisp.dhis.relationship.Relationship toRelationship = preheat
            .getRelationship( TrackerIdScheme.UID, fromRelationship.getRelationship() );
        return from( preheat, fromRelationship, toRelationship );
    }

}