All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hypertrack.factory.PlaceFactory Maven / Gradle / Ivy

The newest version!
package io.hypertrack.factory;

import io.hypertrack.model.Place;
import io.hypertrack.net.HyperTrackClient;

import java.util.Map;

/**
 * Factory class for Place model.
 */
public class PlaceFactory extends HyperTrackFactory {
    private static String modelUrl = "places/";

    public PlaceFactory(HyperTrackClient client) {
        super(client);
    }

    @Override
    protected Place makeNew(Map params) {
        return new Place(params);
    }

    @Override
    protected String getModelUrl() {
        return modelUrl;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy