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:
  • Constructor Details

    • SRID

      protected SRID()
  • Method Details

    • 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