org.n52.proxy.connector.constellations.TextDatasetConstellation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy-dao Show documentation
Show all versions of proxy-dao Show documentation
REST SPI Implementation for SOS Proxy.
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