Wkt (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.value, class: Wkt

# Class Wkt

java.lang.Object
org.apache.cayenne.value.Wkt

public class Wkt extends Object
A Cayenne-supported value object holding a WKT geometry String. By itself it does not provide a WKT parser or geometry functions. Its goal is to instruct Cayenne to read and write geometries as WKT Strings.

Since:
  4.2

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Wkt(String wkt)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `String`
  `getWkt()`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Wkt

    public Wkt(String wkt)

- ## Method Details

  - ### getWkt

    public String getWkt()

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`