Class UTMCoordinates


  • public class UTMCoordinates
    extends Object
    UTMCoordinates
    • Constructor Detail

      • UTMCoordinates

        public UTMCoordinates()
    • Method Detail

      • utMZone

        public UTMCoordinates utMZone​(String utMZone)
        UTM grid zone combination of the longitude zone (1 to 60) and the latitude band (C to X, excluding I and O).
        Parameters:
        utMZone - UTM grid zone combination of the longitude zone (1 to 60) and the latitude band (C to X, excluding I and O).
        Returns:
        the current UTMCoordinates instance, allowing for method chaining
      • getUtMZone

        public String getUtMZone()
        UTM grid zone combination of the longitude zone (1 to 60) and the latitude band (C to X, excluding I and O).
        Returns:
        utMZone UTM grid zone combination of the longitude zone (1 to 60) and the latitude band (C to X, excluding I and O).
      • setUtMZone

        public void setUtMZone​(String utMZone)
        UTM grid zone combination of the longitude zone (1 to 60) and the latitude band (C to X, excluding I and O).
        Parameters:
        utMZone - UTM grid zone combination of the longitude zone (1 to 60) and the latitude band (C to X, excluding I and O).
      • utMEastward

        public UTMCoordinates utMEastward​(String utMEastward)
        X-coordinate of the Universal Transverse Mercator coordinate system.
        Parameters:
        utMEastward - X-coordinate of the Universal Transverse Mercator coordinate system.
        Returns:
        the current UTMCoordinates instance, allowing for method chaining
      • getUtMEastward

        public String getUtMEastward()
        X-coordinate of the Universal Transverse Mercator coordinate system.
        Returns:
        utMEastward X-coordinate of the Universal Transverse Mercator coordinate system.
      • setUtMEastward

        public void setUtMEastward​(String utMEastward)
        X-coordinate of the Universal Transverse Mercator coordinate system.
        Parameters:
        utMEastward - X-coordinate of the Universal Transverse Mercator coordinate system.
      • utMNorthward

        public UTMCoordinates utMNorthward​(String utMNorthward)
        Y-coordinate of the Universal Transverse Mercator coordinate system.
        Parameters:
        utMNorthward - Y-coordinate of the Universal Transverse Mercator coordinate system.
        Returns:
        the current UTMCoordinates instance, allowing for method chaining
      • getUtMNorthward

        public String getUtMNorthward()
        Y-coordinate of the Universal Transverse Mercator coordinate system.
        Returns:
        utMNorthward Y-coordinate of the Universal Transverse Mercator coordinate system.
      • setUtMNorthward

        public void setUtMNorthward​(String utMNorthward)
        Y-coordinate of the Universal Transverse Mercator coordinate system.
        Parameters:
        utMNorthward - Y-coordinate of the Universal Transverse Mercator coordinate system.
      • includeNullValues

        public UTMCoordinates includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this UTMCoordinates object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static UTMCoordinates fromJson​(String jsonString)
                                       throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of UTMCoordinates given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of UTMCoordinates
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to UTMCoordinates
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of UTMCoordinates to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException