package be.uniway.rvk.test.datasource.client.data;

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("/datasource/loadingunit.xml");
	}
}
