package be.uniway.rvk.test.smartGWT.client;

import com.smartgwt.client.data.RestDataSource;

public class LoadingUnitDataSource extends RestDataSource {

	private static LoadingUnitDataSource instance = null;

	public static LoadingUnitDataSource getInstance() {
		if ( instance == null ) {
			instance = new LoadingUnitDataSource();
		}
		return instance;
	}

	private LoadingUnitDataSource () {
		this.setID("transportResult");
		this.setRecordXPath("/response/data/transportResult");
		this.setDataURL("/loadingunit.xml");
	}
}