Class SRID
java.lang.Object
org.apache.olingo.commons.api.edm.geo.SRID
- All Implemented Interfaces:
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].
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the dimension of the SRID instance.int
hashCode()
boolean
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.toString()
static SRID
Creates a new SRID instance from a given value.
-
Constructor Details
-
SRID
protected SRID()
-
-
Method Details
-
valueOf
Creates a new SRID instance from a given value.- Parameters:
exp
- Either "variable" or a numeric non-negative SRID value- Returns:
- SRID instance
-
getDimension
Returns the dimension of the SRID instance.- Returns:
- dimension of the SRID instance
-
setDimension
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
-
hashCode
public int hashCode() -
toString
-