Package io.jmix.maps.datatype
Class PolygonDatatype
java.lang.Object
io.jmix.maps.datatype.PolygonDatatype
- All Implemented Interfaces:
Datatype<org.locationtech.jts.geom.Polygon>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts value to String.Converts value to String taking into account local formats.org.locationtech.jts.geom.Polygon
Parses value from Stringorg.locationtech.jts.geom.Polygon
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
-
PolygonDatatype
public PolygonDatatype()
-
-
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.Polygon parse(@Nullable String value) throws ParseException Description copied from interface:Datatype
Parses value from String- Specified by:
parse
in interfaceDatatype<org.locationtech.jts.geom.Polygon>
- Throws:
ParseException
-
parse
@Nullable public org.locationtech.jts.geom.Polygon 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.Polygon>
- Throws:
ParseException
-