.. java:import:: com.fasterxml.jackson.annotation JsonIgnore .. java:import:: com.fasterxml.jackson.annotation JsonProperty .. java:import:: dk.magenta.datafordeler.geo GeoPlugin .. java:import:: dk.magenta.datafordeler.geo.data GeoEntity .. java:import:: org.geojson LngLatAlt .. java:import:: javax.persistence Column .. java:import:: javax.persistence MappedSuperclass .. java:import:: java.util Arrays .. java:import:: java.util List .. java:import:: java.util.stream Collectors LineRecord ========== .. java:package:: dk.magenta.datafordeler.geo.data.common :noindex: .. java:type:: @MappedSuperclass public abstract class LineRecord extends GeoMonotemporalRecord Fields ------ DB_FIELD_LENGTH ^^^^^^^^^^^^^^^ .. java:field:: public static final String DB_FIELD_LENGTH :outertype: LineRecord DB_FIELD_SHAPE ^^^^^^^^^^^^^^ .. java:field:: public static final String DB_FIELD_SHAPE :outertype: LineRecord IO_FIELD_LENGTH ^^^^^^^^^^^^^^^ .. java:field:: public static final String IO_FIELD_LENGTH :outertype: LineRecord IO_FIELD_SHAPE ^^^^^^^^^^^^^^ .. java:field:: public static final String IO_FIELD_SHAPE :outertype: LineRecord Constructors ------------ LineRecord ^^^^^^^^^^ .. java:constructor:: public LineRecord() :outertype: LineRecord LineRecord ^^^^^^^^^^ .. java:constructor:: public LineRecord(double length, MultiLineString shape) :outertype: LineRecord LineRecord ^^^^^^^^^^ .. java:constructor:: public LineRecord(double length, org.geojson.MultiLineString shape) :outertype: LineRecord Methods ------- convert ^^^^^^^ .. java:method:: public static MultiLineString convert(org.geojson.MultiLineString original) :outertype: LineRecord convert ^^^^^^^ .. java:method:: public static org.geojson.MultiLineString convert(MultiLineString original) :outertype: LineRecord convert ^^^^^^^ .. java:method:: public static LineString convert(List original) :outertype: LineRecord convert ^^^^^^^ .. java:method:: public static List convert(LineString original) :outertype: LineRecord convert ^^^^^^^ .. java:method:: public static Coordinate convert(LngLatAlt original) :outertype: LineRecord convert ^^^^^^^ .. java:method:: public static LngLatAlt convert(Coordinate original) :outertype: LineRecord getGeoJson ^^^^^^^^^^ .. java:method:: @JsonProperty public org.geojson.Geometry getGeoJson() :outertype: LineRecord getLength ^^^^^^^^^ .. java:method:: public double getLength() :outertype: LineRecord getShape ^^^^^^^^ .. java:method:: public MultiLineString getShape() :outertype: LineRecord setLength ^^^^^^^^^ .. java:method:: public LineRecord setLength(double length) :outertype: LineRecord setShape ^^^^^^^^ .. java:method:: public LineRecord setShape(MultiLineString shape) :outertype: LineRecord setShape ^^^^^^^^ .. java:method:: public LineRecord setShape(org.geojson.MultiLineString shape) :outertype: LineRecord