Class GeographicElementResult

java.lang.Object
com.cercalia.sdk.model.geoment.GeographicElementResult

public final class GeographicElementResult extends Object
Result from Geoment service.

Following Golden Rules: - Direct mapping from API (no fallbacks) - Code suffix for identifiers - level field for geometry type transparency

  • Method Details

    • getWkt

      @NotNull public @NotNull String getWkt()
      Returns:
      WKT representation of the geometry.
    • getCode

      @NotNull public @NotNull String getCode()
      Returns:
      Internal Cercalia ID for the geographic element.
    • getName

      @Nullable public @Nullable String getName()
      Returns:
      geographic element name.
    • getType

      @NotNull public @NotNull GeographicElementType getType()
      Returns:
      SDK type classification.
    • getLevel

      @Nullable public @Nullable String getLevel()
      Returns:
      original geometry type from API (e.g., "municipality", "rd").
    • builder

      @NotNull public static @NotNull GeographicElementResult.Builder builder()
      Returns:
      a new builder for GeographicElementResult.
    • toString

      public String toString()
      Overrides:
      toString in class Object