public abstract class CrsIdentifiable
extends java.lang.Object
CrsId (e.g. by EPSG-code).
CrsIdentifiables:In theory the CrsId should identify uniquely the CoordinateReferenceSystem-related objects
(whether CRS, datum, projection, etc.). In practice this is not always the case. Users, for example, can add their own
definitions for som Projections or Ellipsoids.
| Modifier and Type | Field and Description |
|---|---|
private CrsId |
crsId |
private java.lang.String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
CrsIdentifiable(CrsId crsId,
java.lang.String name)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
CrsId |
getCrsId()
Returns the identifier for this
CoordinateReferenceSystem. |
java.lang.String |
getName()
Returns the name of this
CoordinateReferenceSystem. |
int |
hashCode() |
private final CrsId crsId
private final java.lang.String name
protected CrsIdentifiable(CrsId crsId, java.lang.String name)
crsId - the codename - public CrsId getCrsId()
CoordinateReferenceSystem.public java.lang.String getName()
CoordinateReferenceSystem.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object