source: josm/trunk/src/org/openstreetmap/josm/data/projection/datum/AbstractDatum.java@ 6268

Last change on this file since 6268 was 6069, checked in by stoecker, 11 years ago

see #8853 remove tabs, trailing spaces, windows line ends, strange characters

  • Property svn:eol-style set to native
File size: 704 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.projection.datum;
3
4import org.openstreetmap.josm.data.projection.Ellipsoid;
5
6abstract public class AbstractDatum implements Datum {
7
8 protected String name;
9 protected String proj4Id;
10 protected Ellipsoid ellps;
11
12 public AbstractDatum(String name, String proj4Id, Ellipsoid ellps) {
13 this.name = name;
14 this.proj4Id = proj4Id;
15 this.ellps = ellps;
16 }
17
18 @Override
19 public String getName() {
20 return name;
21 }
22
23 @Override
24 public String getProj4Id() {
25 return proj4Id;
26 }
27
28 @Override
29 public Ellipsoid getEllipsoid() {
30 return ellps;
31 }
32}
Note: See TracBrowser for help on using the repository browser.