Class IconIdCoordinateFactory
java.lang.Object
edu.ie3.datamodel.io.factory.Factory<org.apache.commons.lang3.tuple.Pair,SimpleFactoryData,org.apache.commons.lang3.tuple.Pair<Integer,org.locationtech.jts.geom.Point>>
   
edu.ie3.datamodel.io.factory.timeseries.IdCoordinateFactory
edu.ie3.datamodel.io.factory.timeseries.IconIdCoordinateFactory
Factory, that is able to build coordinate id to coordinate mapping from German Federal Weather
 Service's ICON model
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.apache.commons.lang3.tuple.Pair<Integer,org.locationtech.jts.geom.Point> buildModel(SimpleFactoryData data) Builds model with data from givenFactoryDataobject.getFields(SimpleFactoryData data) Returns list of sets of attribute names that the entity requires to be built.Methods inherited from class edu.ie3.datamodel.io.factory.FactoryexpandSet, get, getFieldsString, getSupportedClasses, newSet, validateParameters
- 
Constructor Details- 
IconIdCoordinateFactorypublic IconIdCoordinateFactory()
 
- 
- 
Method Details- 
buildModelprotected org.apache.commons.lang3.tuple.Pair<Integer,org.locationtech.jts.geom.Point> buildModel(SimpleFactoryData data) Description copied from class:FactoryBuilds model with data from givenFactoryDataobject. ThrowsFactoryExceptionif something goes wrong.- Specified by:
- buildModelin class- Factory<org.apache.commons.lang3.tuple.Pair,- SimpleFactoryData, - org.apache.commons.lang3.tuple.Pair<Integer, - org.locationtech.jts.geom.Point>> 
- Parameters:
- data-- FactoryData(or subclass) containing the data
- Returns:
- model created from data
 
- 
getFieldsDescription copied from class:FactoryReturns list of sets of attribute names that the entity requires to be built. At least one of these sets needs to be delivered for entity creation to be successful.- Specified by:
- getFieldsin class- Factory<org.apache.commons.lang3.tuple.Pair,- SimpleFactoryData, - org.apache.commons.lang3.tuple.Pair<Integer, - org.locationtech.jts.geom.Point>> 
- Parameters:
- data- EntityData (or subclass) containing the data
- Returns:
- list of possible attribute sets
 
- 
getIdField- Specified by:
- getIdFieldin class- IdCoordinateFactory
- Returns:
- the field id for the coordinate id
 
- 
getLatField- Specified by:
- getLatFieldin class- IdCoordinateFactory
- Returns:
- the field id for the coordinate latitude
 
- 
getLonField- Specified by:
- getLonFieldin class- IdCoordinateFactory
- Returns:
- the field id for the coordinate longitude
 
 
-