Package org.traccar.helper

Source Code of org.traccar.helper.TestDataManager

package org.traccar.helper;

import java.util.List;
import org.traccar.database.DataManager;
import org.traccar.model.Device;
import org.traccar.model.Position;

public class TestDataManager extends DataManager {

    public TestDataManager() throws Exception {
        super(null);
    }

    @Override
    public Device getDeviceByImei(String imei) {
        Device device = new Device();
        device.setId(new Long(1));
        device.setImei("123456789012345");
        return device;
    }

}
TOP

Related Classes of org.traccar.helper.TestDataManager

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.