01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2005-2006, GeoTools Project Managment Committee (PMC)
05: * (C) 2005, Institut de Recherche pour le Développement
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation;
10: * version 2.1 of the License.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.referencing.factory.epsg;
18:
19: /**
20: * Private structure for {@link DirectEpsgFactory#createBursaWolfParameters} usage.
21: *
22: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/referencing/src/main/java/org/geotools/referencing/factory/epsg/BursaWolfInfo.java $
23: * @version $Id: BursaWolfInfo.java 25972 2007-06-21 13:38:35Z desruisseaux $
24: * @author Martin Desruisseaux
25: */
26: final class BursaWolfInfo {
27: /** CO.COORD_OP_CODE */
28: final String operation;
29: /** CO.COORD_OP_METHOD_CODE */
30: final int method;
31: /** CRS1.DATUM_CODE */
32: final String target;
33:
34: /** Fill a structure with the specified values. */
35: BursaWolfInfo(final String operation, final int method,
36: final String target) {
37: this .operation = operation;
38: this .method = method;
39: this .target = target;
40: }
41:
42: /**
43: * MUST returns the operation code. This is required by {@link DirectEpsgFactory#sort}.
44: */
45: public String toString() {
46: return operation;
47: }
48: }
|