public class Helper extends Object
Constructor and Description |
---|
Helper() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
addOrUpdateColumnMetadata(KeyDocument.Key.Enum key,
String value,
ColumnDocument.Column col)
Checks, if a Metadata element with the given key exists,
if yes, update this one, else add a new metadata element. |
protected static ColumnDocument.Column |
getColumnById(int columnId,
SosImportConfigurationDocument.SosImportConfiguration sosImportConf) |
protected static int |
getColumnIdFromTableElement(TableElement tabElem) |
protected static boolean |
isSensorInArray(RelatedSensorDocument.RelatedSensor[] relatedSensors,
String sensorXmlId) |
protected static boolean addOrUpdateColumnMetadata(KeyDocument.Key.Enum key, String value, ColumnDocument.Column col)
key
- value
- col
- protected static int getColumnIdFromTableElement(TableElement tabElem)
tabElem
- protected static ColumnDocument.Column getColumnById(int columnId, SosImportConfigurationDocument.SosImportConfiguration sosImportConf)
columnId
- sosImportConf
- protected static boolean isSensorInArray(RelatedSensorDocument.RelatedSensor[] relatedSensors, String sensorXmlId)
relatedSensors
- sensorXmlId
- sensorXmlId
is contained in the
given RelatedSensors[]
, Copyright © 2011–2019 52°North. All rights reserved.