public class OccurrenceConverter extends Object implements Converter<org.gcube.data.spd.model.products.OccurrencePoint,Occurrence>
Modifier and Type | Field and Description |
---|---|
protected static SimpleDateFormat |
FORMAT |
protected int |
id |
Constructor and Description |
---|
OccurrenceConverter() |
Modifier and Type | Method and Description |
---|---|
protected static String |
cleanValue(org.gcube.data.spd.model.BasisOfRecord basisOfRecord) |
protected static String |
cleanValue(Calendar value) |
protected static String |
cleanValueEscapeSql(String value) |
Occurrence |
convert(org.gcube.data.spd.model.products.OccurrencePoint input) |
protected static final SimpleDateFormat FORMAT
protected int id
public Occurrence convert(org.gcube.data.spd.model.products.OccurrencePoint input) throws Exception
convert
in interface Converter<org.gcube.data.spd.model.products.OccurrencePoint,Occurrence>
Exception
protected static String cleanValue(org.gcube.data.spd.model.BasisOfRecord basisOfRecord)
Copyright © 2016. All Rights Reserved.