io.hypertrack.factory.PlaceFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hypertrack-java Show documentation
Show all versions of hypertrack-java Show documentation
A Java wrapper for the HyperTrack API https://hypertrack.io
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