-
Notifications
You must be signed in to change notification settings - Fork 5
/
IdCoordinateFactory.java
34 lines (28 loc) · 1.09 KB
/
IdCoordinateFactory.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* © 2021. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.datamodel.io.factory.timeseries;
import edu.ie3.datamodel.io.factory.Factory;
import edu.ie3.datamodel.io.factory.SimpleFactoryData;
import org.apache.commons.lang3.tuple.Pair;
import org.locationtech.jts.geom.Point;
/**
* Abstract class definition for a factory, that is able to build single mapping entries from
* coordinate identifier to actual coordinate
*/
public abstract class IdCoordinateFactory
extends Factory<Pair, SimpleFactoryData, Pair<Integer, Point>> {
protected IdCoordinateFactory() {
super(Pair.class);
}
/** @return the field id for the coordinate id */
public abstract String getIdField();
/** @return the field id for the coordinate latitude */
public abstract String getLatField();
/** @return the field id for the coordinate longitude */
public abstract String getLonField();
/** @return the filed id for the coordinate point */
public abstract String getPointField();
}