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

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

There is a newer version: 1.0.1
Show newest version
package io.hypertrack.factory;

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

import java.util.Map;

/**
 * Factory class for Destination model.
 */
public class DestinationFactory extends HyperTrackFactory {
    private static String modelUrl = "destinations/";

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy