currentSampleData.getOrthogonalSampleData().clear(); currentSampleData.getOrthogonalSampleData().addAll(vNewOrthogonalSampleData);
    private SampleData getConvertedSampleData(SampleData currentSampleData)    {        // Convert base sample data        EList bsdList = currentSampleData.getBaseSampleData();        Vector vNewBaseSampleData = new Vector();        for (int i = 0; i < bsdList.size(); i++)        {            BaseSampleData bsd = (BaseSampleData) bsdList.get(i);            bsd.setDataSetRepresentation(getConvertedBaseSampleDataRepresentation(bsd.getDataSetRepresentation()));            vNewBaseSampleData.add(bsd);        }        currentSampleData.getBaseSampleData().clear();        currentSampleData.getBaseSampleData().addAll(vNewBaseSampleData);        // Convert orthogonal sample data        EList osdList = currentSampleData.getOrthogonalSampleData();        Vector vNewOrthogonalSampleData = new Vector();        for (int i = 0; i < osdList.size(); i++)        {            OrthogonalSampleData osd = (OrthogonalSampleData) osdList.get(i);            osd                .setDataSetRepresentation(getConvertedOrthogonalSampleDataRepresentation(osd.getDataSetRepresentation()));            vNewOrthogonalSampleData.add(osd);        }        currentSampleData.getOrthogonalSampleData().clear();        currentSampleData.getOrthogonalSampleData().addAll(vNewOrthogonalSampleData);        return currentSampleData;    }