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

org.n52.proxy.connector.constellations.TextDatasetConstellation Maven / Gradle / Ivy

There is a newer version: 1.0.0-alpha.9
Show newest version
package org.n52.proxy.connector.constellations;

import java.util.Date;

import org.n52.proxy.db.beans.ProxyServiceEntity;
import org.n52.series.db.beans.TextDatasetEntity;

/**
 * @author Jan Schulte
 */
public class TextDatasetConstellation extends DatasetConstellation {

    public TextDatasetConstellation(String procedure, String offering, String category, String phenomenon,
            String feature) {
        super(procedure, offering, category, phenomenon, feature);
    }

    @Override
    protected TextDatasetEntity createDatasetEntity(ProxyServiceEntity service) {
        TextDatasetEntity textDataset = new TextDatasetEntity();
        textDataset.setFirstValueAt(new Date());
        textDataset.setLastValueAt(new Date());
        return textDataset;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy