org.apache.olingo.commons.api.edm.geo

## Class SRID

- java.lang.Object
- - org.apache.olingo.commons.api.edm.geo.SRID

- All Implemented Interfaces:
    Serializable

      public final class SRID
      extends Object
      implements Serializable

  A geometry or geography property MAY define a value for the SRID attribute. The value of this attribute identifies which spatial reference system is applied to values of the property on type instances.
  The value of the SRID attribute MUST be a non-negative integer or the special value `variable`. If no value is specified, the attribute defaults to 0 for Geometry types or 4326 for Geography types.
  Standards Track Work Product Copyright © OASIS Open 2013. All Rights Reserved. 19 November 2013
  The valid values of the SRID attribute and their meanings are as defined by the European Petroleum Survey Group [EPSG].
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `SRID()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `Geospatial.Dimension` | `getDimension()` Returns the dimension of the SRID instance.
    `int` | `hashCode()`
    `boolean` | `isNotDefault()` Returns true if the value of the instance is not equals to the default (uninitialized).
    `void` | `setDimension(Geospatial.Dimension dimension)` Sets the dimension of the SRID instance.
    `String` | `toString()`
    `static SRID` | `valueOf(String exp)` Creates a new SRID instance from a given value.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### SRID

          protected SRID()

  - ### Method Detail

    - #### valueOf

          public static SRID valueOf(String exp)

      Creates a new SRID instance from a given value.
      Parameters:
        `exp` - Either "variable" or a numeric non-negative SRID value
      Returns:
        SRID instance

    - #### getDimension

          public Geospatial.Dimension getDimension()

      Returns the dimension of the SRID instance.
      Returns:
        dimension of the SRID instance

    - #### setDimension

          public void setDimension(Geospatial.Dimension dimension)

      Sets the dimension of the SRID instance.
      Parameters:
        `dimension` - dimension of the SRID instance

    - #### isNotDefault

          public boolean isNotDefault()

      Returns true if the value of the instance is not equals to the default (uninitialized).
      Returns:
        true if the value of the instance is not equals to the default (uninitialized)

    - #### 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`

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.