Package io.jmix.maps.datatype
Class LineStringDatatype
java.lang.Object
io.jmix.maps.datatype.LineStringDatatype
- All Implemented Interfaces:
Datatype<org.locationtech.jts.geom.LineString>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts value to String.Converts value to String taking into account local formats.org.locationtech.jts.geom.LineString
Parses value from Stringorg.locationtech.jts.geom.LineString
Parses value from String taking into account local formatsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.core.metamodel.datatype.Datatype
getId, getJavaClass
-
Constructor Details
-
LineStringDatatype
public LineStringDatatype()
-
-
Method Details
-
format
Description copied from interface:Datatype
Converts value to String. Returns an empty string for null value. -
format
Description copied from interface:Datatype
Converts value to String taking into account local formats. Returns an empty string for null value. -
parse
@Nullable public org.locationtech.jts.geom.LineString parse(@Nullable String value) throws ParseException Description copied from interface:Datatype
Parses value from String- Specified by:
parse
in interfaceDatatype<org.locationtech.jts.geom.LineString>
- Throws:
ParseException
-
parse
@Nullable public org.locationtech.jts.geom.LineString parse(@Nullable String value, Locale locale) throws ParseException Description copied from interface:Datatype
Parses value from String taking into account local formats- Specified by:
parse
in interfaceDatatype<org.locationtech.jts.geom.LineString>
- Throws:
ParseException
-